From 26c29a269690ed47e4ecc4d9b4e6e587a62b4b64 Mon Sep 17 00:00:00 2001 From: TobiPeterG Date: Wed, 29 Oct 2025 12:49:01 +0000 Subject: [PATCH 1/5] Update to Nautobot 2.4.21 Signed-off-by: TobiPeterG --- .openapi-generator/FILES | 245 +- .openapi-generator/VERSION | 2 +- api/nautobot_version | 2 +- api/openapi-original.yaml | 79276 ++++++-------- api/openapi.yaml | 87558 ++++++++-------- api_circuits.go | 1670 +- api_cloud.go | 3088 +- api_core.go | 156 + api_dcim.go | 56827 +++++----- api_extras.go | 20316 ++-- api_graphql.go | 2 +- api_ipam.go | 7190 +- api_status.go | 15 +- api_swagger.go | 15 +- api_swagger_json.go | 15 +- api_swagger_yaml.go | 15 +- api_tenancy.go | 582 +- api_ui.go | 156 + api_users.go | 731 +- api_virtualization.go | 1712 +- api_wireless.go | 11793 +++ client.go | 17 +- configuration.go | 4 +- development/README.md | 2 +- development/create-go-bindings.sh | 4 +- development/docker-compose.yml | 1 - development/generate.sh | 2 +- development/local_dev.env | 2 +- development/nautobot_config.py | 1 + development/scripts/add-missing-imports.sh | 4 +- development/scripts/fix-spec.py | 164 +- docs/AuthenticationEnum.md | 25 + docs/BreakerPoleCountEnum.md | 15 + docs/BulkWritableCircuitTerminationRequest.md | 26 + docs/BulkWritableContactRequest.md | 78 +- ...eviceGroupRadioProfileAssignmentRequest.md | 93 + ...ableControllerManagedDeviceGroupRequest.md | 98 + ...ceGroupWirelessNetworkAssignmentRequest.md | 129 + docs/BulkWritableControllerRequest.md | 36 + docs/BulkWritableDeviceFamilyRequest.md | 26 + ...ulkWritableDeviceRedundancyGroupRequest.md | 2 +- ...eRedundancyGroupRequestFailoverStrategy.md | 23 +- .../BulkWritableExternalIntegrationRequest.md | 26 + docs/BulkWritableGitRepositoryRequest.md | 26 + docs/BulkWritableGraphQLQueryRequest.md | 72 + docs/BulkWritableInterfaceRequest.md | 8 +- ...lkWritableInterfaceVDCAssignmentRequest.md | 93 + docs/BulkWritableJobQueueAssignmentRequest.md | 93 + docs/BulkWritableJobQueueRequest.md | 233 + docs/BulkWritableJobRequest.md | 163 +- docs/BulkWritableMetadataTypeRequest.md | 26 + docs/BulkWritableModuleBayRequest.md | 62 + ...ulkWritableModuleBayRequestModuleFamily.md | 108 + docs/BulkWritableModuleBayTemplateRequest.md | 62 + ...bleModuleBayTemplateRequestModuleFamily.md | 108 + docs/BulkWritableModuleFamilyRequest.md | 150 + docs/BulkWritableModuleTypeRequest.md | 36 + docs/BulkWritablePowerFeedRequest.md | 150 +- ...ritablePowerFeedRequestDestinationPanel.md | 108 + .../BulkWritablePowerFeedRequestPowerPanel.md | 108 + docs/BulkWritablePowerPanelRequest.md | 88 + docs/BulkWritablePowerPortRequest.md | 26 + docs/BulkWritablePowerPortTemplateRequest.md | 26 + docs/BulkWritablePrefixRequest.md | 2 +- docs/BulkWritableRadioProfileRequest.md | 383 + ...ulkWritableRadioProfileRequestFrequency.md | 30 + docs/BulkWritableSoftwareImageFileRequest.md | 36 + docs/BulkWritableSupportedDataRateRequest.md | 207 + docs/BulkWritableTeamRequest.md | 78 +- docs/BulkWritableVLANGroupRequest.md | 52 + docs/BulkWritableVMInterfaceRequest.md | 8 +- .../BulkWritableVRFDeviceAssignmentRequest.md | 36 + docs/BulkWritableVRFRequest.md | 9 +- ...BulkWritableVirtualDeviceContextRequest.md | 398 + docs/BulkWritableWirelessNetworkRequest.md | 363 + docs/Cable.md | 9 +- docs/CableTermination.md | 9 +- docs/CapabilitiesEnum.md | 11 + docs/ChannelWidthEnum.md | 17 + docs/Circuit.md | 9 +- docs/CircuitRequest.md | 26 + docs/CircuitTermination.md | 35 +- docs/CircuitTerminationRequest.md | 52 + docs/CircuitType.md | 9 +- docs/CircuitTypeRequest.md | 26 + docs/CircuitsAPI.md | 280 +- docs/CloudAPI.md | 620 +- docs/CloudAccount.md | 9 +- docs/CloudAccountRequest.md | 26 + docs/CloudNetwork.md | 9 +- docs/CloudNetworkPrefixAssignment.md | 9 +- docs/CloudNetworkPrefixAssignmentRequest.md | 26 + docs/CloudNetworkRequest.md | 26 + docs/CloudResourceType.md | 9 +- docs/CloudResourceTypeRequest.md | 26 + docs/CloudService.md | 9 +- docs/CloudServiceNetworkAssignment.md | 9 +- docs/CloudServiceNetworkAssignmentRequest.md | 26 + docs/CloudServiceRequest.md | 26 + docs/Cluster.md | 9 +- docs/ClusterGroup.md | 9 +- docs/ClusterGroupRequest.md | 26 + docs/ClusterRequest.md | 26 + docs/ClusterType.md | 9 +- docs/ClusterTypeRequest.md | 26 + docs/ComputedField.md | 9 +- docs/ComputedFieldRequest.md | 26 + docs/ConfigContext.md | 17 +- docs/ConfigContextRequest.md | 26 + docs/ConfigContextSchema.md | 17 +- docs/ConfigContextSchemaRequest.md | 26 + docs/ConsolePort.md | 9 +- docs/ConsolePortTemplate.md | 9 +- docs/ConsoleServerPort.md | 9 +- docs/ConsoleServerPortTemplate.md | 9 +- docs/Contact.md | 87 +- docs/ContactAssociation.md | 9 +- docs/ContactAssociationRequest.md | 26 + docs/ContactRequest.md | 78 +- docs/Controller.md | 45 +- docs/ControllerCapabilitiesInner.md | 82 + docs/ControllerCapabilitiesInnerLabel.md | 11 + docs/ControllerCapabilitiesInnerValue.md | 11 + docs/ControllerManagedDeviceGroup.md | 149 +- ...anagedDeviceGroupRadioProfileAssignment.md | 182 + ...eviceGroupRadioProfileAssignmentRequest.md | 98 + docs/ControllerManagedDeviceGroupRequest.md | 124 + ...gedDeviceGroupWirelessNetworkAssignment.md | 218 + ...ceGroupWirelessNetworkAssignmentRequest.md | 134 + docs/ControllerRequest.md | 62 + docs/CoreAPI.md | 77 + docs/CustomField.md | 9 +- docs/CustomFieldChoice.md | 9 +- docs/CustomFieldChoiceRequest.md | 26 + docs/CustomLink.md | 9 +- docs/CustomLinkRequest.md | 26 + docs/DcimAPI.md | 20056 ++-- ...DcimLocationsListTimeZoneParameterInner.md | 2 + docs/Device.md | 9 +- docs/DeviceBay.md | 9 +- docs/DeviceBayRequest.md | 26 + docs/DeviceBayTemplate.md | 9 +- docs/DeviceBayTemplateRequest.md | 26 + docs/DeviceFamily.md | 35 +- docs/DeviceFamilyRequest.md | 52 + docs/DeviceRedundancyGroup.md | 9 +- docs/DeviceType.md | 9 +- docs/DeviceTypeToSoftwareImageFile.md | 9 +- docs/DeviceTypeToSoftwareImageFileRequest.md | 26 + docs/DynamicGroup.md | 9 +- docs/DynamicGroupAssociatedObject.md | 9 +- docs/DynamicGroupMembership.md | 9 +- docs/DynamicGroupMembershipRequest.md | 26 + docs/DynamicGroupRequest.md | 26 + docs/ExportTemplate.md | 17 +- docs/ExportTemplateRequest.md | 26 + docs/ExternalIntegration.md | 35 +- docs/ExternalIntegrationRequest.md | 52 + docs/ExtrasAPI.md | 4963 +- docs/FailoverStrategyEnum.md | 4 +- docs/FileProxy.md | 9 +- docs/FrequencyEnum.md | 15 + docs/FrontPort.md | 9 +- docs/FrontPortTemplate.md | 9 +- docs/GitRepository.md | 35 +- docs/GitRepositoryRequest.md | 52 + docs/GitRepositorySyncResponse.md | 72 + docs/GraphQLQuery.md | 112 +- docs/GraphQLQueryRequest.md | 98 + docs/IPAddress.md | 9 +- docs/IPAddressRequest.md | 26 + docs/IPAddressToInterface.md | 9 +- docs/IPAddressToInterfaceRequest.md | 26 + docs/IPAllocationRequest.md | 26 + docs/ImageAttachment.md | 9 +- docs/ImageAttachmentRequest.md | 26 + docs/Interface.md | 9 +- docs/InterfaceConnection.md | 9 +- docs/{ModeEnum.md => InterfaceModeChoices.md} | 2 +- docs/InterfaceRedundancyGroup.md | 9 +- docs/InterfaceRedundancyGroupAssociation.md | 9 +- ...erfaceRedundancyGroupAssociationRequest.md | 26 + docs/InterfaceTemplate.md | 9 +- docs/InterfaceTypeChoices.md | 6 + docs/InterfaceTypeLabel.md | 6 + docs/InterfaceTypeValue.md | 6 + docs/InterfaceVDCAssignment.md | 182 + docs/InterfaceVDCAssignmentRequest.md | 98 + docs/InventoryItem.md | 9 +- docs/InventoryItemRequest.md | 26 + docs/IpamAPI.md | 1886 +- ...efixesAvailableIpsListRangeEndParameter.md | 30 + ...VlanGroupsAvailableVlansList200Response.md | 144 + docs/Job.md | 243 +- docs/JobButton.md | 9 +- docs/JobButtonRequest.md | 26 + docs/JobCreationRequest.md | 26 + docs/JobHook.md | 9 +- docs/JobHookRequest.md | 26 + docs/JobInputRequest.md | 26 + docs/JobLogEntry.md | 9 +- docs/JobQueue.md | 379 + docs/JobQueueAssignment.md | 182 + docs/JobQueueAssignmentRequest.md | 98 + docs/JobQueueOverride.md | 108 + docs/JobQueueRequest.md | 238 + docs/JobQueues.md | 108 + docs/JobRequest.md | 189 +- docs/JobResult.md | 66 +- docs/Location.md | 9 +- docs/LocationRequest.md | 26 + docs/LocationType.md | 9 +- docs/LocationTypeRequest.md | 26 + docs/LogLevelEnum.md | 4 + docs/Manufacturer.md | 9 +- docs/ManufacturerRequest.md | 26 + docs/MetadataChoice.md | 9 +- docs/MetadataChoiceRequest.md | 26 + docs/MetadataType.md | 35 +- docs/MetadataTypeRequest.md | 52 + docs/Module.md | 9 +- docs/ModuleBay.md | 71 +- docs/ModuleBayRequest.md | 88 + docs/ModuleBayTemplate.md | 71 +- docs/ModuleBayTemplateRequest.md | 88 + docs/ModuleFamily.md | 348 + docs/ModuleFamilyRequest.md | 155 + docs/ModuleRequest.md | 26 + docs/ModuleType.md | 45 +- docs/ModuleTypeRequest.md | 62 + docs/Namespace.md | 9 +- docs/NamespaceRequest.md | 26 + docs/NestedCable.md | 9 +- docs/NestedCircuit.md | 9 +- docs/NestedCircuitTermination.md | 9 +- docs/NestedCircuitType.md | 9 +- docs/NestedCloudAccount.md | 9 +- docs/NestedCloudNetwork.md | 9 +- docs/NestedCloudResourceType.md | 9 +- docs/NestedCloudService.md | 9 +- docs/NestedCluster.md | 9 +- docs/NestedClusterGroup.md | 9 +- docs/NestedClusterType.md | 9 +- docs/NestedComputedField.md | 9 +- docs/NestedConfigContext.md | 9 +- docs/NestedConfigContextSchema.md | 9 +- docs/NestedConsolePort.md | 9 +- docs/NestedConsolePortTemplate.md | 9 +- docs/NestedConsoleServerPort.md | 9 +- docs/NestedConsoleServerPortTemplate.md | 9 +- docs/NestedContact.md | 9 +- docs/NestedContactAssociation.md | 9 +- docs/NestedController.md | 9 +- docs/NestedControllerManagedDeviceGroup.md | 9 +- docs/NestedCustomField.md | 9 +- docs/NestedCustomFieldChoice.md | 9 +- docs/NestedCustomLink.md | 9 +- docs/NestedDevice.md | 9 +- docs/NestedDeviceBay.md | 9 +- docs/NestedDeviceBayTemplate.md | 9 +- docs/NestedDeviceFamily.md | 9 +- docs/NestedDeviceRedundancyGroup.md | 9 +- docs/NestedDeviceType.md | 9 +- docs/NestedDeviceTypeToSoftwareImageFile.md | 9 +- docs/NestedDynamicGroup.md | 9 +- docs/NestedExportTemplate.md | 9 +- docs/NestedExternalIntegration.md | 9 +- docs/NestedFileProxy.md | 9 +- docs/NestedFrontPort.md | 9 +- docs/NestedFrontPortTemplate.md | 9 +- docs/NestedGitRepository.md | 9 +- docs/NestedGraphQLQuery.md | 9 +- docs/NestedIPAddress.md | 9 +- docs/NestedImageAttachment.md | 9 +- docs/NestedInterface.md | 9 +- docs/NestedInterfaceRedundancyGroup.md | 9 +- ...stedInterfaceRedundancyGroupAssociation.md | 9 +- docs/NestedInterfaceTemplate.md | 9 +- docs/NestedInterfaceVDCAssignment.md | 98 + docs/NestedInventoryItem.md | 9 +- docs/NestedJob.md | 9 +- docs/NestedJobButton.md | 9 +- docs/NestedJobHook.md | 9 +- ...onfigContextOwner.md => NestedJobQueue.md} | 39 +- docs/NestedJobResult.md | 9 +- docs/NestedLocation.md | 9 +- docs/NestedLocationType.md | 9 +- docs/NestedManufacturer.md | 9 +- docs/NestedMetadataChoice.md | 9 +- docs/NestedMetadataType.md | 9 +- docs/NestedModule.md | 9 +- docs/NestedModuleBay.md | 9 +- docs/NestedModuleBayTemplate.md | 9 +- ...TemplateOwner.md => NestedModuleFamily.md} | 39 +- docs/NestedModuleType.md | 9 +- docs/NestedNamespace.md | 9 +- docs/NestedNote.md | 9 +- docs/NestedObjectChange.md | 9 +- docs/NestedObjectMetadata.md | 9 +- docs/NestedObjectPermission.md | 9 +- docs/NestedPlatform.md | 9 +- docs/NestedPowerFeed.md | 9 +- docs/NestedPowerOutlet.md | 9 +- docs/NestedPowerOutletTemplate.md | 9 +- docs/NestedPowerPanel.md | 9 +- docs/NestedPowerPort.md | 9 +- docs/NestedPowerPortTemplate.md | 9 +- docs/NestedPrefix.md | 9 +- docs/NestedProvider.md | 9 +- docs/NestedProviderNetwork.md | 9 +- docs/NestedRIR.md | 9 +- docs/NestedRack.md | 9 +- docs/NestedRackGroup.md | 9 +- docs/NestedRackReservation.md | 9 +- ...xtSchemaOwner.md => NestedRadioProfile.md} | 39 +- docs/NestedRearPort.md | 9 +- docs/NestedRearPortTemplate.md | 9 +- docs/NestedRelationship.md | 9 +- docs/NestedRelationshipAssociation.md | 9 +- docs/NestedRole.md | 9 +- docs/NestedRouteTarget.md | 9 +- docs/NestedSavedView.md | 9 +- docs/NestedScheduledJob.md | 9 +- docs/NestedSecret.md | 9 +- docs/NestedSecretsGroup.md | 9 +- docs/NestedSecretsGroupAssociation.md | 9 +- docs/NestedService.md | 9 +- docs/NestedSoftwareImageFile.md | 9 +- docs/NestedSoftwareVersion.md | 9 +- docs/NestedStaticGroupAssociation.md | 9 +- docs/NestedStatus.md | 9 +- docs/NestedSupportedDataRate.md | 98 + docs/NestedTag.md | 9 +- docs/NestedTeam.md | 9 +- docs/NestedTenant.md | 9 +- docs/NestedTenantGroup.md | 9 +- docs/NestedVLAN.md | 9 +- docs/NestedVLANGroup.md | 9 +- docs/NestedVMInterface.md | 9 +- docs/NestedVRF.md | 9 +- docs/NestedVirtualChassis.md | 9 +- docs/NestedVirtualDeviceContext.md | 98 + docs/NestedVirtualMachine.md | 9 +- docs/NestedWebhook.md | 9 +- docs/NestedWirelessNetwork.md | 98 + docs/Note.md | 9 +- docs/NoteAssignedObject.md | 9 +- docs/NoteRequest.md | 26 + docs/NullEnum.md | 9 + docs/ObjectChange.md | 9 +- docs/ObjectChangeChangedObject.md | 9 +- docs/ObjectMetadata.md | 9 +- docs/ObjectMetadataAssignedObject.md | 9 +- docs/ObjectMetadataRequest.md | 26 + docs/ObjectPermission.md | 9 +- docs/ObjectPermissionRequest.md | 26 + ...edDeviceGroupRadioProfileAssignmentList.md | 144 + ...eviceGroupWirelessNetworkAssignmentList.md | 144 + docs/PaginatedInterfaceVDCAssignmentList.md | 144 + docs/PaginatedJobQueueAssignmentList.md | 144 + docs/PaginatedJobQueueList.md | 144 + docs/PaginatedModuleFamilyList.md | 144 + docs/PaginatedRadioProfileList.md | 144 + docs/PaginatedSupportedDataRateList.md | 144 + docs/PaginatedVirtualDeviceContextList.md | 144 + docs/PaginatedWirelessNetworkList.md | 144 + docs/PanelTypeEnum.md | 29 + ...edBulkWritableCircuitTerminationRequest.md | 26 + docs/PatchedBulkWritableContactRequest.md | 78 +- ...eviceGroupRadioProfileAssignmentRequest.md | 103 + ...ableControllerManagedDeviceGroupRequest.md | 98 + ...ceGroupWirelessNetworkAssignmentRequest.md | 139 + docs/PatchedBulkWritableControllerRequest.md | 36 + .../PatchedBulkWritableDeviceFamilyRequest.md | 26 + ...ulkWritableDeviceRedundancyGroupRequest.md | 2 +- ...dBulkWritableExternalIntegrationRequest.md | 26 + ...PatchedBulkWritableGitRepositoryRequest.md | 26 + .../PatchedBulkWritableGraphQLQueryRequest.md | 72 + docs/PatchedBulkWritableInterfaceRequest.md | 8 +- ...lkWritableInterfaceVDCAssignmentRequest.md | 103 + ...edBulkWritableJobQueueAssignmentRequest.md | 103 + docs/PatchedBulkWritableJobQueueRequest.md | 243 + docs/PatchedBulkWritableJobRequest.md | 166 +- .../PatchedBulkWritableMetadataTypeRequest.md | 26 + docs/PatchedBulkWritableModuleBayRequest.md | 62 + ...hedBulkWritableModuleBayTemplateRequest.md | 62 + .../PatchedBulkWritableModuleFamilyRequest.md | 155 + docs/PatchedBulkWritableModuleTypeRequest.md | 36 + docs/PatchedBulkWritablePowerFeedRequest.md | 148 +- docs/PatchedBulkWritablePowerPanelRequest.md | 88 + docs/PatchedBulkWritablePowerPortRequest.md | 26 + ...hedBulkWritablePowerPortTemplateRequest.md | 26 + docs/PatchedBulkWritablePrefixRequest.md | 2 +- .../PatchedBulkWritableRadioProfileRequest.md | 393 + ...hedBulkWritableSoftwareImageFileRequest.md | 36 + ...hedBulkWritableSupportedDataRateRequest.md | 217 + docs/PatchedBulkWritableTeamRequest.md | 78 +- docs/PatchedBulkWritableVLANGroupRequest.md | 52 + docs/PatchedBulkWritableVMInterfaceRequest.md | 8 +- ...dBulkWritableVRFDeviceAssignmentRequest.md | 36 + ...BulkWritableVirtualDeviceContextRequest.md | 413 + ...tchedBulkWritableWirelessNetworkRequest.md | 383 + docs/PatchedCircuitRequest.md | 26 + docs/PatchedCircuitTerminationRequest.md | 52 + docs/PatchedCircuitTypeRequest.md | 26 + docs/PatchedCloudAccountRequest.md | 26 + ...chedCloudNetworkPrefixAssignmentRequest.md | 26 + docs/PatchedCloudNetworkRequest.md | 26 + docs/PatchedCloudResourceTypeRequest.md | 26 + ...hedCloudServiceNetworkAssignmentRequest.md | 26 + docs/PatchedCloudServiceRequest.md | 26 + docs/PatchedClusterGroupRequest.md | 26 + docs/PatchedClusterRequest.md | 26 + docs/PatchedClusterTypeRequest.md | 26 + docs/PatchedComputedFieldRequest.md | 26 + docs/PatchedConfigContextRequest.md | 26 + docs/PatchedConfigContextSchemaRequest.md | 26 + docs/PatchedContactAssociationRequest.md | 26 + docs/PatchedContactRequest.md | 78 +- ...eviceGroupRadioProfileAssignmentRequest.md | 108 + ...chedControllerManagedDeviceGroupRequest.md | 124 + ...ceGroupWirelessNetworkAssignmentRequest.md | 144 + docs/PatchedControllerRequest.md | 62 + docs/PatchedCustomFieldChoiceRequest.md | 26 + docs/PatchedCustomLinkRequest.md | 26 + docs/PatchedDeviceBayRequest.md | 26 + docs/PatchedDeviceBayTemplateRequest.md | 26 + docs/PatchedDeviceFamilyRequest.md | 52 + ...hedDeviceTypeToSoftwareImageFileRequest.md | 26 + docs/PatchedDynamicGroupMembershipRequest.md | 26 + docs/PatchedDynamicGroupRequest.md | 26 + docs/PatchedExportTemplateRequest.md | 26 + docs/PatchedExternalIntegrationRequest.md | 52 + docs/PatchedGitRepositoryRequest.md | 52 + docs/PatchedGraphQLQueryRequest.md | 98 + docs/PatchedIPAddressRequest.md | 26 + docs/PatchedIPAddressToInterfaceRequest.md | 26 + docs/PatchedImageAttachmentRequest.md | 26 + ...erfaceRedundancyGroupAssociationRequest.md | 26 + docs/PatchedInterfaceVDCAssignmentRequest.md | 108 + docs/PatchedInventoryItemRequest.md | 26 + docs/PatchedJobButtonRequest.md | 26 + docs/PatchedJobHookRequest.md | 26 + docs/PatchedJobQueueAssignmentRequest.md | 108 + docs/PatchedJobQueueRequest.md | 248 + docs/PatchedJobRequest.md | 192 +- docs/PatchedLocationRequest.md | 26 + docs/PatchedLocationTypeRequest.md | 26 + docs/PatchedManufacturerRequest.md | 26 + docs/PatchedMetadataChoiceRequest.md | 26 + docs/PatchedMetadataTypeRequest.md | 52 + docs/PatchedModuleBayRequest.md | 88 + docs/PatchedModuleBayTemplateRequest.md | 88 + docs/PatchedModuleFamilyRequest.md | 160 + docs/PatchedModuleRequest.md | 26 + docs/PatchedModuleTypeRequest.md | 62 + docs/PatchedNamespaceRequest.md | 26 + docs/PatchedNoteRequest.md | 26 + docs/PatchedObjectMetadataRequest.md | 26 + docs/PatchedObjectPermissionRequest.md | 26 + docs/PatchedPlatformRequest.md | 26 + docs/PatchedPowerPanelRequest.md | 196 - .../PatchedPrefixLocationAssignmentRequest.md | 26 + docs/PatchedProviderNetworkRequest.md | 26 + docs/PatchedProviderRequest.md | 26 + docs/PatchedRIRRequest.md | 26 + docs/PatchedRackGroupRequest.md | 26 + docs/PatchedRackReservationRequest.md | 26 + docs/PatchedRadioProfileRequest.md | 398 + docs/PatchedRelationshipAssociationRequest.md | 26 + docs/PatchedRelationshipRequest.md | 26 + docs/PatchedRoleRequest.md | 26 + docs/PatchedRouteTargetRequest.md | 26 + docs/PatchedSavedViewRequest.md | 26 + docs/PatchedSecretRequest.md | 26 + docs/PatchedSecretsGroupAssociationRequest.md | 26 + docs/PatchedSecretsGroupRequest.md | 26 + docs/PatchedSoftwareImageFileRequest.md | 62 + docs/PatchedSoftwareVersionRequest.md | 26 + docs/PatchedStaticGroupAssociationRequest.md | 26 + docs/PatchedStatusRequest.md | 26 + docs/PatchedSupportedDataRateRequest.md | 222 + docs/PatchedTagRequest.md | 26 + docs/PatchedTeamRequest.md | 78 +- docs/PatchedTenantGroupRequest.md | 26 + docs/PatchedTenantRequest.md | 26 + docs/PatchedTokenRequest.md | 26 + docs/PatchedUserRequest.md | 26 + .../PatchedUserSavedViewAssociationRequest.md | 26 + docs/PatchedVLANGroupRequest.md | 78 + docs/PatchedVLANLocationAssignmentRequest.md | 26 + docs/PatchedVLANRequest.md | 26 + docs/PatchedVRFDeviceAssignmentRequest.md | 62 + docs/PatchedVRFPrefixAssignmentRequest.md | 26 + docs/PatchedVRFRequest.md | 26 + docs/PatchedVirtualChassisRequest.md | 26 + docs/PatchedVirtualDeviceContextRequest.md | 418 + docs/PatchedVirtualMachineRequest.md | 26 + docs/PatchedWebhookRequest.md | 26 + docs/PatchedWirelessNetworkRequest.md | 388 + docs/PatchedWritableCableRequest.md | 26 + docs/PatchedWritableConsolePortRequest.md | 26 + ...tchedWritableConsolePortTemplateRequest.md | 26 + ...PatchedWritableConsoleServerPortRequest.md | 26 + ...ritableConsoleServerPortTemplateRequest.md | 26 + docs/PatchedWritableCustomFieldRequest.md | 26 + ...hedWritableDeviceRedundancyGroupRequest.md | 28 +- docs/PatchedWritableDeviceRequest.md | 26 + docs/PatchedWritableDeviceTypeRequest.md | 26 + docs/PatchedWritableFrontPortRequest.md | 26 + ...PatchedWritableFrontPortTemplateRequest.md | 26 + ...WritableInterfaceRedundancyGroupRequest.md | 26 + docs/PatchedWritableInterfaceRequest.md | 26 + ...PatchedWritableInterfaceTemplateRequest.md | 26 + docs/PatchedWritablePowerFeedRequest.md | 168 +- ...atchedWritablePowerFeedRequestPowerPath.md | 30 + docs/PatchedWritablePowerOutletRequest.md | 26 + ...tchedWritablePowerOutletTemplateRequest.md | 26 + docs/PatchedWritablePowerPanelRequest.md | 310 + ...tchedWritablePowerPanelRequestPanelType.md | 30 + docs/PatchedWritablePowerPortRequest.md | 52 + ...PatchedWritablePowerPortTemplateRequest.md | 52 + docs/PatchedWritablePrefixRequest.md | 26 + docs/PatchedWritableRackRequest.md | 26 + docs/PatchedWritableRearPortRequest.md | 26 + .../PatchedWritableRearPortTemplateRequest.md | 26 + docs/PatchedWritableServiceRequest.md | 26 + docs/PatchedWritableVMInterfaceRequest.md | 26 + docs/PathEndpoint.md | 9 +- docs/Platform.md | 9 +- docs/PlatformRequest.md | 26 + docs/PowerFeed.md | 151 +- docs/PowerFeedBreakerPoleCount.md | 82 + docs/PowerFeedBreakerPoleCountLabel.md | 15 + docs/PowerFeedBreakerPoleCountValue.md | 15 + docs/PowerFeedPowerPath.md | 82 + docs/PowerFeedPowerPathLabel.md | 13 + docs/PowerFeedPowerPathValue.md | 13 + docs/PowerOutlet.md | 9 +- docs/PowerOutletTemplate.md | 9 +- docs/PowerOutletTypeChoices.md | 2 + docs/PowerOutletTypeLabel.md | 2 + docs/PowerOutletTypeValue.md | 2 + docs/PowerPanel.md | 97 +- docs/PowerPanelPanelType.md | 82 + docs/PowerPanelPanelTypeLabel.md | 29 + docs/PowerPanelPanelTypeValue.md | 29 + docs/PowerPanelRequest.md | 186 - docs/PowerPathEnum.md | 13 + docs/PowerPort.md | 35 +- docs/PowerPortTemplate.md | 35 +- docs/Prefix.md | 30 +- docs/PrefixLengthRequest.md | 28 +- docs/PrefixLocationAssignment.md | 9 +- docs/PrefixLocationAssignmentRequest.md | 26 + docs/ProvidedContentsEnum.md | 10 +- docs/Provider.md | 9 +- docs/ProviderNetwork.md | 9 +- docs/ProviderNetworkRequest.md | 26 + docs/ProviderRequest.md | 26 + docs/QueueTypeEnum.md | 13 + docs/README.md | 270 +- docs/RIR.md | 9 +- docs/RIRRequest.md | 26 + docs/Rack.md | 9 +- docs/RackGroup.md | 9 +- docs/RackGroupRequest.md | 26 + docs/RackReservation.md | 9 +- docs/RackReservationRequest.md | 26 + docs/RadioProfile.md | 529 + docs/RadioProfileChannelWidthInner.md | 82 + docs/RadioProfileChannelWidthInnerLabel.md | 17 + docs/RadioProfileChannelWidthInnerValue.md | 17 + docs/RadioProfileRequest.md | 388 + docs/RearPort.md | 9 +- docs/RearPortTemplate.md | 9 +- docs/RegulatoryDomainEnum.md | 261 + docs/Relationship.md | 9 +- docs/RelationshipAssociation.md | 9 +- docs/RelationshipAssociationRequest.md | 26 + docs/RelationshipRequest.md | 26 + docs/RenderJinja.md | 119 + docs/RenderJinjaRequest.md | 77 + docs/Role.md | 9 +- docs/RoleRequest.md | 26 + docs/RouteTarget.md | 9 +- docs/RouteTargetRequest.md | 26 + docs/SavedView.md | 9 +- docs/SavedViewRequest.md | 26 + docs/ScheduledJob.md | 92 +- docs/Secret.md | 9 +- docs/SecretRequest.md | 26 + docs/SecretTypeEnum.md | 12 + docs/SecretsGroup.md | 9 +- docs/SecretsGroupAssociation.md | 9 +- docs/SecretsGroupAssociationRequest.md | 26 + docs/SecretsGroupRequest.md | 26 + docs/Service.md | 9 +- docs/SoftwareImageFile.md | 45 +- docs/SoftwareImageFileRequest.md | 62 + docs/SoftwareVersion.md | 9 +- docs/SoftwareVersionRequest.md | 26 + docs/StandardEnum.md | 23 + docs/StaticGroupAssociation.md | 9 +- docs/StaticGroupAssociationRequest.md | 26 + docs/Status.md | 9 +- docs/StatusAPI.md | 6 +- docs/StatusRequest.md | 26 + docs/SupportedDataRate.md | 353 + docs/SupportedDataRateRequest.md | 212 + docs/SwaggerAPI.md | 6 +- docs/SwaggerJsonAPI.md | 6 +- docs/SwaggerYamlAPI.md | 6 +- docs/Tag.md | 9 +- docs/TagRequest.md | 26 + docs/Team.md | 87 +- docs/TeamRequest.md | 78 +- docs/TenancyAPI.md | 120 +- docs/Tenant.md | 9 +- docs/TenantGroup.md | 9 +- docs/TenantGroupRequest.md | 26 + docs/TenantRequest.md | 26 + docs/Token.md | 9 +- docs/TokenRequest.md | 26 + docs/UiAPI.md | 77 + docs/User.md | 9 +- docs/UserRequest.md | 26 + docs/UserSavedViewAssociation.md | 9 +- docs/UserSavedViewAssociationRequest.md | 26 + docs/UsersAPI.md | 126 +- docs/VLAN.md | 56 +- docs/VLANAllocationRequest.md | 336 + docs/VLANGroup.md | 61 +- docs/VLANGroupRequest.md | 78 + docs/VLANLocationAssignment.md | 9 +- docs/VLANLocationAssignmentRequest.md | 26 + docs/VLANRequest.md | 26 + docs/VMInterface.md | 9 +- docs/VRF.md | 37 +- docs/VRFDeviceAssignment.md | 45 +- docs/VRFDeviceAssignmentRequest.md | 62 + docs/VRFPrefixAssignment.md | 9 +- docs/VRFPrefixAssignmentRequest.md | 26 + docs/VRFRequest.md | 35 +- docs/VirtualChassis.md | 9 +- docs/VirtualChassisRequest.md | 26 + docs/VirtualDeviceContext.md | 565 + docs/VirtualDeviceContextRequest.md | 403 + docs/VirtualMachine.md | 9 +- docs/VirtualMachineRequest.md | 26 + docs/VirtualizationAPI.md | 292 +- docs/Webhook.md | 9 +- docs/WebhookRequest.md | 26 + docs/WirelessAPI.md | 4306 + docs/WirelessNetwork.md | 509 + docs/WirelessNetworkModeChoices.md | 21 + docs/WirelessNetworkRequest.md | 368 + docs/WritableCableRequest.md | 26 + docs/WritableConsolePortRequest.md | 26 + docs/WritableConsolePortTemplateRequest.md | 26 + docs/WritableConsoleServerPortRequest.md | 26 + ...ritableConsoleServerPortTemplateRequest.md | 26 + docs/WritableCustomFieldRequest.md | 26 + docs/WritableDeviceRedundancyGroupRequest.md | 28 +- docs/WritableDeviceRequest.md | 26 + docs/WritableDeviceTypeRequest.md | 26 + docs/WritableFrontPortRequest.md | 26 + docs/WritableFrontPortTemplateRequest.md | 26 + ...WritableInterfaceRedundancyGroupRequest.md | 26 + docs/WritableInterfaceRequest.md | 26 + docs/WritableInterfaceTemplateRequest.md | 26 + docs/WritablePowerFeedRequest.md | 170 +- docs/WritablePowerOutletRequest.md | 26 + docs/WritablePowerOutletTemplateRequest.md | 26 + docs/WritablePowerPanelRequest.md | 300 + docs/WritablePowerPortRequest.md | 52 + docs/WritablePowerPortTemplateRequest.md | 52 + docs/WritablePrefixRequest.md | 26 + docs/WritableRackRequest.md | 26 + docs/WritableRearPortRequest.md | 26 + docs/WritableRearPortTemplateRequest.md | 26 + docs/WritableServiceRequest.md | 26 + docs/WritableVMInterfaceRequest.md | 26 + go.mod | 2 +- go.sum | 4 +- model_access_type_enum.go | 2 +- model_authentication_enum.go | 123 + model_available_ip.go | 2 +- model_available_prefix.go | 2 +- model_blank_enum.go | 2 +- model_breaker_pole_count_enum.go | 113 + model_bridge_interface.go | 2 +- model_bulk_operation_integer_id_request.go | 2 +- model_bulk_operation_request.go | 2 +- model_bulk_writable_cable_request.go | 2 +- ...table_cable_request_relationships_value.go | 2 +- ...able_request_relationships_value_source.go | 2 +- ...elationships_value_source_objects_inner.go | 2 +- model_bulk_writable_cable_request_status.go | 2 +- ...l_bulk_writable_cable_request_status_id.go | 18 +- model_bulk_writable_circuit_request.go | 2 +- model_bulk_writable_circuit_request_tenant.go | 2 +- ...lk_writable_circuit_termination_request.go | 39 +- model_bulk_writable_circuit_type_request.go | 2 +- model_bulk_writable_cloud_account_request.go | 2 +- ...writable_cloud_account_request_provider.go | 2 +- ...cloud_network_prefix_assignment_request.go | 2 +- model_bulk_writable_cloud_network_request.go | 2 +- ...lk_writable_cloud_resource_type_request.go | 2 +- ...loud_service_network_assignment_request.go | 2 +- model_bulk_writable_cloud_service_request.go | 2 +- model_bulk_writable_cluster_group_request.go | 2 +- model_bulk_writable_cluster_request.go | 2 +- model_bulk_writable_cluster_type_request.go | 2 +- model_bulk_writable_computed_field_request.go | 2 +- model_bulk_writable_config_context_request.go | 2 +- ...g_context_request_config_context_schema.go | 2 +- ..._writable_config_context_schema_request.go | 2 +- model_bulk_writable_console_port_request.go | 2 +- ..._writable_console_port_template_request.go | 2 +- ...lk_writable_console_server_port_request.go | 2 +- ...le_console_server_port_template_request.go | 2 +- ...lk_writable_contact_association_request.go | 2 +- model_bulk_writable_contact_request.go | 113 +- ..._group_radio_profile_assignment_request.go | 226 + ...controller_managed_device_group_request.go | 124 +- ...managed_device_group_request_controller.go | 2 +- ...oup_wireless_network_assignment_request.go | 273 + model_bulk_writable_controller_request.go | 40 +- ...lk_writable_custom_field_choice_request.go | 2 +- model_bulk_writable_custom_field_request.go | 2 +- model_bulk_writable_custom_link_request.go | 2 +- model_bulk_writable_device_bay_request.go | 2 +- ...lk_writable_device_bay_template_request.go | 2 +- model_bulk_writable_device_family_request.go | 39 +- ...ritable_device_redundancy_group_request.go | 6 +- ...undancy_group_request_failover_strategy.go | 132 +- model_bulk_writable_device_request.go | 2 +- ...ritable_device_request_software_version.go | 2 +- model_bulk_writable_device_type_request.go | 2 +- ...ice_type_to_software_image_file_request.go | 2 +- ...itable_dynamic_group_membership_request.go | 2 +- model_bulk_writable_dynamic_group_request.go | 2 +- ...l_bulk_writable_export_template_request.go | 2 +- ...k_writable_external_integration_request.go | 39 +- ...xternal_integration_request_http_method.go | 18 +- ...ernal_integration_request_secrets_group.go | 2 +- model_bulk_writable_front_port_request.go | 2 +- ...lk_writable_front_port_template_request.go | 2 +- model_bulk_writable_git_repository_request.go | 39 +- ...ository_request_provided_contents_inner.go | 18 +- model_bulk_writable_graph_ql_query_request.go | 96 +- model_bulk_writable_group_request.go | 2 +- ..._bulk_writable_image_attachment_request.go | 2 +- ...ce_redundancy_group_association_request.go | 2 +- ...able_interface_redundancy_group_request.go | 2 +- model_bulk_writable_interface_request.go | 14 +- ...able_interface_request_parent_interface.go | 2 +- ...ulk_writable_interface_template_request.go | 2 +- ...itable_interface_vdc_assignment_request.go | 226 + model_bulk_writable_inventory_item_request.go | 2 +- ...inventory_item_request_software_version.go | 2 +- model_bulk_writable_ip_address_request.go | 2 +- ...k_writable_ip_address_request_namespace.go | 2 +- ...bulk_writable_ip_address_request_parent.go | 2 +- ...ritable_ip_address_to_interface_request.go | 2 +- model_bulk_writable_job_button_request.go | 2 +- model_bulk_writable_job_button_request_job.go | 2 +- model_bulk_writable_job_hook_request.go | 2 +- model_bulk_writable_job_hook_request_job.go | 2 +- ...k_writable_job_queue_assignment_request.go | 226 + model_bulk_writable_job_queue_request.go | 421 + model_bulk_writable_job_request.go | 222 +- model_bulk_writable_location_request.go | 2 +- model_bulk_writable_location_type_request.go | 2 +- model_bulk_writable_manufacturer_request.go | 2 +- ...l_bulk_writable_metadata_choice_request.go | 2 +- model_bulk_writable_metadata_type_request.go | 39 +- model_bulk_writable_module_bay_request.go | 87 +- ...itable_module_bay_request_module_family.go | 229 + ...lk_writable_module_bay_template_request.go | 87 +- ...dule_bay_template_request_module_family.go | 229 + model_bulk_writable_module_family_request.go | 308 + model_bulk_writable_module_request.go | 2 +- model_bulk_writable_module_type_request.go | 49 +- model_bulk_writable_namespace_request.go | 2 +- model_bulk_writable_note_request.go | 2 +- ...l_bulk_writable_object_metadata_request.go | 2 +- ...bulk_writable_object_permission_request.go | 2 +- model_bulk_writable_platform_request.go | 2 +- ..._writable_platform_request_manufacturer.go | 2 +- model_bulk_writable_power_feed_request.go | 205 +- ...le_power_feed_request_destination_panel.go | 229 + ...writable_power_feed_request_power_panel.go | 229 + model_bulk_writable_power_outlet_request.go | 2 +- ..._writable_power_outlet_template_request.go | 2 +- model_bulk_writable_power_panel_request.go | 124 +- model_bulk_writable_power_port_request.go | 40 +- ...lk_writable_power_port_template_request.go | 40 +- ...able_prefix_location_assignment_request.go | 2 +- model_bulk_writable_prefix_request.go | 6 +- ...l_bulk_writable_prefix_request_location.go | 2 +- model_bulk_writable_prefix_request_parent.go | 2 +- model_bulk_writable_prefix_request_rir.go | 2 +- ..._bulk_writable_provider_network_request.go | 2 +- model_bulk_writable_provider_request.go | 2 +- model_bulk_writable_rack_group_request.go | 2 +- model_bulk_writable_rack_request.go | 2 +- ...l_bulk_writable_rack_request_rack_group.go | 2 +- ..._bulk_writable_rack_reservation_request.go | 2 +- ..._writable_rack_reservation_request_user.go | 2 +- model_bulk_writable_radio_profile_request.go | 626 + ...ritable_radio_profile_request_frequency.go | 171 + model_bulk_writable_rear_port_request.go | 2 +- ...ulk_writable_rear_port_template_request.go | 2 +- ...itable_relationship_association_request.go | 2 +- model_bulk_writable_relationship_request.go | 2 +- ...itable_relationship_request_required_on.go | 18 +- model_bulk_writable_rir_request.go | 2 +- model_bulk_writable_role_request.go | 2 +- model_bulk_writable_route_target_request.go | 2 +- model_bulk_writable_saved_view_request.go | 2 +- ..._bulk_writable_saved_view_request_owner.go | 2 +- model_bulk_writable_secret_request.go | 2 +- ...table_secrets_group_association_request.go | 2 +- model_bulk_writable_secrets_group_request.go | 2 +- model_bulk_writable_service_request.go | 2 +- model_bulk_writable_service_request_device.go | 2 +- ...ritable_service_request_virtual_machine.go | 2 +- ...lk_writable_software_image_file_request.go | 49 +- ...re_image_file_request_hashing_algorithm.go | 18 +- ..._bulk_writable_software_version_request.go | 2 +- ...itable_static_group_association_request.go | 2 +- model_bulk_writable_status_request.go | 2 +- ...lk_writable_supported_data_rate_request.go | 385 + model_bulk_writable_tag_request.go | 2 +- model_bulk_writable_team_request.go | 113 +- model_bulk_writable_tenant_group_request.go | 2 +- model_bulk_writable_tenant_request.go | 2 +- model_bulk_writable_token_request.go | 2 +- model_bulk_writable_user_request.go | 2 +- ...ble_user_saved_view_association_request.go | 2 +- ...l_bulk_writable_virtual_chassis_request.go | 2 +- ...writable_virtual_device_context_request.go | 639 + ...l_bulk_writable_virtual_machine_request.go | 2 +- ...irtual_machine_request_software_version.go | 2 +- model_bulk_writable_vlan_group_request.go | 77 +- ...itable_vlan_location_assignment_request.go | 2 +- model_bulk_writable_vlan_request.go | 2 +- model_bulk_writable_vm_interface_request.go | 14 +- ..._writable_vrf_device_assignment_request.go | 49 +- ..._writable_vrf_prefix_assignment_request.go | 2 +- model_bulk_writable_vrf_request.go | 40 +- model_bulk_writable_webhook_request.go | 2 +- ..._bulk_writable_wireless_network_request.go | 600 + model_button_class_enum.go | 2 +- model_cable.go | 38 +- model_cable_length_unit.go | 2 +- model_cable_length_unit_label.go | 2 +- model_cable_length_unit_value.go | 2 +- model_cable_path.go | 2 +- model_cable_termination.go | 46 +- model_cable_type.go | 2 +- model_cable_type_choices.go | 2 +- model_cable_type_label.go | 2 +- model_cable_type_value.go | 2 +- model_capabilities_enum.go | 109 + model_channel_width_enum.go | 115 + model_circuit.go | 38 +- model_circuit_circuit_termination_a.go | 2 +- model_circuit_request.go | 39 +- model_circuit_termination.go | 75 +- model_circuit_termination_request.go | 76 +- model_circuit_type.go | 38 +- model_circuit_type_request.go | 39 +- ...cuit_terminations_list_format_parameter.go | 2 +- model_cloud_account.go | 38 +- model_cloud_account_request.go | 39 +- model_cloud_network.go | 38 +- model_cloud_network_prefix_assignment.go | 38 +- ...cloud_network_prefix_assignment_request.go | 39 +- model_cloud_network_request.go | 39 +- model_cloud_resource_type.go | 38 +- model_cloud_resource_type_request.go | 39 +- model_cloud_service.go | 38 +- model_cloud_service_network_assignment.go | 38 +- ...loud_service_network_assignment_request.go | 39 +- model_cloud_service_request.go | 39 +- model_cluster.go | 38 +- model_cluster_group.go | 38 +- model_cluster_group_request.go | 39 +- model_cluster_request.go | 39 +- model_cluster_type.go | 38 +- model_cluster_type_request.go | 39 +- model_computed_field.go | 38 +- model_computed_field_request.go | 39 +- model_config_context.go | 50 +- model_config_context_owner.go | 123 - model_config_context_request.go | 39 +- model_config_context_schema.go | 50 +- model_config_context_schema_owner.go | 123 - model_config_context_schema_request.go | 39 +- model_console_port.go | 38 +- model_console_port_template.go | 38 +- model_console_port_type.go | 2 +- model_console_port_type_choices.go | 2 +- model_console_port_type_label.go | 2 +- model_console_port_type_value.go | 2 +- model_console_server_port.go | 38 +- model_console_server_port_template.go | 38 +- model_contact.go | 149 +- model_contact_association.go | 38 +- model_contact_association_request.go | 39 +- model_contact_request.go | 114 +- model_content_type.go | 2 +- model_controller.go | 76 +- model_controller_capabilities_inner.go | 192 + model_controller_capabilities_inner_label.go | 109 + model_controller_capabilities_inner_value.go | 109 + model_controller_managed_device_group.go | 218 +- ...d_device_group_radio_profile_assignment.go | 351 + ..._group_radio_profile_assignment_request.go | 234 + ...controller_managed_device_group_request.go | 161 +- ...evice_group_wireless_network_assignment.go | 398 + ...oup_wireless_network_assignment_request.go | 281 + model_controller_request.go | 77 +- model_custom_field.go | 38 +- model_custom_field_choice.go | 38 +- model_custom_field_choice_request.go | 39 +- model_custom_field_filter_logic.go | 2 +- model_custom_field_filter_logic_label.go | 2 +- model_custom_field_filter_logic_value.go | 2 +- model_custom_field_type.go | 2 +- model_custom_field_type_choices.go | 2 +- model_custom_field_type_label.go | 2 +- model_custom_field_type_value.go | 2 +- model_custom_link.go | 38 +- model_custom_link_request.go | 39 +- model_data_type_enum.go | 2 +- ...ocations_list_time_zone_parameter_inner.go | 4 +- ...cim_racks_elevation_list_face_parameter.go | 2 +- ...m_racks_elevation_list_render_parameter.go | 2 +- model_device.go | 38 +- model_device_bay.go | 38 +- model_device_bay_request.go | 39 +- model_device_bay_template.go | 38 +- model_device_bay_template_request.go | 39 +- model_device_face.go | 2 +- model_device_face_label.go | 2 +- model_device_face_value.go | 2 +- model_device_family.go | 75 +- model_device_family_request.go | 76 +- model_device_napalm.go | 2 +- model_device_redundancy_group.go | 38 +- ...vice_redundancy_group_failover_strategy.go | 2 +- ...edundancy_group_failover_strategy_label.go | 2 +- ...edundancy_group_failover_strategy_value.go | 2 +- model_device_type.go | 38 +- model_device_type_subdevice_role.go | 2 +- model_device_type_subdevice_role_label.go | 2 +- model_device_type_subdevice_role_value.go | 2 +- model_device_type_to_software_image_file.go | 38 +- ...ice_type_to_software_image_file_request.go | 39 +- model_dynamic_group.go | 38 +- model_dynamic_group_associated_object.go | 586 +- model_dynamic_group_membership.go | 38 +- model_dynamic_group_membership_request.go | 39 +- model_dynamic_group_request.go | 39 +- model_export_template.go | 50 +- model_export_template_owner.go | 123 - model_export_template_request.go | 39 +- model_external_integration.go | 75 +- model_external_integration_request.go | 76 +- ...mberships_list_operator_parameter_inner.go | 2 +- ..._groups_list_group_type_parameter_inner.go | 2 +- ...ras_secrets_check_retrieve_200_response.go | 2 +- model_face_enum.go | 2 +- model_failover_strategy_enum.go | 6 +- model_feed_leg_enum.go | 2 +- model_file_proxy.go | 38 +- model_filter_logic_enum.go | 2 +- model_frequency_enum.go | 113 + model_front_port.go | 38 +- model_front_port_template.go | 38 +- model_front_port_type.go | 2 +- model_front_port_type_label.go | 2 +- model_front_port_type_value.go | 2 +- model_git_repository.go | 75 +- model_git_repository_request.go | 76 +- model_git_repository_sync_response.go | 197 + model_graph_ql_query.go | 163 +- model_graph_ql_query_input_request.go | 2 +- model_graph_ql_query_output.go | 2 +- model_graph_ql_query_request.go | 133 +- model_graph_qlapi_request.go | 2 +- model_graphql_create_200_response.go | 2 +- model_graphql_create_400_response.go | 2 +- model_group.go | 2 +- model_group_request.go | 2 +- model_group_type_enum.go | 2 +- model_hashing_algorithm_enum.go | 2 +- model_http_method_enum.go | 2 +- model_image_attachment.go | 38 +- model_image_attachment_request.go | 39 +- model_interface.go | 38 +- model_interface_connection.go | 38 +- model_interface_mode.go | 2 +- model_interface_mode_choices.go | 113 + model_interface_mode_label.go | 2 +- model_interface_mode_value.go | 2 +- model_interface_redundancy_group.go | 38 +- ..._interface_redundancy_group_association.go | 38 +- ...ce_redundancy_group_association_request.go | 39 +- model_interface_redundancy_group_protocol.go | 2 +- ...rface_redundancy_group_protocol_choices.go | 2 +- ...terface_redundancy_group_protocol_label.go | 2 +- ...terface_redundancy_group_protocol_value.go | 2 +- model_interface_template.go | 38 +- model_interface_type.go | 2 +- model_interface_type_choices.go | 8 +- model_interface_type_label.go | 8 +- model_interface_type_value.go | 8 +- model_interface_vdc_assignment.go | 351 + model_interface_vdc_assignment_request.go | 234 + model_inventory_item.go | 38 +- model_inventory_item_request.go | 39 +- model_ip_address.go | 38 +- model_ip_address_request.go | 39 +- model_ip_address_to_interface.go | 38 +- model_ip_address_to_interface_request.go | 39 +- model_ip_address_type_choices.go | 2 +- model_ip_addresses.go | 2 +- model_ip_allocation_request.go | 39 +- ..._available_ips_list_range_end_parameter.go | 133 + ...roups_available_vlans_list_200_response.go | 291 + model_job.go | 348 +- model_job_button.go | 38 +- model_job_button_request.go | 39 +- model_job_creation_request.go | 39 +- model_job_execution_type_interval_choices.go | 2 +- model_job_hook.go | 38 +- model_job_hook_request.go | 39 +- model_job_input_request.go | 39 +- model_job_log_entry.go | 38 +- model_job_queue.go | 601 + model_job_queue_assignment.go | 351 + model_job_queue_assignment_request.go | 234 + model_job_queue_override.go | 229 + model_job_queue_request.go | 429 + model_job_queues.go | 229 + model_job_request.go | 259 +- model_job_result.go | 114 +- model_job_result_status.go | 2 +- model_job_result_status_value.go | 2 +- model_job_run_response.go | 2 +- model_job_variable.go | 2 +- model_length_unit_enum.go | 2 +- model_location.go | 38 +- model_location_request.go | 39 +- model_location_type.go | 38 +- model_location_type_request.go | 39 +- model_log_level_enum.go | 6 +- model_manufacturer.go | 38 +- model_manufacturer_request.go | 39 +- model_metadata_choice.go | 38 +- model_metadata_choice_request.go | 39 +- model_metadata_type.go | 75 +- model_metadata_type_request.go | 76 +- model_mode_enum.go | 113 - model_module.go | 38 +- model_module_bay.go | 123 +- model_module_bay_request.go | 124 +- model_module_bay_template.go | 123 +- model_module_bay_template_request.go | 124 +- model_module_family.go | 562 + model_module_family_request.go | 316 + model_module_request.go | 39 +- model_module_type.go | 85 +- model_module_type_request.go | 86 +- model_namespace.go | 38 +- model_namespace_request.go | 39 +- model_nat__inside_.go | 2 +- model_nested_cable.go | 38 +- model_nested_circuit.go | 38 +- model_nested_circuit_termination.go | 38 +- model_nested_circuit_type.go | 38 +- model_nested_cloud_account.go | 38 +- model_nested_cloud_network.go | 38 +- model_nested_cloud_resource_type.go | 38 +- model_nested_cloud_service.go | 38 +- model_nested_cluster.go | 38 +- model_nested_cluster_group.go | 38 +- model_nested_cluster_type.go | 38 +- model_nested_computed_field.go | 38 +- model_nested_config_context.go | 38 +- model_nested_config_context_schema.go | 38 +- model_nested_console_port.go | 38 +- model_nested_console_port_template.go | 38 +- model_nested_console_server_port.go | 38 +- model_nested_console_server_port_template.go | 38 +- model_nested_contact.go | 38 +- model_nested_contact_association.go | 38 +- model_nested_controller.go | 38 +- ..._nested_controller_managed_device_group.go | 38 +- model_nested_custom_field.go | 38 +- model_nested_custom_field_choice.go | 38 +- model_nested_custom_link.go | 38 +- model_nested_device.go | 38 +- model_nested_device_bay.go | 38 +- model_nested_device_bay_template.go | 38 +- model_nested_device_family.go | 38 +- model_nested_device_redundancy_group.go | 38 +- model_nested_device_type.go | 38 +- ...sted_device_type_to_software_image_file.go | 38 +- model_nested_dynamic_group.go | 38 +- model_nested_export_template.go | 38 +- model_nested_external_integration.go | 38 +- model_nested_file_proxy.go | 38 +- model_nested_front_port.go | 38 +- model_nested_front_port_template.go | 38 +- model_nested_git_repository.go | 38 +- model_nested_graph_ql_query.go | 38 +- model_nested_image_attachment.go | 38 +- model_nested_interface.go | 38 +- model_nested_interface_redundancy_group.go | 38 +- ..._interface_redundancy_group_association.go | 38 +- model_nested_interface_template.go | 38 +- model_nested_interface_vdc_assignment.go | 234 + model_nested_inventory_item.go | 38 +- model_nested_ip_address.go | 38 +- model_nested_job.go | 38 +- model_nested_job_button.go | 38 +- model_nested_job_hook.go | 38 +- model_nested_job_queue.go | 234 + model_nested_job_result.go | 38 +- model_nested_location.go | 38 +- model_nested_location_type.go | 38 +- model_nested_manufacturer.go | 38 +- model_nested_metadata_choice.go | 38 +- model_nested_metadata_type.go | 38 +- model_nested_module.go | 38 +- model_nested_module_bay.go | 38 +- model_nested_module_bay_template.go | 38 +- model_nested_module_family.go | 234 + model_nested_module_type.go | 38 +- model_nested_namespace.go | 38 +- model_nested_note.go | 38 +- model_nested_object_change.go | 38 +- model_nested_object_metadata.go | 38 +- model_nested_object_permission.go | 38 +- model_nested_platform.go | 38 +- model_nested_power_feed.go | 38 +- model_nested_power_outlet.go | 38 +- model_nested_power_outlet_template.go | 38 +- model_nested_power_panel.go | 38 +- model_nested_power_port.go | 38 +- model_nested_power_port_template.go | 38 +- model_nested_prefix.go | 38 +- model_nested_provider.go | 38 +- model_nested_provider_network.go | 38 +- model_nested_rack.go | 38 +- model_nested_rack_group.go | 38 +- model_nested_rack_reservation.go | 38 +- model_nested_radio_profile.go | 234 + model_nested_rear_port.go | 38 +- model_nested_rear_port_template.go | 38 +- model_nested_relationship.go | 38 +- model_nested_relationship_association.go | 38 +- model_nested_rir.go | 38 +- model_nested_role.go | 38 +- model_nested_route_target.go | 38 +- model_nested_saved_view.go | 38 +- model_nested_scheduled_job.go | 38 +- model_nested_secret.go | 38 +- model_nested_secrets_group.go | 38 +- model_nested_secrets_group_association.go | 38 +- model_nested_service.go | 38 +- model_nested_software_image_file.go | 38 +- model_nested_software_version.go | 38 +- model_nested_static_group_association.go | 38 +- model_nested_status.go | 38 +- model_nested_supported_data_rate.go | 234 + model_nested_tag.go | 38 +- model_nested_team.go | 38 +- model_nested_tenant.go | 38 +- model_nested_tenant_group.go | 38 +- model_nested_virtual_chassis.go | 38 +- model_nested_virtual_device_context.go | 234 + model_nested_virtual_machine.go | 38 +- model_nested_vlan.go | 38 +- model_nested_vlan_group.go | 38 +- model_nested_vm_interface.go | 38 +- model_nested_vrf.go | 38 +- model_nested_webhook.go | 38 +- model_nested_wireless_network.go | 234 + model_note.go | 38 +- model_note_assigned_object.go | 566 +- model_note_input_request.go | 2 +- model_note_request.go | 39 +- model_null_enum.go | 107 + model_object_change.go | 38 +- model_object_change_action.go | 2 +- model_object_change_action_label.go | 2 +- model_object_change_action_value.go | 2 +- model_object_change_changed_object.go | 634 +- model_object_metadata.go | 38 +- model_object_metadata_assigned_object.go | 706 +- model_object_metadata_request.go | 39 +- model_object_permission.go | 38 +- model_object_permission_request.go | 39 +- model_operator_enum.go | 2 +- model_outer_unit_enum.go | 2 +- model_paginated_available_ip_list.go | 2 +- model_paginated_available_prefix_list.go | 2 +- model_paginated_cable_list.go | 2 +- model_paginated_cable_path_list.go | 2 +- model_paginated_circuit_list.go | 2 +- model_paginated_circuit_termination_list.go | 2 +- model_paginated_circuit_type_list.go | 2 +- model_paginated_cloud_account_list.go | 2 +- model_paginated_cloud_network_list.go | 2 +- ...ed_cloud_network_prefix_assignment_list.go | 2 +- model_paginated_cloud_resource_type_list.go | 2 +- model_paginated_cloud_service_list.go | 2 +- ...d_cloud_service_network_assignment_list.go | 2 +- model_paginated_cluster_group_list.go | 2 +- model_paginated_cluster_list.go | 2 +- model_paginated_cluster_type_list.go | 2 +- model_paginated_computed_field_list.go | 2 +- model_paginated_config_context_list.go | 2 +- model_paginated_config_context_schema_list.go | 2 +- model_paginated_console_port_list.go | 2 +- model_paginated_console_port_template_list.go | 2 +- model_paginated_console_server_port_list.go | 2 +- ...nated_console_server_port_template_list.go | 2 +- model_paginated_contact_association_list.go | 2 +- model_paginated_contact_list.go | 2 +- model_paginated_content_type_list.go | 2 +- model_paginated_controller_list.go | 2 +- ...ed_controller_managed_device_group_list.go | 2 +- ...ice_group_radio_profile_assignment_list.go | 291 + ..._group_wireless_network_assignment_list.go | 291 + model_paginated_custom_field_choice_list.go | 2 +- model_paginated_custom_field_list.go | 2 +- model_paginated_custom_link_list.go | 2 +- model_paginated_device_bay_list.go | 2 +- model_paginated_device_bay_template_list.go | 2 +- model_paginated_device_family_list.go | 2 +- model_paginated_device_list.go | 2 +- ..._paginated_device_redundancy_group_list.go | 2 +- model_paginated_device_type_list.go | 2 +- ...device_type_to_software_image_file_list.go | 2 +- model_paginated_dynamic_group_list.go | 2 +- ...paginated_dynamic_group_membership_list.go | 2 +- model_paginated_export_template_list.go | 2 +- model_paginated_external_integration_list.go | 2 +- model_paginated_file_proxy_list.go | 2 +- model_paginated_front_port_list.go | 2 +- model_paginated_front_port_template_list.go | 2 +- model_paginated_git_repository_list.go | 2 +- model_paginated_graph_ql_query_list.go | 2 +- model_paginated_group_list.go | 2 +- model_paginated_image_attachment_list.go | 2 +- model_paginated_interface_connection_list.go | 2 +- model_paginated_interface_list.go | 2 +- ...rface_redundancy_group_association_list.go | 2 +- ...ginated_interface_redundancy_group_list.go | 2 +- model_paginated_interface_template_list.go | 2 +- ...paginated_interface_vdc_assignment_list.go | 291 + model_paginated_inventory_item_list.go | 2 +- model_paginated_ip_address_list.go | 2 +- ..._paginated_ip_address_to_interface_list.go | 2 +- model_paginated_job_button_list.go | 2 +- model_paginated_job_hook_list.go | 2 +- model_paginated_job_list.go | 2 +- model_paginated_job_log_entry_list.go | 2 +- model_paginated_job_queue_assignment_list.go | 291 + model_paginated_job_queue_list.go | 291 + model_paginated_job_result_list.go | 2 +- model_paginated_job_variable_list.go | 2 +- model_paginated_location_list.go | 2 +- model_paginated_location_type_list.go | 2 +- model_paginated_manufacturer_list.go | 2 +- model_paginated_metadata_choice_list.go | 2 +- model_paginated_metadata_type_list.go | 2 +- model_paginated_module_bay_list.go | 2 +- model_paginated_module_bay_template_list.go | 2 +- model_paginated_module_family_list.go | 291 + model_paginated_module_list.go | 2 +- model_paginated_module_type_list.go | 2 +- model_paginated_namespace_list.go | 2 +- model_paginated_note_list.go | 2 +- model_paginated_object_change_list.go | 2 +- model_paginated_object_metadata_list.go | 2 +- model_paginated_object_permission_list.go | 2 +- model_paginated_platform_list.go | 2 +- model_paginated_power_feed_list.go | 2 +- model_paginated_power_outlet_list.go | 2 +- model_paginated_power_outlet_template_list.go | 2 +- model_paginated_power_panel_list.go | 2 +- model_paginated_power_port_list.go | 2 +- model_paginated_power_port_template_list.go | 2 +- model_paginated_prefix_list.go | 2 +- ...ginated_prefix_location_assignment_list.go | 2 +- model_paginated_provider_list.go | 2 +- model_paginated_provider_network_list.go | 2 +- model_paginated_rack_group_list.go | 2 +- model_paginated_rack_list.go | 2 +- model_paginated_rack_reservation_list.go | 2 +- model_paginated_rack_unit_list.go | 2 +- model_paginated_radio_profile_list.go | 291 + model_paginated_rear_port_list.go | 2 +- model_paginated_rear_port_template_list.go | 2 +- ...paginated_relationship_association_list.go | 2 +- model_paginated_relationship_list.go | 2 +- model_paginated_rir_list.go | 2 +- model_paginated_role_list.go | 2 +- model_paginated_route_target_list.go | 2 +- model_paginated_saved_view_list.go | 2 +- model_paginated_scheduled_job_list.go | 2 +- model_paginated_secret_list.go | 2 +- ...aginated_secrets_group_association_list.go | 2 +- model_paginated_secrets_group_list.go | 2 +- model_paginated_service_list.go | 2 +- model_paginated_software_image_file_list.go | 2 +- model_paginated_software_version_list.go | 2 +- ...paginated_static_group_association_list.go | 2 +- model_paginated_status_list.go | 2 +- model_paginated_supported_data_rate_list.go | 291 + model_paginated_tag_list.go | 2 +- model_paginated_team_list.go | 2 +- model_paginated_tenant_group_list.go | 2 +- model_paginated_tenant_list.go | 2 +- model_paginated_token_list.go | 2 +- model_paginated_user_list.go | 2 +- ...inated_user_saved_view_association_list.go | 2 +- model_paginated_virtual_chassis_list.go | 2 +- ...l_paginated_virtual_device_context_list.go | 291 + model_paginated_virtual_machine_list.go | 2 +- model_paginated_vlan_group_list.go | 2 +- model_paginated_vlan_list.go | 2 +- ...paginated_vlan_location_assignment_list.go | 2 +- model_paginated_vm_interface_list.go | 2 +- model_paginated_vrf_device_assignment_list.go | 2 +- model_paginated_vrf_list.go | 2 +- model_paginated_vrf_prefix_assignment_list.go | 2 +- model_paginated_webhook_list.go | 2 +- model_paginated_wireless_network_list.go | 291 + model_panel_type_enum.go | 127 + model_parent_child_status.go | 18 +- model_parent_lag.go | 2 +- model_patched_bulk_writable_cable_request.go | 2 +- ...l_patched_bulk_writable_circuit_request.go | 2 +- ...lk_writable_circuit_termination_request.go | 39 +- ...ched_bulk_writable_circuit_type_request.go | 2 +- ...hed_bulk_writable_cloud_account_request.go | 2 +- ...cloud_network_prefix_assignment_request.go | 2 +- ...hed_bulk_writable_cloud_network_request.go | 2 +- ...lk_writable_cloud_resource_type_request.go | 2 +- ...loud_service_network_assignment_request.go | 2 +- ...hed_bulk_writable_cloud_service_request.go | 2 +- ...hed_bulk_writable_cluster_group_request.go | 2 +- ...l_patched_bulk_writable_cluster_request.go | 2 +- ...ched_bulk_writable_cluster_type_request.go | 2 +- ...ed_bulk_writable_computed_field_request.go | 2 +- ...ed_bulk_writable_config_context_request.go | 2 +- ..._writable_config_context_schema_request.go | 2 +- ...ched_bulk_writable_console_port_request.go | 2 +- ..._writable_console_port_template_request.go | 2 +- ...lk_writable_console_server_port_request.go | 2 +- ...le_console_server_port_template_request.go | 2 +- ...lk_writable_contact_association_request.go | 2 +- ...l_patched_bulk_writable_contact_request.go | 113 +- ..._group_radio_profile_assignment_request.go | 242 + ...controller_managed_device_group_request.go | 124 +- ...oup_wireless_network_assignment_request.go | 289 + ...atched_bulk_writable_controller_request.go | 40 +- ...lk_writable_custom_field_choice_request.go | 2 +- ...ched_bulk_writable_custom_field_request.go | 2 +- ...tched_bulk_writable_custom_link_request.go | 2 +- ...atched_bulk_writable_device_bay_request.go | 2 +- ...lk_writable_device_bay_template_request.go | 2 +- ...hed_bulk_writable_device_family_request.go | 39 +- ...ritable_device_redundancy_group_request.go | 6 +- model_patched_bulk_writable_device_request.go | 2 +- ...tched_bulk_writable_device_type_request.go | 2 +- ...ice_type_to_software_image_file_request.go | 2 +- ...itable_dynamic_group_membership_request.go | 2 +- ...hed_bulk_writable_dynamic_group_request.go | 2 +- ...d_bulk_writable_export_template_request.go | 2 +- ...k_writable_external_integration_request.go | 39 +- ...atched_bulk_writable_front_port_request.go | 2 +- ...lk_writable_front_port_template_request.go | 2 +- ...ed_bulk_writable_git_repository_request.go | 39 +- ...ed_bulk_writable_graph_ql_query_request.go | 96 +- model_patched_bulk_writable_group_request.go | 2 +- ..._bulk_writable_image_attachment_request.go | 2 +- ...ce_redundancy_group_association_request.go | 2 +- ...able_interface_redundancy_group_request.go | 2 +- ...patched_bulk_writable_interface_request.go | 14 +- ...ulk_writable_interface_template_request.go | 2 +- ...itable_interface_vdc_assignment_request.go | 242 + ...ed_bulk_writable_inventory_item_request.go | 2 +- ...atched_bulk_writable_ip_address_request.go | 2 +- ...ritable_ip_address_to_interface_request.go | 2 +- ...atched_bulk_writable_job_button_request.go | 2 +- ..._patched_bulk_writable_job_hook_request.go | 2 +- ...k_writable_job_queue_assignment_request.go | 242 + ...patched_bulk_writable_job_queue_request.go | 437 + model_patched_bulk_writable_job_request.go | 228 +- ..._patched_bulk_writable_location_request.go | 2 +- ...hed_bulk_writable_location_type_request.go | 2 +- ...ched_bulk_writable_manufacturer_request.go | 2 +- ...d_bulk_writable_metadata_choice_request.go | 2 +- ...hed_bulk_writable_metadata_type_request.go | 39 +- ...atched_bulk_writable_module_bay_request.go | 87 +- ...lk_writable_module_bay_template_request.go | 87 +- ...hed_bulk_writable_module_family_request.go | 316 + model_patched_bulk_writable_module_request.go | 2 +- ...tched_bulk_writable_module_type_request.go | 49 +- ...patched_bulk_writable_namespace_request.go | 2 +- model_patched_bulk_writable_note_request.go | 2 +- ...d_bulk_writable_object_metadata_request.go | 2 +- ...bulk_writable_object_permission_request.go | 2 +- ..._patched_bulk_writable_platform_request.go | 2 +- ...atched_bulk_writable_power_feed_request.go | 205 +- ...ched_bulk_writable_power_outlet_request.go | 2 +- ..._writable_power_outlet_template_request.go | 2 +- ...tched_bulk_writable_power_panel_request.go | 124 +- ...atched_bulk_writable_power_port_request.go | 40 +- ...lk_writable_power_port_template_request.go | 40 +- ...able_prefix_location_assignment_request.go | 2 +- model_patched_bulk_writable_prefix_request.go | 6 +- ..._bulk_writable_provider_network_request.go | 2 +- ..._patched_bulk_writable_provider_request.go | 2 +- ...atched_bulk_writable_rack_group_request.go | 2 +- model_patched_bulk_writable_rack_request.go | 2 +- ..._bulk_writable_rack_reservation_request.go | 2 +- ...hed_bulk_writable_radio_profile_request.go | 642 + ...patched_bulk_writable_rear_port_request.go | 2 +- ...ulk_writable_rear_port_template_request.go | 2 +- ...itable_relationship_association_request.go | 2 +- ...ched_bulk_writable_relationship_request.go | 2 +- model_patched_bulk_writable_rir_request.go | 2 +- model_patched_bulk_writable_role_request.go | 2 +- ...ched_bulk_writable_route_target_request.go | 2 +- ...atched_bulk_writable_saved_view_request.go | 2 +- model_patched_bulk_writable_secret_request.go | 2 +- ...table_secrets_group_association_request.go | 2 +- ...hed_bulk_writable_secrets_group_request.go | 2 +- ...l_patched_bulk_writable_service_request.go | 2 +- ...lk_writable_software_image_file_request.go | 49 +- ..._bulk_writable_software_version_request.go | 2 +- ...itable_static_group_association_request.go | 2 +- model_patched_bulk_writable_status_request.go | 2 +- ...lk_writable_supported_data_rate_request.go | 401 + model_patched_bulk_writable_tag_request.go | 2 +- model_patched_bulk_writable_team_request.go | 113 +- ...ched_bulk_writable_tenant_group_request.go | 2 +- model_patched_bulk_writable_tenant_request.go | 2 +- model_patched_bulk_writable_token_request.go | 2 +- model_patched_bulk_writable_user_request.go | 2 +- ...ble_user_saved_view_association_request.go | 2 +- ...d_bulk_writable_virtual_chassis_request.go | 2 +- ...writable_virtual_device_context_request.go | 663 + ...d_bulk_writable_virtual_machine_request.go | 2 +- ...atched_bulk_writable_vlan_group_request.go | 77 +- ...itable_vlan_location_assignment_request.go | 2 +- model_patched_bulk_writable_vlan_request.go | 2 +- ...ched_bulk_writable_vm_interface_request.go | 14 +- ..._writable_vrf_device_assignment_request.go | 49 +- ..._writable_vrf_prefix_assignment_request.go | 2 +- model_patched_bulk_writable_vrf_request.go | 2 +- ...l_patched_bulk_writable_webhook_request.go | 2 +- ..._bulk_writable_wireless_network_request.go | 632 + model_patched_circuit_request.go | 39 +- model_patched_circuit_termination_request.go | 76 +- model_patched_circuit_type_request.go | 39 +- model_patched_cloud_account_request.go | 39 +- ...cloud_network_prefix_assignment_request.go | 39 +- model_patched_cloud_network_request.go | 39 +- model_patched_cloud_resource_type_request.go | 39 +- ...loud_service_network_assignment_request.go | 39 +- model_patched_cloud_service_request.go | 39 +- model_patched_cluster_group_request.go | 39 +- model_patched_cluster_request.go | 39 +- model_patched_cluster_type_request.go | 39 +- model_patched_computed_field_request.go | 39 +- model_patched_config_context_request.go | 39 +- ...l_patched_config_context_schema_request.go | 39 +- model_patched_contact_association_request.go | 39 +- model_patched_contact_request.go | 114 +- ..._group_radio_profile_assignment_request.go | 229 + ...controller_managed_device_group_request.go | 161 +- ...oup_wireless_network_assignment_request.go | 276 + model_patched_controller_request.go | 77 +- model_patched_custom_field_choice_request.go | 39 +- model_patched_custom_link_request.go | 39 +- model_patched_device_bay_request.go | 39 +- model_patched_device_bay_template_request.go | 39 +- model_patched_device_family_request.go | 76 +- ...ice_type_to_software_image_file_request.go | 39 +- ...atched_dynamic_group_membership_request.go | 39 +- model_patched_dynamic_group_request.go | 39 +- model_patched_export_template_request.go | 39 +- model_patched_external_integration_request.go | 76 +- model_patched_git_repository_request.go | 76 +- model_patched_graph_ql_query_request.go | 133 +- model_patched_group_request.go | 2 +- model_patched_image_attachment_request.go | 39 +- ...ce_redundancy_group_association_request.go | 39 +- ...atched_interface_vdc_assignment_request.go | 229 + model_patched_inventory_item_request.go | 39 +- model_patched_ip_address_request.go | 39 +- ...patched_ip_address_to_interface_request.go | 39 +- model_patched_job_button_request.go | 39 +- model_patched_job_hook_request.go | 39 +- model_patched_job_queue_assignment_request.go | 229 + model_patched_job_queue_request.go | 424 + model_patched_job_request.go | 265 +- model_patched_location_request.go | 39 +- model_patched_location_type_request.go | 39 +- model_patched_manufacturer_request.go | 39 +- model_patched_metadata_choice_request.go | 39 +- model_patched_metadata_type_request.go | 76 +- model_patched_module_bay_request.go | 124 +- model_patched_module_bay_template_request.go | 124 +- model_patched_module_family_request.go | 303 + model_patched_module_request.go | 39 +- model_patched_module_type_request.go | 86 +- model_patched_namespace_request.go | 39 +- model_patched_note_request.go | 39 +- model_patched_object_metadata_request.go | 39 +- model_patched_object_permission_request.go | 39 +- model_patched_platform_request.go | 39 +- model_patched_power_panel_request.go | 350 - ...ched_prefix_location_assignment_request.go | 39 +- model_patched_provider_network_request.go | 39 +- model_patched_provider_request.go | 39 +- model_patched_rack_group_request.go | 39 +- model_patched_rack_reservation_request.go | 39 +- model_patched_radio_profile_request.go | 629 + ...atched_relationship_association_request.go | 39 +- model_patched_relationship_request.go | 39 +- model_patched_rir_request.go | 39 +- model_patched_role_request.go | 39 +- model_patched_route_target_request.go | 39 +- model_patched_saved_view_request.go | 39 +- model_patched_secret_request.go | 39 +- ...tched_secrets_group_association_request.go | 39 +- model_patched_secrets_group_request.go | 39 +- model_patched_software_image_file_request.go | 86 +- model_patched_software_version_request.go | 39 +- ...atched_static_group_association_request.go | 39 +- model_patched_status_request.go | 39 +- model_patched_supported_data_rate_request.go | 388 + model_patched_tag_request.go | 39 +- model_patched_team_request.go | 114 +- model_patched_tenant_group_request.go | 39 +- model_patched_tenant_request.go | 39 +- model_patched_token_request.go | 39 +- model_patched_user_request.go | 39 +- ...hed_user_saved_view_association_request.go | 39 +- model_patched_virtual_chassis_request.go | 39 +- ..._patched_virtual_device_context_request.go | 650 + model_patched_virtual_machine_request.go | 39 +- model_patched_vlan_group_request.go | 114 +- ...atched_vlan_location_assignment_request.go | 39 +- model_patched_vlan_request.go | 39 +- ...l_patched_vrf_device_assignment_request.go | 86 +- ...l_patched_vrf_prefix_assignment_request.go | 39 +- model_patched_vrf_request.go | 39 +- model_patched_webhook_request.go | 39 +- model_patched_wireless_network_request.go | 619 + model_patched_writable_cable_request.go | 39 +- ...ched_writable_cable_request_length_unit.go | 18 +- model_patched_writable_cable_request_type.go | 18 +- ...l_patched_writable_console_port_request.go | 39 +- ...ched_writable_console_port_request_type.go | 18 +- ..._writable_console_port_template_request.go | 39 +- ...able_console_port_template_request_type.go | 18 +- ...ed_writable_console_server_port_request.go | 39 +- ...le_console_server_port_template_request.go | 39 +- ...l_patched_writable_custom_field_request.go | 39 +- ...ritable_device_redundancy_group_request.go | 43 +- model_patched_writable_device_request.go | 39 +- model_patched_writable_device_type_request.go | 39 +- model_patched_writable_front_port_request.go | 39 +- ...ed_writable_front_port_template_request.go | 39 +- ...able_interface_redundancy_group_request.go | 39 +- model_patched_writable_interface_request.go | 39 +- ...patched_writable_interface_request_mode.go | 52 +- ...hed_writable_interface_template_request.go | 39 +- model_patched_writable_power_feed_request.go | 230 +- ..._writable_power_feed_request_power_path.go | 171 + ...l_patched_writable_power_outlet_request.go | 39 +- ..._writable_power_outlet_request_feed_leg.go | 18 +- ...ched_writable_power_outlet_request_type.go | 18 +- ..._writable_power_outlet_template_request.go | 39 +- ...able_power_outlet_template_request_type.go | 18 +- model_patched_writable_power_panel_request.go | 509 + ...writable_power_panel_request_panel_type.go | 171 + model_patched_writable_power_port_request.go | 77 +- ...atched_writable_power_port_request_type.go | 18 +- ...ed_writable_power_port_template_request.go | 77 +- ...itable_power_port_template_request_type.go | 18 +- model_patched_writable_prefix_request.go | 39 +- model_patched_writable_rack_request.go | 39 +- ...atched_writable_rack_request_outer_unit.go | 18 +- model_patched_writable_rack_request_type.go | 18 +- model_patched_writable_rear_port_request.go | 39 +- ...hed_writable_rear_port_template_request.go | 39 +- model_patched_writable_service_request.go | 39 +- ...l_patched_writable_vm_interface_request.go | 39 +- model_path_endpoint.go | 38 +- model_phase_enum.go | 2 +- model_platform.go | 38 +- model_platform_request.go | 39 +- model_port_type_choices.go | 2 +- model_power_feed.go | 227 +- model_power_feed_breaker_pole_count.go | 192 + model_power_feed_breaker_pole_count_label.go | 113 + model_power_feed_breaker_pole_count_value.go | 113 + model_power_feed_phase.go | 2 +- model_power_feed_phase_label.go | 2 +- model_power_feed_phase_value.go | 2 +- model_power_feed_power_path.go | 192 + model_power_feed_power_path_label.go | 111 + model_power_feed_power_path_value.go | 111 + model_power_feed_supply.go | 2 +- model_power_feed_supply_label.go | 2 +- model_power_feed_supply_value.go | 2 +- model_power_feed_type.go | 2 +- model_power_feed_type_choices.go | 2 +- model_power_feed_type_label.go | 2 +- model_power_feed_type_value.go | 2 +- model_power_outlet.go | 38 +- model_power_outlet_feed_leg.go | 2 +- model_power_outlet_feed_leg_value.go | 2 +- model_power_outlet_template.go | 38 +- model_power_outlet_type.go | 2 +- model_power_outlet_type_choices.go | 4 +- model_power_outlet_type_label.go | 4 +- model_power_outlet_type_value.go | 4 +- model_power_panel.go | 160 +- model_power_panel_panel_type.go | 192 + model_power_panel_panel_type_label.go | 127 + model_power_panel_panel_type_value.go | 127 + model_power_panel_request.go | 355 - model_power_path_enum.go | 111 + model_power_port.go | 76 +- model_power_port_template.go | 76 +- model_power_port_type.go | 2 +- model_power_port_type_choices.go | 2 +- model_power_port_type_label.go | 2 +- model_power_port_type_value.go | 2 +- model_prefix.go | 67 +- model_prefix_length_request.go | 43 +- model_prefix_location_assignment.go | 38 +- model_prefix_location_assignment_request.go | 39 +- model_prefix_type.go | 2 +- model_prefix_type_choices.go | 2 +- model_prefix_type_label.go | 2 +- model_prefix_type_value.go | 2 +- model_primary_ipv4.go | 2 +- model_primary_ipv6.go | 2 +- model_provided_contents_enum.go | 12 +- model_provider.go | 38 +- model_provider_network.go | 38 +- model_provider_network_request.go | 39 +- model_provider_request.go | 39 +- model_queue_type_enum.go | 111 + model_rack.go | 38 +- model_rack_face.go | 18 +- model_rack_group.go | 38 +- model_rack_group_request.go | 39 +- model_rack_outer_unit.go | 2 +- model_rack_outer_unit_label.go | 2 +- model_rack_outer_unit_value.go | 2 +- model_rack_reservation.go | 38 +- model_rack_reservation_request.go | 39 +- model_rack_type.go | 2 +- model_rack_type_choices.go | 2 +- model_rack_type_label.go | 2 +- model_rack_type_value.go | 2 +- model_rack_unit.go | 2 +- model_rack_unit_face.go | 2 +- model_rack_width.go | 2 +- model_rack_width_label.go | 2 +- model_rack_width_value.go | 2 +- model_radio_profile.go | 806 + model_radio_profile_channel_width_inner.go | 192 + ...radio_profile_channel_width_inner_label.go | 115 + ...radio_profile_channel_width_inner_value.go | 115 + model_radio_profile_request.go | 634 + model_rear_port.go | 38 +- model_rear_port_template.go | 38 +- model_redundancy_protocol.go | 18 +- model_regulatory_domain_enum.go | 359 + model_relationship.go | 38 +- model_relationship_association.go | 38 +- model_relationship_association_request.go | 39 +- model_relationship_request.go | 39 +- model_relationship_type_choices.go | 2 +- model_render_jinja.go | 263 + model_render_jinja_request.go | 205 + model_required_on_enum.go | 2 +- model_rir.go | 38 +- model_rir_request.go | 39 +- model_role.go | 38 +- model_role_request.go | 39 +- model_route_target.go | 38 +- model_route_target_request.go | 39 +- model_saved_view.go | 38 +- model_saved_view_request.go | 39 +- model_scheduled_job.go | 152 +- model_scheduled_job_approved_by_user.go | 2 +- model_scheduled_job_user.go | 2 +- model_secret.go | 38 +- model_secret_request.go | 39 +- model_secret_type_enum.go | 14 +- model_secrets_group.go | 38 +- model_secrets_group_association.go | 38 +- model_secrets_group_association_request.go | 39 +- model_secrets_group_request.go | 39 +- model_service.go | 38 +- model_service_protocol.go | 2 +- model_service_protocol_choices.go | 2 +- model_service_protocol_label.go | 2 +- model_service_protocol_value.go | 2 +- model_software_image_file.go | 85 +- model_software_image_file_request.go | 86 +- model_software_image_files.go | 2 +- model_software_version.go | 38 +- model_software_version_request.go | 39 +- model_standard_enum.go | 121 + model_static_group_association.go | 38 +- model_static_group_association_request.go | 39 +- model_status.go | 38 +- model_status_request.go | 39 +- model_status_retrieve_200_response.go | 2 +- model_subdevice_role_enum.go | 2 +- model_supply_enum.go | 2 +- model_supported_data_rate.go | 565 + model_supported_data_rate_request.go | 393 + model_swagger_retrieve_format_parameter.go | 2 +- model_swagger_retrieve_lang_parameter.go | 2 +- model_tag.go | 38 +- model_tag_request.go | 39 +- model_tagged_vlans.go | 2 +- model_team.go | 149 +- model_team_request.go | 114 +- model_tenant.go | 38 +- model_tenant_group.go | 38 +- model_tenant_group_request.go | 39 +- model_tenant_request.go | 39 +- model_term_side_enum.go | 2 +- model_token.go | 38 +- model_token_request.go | 39 +- model_user.go | 38 +- model_user_request.go | 39 +- model_user_saved_view_association.go | 38 +- model_user_saved_view_association_request.go | 39 +- model_user_specific_default_saved_views.go | 2 +- model_virtual_chassis.go | 38 +- model_virtual_chassis_request.go | 39 +- model_virtual_device_context.go | 848 + model_virtual_device_context_request.go | 647 + model_virtual_machine.go | 38 +- model_virtual_machine_request.go | 39 +- model_vlan.go | 104 +- model_vlan_allocation_request.go | 560 + model_vlan_group.go | 113 +- model_vlan_group_request.go | 114 +- model_vlan_location_assignment.go | 38 +- model_vlan_location_assignment_request.go | 39 +- model_vlan_request.go | 39 +- model_vm_interface.go | 38 +- model_vrf.go | 103 +- model_vrf_device_assignment.go | 85 +- model_vrf_device_assignment_request.go | 86 +- model_vrf_prefix_assignment.go | 38 +- model_vrf_prefix_assignment_request.go | 39 +- model_vrf_request.go | 77 +- model_webhook.go | 38 +- model_webhook_request.go | 39 +- model_width_enum.go | 2 +- model_wireless_network.go | 780 + model_wireless_network_mode_choices.go | 119 + model_wireless_network_request.go | 608 + model_writable_cable_request.go | 39 +- model_writable_console_port_request.go | 39 +- ..._writable_console_port_template_request.go | 39 +- model_writable_console_server_port_request.go | 39 +- ...le_console_server_port_template_request.go | 39 +- model_writable_custom_field_request.go | 39 +- ...ritable_device_redundancy_group_request.go | 43 +- model_writable_device_request.go | 39 +- model_writable_device_type_request.go | 39 +- model_writable_front_port_request.go | 39 +- model_writable_front_port_template_request.go | 39 +- ...able_interface_redundancy_group_request.go | 39 +- model_writable_interface_request.go | 39 +- model_writable_interface_template_request.go | 39 +- model_writable_power_feed_request.go | 230 +- model_writable_power_outlet_request.go | 39 +- ..._writable_power_outlet_template_request.go | 39 +- model_writable_power_panel_request.go | 514 + model_writable_power_port_request.go | 77 +- model_writable_power_port_template_request.go | 77 +- model_writable_prefix_request.go | 39 +- model_writable_rack_request.go | 39 +- model_writable_rear_port_request.go | 39 +- model_writable_rear_port_template_request.go | 39 +- model_writable_service_request.go | 39 +- model_writable_vm_interface_request.go | 39 +- response.go | 2 +- test/api_cloud_test.go | 56 - test/api_core_test.go | 37 + test/api_dcim_test.go | 688 +- test/api_extras_test.go | 308 +- test/api_ipam_test.go | 140 +- test/api_ui_test.go | 37 + test/api_wireless_test.go | 679 + utils.go | 2 +- 1825 files changed, 243752 insertions(+), 161183 deletions(-) create mode 100644 api_core.go create mode 100644 api_ui.go create mode 100644 api_wireless.go create mode 100644 docs/AuthenticationEnum.md create mode 100644 docs/BreakerPoleCountEnum.md create mode 100644 docs/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md create mode 100644 docs/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md create mode 100644 docs/BulkWritableInterfaceVDCAssignmentRequest.md create mode 100644 docs/BulkWritableJobQueueAssignmentRequest.md create mode 100644 docs/BulkWritableJobQueueRequest.md create mode 100644 docs/BulkWritableModuleBayRequestModuleFamily.md create mode 100644 docs/BulkWritableModuleBayTemplateRequestModuleFamily.md create mode 100644 docs/BulkWritableModuleFamilyRequest.md create mode 100644 docs/BulkWritablePowerFeedRequestDestinationPanel.md create mode 100644 docs/BulkWritablePowerFeedRequestPowerPanel.md create mode 100644 docs/BulkWritableRadioProfileRequest.md create mode 100644 docs/BulkWritableRadioProfileRequestFrequency.md create mode 100644 docs/BulkWritableSupportedDataRateRequest.md create mode 100644 docs/BulkWritableVirtualDeviceContextRequest.md create mode 100644 docs/BulkWritableWirelessNetworkRequest.md create mode 100644 docs/CapabilitiesEnum.md create mode 100644 docs/ChannelWidthEnum.md create mode 100644 docs/ControllerCapabilitiesInner.md create mode 100644 docs/ControllerCapabilitiesInnerLabel.md create mode 100644 docs/ControllerCapabilitiesInnerValue.md create mode 100644 docs/ControllerManagedDeviceGroupRadioProfileAssignment.md create mode 100644 docs/ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md create mode 100644 docs/ControllerManagedDeviceGroupWirelessNetworkAssignment.md create mode 100644 docs/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md create mode 100644 docs/CoreAPI.md create mode 100644 docs/FrequencyEnum.md create mode 100644 docs/GitRepositorySyncResponse.md rename docs/{ModeEnum.md => InterfaceModeChoices.md} (92%) create mode 100644 docs/InterfaceVDCAssignment.md create mode 100644 docs/InterfaceVDCAssignmentRequest.md create mode 100644 docs/IpamPrefixesAvailableIpsListRangeEndParameter.md create mode 100644 docs/IpamVlanGroupsAvailableVlansList200Response.md create mode 100644 docs/JobQueue.md create mode 100644 docs/JobQueueAssignment.md create mode 100644 docs/JobQueueAssignmentRequest.md create mode 100644 docs/JobQueueOverride.md create mode 100644 docs/JobQueueRequest.md create mode 100644 docs/JobQueues.md create mode 100644 docs/ModuleFamily.md create mode 100644 docs/ModuleFamilyRequest.md create mode 100644 docs/NestedInterfaceVDCAssignment.md rename docs/{ConfigContextOwner.md => NestedJobQueue.md} (63%) rename docs/{ExportTemplateOwner.md => NestedModuleFamily.md} (61%) rename docs/{ConfigContextSchemaOwner.md => NestedRadioProfile.md} (61%) create mode 100644 docs/NestedSupportedDataRate.md create mode 100644 docs/NestedVirtualDeviceContext.md create mode 100644 docs/NestedWirelessNetwork.md create mode 100644 docs/NullEnum.md create mode 100644 docs/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList.md create mode 100644 docs/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList.md create mode 100644 docs/PaginatedInterfaceVDCAssignmentList.md create mode 100644 docs/PaginatedJobQueueAssignmentList.md create mode 100644 docs/PaginatedJobQueueList.md create mode 100644 docs/PaginatedModuleFamilyList.md create mode 100644 docs/PaginatedRadioProfileList.md create mode 100644 docs/PaginatedSupportedDataRateList.md create mode 100644 docs/PaginatedVirtualDeviceContextList.md create mode 100644 docs/PaginatedWirelessNetworkList.md create mode 100644 docs/PanelTypeEnum.md create mode 100644 docs/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md create mode 100644 docs/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md create mode 100644 docs/PatchedBulkWritableInterfaceVDCAssignmentRequest.md create mode 100644 docs/PatchedBulkWritableJobQueueAssignmentRequest.md create mode 100644 docs/PatchedBulkWritableJobQueueRequest.md create mode 100644 docs/PatchedBulkWritableModuleFamilyRequest.md create mode 100644 docs/PatchedBulkWritableRadioProfileRequest.md create mode 100644 docs/PatchedBulkWritableSupportedDataRateRequest.md create mode 100644 docs/PatchedBulkWritableVirtualDeviceContextRequest.md create mode 100644 docs/PatchedBulkWritableWirelessNetworkRequest.md create mode 100644 docs/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest.md create mode 100644 docs/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md create mode 100644 docs/PatchedInterfaceVDCAssignmentRequest.md create mode 100644 docs/PatchedJobQueueAssignmentRequest.md create mode 100644 docs/PatchedJobQueueRequest.md create mode 100644 docs/PatchedModuleFamilyRequest.md delete mode 100644 docs/PatchedPowerPanelRequest.md create mode 100644 docs/PatchedRadioProfileRequest.md create mode 100644 docs/PatchedSupportedDataRateRequest.md create mode 100644 docs/PatchedVirtualDeviceContextRequest.md create mode 100644 docs/PatchedWirelessNetworkRequest.md create mode 100644 docs/PatchedWritablePowerFeedRequestPowerPath.md create mode 100644 docs/PatchedWritablePowerPanelRequest.md create mode 100644 docs/PatchedWritablePowerPanelRequestPanelType.md create mode 100644 docs/PowerFeedBreakerPoleCount.md create mode 100644 docs/PowerFeedBreakerPoleCountLabel.md create mode 100644 docs/PowerFeedBreakerPoleCountValue.md create mode 100644 docs/PowerFeedPowerPath.md create mode 100644 docs/PowerFeedPowerPathLabel.md create mode 100644 docs/PowerFeedPowerPathValue.md create mode 100644 docs/PowerPanelPanelType.md create mode 100644 docs/PowerPanelPanelTypeLabel.md create mode 100644 docs/PowerPanelPanelTypeValue.md delete mode 100644 docs/PowerPanelRequest.md create mode 100644 docs/PowerPathEnum.md create mode 100644 docs/QueueTypeEnum.md create mode 100644 docs/RadioProfile.md create mode 100644 docs/RadioProfileChannelWidthInner.md create mode 100644 docs/RadioProfileChannelWidthInnerLabel.md create mode 100644 docs/RadioProfileChannelWidthInnerValue.md create mode 100644 docs/RadioProfileRequest.md create mode 100644 docs/RegulatoryDomainEnum.md create mode 100644 docs/RenderJinja.md create mode 100644 docs/RenderJinjaRequest.md create mode 100644 docs/StandardEnum.md create mode 100644 docs/SupportedDataRate.md create mode 100644 docs/SupportedDataRateRequest.md create mode 100644 docs/UiAPI.md create mode 100644 docs/VLANAllocationRequest.md create mode 100644 docs/VirtualDeviceContext.md create mode 100644 docs/VirtualDeviceContextRequest.md create mode 100644 docs/WirelessAPI.md create mode 100644 docs/WirelessNetwork.md create mode 100644 docs/WirelessNetworkModeChoices.md create mode 100644 docs/WirelessNetworkRequest.md create mode 100644 docs/WritablePowerPanelRequest.md create mode 100644 model_authentication_enum.go create mode 100644 model_breaker_pole_count_enum.go create mode 100644 model_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go create mode 100644 model_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go create mode 100644 model_bulk_writable_interface_vdc_assignment_request.go create mode 100644 model_bulk_writable_job_queue_assignment_request.go create mode 100644 model_bulk_writable_job_queue_request.go create mode 100644 model_bulk_writable_module_bay_request_module_family.go create mode 100644 model_bulk_writable_module_bay_template_request_module_family.go create mode 100644 model_bulk_writable_module_family_request.go create mode 100644 model_bulk_writable_power_feed_request_destination_panel.go create mode 100644 model_bulk_writable_power_feed_request_power_panel.go create mode 100644 model_bulk_writable_radio_profile_request.go create mode 100644 model_bulk_writable_radio_profile_request_frequency.go create mode 100644 model_bulk_writable_supported_data_rate_request.go create mode 100644 model_bulk_writable_virtual_device_context_request.go create mode 100644 model_bulk_writable_wireless_network_request.go create mode 100644 model_capabilities_enum.go create mode 100644 model_channel_width_enum.go delete mode 100644 model_config_context_owner.go delete mode 100644 model_config_context_schema_owner.go create mode 100644 model_controller_capabilities_inner.go create mode 100644 model_controller_capabilities_inner_label.go create mode 100644 model_controller_capabilities_inner_value.go create mode 100644 model_controller_managed_device_group_radio_profile_assignment.go create mode 100644 model_controller_managed_device_group_radio_profile_assignment_request.go create mode 100644 model_controller_managed_device_group_wireless_network_assignment.go create mode 100644 model_controller_managed_device_group_wireless_network_assignment_request.go delete mode 100644 model_export_template_owner.go create mode 100644 model_frequency_enum.go create mode 100644 model_git_repository_sync_response.go create mode 100644 model_interface_mode_choices.go create mode 100644 model_interface_vdc_assignment.go create mode 100644 model_interface_vdc_assignment_request.go create mode 100644 model_ipam_prefixes_available_ips_list_range_end_parameter.go create mode 100644 model_ipam_vlan_groups_available_vlans_list_200_response.go create mode 100644 model_job_queue.go create mode 100644 model_job_queue_assignment.go create mode 100644 model_job_queue_assignment_request.go create mode 100644 model_job_queue_override.go create mode 100644 model_job_queue_request.go create mode 100644 model_job_queues.go delete mode 100644 model_mode_enum.go create mode 100644 model_module_family.go create mode 100644 model_module_family_request.go create mode 100644 model_nested_interface_vdc_assignment.go create mode 100644 model_nested_job_queue.go create mode 100644 model_nested_module_family.go create mode 100644 model_nested_radio_profile.go create mode 100644 model_nested_supported_data_rate.go create mode 100644 model_nested_virtual_device_context.go create mode 100644 model_nested_wireless_network.go create mode 100644 model_null_enum.go create mode 100644 model_paginated_controller_managed_device_group_radio_profile_assignment_list.go create mode 100644 model_paginated_controller_managed_device_group_wireless_network_assignment_list.go create mode 100644 model_paginated_interface_vdc_assignment_list.go create mode 100644 model_paginated_job_queue_assignment_list.go create mode 100644 model_paginated_job_queue_list.go create mode 100644 model_paginated_module_family_list.go create mode 100644 model_paginated_radio_profile_list.go create mode 100644 model_paginated_supported_data_rate_list.go create mode 100644 model_paginated_virtual_device_context_list.go create mode 100644 model_paginated_wireless_network_list.go create mode 100644 model_panel_type_enum.go create mode 100644 model_patched_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go create mode 100644 model_patched_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go create mode 100644 model_patched_bulk_writable_interface_vdc_assignment_request.go create mode 100644 model_patched_bulk_writable_job_queue_assignment_request.go create mode 100644 model_patched_bulk_writable_job_queue_request.go create mode 100644 model_patched_bulk_writable_module_family_request.go create mode 100644 model_patched_bulk_writable_radio_profile_request.go create mode 100644 model_patched_bulk_writable_supported_data_rate_request.go create mode 100644 model_patched_bulk_writable_virtual_device_context_request.go create mode 100644 model_patched_bulk_writable_wireless_network_request.go create mode 100644 model_patched_controller_managed_device_group_radio_profile_assignment_request.go create mode 100644 model_patched_controller_managed_device_group_wireless_network_assignment_request.go create mode 100644 model_patched_interface_vdc_assignment_request.go create mode 100644 model_patched_job_queue_assignment_request.go create mode 100644 model_patched_job_queue_request.go create mode 100644 model_patched_module_family_request.go delete mode 100644 model_patched_power_panel_request.go create mode 100644 model_patched_radio_profile_request.go create mode 100644 model_patched_supported_data_rate_request.go create mode 100644 model_patched_virtual_device_context_request.go create mode 100644 model_patched_wireless_network_request.go create mode 100644 model_patched_writable_power_feed_request_power_path.go create mode 100644 model_patched_writable_power_panel_request.go create mode 100644 model_patched_writable_power_panel_request_panel_type.go create mode 100644 model_power_feed_breaker_pole_count.go create mode 100644 model_power_feed_breaker_pole_count_label.go create mode 100644 model_power_feed_breaker_pole_count_value.go create mode 100644 model_power_feed_power_path.go create mode 100644 model_power_feed_power_path_label.go create mode 100644 model_power_feed_power_path_value.go create mode 100644 model_power_panel_panel_type.go create mode 100644 model_power_panel_panel_type_label.go create mode 100644 model_power_panel_panel_type_value.go delete mode 100644 model_power_panel_request.go create mode 100644 model_power_path_enum.go create mode 100644 model_queue_type_enum.go create mode 100644 model_radio_profile.go create mode 100644 model_radio_profile_channel_width_inner.go create mode 100644 model_radio_profile_channel_width_inner_label.go create mode 100644 model_radio_profile_channel_width_inner_value.go create mode 100644 model_radio_profile_request.go create mode 100644 model_regulatory_domain_enum.go create mode 100644 model_render_jinja.go create mode 100644 model_render_jinja_request.go create mode 100644 model_standard_enum.go create mode 100644 model_supported_data_rate.go create mode 100644 model_supported_data_rate_request.go create mode 100644 model_virtual_device_context.go create mode 100644 model_virtual_device_context_request.go create mode 100644 model_vlan_allocation_request.go create mode 100644 model_wireless_network.go create mode 100644 model_wireless_network_mode_choices.go create mode 100644 model_wireless_network_request.go create mode 100644 model_writable_power_panel_request.go create mode 100644 test/api_core_test.go create mode 100644 test/api_ui_test.go create mode 100644 test/api_wireless_test.go 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..e465da43 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.8.0 +7.14.0 diff --git a/api/nautobot_version b/api/nautobot_version index 349c2c4f..f68fc912 100644 --- a/api/nautobot_version +++ b/api/nautobot_version @@ -1 +1 @@ -2.3.2-beta +2.4.20-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..a8d03d50 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,18 @@ components: custom_fields: additionalProperties: {} type: object + computed_fields: + additionalProperties: {} + readOnly: true + type: object + relationships: + additionalProperties: + $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value" + type: object required: + - computed_fields - created - display - - id - last_updated - locations - name @@ -215426,6 +217841,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 +217963,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 +217982,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -215480,8 +218009,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 +218025,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 +218039,6 @@ components: required: - created - display - - id - last_updated - name - natural_slug @@ -215556,11 +218092,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 +218116,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 +218158,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -215621,12 +218177,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 +218201,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 +218273,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 +218290,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 +218308,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 +218407,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -215864,7 +218426,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 +218444,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 +218485,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 +218522,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 +218583,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -216047,33 +218614,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 +218659,7 @@ components: type: string tags: items: - $ref: '#/components/schemas/BulkWritableCableRequest_status' + $ref: "#/components/schemas/BulkWritableCableRequest_status" type: array notes_url: format: uri @@ -216100,15 +218672,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 +218705,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 +218741,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 +218766,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 +218775,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 +218793,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 +218824,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -216259,12 +218843,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 +218863,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 +218945,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 +218962,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -216388,33 +218979,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 +219039,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -216478,7 +219067,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 +219087,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 +219145,7 @@ components: key: "" domain: domain name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 master: object_type: app_label.modelname id: null @@ -216569,6 +219158,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -216577,20 +219169,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 +219531,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -216720,30 +219578,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 +219615,7 @@ components: type: string tags: items: - $ref: '#/components/schemas/BulkWritableCableRequest_status' + $ref: "#/components/schemas/BulkWritableCableRequest_status" type: array notes_url: format: uri @@ -216770,7 +219628,6 @@ components: - cluster - created - display - - id - last_updated - name - natural_slug @@ -216864,6 +219721,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 +219743,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 +219776,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 +219849,6 @@ components: properties: id: format: uuid - readOnly: true type: string object_type: example: app_label.modelname @@ -217031,7 +219891,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 +219941,6 @@ components: - content_types - created - display - - id - last_updated - name - natural_slug @@ -217110,8 +219969,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 +220001,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 +220046,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 +220340,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 +220360,7 @@ components: format: uuid type: string type: - $ref: '#/components/schemas/PatchedWritableCableRequest_type' + $ref: "#/components/schemas/PatchedWritableCableRequest_type" label: maxLength: 255 type: string @@ -217274,19 +220375,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 +220446,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 +220461,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -217371,21 +220476,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 +220549,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 +220755,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 +220789,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 +220810,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 +220828,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 +220922,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 +220941,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -217827,23 +220952,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 +221042,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 +221117,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 +221147,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 +221169,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 +221294,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 +221322,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 +221398,7 @@ components: id: null url: https://openapi-generator.tech description: description + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 label: label type: 8p8c device: @@ -218280,6 +221414,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -218292,27 +221429,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 +221514,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 +221534,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 +221606,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 +221623,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -218489,26 +221634,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 +221750,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 +221764,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string mac_address: nullable: true type: string @@ -218640,45 +221789,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 +221888,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 +221908,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 +221939,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 +221996,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 +222039,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 +222126,7 @@ components: name: name description: description feed_leg: A + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 label: label type: iec-60320-c5 device: @@ -218968,6 +222145,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -218980,25 +222160,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 +222225,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 +222387,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 +222442,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 +222464,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 +222477,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 +222548,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 +222557,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 +222577,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 +222590,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 +222689,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 +222699,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 +222719,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 +222755,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 +222821,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 +222832,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -219539,16 +222854,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 +222884,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 +222964,7 @@ components: name: name description: description positions: 82 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 label: label type: 8p8c device: @@ -219663,6 +222979,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string name: maxLength: 255 minLength: 1 @@ -219675,25 +222994,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 +223073,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 +223092,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 +223170,7 @@ components: id: null url: https://openapi-generator.tech description: description + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 ports: - 5249 - 5249 @@ -219862,6 +223186,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string ports: items: maximum: 65535 @@ -219873,28 +223200,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 +223312,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 +223322,9 @@ components: id: null url: https://openapi-generator.tech properties: + id: + format: uuid + type: string mac_address: nullable: true type: string @@ -220005,7 +223336,7 @@ components: nullable: true type: integer mode: - $ref: '#/components/schemas/PatchedWritableInterfaceRequest_mode' + $ref: "#/components/schemas/PatchedWritableInterfaceRequest_mode" name: maxLength: 255 minLength: 1 @@ -220014,33 +223345,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 +223484,7 @@ components: - America/Coral_Harbour - America/Cordoba - America/Costa_Rica + - America/Coyhaique - America/Creston - America/Cuiaba - America/Curacao @@ -220706,6 +224038,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 +224217,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 +224265,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 +224321,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 +224340,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 +224357,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 +224375,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 +224392,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 +224402,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 +224416,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 +224434,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 +224453,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 +224469,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_]+$" @@ -221110,8 +224481,8 @@ components: type: object BulkWritableExternalIntegrationRequest_http_method: oneOf: - - $ref: '#/components/schemas/HttpMethodEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/HttpMethodEnum" + - $ref: "#/components/schemas/BlankEnum" BulkWritableExternalIntegrationRequest_secrets_group: description: Credentials used for authenticating with the remote system example: @@ -221121,7 +224492,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_]+$" @@ -221132,8 +224503,8 @@ components: type: object BulkWritableGitRepositoryRequest_provided_contents_inner: oneOf: - - $ref: '#/components/schemas/ProvidedContentsEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/ProvidedContentsEnum" + - $ref: "#/components/schemas/BlankEnum" BulkWritableIPAddressRequest_namespace: example: object_type: app_label.modelname @@ -221141,7 +224512,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 +224531,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 +224549,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 +224568,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 +224586,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 +224605,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 +224622,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 +224641,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 +224658,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 +224675,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 +224730,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 +224782,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 +224801,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 +224819,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 +224837,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 +224855,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 +224864,16 @@ components: format: uri type: string type: object + BulkWritableRadioProfileRequest_frequency: + oneOf: + - $ref: "#/components/schemas/FrequencyEnum" + - $ref: "#/components/schemas/BlankEnum" 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' + - $ref: "#/components/schemas/RequiredOnEnum" + - $ref: "#/components/schemas/BlankEnum" BulkWritableSavedViewRequest_owner: description: The user that created this view example: @@ -221435,7 +224882,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 +224900,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 +224918,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 +224934,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_]+$" @@ -221500,8 +224947,8 @@ components: BulkWritableSoftwareImageFileRequest_hashing_algorithm: description: Hashing algorithm for image file checksum oneOf: - - $ref: '#/components/schemas/HashingAlgorithmEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/HashingAlgorithmEnum" + - $ref: "#/components/schemas/BlankEnum" BulkWritableVirtualMachineRequest_software_version: description: The software version installed on this virtual machine example: @@ -221511,7 +224958,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 +224991,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 +225055,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 +225067,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 +225119,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' + $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/Controller_capabilities_inner_label" type: object CustomField_type_value: enum: @@ -221706,9 +225171,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 +225193,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 +225213,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 +225235,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 +225255,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 +225365,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 +225414,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 +225554,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 +225655,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 +225677,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 +225688,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 +225718,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 +225755,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 +225778,89 @@ 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' + - $ref: "#/components/schemas/CableTypeChoices" + - $ref: "#/components/schemas/BlankEnum" PatchedWritableCableRequest_length_unit: oneOf: - - $ref: '#/components/schemas/LengthUnitEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/LengthUnitEnum" + - $ref: "#/components/schemas/BlankEnum" PatchedWritableConsolePortRequest_type: description: Physical port type oneOf: - - $ref: '#/components/schemas/ConsolePortTypeChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/ConsolePortTypeChoices" + - $ref: "#/components/schemas/BlankEnum" PatchedWritableConsolePortTemplateRequest_type: oneOf: - - $ref: '#/components/schemas/ConsolePortTypeChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/ConsolePortTypeChoices" + - $ref: "#/components/schemas/BlankEnum" Rack_face: oneOf: - - $ref: '#/components/schemas/FaceEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/FaceEnum" + - $ref: "#/components/schemas/BlankEnum" title: Rack face 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' + - $ref: "#/components/schemas/SubdeviceRoleEnum" + - $ref: "#/components/schemas/BlankEnum" title: Parent/child status Redundancy_Protocol: oneOf: - - $ref: '#/components/schemas/InterfaceRedundancyGroupProtocolChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/InterfaceRedundancyGroupProtocolChoices" + - $ref: "#/components/schemas/BlankEnum" title: Redundancy Protocol PatchedWritableInterfaceRequest_mode: oneOf: - - $ref: '#/components/schemas/ModeEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/InterfaceModeChoices" + - $ref: "#/components/schemas/BlankEnum" + PatchedWritablePowerFeedRequest_power_path: + description: Physical power distribution redundancy path. + oneOf: + - $ref: "#/components/schemas/PowerPathEnum" + - $ref: "#/components/schemas/BlankEnum" PatchedWritablePowerOutletRequest_type: description: Physical port type oneOf: - - $ref: '#/components/schemas/PowerOutletTypeChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/PowerOutletTypeChoices" + - $ref: "#/components/schemas/BlankEnum" PatchedWritablePowerOutletRequest_feed_leg: description: Phase (for three-phase feeds) oneOf: - - $ref: '#/components/schemas/FeedLegEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/FeedLegEnum" + - $ref: "#/components/schemas/BlankEnum" PatchedWritablePowerOutletTemplateRequest_type: oneOf: - - $ref: '#/components/schemas/PowerOutletTypeChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/PowerOutletTypeChoices" + - $ref: "#/components/schemas/BlankEnum" + PatchedWritablePowerPanelRequest_panel_type: + oneOf: + - $ref: "#/components/schemas/PanelTypeEnum" + - $ref: "#/components/schemas/BlankEnum" PatchedWritablePowerPortRequest_type: description: Physical port type oneOf: - - $ref: '#/components/schemas/PowerPortTypeChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/PowerPortTypeChoices" + - $ref: "#/components/schemas/BlankEnum" PatchedWritablePowerPortTemplateRequest_type: oneOf: - - $ref: '#/components/schemas/PowerPortTypeChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/PowerPortTypeChoices" + - $ref: "#/components/schemas/BlankEnum" PatchedWritableRackRequest_type: oneOf: - - $ref: '#/components/schemas/RackTypeChoices' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/RackTypeChoices" + - $ref: "#/components/schemas/BlankEnum" PatchedWritableRackRequest_outer_unit: oneOf: - - $ref: '#/components/schemas/OuterUnitEnum' - - $ref: '#/components/schemas/BlankEnum' + - $ref: "#/components/schemas/OuterUnitEnum" + - $ref: "#/components/schemas/BlankEnum" PowerFeed_type_value: default: primary enum: @@ -222382,9 +225879,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 +225921,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 +225943,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" + 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_phase_label' + $ref: "#/components/schemas/PowerFeed_breaker_pole_count_label" type: object PowerOutlet_type_value: enum: @@ -222523,6 +226063,7 @@ components: - neutrik-powercon-true1 - neutrik-powercon-true1-top - ubiquiti-smartpower + - eaton-c39 - hardwired - other type: string @@ -222619,6 +226160,7 @@ components: - Neutrik powerCON TRUE1 - Neutrik powerCON TRUE1 TOP - Ubiquiti SmartPower + - Eaton C39 - Hardwired - Other type: string @@ -222628,9 +226170,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 +226186,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' + $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/PowerPanel_panel_type_label" type: object PowerPort_type_value: enum: @@ -222860,9 +226438,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 +226462,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 +226494,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 +226519,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 +226539,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 +226549,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 +226623,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 +226648,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 +226659,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..fc096bcc 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 @@ -2556,6 +2380,12 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2769,6 +2599,7 @@ type ApiCircuitsCircuitTerminationsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitTerminationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTerminationsNotesListRequest { @@ -2794,6 +2625,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) } @@ -2852,6 +2689,12 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsNotesListExecute(r ApiCi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3060,6 +2903,7 @@ type ApiCircuitsCircuitTerminationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitTerminationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTerminationsRetrieveRequest { @@ -3073,6 +2917,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) } @@ -3125,6 +2975,12 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsRetrieveExecute(r ApiCir var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3199,6 +3055,7 @@ type ApiCircuitsCircuitTerminationsTraceRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitTerminationsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTerminationsTraceRetrieveRequest { @@ -3212,6 +3069,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) } @@ -3264,6 +3127,12 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsTraceRetrieveExecute(r A var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4110,7 +3979,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 +4002,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 +4033,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 +4049,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 +4164,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 +4180,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 +4325,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 +4336,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 +4397,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 +4642,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 +4666,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,7 +4927,15 @@ 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", "") @@ -5250,6 +4943,12 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesListExecute(r ApiCircuitsCircui var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5463,6 +5162,7 @@ type ApiCircuitsCircuitTypesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTypesNotesListRequest { @@ -5488,6 +5188,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) } @@ -5546,6 +5252,12 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesNotesListExecute(r ApiCircuitsC var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5754,6 +5466,7 @@ type ApiCircuitsCircuitTypesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTypesRetrieveRequest { @@ -5767,6 +5480,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) } @@ -5819,6 +5538,12 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesRetrieveExecute(r ApiCircuitsCi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6714,7 +6439,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 +6462,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 +6494,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 +6511,7 @@ type ApiCircuitsCircuitsListRequest struct { tenantIdIsnull *bool tenantIdN *[]*string depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitsListRequest) Cid(cid []string) ApiCircuitsCircuitsListRequest { @@ -7063,8 +6777,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 +6892,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 +6914,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 +7060,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 +7091,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 +7152,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 +7712,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 +7957,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 +7984,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 +7995,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 +8229,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 +8279,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 @@ -8814,6 +8370,12 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9027,6 +8589,7 @@ type ApiCircuitsCircuitsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitsNotesListRequest { @@ -9052,6 +8615,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) } @@ -9110,6 +8679,12 @@ func (a *CircuitsAPIService) CircuitsCircuitsNotesListExecute(r ApiCircuitsCircu var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9318,6 +8893,7 @@ type ApiCircuitsCircuitsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCircuitsCircuitsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitsRetrieveRequest { @@ -9331,6 +8907,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) } @@ -9383,6 +8965,12 @@ func (a *CircuitsAPIService) CircuitsCircuitsRetrieveExecute(r ApiCircuitsCircui var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10246,7 +9834,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 +9857,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 +9894,9 @@ type ApiCircuitsProviderNetworksListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string depth *int32 + excludeM2m *bool } // Circuit Terminations (ID) @@ -10421,8 +9998,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 +10113,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 +10135,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 +10305,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 +10316,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 +10556,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 +10665,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,7 +11136,15 @@ 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", "") @@ -11740,6 +11152,12 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksListExecute(r ApiCircuitsPr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11953,6 +11371,7 @@ type ApiCircuitsProviderNetworksNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCircuitsProviderNetworksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProviderNetworksNotesListRequest { @@ -11978,6 +11397,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) } @@ -12036,6 +11461,12 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksNotesListExecute(r ApiCircu var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12244,6 +11675,7 @@ type ApiCircuitsProviderNetworksRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCircuitsProviderNetworksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProviderNetworksRetrieveRequest { @@ -12257,6 +11689,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) } @@ -12309,6 +11747,12 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksRetrieveExecute(r ApiCircui var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13207,7 +12651,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 +12660,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 +12730,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 +13007,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 +13052,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 +13080,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 +13412,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 +13423,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 +14040,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 +14131,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 +14161,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 +14172,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,7 +14805,15 @@ 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", "") @@ -15553,6 +14821,12 @@ func (a *CircuitsAPIService) CircuitsProvidersListExecute(r ApiCircuitsProviders var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15766,6 +15040,7 @@ type ApiCircuitsProvidersNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCircuitsProvidersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProvidersNotesListRequest { @@ -15791,6 +15066,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) } @@ -15849,6 +15130,12 @@ func (a *CircuitsAPIService) CircuitsProvidersNotesListExecute(r ApiCircuitsProv var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -16057,6 +15344,7 @@ type ApiCircuitsProvidersRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCircuitsProvidersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProvidersRetrieveRequest { @@ -16070,6 +15358,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) } @@ -16122,6 +15416,12 @@ func (a *CircuitsAPIService) CircuitsProvidersRetrieveExecute(r ApiCircuitsProvi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_cloud.go b/api_cloud.go index c74c2549..d7473d6a 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,7 +1973,15 @@ 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", "") @@ -2165,6 +1989,12 @@ func (a *CloudAPIService) CloudCloudAccountsListExecute(r ApiCloudCloudAccountsL var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2378,6 +2208,7 @@ type ApiCloudCloudAccountsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCloudCloudAccountsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudAccountsNotesListRequest { @@ -2403,6 +2234,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) } @@ -2461,6 +2298,12 @@ func (a *CloudAPIService) CloudCloudAccountsNotesListExecute(r ApiCloudCloudAcco var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2669,6 +2512,7 @@ type ApiCloudCloudAccountsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCloudCloudAccountsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudAccountsRetrieveRequest { @@ -2682,6 +2526,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) } @@ -2734,6 +2584,12 @@ func (a *CloudAPIService) CloudCloudAccountsRetrieveExecute(r ApiCloudCloudAccou var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3582,19 +3438,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 +3446,7 @@ type ApiCloudCloudNetworkPrefixAssignmentsListRequest struct { q *string sort *string depth *int32 + excludeM2m *bool } func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) CloudNetwork(cloudNetwork []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest { @@ -3625,71 +3470,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 +3515,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 +3597,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 +3608,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 { @@ -3989,6 +3648,12 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsListExecute(r ApiClo var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4057,39 +3722,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 +3762,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 +3804,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 +3856,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 +3904,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,18 +3928,18 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4353,39 +4008,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 +4049,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 +4068,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 +4093,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 +4145,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 +4216,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 +4241,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,83 +4261,70 @@ 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{ +func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdate(ctx context.Context) ApiCloudCloudNetworksBulkPartialUpdateRequest { + return ApiCloudCloudNetworksBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, - id: id, } } // Execute executes the request -// @return CloudNetworkPrefixAssignment -func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsUpdateExecute(r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) (*CloudNetworkPrefixAssignment, *http.Response, error) { +// @return []CloudNetwork +func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdateExecute(r ApiCloudCloudNetworksBulkPartialUpdateRequest) ([]CloudNetwork, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut + localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CloudNetworkPrefixAssignment + localVarReturnValue []CloudNetwork ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksBulkPartialUpdate") 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) + localVarPath := localBasePath + "/cloud/cloud-networks/" 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.patchedBulkWritableCloudNetworkRequest == nil { + return localVarReturnValue, nil, reportError("patchedBulkWritableCloudNetworkRequest is required and must be specified") } if r.format != nil { @@ -4711,7 +4348,7 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsUpdateExecute(r ApiC localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.cloudNetworkPrefixAssignmentRequest + localVarPostBody = r.patchedBulkWritableCloudNetworkRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -4763,53 +4400,55 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsUpdateExecute(r ApiC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCloudCloudNetworksBulkDestroyRequest struct { +type ApiCloudCloudNetworksBulkUpdateRequest struct { ctx context.Context ApiService *CloudAPIService - bulkOperationRequest *[]BulkOperationRequest + bulkWritableCloudNetworkRequest *[]BulkWritableCloudNetworkRequest format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiCloudCloudNetworksBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiCloudCloudNetworksBulkDestroyRequest { - r.bulkOperationRequest = &bulkOperationRequest +func (r ApiCloudCloudNetworksBulkUpdateRequest) BulkWritableCloudNetworkRequest(bulkWritableCloudNetworkRequest []BulkWritableCloudNetworkRequest) ApiCloudCloudNetworksBulkUpdateRequest { + r.bulkWritableCloudNetworkRequest = &bulkWritableCloudNetworkRequest return r } -func (r ApiCloudCloudNetworksBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkDestroyRequest { +func (r ApiCloudCloudNetworksBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkUpdateRequest { r.format = &format return r } -func (r ApiCloudCloudNetworksBulkDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.CloudCloudNetworksBulkDestroyExecute(r) +func (r ApiCloudCloudNetworksBulkUpdateRequest) Execute() ([]CloudNetwork, *http.Response, error) { + return r.ApiService.CloudCloudNetworksBulkUpdateExecute(r) } /* -CloudCloudNetworksBulkDestroy Method for CloudCloudNetworksBulkDestroy +CloudCloudNetworksBulkUpdate Method for CloudCloudNetworksBulkUpdate -Destroy a list of cloud network objects. +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 ApiCloudCloudNetworksBulkDestroyRequest + @return ApiCloudCloudNetworksBulkUpdateRequest */ -func (a *CloudAPIService) CloudCloudNetworksBulkDestroy(ctx context.Context) ApiCloudCloudNetworksBulkDestroyRequest { - return ApiCloudCloudNetworksBulkDestroyRequest{ +func (a *CloudAPIService) CloudCloudNetworksBulkUpdate(ctx context.Context) ApiCloudCloudNetworksBulkUpdateRequest { + return ApiCloudCloudNetworksBulkUpdateRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNetworksBulkDestroyRequest) (*http.Response, error) { +// @return []CloudNetwork +func (a *CloudAPIService) CloudCloudNetworksBulkUpdateExecute(r ApiCloudCloudNetworksBulkUpdateRequest) ([]CloudNetwork, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete + localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile + localVarReturnValue []CloudNetwork ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksBulkDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksBulkUpdate") if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/cloud/cloud-networks/" @@ -4817,8 +4456,8 @@ func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNe 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.bulkWritableCloudNetworkRequest == nil { + return localVarReturnValue, nil, reportError("bulkWritableCloudNetworkRequest is required and must be specified") } if r.format != nil { @@ -4834,7 +4473,7 @@ func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} + localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -4842,7 +4481,7 @@ func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNe localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.bulkOperationRequest + localVarPostBody = r.bulkWritableCloudNetworkRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -4859,19 +4498,19 @@ func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNe } 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 { @@ -4879,59 +4518,68 @@ func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNe 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 ApiCloudCloudNetworksBulkPartialUpdateRequest struct { +type ApiCloudCloudNetworksCreateRequest struct { ctx context.Context ApiService *CloudAPIService - patchedBulkWritableCloudNetworkRequest *[]PatchedBulkWritableCloudNetworkRequest + cloudNetworkRequest *CloudNetworkRequest format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) PatchedBulkWritableCloudNetworkRequest(patchedBulkWritableCloudNetworkRequest []PatchedBulkWritableCloudNetworkRequest) ApiCloudCloudNetworksBulkPartialUpdateRequest { - r.patchedBulkWritableCloudNetworkRequest = &patchedBulkWritableCloudNetworkRequest +func (r ApiCloudCloudNetworksCreateRequest) CloudNetworkRequest(cloudNetworkRequest CloudNetworkRequest) ApiCloudCloudNetworksCreateRequest { + r.cloudNetworkRequest = &cloudNetworkRequest return r } -func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkPartialUpdateRequest { +func (r ApiCloudCloudNetworksCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksCreateRequest { r.format = &format return r } -func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) Execute() ([]CloudNetwork, *http.Response, error) { - return r.ApiService.CloudCloudNetworksBulkPartialUpdateExecute(r) +func (r ApiCloudCloudNetworksCreateRequest) Execute() (*CloudNetwork, *http.Response, error) { + return r.ApiService.CloudCloudNetworksCreateExecute(r) } /* -CloudCloudNetworksBulkPartialUpdate Method for CloudCloudNetworksBulkPartialUpdate +CloudCloudNetworksCreate Method for CloudCloudNetworksCreate -Partial update a list of cloud network objects. +Create one or more cloud network objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCloudCloudNetworksBulkPartialUpdateRequest + @return ApiCloudCloudNetworksCreateRequest */ -func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdate(ctx context.Context) ApiCloudCloudNetworksBulkPartialUpdateRequest { - return ApiCloudCloudNetworksBulkPartialUpdateRequest{ +func (a *CloudAPIService) CloudCloudNetworksCreate(ctx context.Context) ApiCloudCloudNetworksCreateRequest { + return ApiCloudCloudNetworksCreateRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -// @return []CloudNetwork -func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdateExecute(r ApiCloudCloudNetworksBulkPartialUpdateRequest) ([]CloudNetwork, *http.Response, error) { +// @return CloudNetwork +func (a *CloudAPIService) CloudCloudNetworksCreateExecute(r ApiCloudCloudNetworksCreateRequest) (*CloudNetwork, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPatch + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue []CloudNetwork + localVarReturnValue *CloudNetwork ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -4941,8 +4589,8 @@ func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdateExecute(r ApiCloudC localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.patchedBulkWritableCloudNetworkRequest == nil { - return localVarReturnValue, nil, reportError("patchedBulkWritableCloudNetworkRequest is required and must be specified") + if r.cloudNetworkRequest == nil { + return localVarReturnValue, nil, reportError("cloudNetworkRequest is required and must be specified") } if r.format != nil { @@ -4966,7 +4614,7 @@ func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdateExecute(r ApiCloudC localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.patchedBulkWritableCloudNetworkRequest + localVarPostBody = r.cloudNetworkRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -5018,71 +4666,64 @@ func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdateExecute(r ApiCloudC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCloudCloudNetworksBulkUpdateRequest struct { +type ApiCloudCloudNetworksDestroyRequest struct { ctx context.Context ApiService *CloudAPIService - bulkWritableCloudNetworkRequest *[]BulkWritableCloudNetworkRequest + id string format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiCloudCloudNetworksBulkUpdateRequest) BulkWritableCloudNetworkRequest(bulkWritableCloudNetworkRequest []BulkWritableCloudNetworkRequest) ApiCloudCloudNetworksBulkUpdateRequest { - r.bulkWritableCloudNetworkRequest = &bulkWritableCloudNetworkRequest - return r -} - -func (r ApiCloudCloudNetworksBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkUpdateRequest { +func (r ApiCloudCloudNetworksDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksDestroyRequest { r.format = &format return r } -func (r ApiCloudCloudNetworksBulkUpdateRequest) Execute() ([]CloudNetwork, *http.Response, error) { - return r.ApiService.CloudCloudNetworksBulkUpdateExecute(r) +func (r ApiCloudCloudNetworksDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.CloudCloudNetworksDestroyExecute(r) } /* -CloudCloudNetworksBulkUpdate Method for CloudCloudNetworksBulkUpdate +CloudCloudNetworksDestroy Method for CloudCloudNetworksDestroy -Update a list of cloud network objects. +Destroy a cloud network object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCloudCloudNetworksBulkUpdateRequest + @param id A UUID string identifying this cloud network. + @return ApiCloudCloudNetworksDestroyRequest */ -func (a *CloudAPIService) CloudCloudNetworksBulkUpdate(ctx context.Context) ApiCloudCloudNetworksBulkUpdateRequest { - return ApiCloudCloudNetworksBulkUpdateRequest{ +func (a *CloudAPIService) CloudCloudNetworksDestroy(ctx context.Context, id string) ApiCloudCloudNetworksDestroyRequest { + return ApiCloudCloudNetworksDestroyRequest{ ApiService: a, ctx: ctx, + id: id, } } // Execute executes the request -// @return []CloudNetwork -func (a *CloudAPIService) CloudCloudNetworksBulkUpdateExecute(r ApiCloudCloudNetworksBulkUpdateRequest) ([]CloudNetwork, *http.Response, error) { +func (a *CloudAPIService) CloudCloudNetworksDestroyExecute(r ApiCloudCloudNetworksDestroyRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut + localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue []CloudNetwork ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksBulkUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksDestroy") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/cloud/cloud-networks/" + localVarPath := localBasePath + "/cloud/cloud-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.bulkWritableCloudNetworkRequest == nil { - return localVarReturnValue, nil, reportError("bulkWritableCloudNetworkRequest 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) @@ -5091,15 +4732,13 @@ func (a *CloudAPIService) CloudCloudNetworksBulkUpdateExecute(r ApiCloudCloudNet } // 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.bulkWritableCloudNetworkRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -5116,19 +4755,19 @@ func (a *CloudAPIService) CloudCloudNetworksBulkUpdateExecute(r ApiCloudCloudNet } 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 { @@ -5136,320 +4775,51 @@ func (a *CloudAPIService) CloudCloudNetworksBulkUpdateExecute(r ApiCloudCloudNet 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 ApiCloudCloudNetworksCreateRequest struct { +type ApiCloudCloudNetworksListRequest struct { ctx context.Context ApiService *CloudAPIService - cloudNetworkRequest *CloudNetworkRequest - format *CircuitsCircuitTerminationsListFormatParameter -} - -func (r ApiCloudCloudNetworksCreateRequest) CloudNetworkRequest(cloudNetworkRequest CloudNetworkRequest) ApiCloudCloudNetworksCreateRequest { - r.cloudNetworkRequest = &cloudNetworkRequest - return r -} - -func (r ApiCloudCloudNetworksCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksCreateRequest { - r.format = &format - return r -} - -func (r ApiCloudCloudNetworksCreateRequest) Execute() (*CloudNetwork, *http.Response, error) { - return r.ApiService.CloudCloudNetworksCreateExecute(r) -} - -/* -CloudCloudNetworksCreate Method for CloudCloudNetworksCreate - -Create one or more cloud network objects. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCloudCloudNetworksCreateRequest -*/ -func (a *CloudAPIService) CloudCloudNetworksCreate(ctx context.Context) ApiCloudCloudNetworksCreateRequest { - return ApiCloudCloudNetworksCreateRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return CloudNetwork -func (a *CloudAPIService) CloudCloudNetworksCreateExecute(r ApiCloudCloudNetworksCreateRequest) (*CloudNetwork, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CloudNetwork - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksCreate") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cloud/cloud-networks/" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.cloudNetworkRequest == nil { - return localVarReturnValue, nil, reportError("cloudNetworkRequest 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.cloudNetworkRequest - 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 ApiCloudCloudNetworksDestroyRequest struct { - ctx context.Context - ApiService *CloudAPIService - id string - format *CircuitsCircuitTerminationsListFormatParameter -} - -func (r ApiCloudCloudNetworksDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksDestroyRequest { - r.format = &format - return r -} - -func (r ApiCloudCloudNetworksDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.CloudCloudNetworksDestroyExecute(r) -} - -/* -CloudCloudNetworksDestroy Method for CloudCloudNetworksDestroy - -Destroy a cloud 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 cloud network. - @return ApiCloudCloudNetworksDestroyRequest -*/ -func (a *CloudAPIService) CloudCloudNetworksDestroy(ctx context.Context, id string) ApiCloudCloudNetworksDestroyRequest { - return ApiCloudCloudNetworksDestroyRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -func (a *CloudAPIService) CloudCloudNetworksDestroyExecute(r ApiCloudCloudNetworksDestroyRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksDestroy") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cloud/cloud-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 ApiCloudCloudNetworksListRequest struct { - ctx context.Context - ApiService *CloudAPIService - cloudAccount *[]string - cloudAccountN *[]string - cloudResourceType *[]string - cloudResourceTypeN *[]string - cloudServices *[]string - cloudServicesIsnull *bool - cloudServicesN *[]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 - 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 + cloudAccount *[]string + cloudAccountN *[]string + cloudResourceType *[]string + cloudResourceTypeN *[]string + cloudServices *[]string + cloudServicesIsnull *bool + cloudServicesN *[]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 + 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 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 +4855,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 +4907,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 +5022,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,88 +5038,28 @@ func (r ApiCloudCloudNetworksListRequest) Id(id []string) ApiCloudCloudNetworksL return r } -func (r ApiCloudCloudNetworksListRequest) IdIc(idIc []string) ApiCloudCloudNetworksListRequest { - r.idIc = &idIc +func (r ApiCloudCloudNetworksListRequest) IdN(idN []string) ApiCloudCloudNetworksListRequest { + r.idN = &idN return r } -func (r ApiCloudCloudNetworksListRequest) IdIe(idIe []string) ApiCloudCloudNetworksListRequest { - r.idIe = &idIe +func (r ApiCloudCloudNetworksListRequest) LastUpdated(lastUpdated []time.Time) ApiCloudCloudNetworksListRequest { + r.lastUpdated = &lastUpdated return r } -func (r ApiCloudCloudNetworksListRequest) IdIew(idIew []string) ApiCloudCloudNetworksListRequest { - r.idIew = &idIew +func (r ApiCloudCloudNetworksListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiCloudCloudNetworksListRequest { + r.lastUpdatedGt = &lastUpdatedGt return r } -func (r ApiCloudCloudNetworksListRequest) IdIre(idIre []string) ApiCloudCloudNetworksListRequest { - r.idIre = &idIre +func (r ApiCloudCloudNetworksListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiCloudCloudNetworksListRequest { + r.lastUpdatedGte = &lastUpdatedGte 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 -} - -func (r ApiCloudCloudNetworksListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiCloudCloudNetworksListRequest { - r.lastUpdatedGt = &lastUpdatedGt - return r -} - -func (r ApiCloudCloudNetworksListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiCloudCloudNetworksListRequest { - r.lastUpdatedGte = &lastUpdatedGte - return r -} - -func (r ApiCloudCloudNetworksListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiCloudCloudNetworksListRequest { - r.lastUpdatedIsnull = &lastUpdatedIsnull +func (r ApiCloudCloudNetworksListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiCloudCloudNetworksListRequest { + r.lastUpdatedIsnull = &lastUpdatedIsnull return r } @@ -5915,8 +5224,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 +5235,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 +5365,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 +5610,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 +5645,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,7 +5967,15 @@ 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", "") @@ -6777,6 +5983,12 @@ func (a *CloudAPIService) CloudCloudNetworksListExecute(r ApiCloudCloudNetworksL var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6990,6 +6202,7 @@ type ApiCloudCloudNetworksNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCloudCloudNetworksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksNotesListRequest { @@ -7015,6 +6228,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) } @@ -7073,6 +6292,12 @@ func (a *CloudAPIService) CloudCloudNetworksNotesListExecute(r ApiCloudCloudNetw var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7281,6 +6506,7 @@ type ApiCloudCloudNetworksRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCloudCloudNetworksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksRetrieveRequest { @@ -7294,6 +6520,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) } @@ -7346,6 +6578,12 @@ func (a *CloudAPIService) CloudCloudNetworksRetrieveExecute(r ApiCloudCloudNetwo var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8192,21 +7430,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 +7455,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 +7491,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 +7507,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 +7517,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 +7632,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 +7648,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 +7818,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 +7829,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 +7890,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,169 +7911,37 @@ 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") - } - } - 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 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") - } - } 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") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi") } } if r.createdGte != nil { @@ -9183,75 +8157,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 +8192,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,7 +8489,15 @@ 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", "") @@ -9647,6 +8505,12 @@ func (a *CloudAPIService) CloudCloudResourceTypesListExecute(r ApiCloudCloudReso var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9860,6 +8724,7 @@ type ApiCloudCloudResourceTypesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCloudCloudResourceTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudResourceTypesNotesListRequest { @@ -9885,6 +8750,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) } @@ -9943,6 +8814,12 @@ func (a *CloudAPIService) CloudCloudResourceTypesNotesListExecute(r ApiCloudClou var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10151,6 +9028,7 @@ type ApiCloudCloudResourceTypesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCloudCloudResourceTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudResourceTypesRetrieveRequest { @@ -10164,6 +9042,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) } @@ -10216,6 +9100,12 @@ func (a *CloudAPIService) CloudCloudResourceTypesRetrieveExecute(r ApiCloudCloud var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11066,24 +9956,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 +9996,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,572 +10020,156 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11975,6 +10378,7 @@ type ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest { @@ -11988,6 +10392,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) } @@ -12040,6 +10450,12 @@ func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsRetrieveExecute(r A var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12893,7 +11309,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 +11332,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 +11366,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 +11418,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 +11533,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 +11549,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 +11709,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 +11720,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 +11850,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 +12095,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 +12130,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,7 +12405,15 @@ 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", "") @@ -14181,6 +12421,12 @@ func (a *CloudAPIService) CloudCloudServicesListExecute(r ApiCloudCloudServicesL var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14394,6 +12640,7 @@ type ApiCloudCloudServicesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiCloudCloudServicesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServicesNotesListRequest { @@ -14419,6 +12666,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) } @@ -14477,6 +12730,12 @@ func (a *CloudAPIService) CloudCloudServicesNotesListExecute(r ApiCloudCloudServ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14685,6 +12944,7 @@ type ApiCloudCloudServicesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiCloudCloudServicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServicesRetrieveRequest { @@ -14698,6 +12958,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) } @@ -14750,6 +13016,12 @@ func (a *CloudAPIService) CloudCloudServicesRetrieveExecute(r ApiCloudCloudServi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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..c73140b4 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 { @@ -3168,6 +2591,12 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3381,6 +2810,7 @@ type ApiDcimCablesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimCablesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimCablesNotesListRequest { @@ -3406,6 +2836,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) } @@ -3464,6 +2900,12 @@ func (a *DcimAPIService) DcimCablesNotesListExecute(r ApiDcimCablesNotesListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3672,6 +3114,7 @@ type ApiDcimCablesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimCablesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimCablesRetrieveRequest { @@ -3685,6 +3128,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) } @@ -3737,6 +3186,12 @@ func (a *DcimAPIService) DcimCablesRetrieveExecute(r ApiDcimCablesRetrieveReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3949,6 +3404,7 @@ type ApiDcimConnectedDeviceListRequest struct { peerInterface *string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } // The name of the peer device @@ -3974,6 +3430,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) } @@ -4036,6 +3498,12 @@ func (a *DcimAPIService) DcimConnectedDeviceListExecute(r ApiDcimConnectedDevice var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4109,26 +3577,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 +3605,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 +3621,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 +3643,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 +3659,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 +3769,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 +3780,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 +3841,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 +3885,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 +3920,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,7 +4101,15 @@ 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", "") @@ -4825,6 +4117,12 @@ func (a *DcimAPIService) DcimConsoleConnectionsListExecute(r ApiDcimConsoleConne var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5534,7 +4832,7 @@ type ApiDcimConsolePortTemplatesListRequest struct { ApiService *DcimAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -5553,24 +4851,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 +4894,7 @@ type ApiDcimConsolePortTemplatesListRequest struct { sort *string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -5624,6 +4910,7 @@ type ApiDcimConsolePortTemplatesListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } func (r ApiDcimConsolePortTemplatesListRequest) Contacts(contacts []string) ApiDcimConsolePortTemplatesListRequest { @@ -5637,8 +4924,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 +5034,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 +5062,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 +5287,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 +5368,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 +5429,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 +5630,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 +5660,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 +5671,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 +6031,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_ @@ -7091,6 +6201,12 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7159,39 +6275,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 +6315,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 +6357,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 +6409,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 +6457,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,18 +6481,18 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7455,39 +6561,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 +6602,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 +6621,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 +6646,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 +6698,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 +6769,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 +6794,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 +6814,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 +7343,7 @@ type ApiDcimConsolePortsListRequest struct { connected *bool contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -8527,23 +7360,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 +7407,7 @@ type ApiDcimConsolePortsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -8602,6 +7423,7 @@ type ApiDcimConsolePortsListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } // Cable @@ -8638,8 +7460,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 +7545,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 +7567,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 +7788,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 +7799,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 +7870,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 +7959,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 +8146,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 +8173,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 +8184,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 +8591,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_ @@ -10117,6 +8761,12 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10330,6 +8980,7 @@ type ApiDcimConsolePortsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimConsolePortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsNotesListRequest { @@ -10355,6 +9006,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) } @@ -10413,6 +9070,12 @@ func (a *DcimAPIService) DcimConsolePortsNotesListExecute(r ApiDcimConsolePortsN var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10621,6 +9284,7 @@ type ApiDcimConsolePortsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimConsolePortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsRetrieveRequest { @@ -10634,6 +9298,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) } @@ -10686,144 +9356,11 @@ func (a *DcimAPIService) DcimConsolePortsRetrieveExecute(r ApiDcimConsolePortsRe 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 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 + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10893,39 +9430,47 @@ func (a *DcimAPIService) DcimConsolePortsTraceRetrieveExecute(r ApiDcimConsolePo return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDcimConsolePortsUpdateRequest struct { +type ApiDcimConsolePortsTraceRetrieveRequest struct { ctx context.Context ApiService *DcimAPIService id string - writableConsolePortRequest *WritableConsolePortRequest format *CircuitsCircuitTerminationsListFormatParameter + depth *int32 + excludeM2m *bool } -func (r ApiDcimConsolePortsUpdateRequest) WritableConsolePortRequest(writableConsolePortRequest WritableConsolePortRequest) ApiDcimConsolePortsUpdateRequest { - r.writableConsolePortRequest = &writableConsolePortRequest +func (r ApiDcimConsolePortsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsTraceRetrieveRequest { + r.format = &format return r } -func (r ApiDcimConsolePortsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsUpdateRequest { - r.format = &format +// Serializer Depth +func (r ApiDcimConsolePortsTraceRetrieveRequest) Depth(depth int32) ApiDcimConsolePortsTraceRetrieveRequest { + r.depth = &depth return r } -func (r ApiDcimConsolePortsUpdateRequest) Execute() (*ConsolePort, *http.Response, error) { - return r.ApiService.DcimConsolePortsUpdateExecute(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) } /* -DcimConsolePortsUpdate Method for DcimConsolePortsUpdate +DcimConsolePortsTraceRetrieve Method for DcimConsolePortsTraceRetrieve -Update a console port 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 console port. - @return ApiDcimConsolePortsUpdateRequest + @return ApiDcimConsolePortsTraceRetrieveRequest */ -func (a *DcimAPIService) DcimConsolePortsUpdate(ctx context.Context, id string) ApiDcimConsolePortsUpdateRequest { - return ApiDcimConsolePortsUpdateRequest{ +func (a *DcimAPIService) DcimConsolePortsTraceRetrieve(ctx context.Context, id string) ApiDcimConsolePortsTraceRetrieveRequest { + return ApiDcimConsolePortsTraceRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -10934,34 +9479,43 @@ func (a *DcimAPIService) DcimConsolePortsUpdate(ctx context.Context, id string) // Execute executes the request // @return ConsolePort -func (a *DcimAPIService) DcimConsolePortsUpdateExecute(r ApiDcimConsolePortsUpdateRequest) (*ConsolePort, *http.Response, error) { +func (a *DcimAPIService) DcimConsolePortsTraceRetrieveExecute(r ApiDcimConsolePortsTraceRetrieveRequest) (*ConsolePort, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile localVarReturnValue *ConsolePort ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsUpdate") + 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}/" + 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.writableConsolePortRequest == nil { - return localVarReturnValue, nil, reportError("writableConsolePortRequest 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.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json", "text/csv"} + localVarHTTPContentTypes := []string{} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -10977,8 +9531,6 @@ func (a *DcimAPIService) DcimConsolePortsUpdateExecute(r ApiDcimConsolePortsUpda if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - // body params - localVarPostBody = r.writableConsolePortRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -11030,62 +9582,68 @@ func (a *DcimAPIService) DcimConsolePortsUpdateExecute(r ApiDcimConsolePortsUpda return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDcimConsoleServerPortTemplatesBulkDestroyRequest struct { +type ApiDcimConsolePortsUpdateRequest struct { ctx context.Context ApiService *DcimAPIService - bulkOperationRequest *[]BulkOperationRequest + id string + writableConsolePortRequest *WritableConsolePortRequest format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimConsoleServerPortTemplatesBulkDestroyRequest { - r.bulkOperationRequest = &bulkOperationRequest +func (r ApiDcimConsolePortsUpdateRequest) WritableConsolePortRequest(writableConsolePortRequest WritableConsolePortRequest) ApiDcimConsolePortsUpdateRequest { + r.writableConsolePortRequest = &writableConsolePortRequest return r } -func (r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesBulkDestroyRequest { +func (r ApiDcimConsolePortsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsUpdateRequest { r.format = &format return r } -func (r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.DcimConsoleServerPortTemplatesBulkDestroyExecute(r) +func (r ApiDcimConsolePortsUpdateRequest) Execute() (*ConsolePort, *http.Response, error) { + return r.ApiService.DcimConsolePortsUpdateExecute(r) } /* -DcimConsoleServerPortTemplatesBulkDestroy Method for DcimConsoleServerPortTemplatesBulkDestroy +DcimConsolePortsUpdate Method for DcimConsolePortsUpdate -Destroy a list of console server port template objects. +Update a console port object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiDcimConsoleServerPortTemplatesBulkDestroyRequest + @param id A UUID string identifying this console port. + @return ApiDcimConsolePortsUpdateRequest */ -func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context) ApiDcimConsoleServerPortTemplatesBulkDestroyRequest { - return ApiDcimConsoleServerPortTemplatesBulkDestroyRequest{ +func (a *DcimAPIService) DcimConsolePortsUpdate(ctx context.Context, id string) ApiDcimConsolePortsUpdateRequest { + return ApiDcimConsolePortsUpdateRequest{ ApiService: a, ctx: ctx, + id: id, } } // Execute executes the request -func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroyExecute(r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) (*http.Response, error) { +// @return ConsolePort +func (a *DcimAPIService) DcimConsolePortsUpdateExecute(r ApiDcimConsolePortsUpdateRequest) (*ConsolePort, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete + localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile + localVarReturnValue *ConsolePort ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesBulkDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsUpdate") if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/dcim/console-server-port-templates/" + localVarPath := localBasePath + "/dcim/console-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.writableConsolePortRequest == nil { + return localVarReturnValue, nil, reportError("writableConsolePortRequest is required and must be specified") } if r.format != nil { @@ -11101,7 +9659,7 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroyExecute(r ApiD } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} + localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -11109,7 +9667,7 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroyExecute(r ApiD localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.bulkOperationRequest + localVarPostBody = r.writableConsolePortRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -11126,19 +9684,19 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroyExecute(r ApiD } 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 { @@ -11146,61 +9704,68 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroyExecute(r ApiD 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 ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest struct { +type ApiDcimConsoleServerPortTemplatesBulkDestroyRequest struct { ctx context.Context ApiService *DcimAPIService - patchedBulkWritableConsoleServerPortTemplateRequest *[]PatchedBulkWritableConsoleServerPortTemplateRequest + bulkOperationRequest *[]BulkOperationRequest format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) PatchedBulkWritableConsoleServerPortTemplateRequest(patchedBulkWritableConsoleServerPortTemplateRequest []PatchedBulkWritableConsoleServerPortTemplateRequest) ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest { - r.patchedBulkWritableConsoleServerPortTemplateRequest = &patchedBulkWritableConsoleServerPortTemplateRequest +func (r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimConsoleServerPortTemplatesBulkDestroyRequest { + r.bulkOperationRequest = &bulkOperationRequest return r } -func (r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest { +func (r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesBulkDestroyRequest { r.format = &format return r } -func (r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) Execute() ([]ConsoleServerPortTemplate, *http.Response, error) { - return r.ApiService.DcimConsoleServerPortTemplatesBulkPartialUpdateExecute(r) +func (r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.DcimConsoleServerPortTemplatesBulkDestroyExecute(r) } /* -DcimConsoleServerPortTemplatesBulkPartialUpdate Method for DcimConsoleServerPortTemplatesBulkPartialUpdate +DcimConsoleServerPortTemplatesBulkDestroy Method for DcimConsoleServerPortTemplatesBulkDestroy -Partial update a list of console server port template objects. +Destroy a list of console server port template objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest + @return ApiDcimConsoleServerPortTemplatesBulkDestroyRequest */ -func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest { - return ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest{ +func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context) ApiDcimConsoleServerPortTemplatesBulkDestroyRequest { + return ApiDcimConsoleServerPortTemplatesBulkDestroyRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -// @return []ConsoleServerPortTemplate -func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdateExecute(r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) ([]ConsoleServerPortTemplate, *http.Response, error) { +func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkDestroyExecute(r ApiDcimConsoleServerPortTemplatesBulkDestroyRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPatch + localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue []ConsoleServerPortTemplate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesBulkDestroy") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/dcim/console-server-port-templates/" @@ -11208,8 +9773,8 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdateExecute( localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.patchedBulkWritableConsoleServerPortTemplateRequest == nil { - return localVarReturnValue, nil, reportError("patchedBulkWritableConsoleServerPortTemplateRequest is required and must be specified") + if r.bulkOperationRequest == nil { + return nil, reportError("bulkOperationRequest is required and must be specified") } if r.format != nil { @@ -11225,7 +9790,7 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdateExecute( } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"} + localVarHTTPHeaderAccepts := []string{} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -11233,7 +9798,7 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdateExecute( localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.patchedBulkWritableConsoleServerPortTemplateRequest + localVarPostBody = r.bulkOperationRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -11250,19 +9815,19 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdateExecute( } 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 { @@ -11270,52 +9835,43 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdateExecute( 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 ApiDcimConsoleServerPortTemplatesBulkUpdateRequest struct { +type ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest struct { ctx context.Context ApiService *DcimAPIService - bulkWritableConsoleServerPortTemplateRequest *[]BulkWritableConsoleServerPortTemplateRequest + patchedBulkWritableConsoleServerPortTemplateRequest *[]PatchedBulkWritableConsoleServerPortTemplateRequest format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) BulkWritableConsoleServerPortTemplateRequest(bulkWritableConsoleServerPortTemplateRequest []BulkWritableConsoleServerPortTemplateRequest) ApiDcimConsoleServerPortTemplatesBulkUpdateRequest { - r.bulkWritableConsoleServerPortTemplateRequest = &bulkWritableConsoleServerPortTemplateRequest +func (r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) PatchedBulkWritableConsoleServerPortTemplateRequest(patchedBulkWritableConsoleServerPortTemplateRequest []PatchedBulkWritableConsoleServerPortTemplateRequest) ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest { + r.patchedBulkWritableConsoleServerPortTemplateRequest = &patchedBulkWritableConsoleServerPortTemplateRequest return r } -func (r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesBulkUpdateRequest { +func (r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest { r.format = &format return r } -func (r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) Execute() ([]ConsoleServerPortTemplate, *http.Response, error) { - return r.ApiService.DcimConsoleServerPortTemplatesBulkUpdateExecute(r) +func (r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) Execute() ([]ConsoleServerPortTemplate, *http.Response, error) { + return r.ApiService.DcimConsoleServerPortTemplatesBulkPartialUpdateExecute(r) } /* -DcimConsoleServerPortTemplatesBulkUpdate Method for DcimConsoleServerPortTemplatesBulkUpdate +DcimConsoleServerPortTemplatesBulkPartialUpdate Method for DcimConsoleServerPortTemplatesBulkPartialUpdate -Update a list of console server port template objects. +Partial update a list of console server port template objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiDcimConsoleServerPortTemplatesBulkUpdateRequest + @return ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest */ -func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdate(ctx context.Context) ApiDcimConsoleServerPortTemplatesBulkUpdateRequest { - return ApiDcimConsoleServerPortTemplatesBulkUpdateRequest{ +func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest { + return ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -11323,15 +9879,15 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdate(ctx context.Co // Execute executes the request // @return []ConsoleServerPortTemplate -func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdateExecute(r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) ([]ConsoleServerPortTemplate, *http.Response, error) { +func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkPartialUpdateExecute(r ApiDcimConsoleServerPortTemplatesBulkPartialUpdateRequest) ([]ConsoleServerPortTemplate, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut + localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile localVarReturnValue []ConsoleServerPortTemplate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesBulkUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -11341,8 +9897,8 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdateExecute(r ApiDc localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.bulkWritableConsoleServerPortTemplateRequest == nil { - return localVarReturnValue, nil, reportError("bulkWritableConsoleServerPortTemplateRequest is required and must be specified") + if r.patchedBulkWritableConsoleServerPortTemplateRequest == nil { + return localVarReturnValue, nil, reportError("patchedBulkWritableConsoleServerPortTemplateRequest is required and must be specified") } if r.format != nil { @@ -11366,7 +9922,7 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdateExecute(r ApiDc localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.bulkWritableConsoleServerPortTemplateRequest + localVarPostBody = r.patchedBulkWritableConsoleServerPortTemplateRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -11418,53 +9974,53 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdateExecute(r ApiDc return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDcimConsoleServerPortTemplatesCreateRequest struct { +type ApiDcimConsoleServerPortTemplatesBulkUpdateRequest struct { ctx context.Context ApiService *DcimAPIService - writableConsoleServerPortTemplateRequest *WritableConsoleServerPortTemplateRequest + bulkWritableConsoleServerPortTemplateRequest *[]BulkWritableConsoleServerPortTemplateRequest format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiDcimConsoleServerPortTemplatesCreateRequest) WritableConsoleServerPortTemplateRequest(writableConsoleServerPortTemplateRequest WritableConsoleServerPortTemplateRequest) ApiDcimConsoleServerPortTemplatesCreateRequest { - r.writableConsoleServerPortTemplateRequest = &writableConsoleServerPortTemplateRequest +func (r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) BulkWritableConsoleServerPortTemplateRequest(bulkWritableConsoleServerPortTemplateRequest []BulkWritableConsoleServerPortTemplateRequest) ApiDcimConsoleServerPortTemplatesBulkUpdateRequest { + r.bulkWritableConsoleServerPortTemplateRequest = &bulkWritableConsoleServerPortTemplateRequest return r } -func (r ApiDcimConsoleServerPortTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesCreateRequest { +func (r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesBulkUpdateRequest { r.format = &format return r } -func (r ApiDcimConsoleServerPortTemplatesCreateRequest) Execute() (*ConsoleServerPortTemplate, *http.Response, error) { - return r.ApiService.DcimConsoleServerPortTemplatesCreateExecute(r) +func (r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) Execute() ([]ConsoleServerPortTemplate, *http.Response, error) { + return r.ApiService.DcimConsoleServerPortTemplatesBulkUpdateExecute(r) } /* -DcimConsoleServerPortTemplatesCreate Method for DcimConsoleServerPortTemplatesCreate +DcimConsoleServerPortTemplatesBulkUpdate Method for DcimConsoleServerPortTemplatesBulkUpdate -Create one or more console server port template objects. +Update a list of console server port template objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiDcimConsoleServerPortTemplatesCreateRequest + @return ApiDcimConsoleServerPortTemplatesBulkUpdateRequest */ -func (a *DcimAPIService) DcimConsoleServerPortTemplatesCreate(ctx context.Context) ApiDcimConsoleServerPortTemplatesCreateRequest { - return ApiDcimConsoleServerPortTemplatesCreateRequest{ +func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdate(ctx context.Context) ApiDcimConsoleServerPortTemplatesBulkUpdateRequest { + return ApiDcimConsoleServerPortTemplatesBulkUpdateRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -// @return ConsoleServerPortTemplate -func (a *DcimAPIService) DcimConsoleServerPortTemplatesCreateExecute(r ApiDcimConsoleServerPortTemplatesCreateRequest) (*ConsoleServerPortTemplate, *http.Response, error) { +// @return []ConsoleServerPortTemplate +func (a *DcimAPIService) DcimConsoleServerPortTemplatesBulkUpdateExecute(r ApiDcimConsoleServerPortTemplatesBulkUpdateRequest) ([]ConsoleServerPortTemplate, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost + localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ConsoleServerPortTemplate + localVarReturnValue []ConsoleServerPortTemplate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesBulkUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -11474,8 +10030,8 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesCreateExecute(r ApiDcimCo localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.writableConsoleServerPortTemplateRequest == nil { - return localVarReturnValue, nil, reportError("writableConsoleServerPortTemplateRequest is required and must be specified") + if r.bulkWritableConsoleServerPortTemplateRequest == nil { + return localVarReturnValue, nil, reportError("bulkWritableConsoleServerPortTemplateRequest is required and must be specified") } if r.format != nil { @@ -11499,7 +10055,140 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesCreateExecute(r ApiDcimCo localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.writableConsoleServerPortTemplateRequest + localVarPostBody = r.bulkWritableConsoleServerPortTemplateRequest + 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 ApiDcimConsoleServerPortTemplatesCreateRequest struct { + ctx context.Context + ApiService *DcimAPIService + writableConsoleServerPortTemplateRequest *WritableConsoleServerPortTemplateRequest + format *CircuitsCircuitTerminationsListFormatParameter +} + +func (r ApiDcimConsoleServerPortTemplatesCreateRequest) WritableConsoleServerPortTemplateRequest(writableConsoleServerPortTemplateRequest WritableConsoleServerPortTemplateRequest) ApiDcimConsoleServerPortTemplatesCreateRequest { + r.writableConsoleServerPortTemplateRequest = &writableConsoleServerPortTemplateRequest + return r +} + +func (r ApiDcimConsoleServerPortTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesCreateRequest { + r.format = &format + return r +} + +func (r ApiDcimConsoleServerPortTemplatesCreateRequest) Execute() (*ConsoleServerPortTemplate, *http.Response, error) { + return r.ApiService.DcimConsoleServerPortTemplatesCreateExecute(r) +} + +/* +DcimConsoleServerPortTemplatesCreate Method for DcimConsoleServerPortTemplatesCreate + +Create one or more console server port template objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDcimConsoleServerPortTemplatesCreateRequest +*/ +func (a *DcimAPIService) DcimConsoleServerPortTemplatesCreate(ctx context.Context) ApiDcimConsoleServerPortTemplatesCreateRequest { + return ApiDcimConsoleServerPortTemplatesCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ConsoleServerPortTemplate +func (a *DcimAPIService) DcimConsoleServerPortTemplatesCreateExecute(r ApiDcimConsoleServerPortTemplatesCreateRequest) (*ConsoleServerPortTemplate, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ConsoleServerPortTemplate + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/dcim/console-server-port-templates/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.writableConsoleServerPortTemplateRequest == nil { + return localVarReturnValue, nil, reportError("writableConsoleServerPortTemplateRequest 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.writableConsoleServerPortTemplateRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -11671,7 +10360,7 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct { ApiService *DcimAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -11690,24 +10379,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 +10422,7 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct { sort *string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -11761,6 +10438,7 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } func (r ApiDcimConsoleServerPortTemplatesListRequest) Contacts(contacts []string) ApiDcimConsoleServerPortTemplatesListRequest { @@ -11774,8 +10452,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 +10562,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 +10590,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 +10815,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 +10896,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 +10957,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 +11158,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 +11188,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 +11199,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 +11559,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_ @@ -13228,301 +11729,11 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons 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 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 + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13732,6 +11943,7 @@ type ApiDcimConsoleServerPortTemplatesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimConsoleServerPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesRetrieveRequest { @@ -13745,6 +11957,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) } @@ -13797,6 +12015,12 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesRetrieveExecute(r ApiDcim var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14647,7 +12871,7 @@ type ApiDcimConsoleServerPortsListRequest struct { connected *bool contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -14664,23 +12888,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 +12935,7 @@ type ApiDcimConsoleServerPortsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -14739,6 +12951,7 @@ type ApiDcimConsoleServerPortsListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } // Cable @@ -14775,8 +12988,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 +13073,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 +13095,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 +13316,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 +13327,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 +13398,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 +13487,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 +13674,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 +13701,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 +13712,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 +14119,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_ @@ -16254,6 +14289,12 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -16467,6 +14508,7 @@ type ApiDcimConsoleServerPortsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimConsoleServerPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortsNotesListRequest { @@ -16492,6 +14534,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) } @@ -16550,6 +14598,12 @@ func (a *DcimAPIService) DcimConsoleServerPortsNotesListExecute(r ApiDcimConsole var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -16758,6 +14812,7 @@ type ApiDcimConsoleServerPortsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimConsoleServerPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortsRetrieveRequest { @@ -16771,6 +14826,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) } @@ -16823,6 +14884,12 @@ func (a *DcimAPIService) DcimConsoleServerPortsRetrieveExecute(r ApiDcimConsoleS var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -16897,6 +14964,7 @@ type ApiDcimConsoleServerPortsTraceRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimConsoleServerPortsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortsTraceRetrieveRequest { @@ -16910,6 +14978,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) } @@ -16962,6 +15036,12 @@ func (a *DcimAPIService) DcimConsoleServerPortsTraceRetrieveExecute(r ApiDcimCon var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17806,9 +15886,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 +15899,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 +15947,8 @@ type ApiDcimControllerManagedDeviceGroupsListRequest struct { parentIsnull *bool parentN *[]string q *string + radioProfiles *[]string + radioProfilesN *[]string sort *string subtree *[]string tags *[]string @@ -17869,14 +15956,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 +15995,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 +16045,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 +16292,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 +16339,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 +16424,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 +16486,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 +16512,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 +16613,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 +17077,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 +17153,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,12 +17304,40 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -19163,6 +17551,7 @@ type ApiDcimControllerManagedDeviceGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimControllerManagedDeviceGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllerManagedDeviceGroupsNotesListRequest { @@ -19188,6 +17577,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) } @@ -19246,6 +17641,12 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsNotesListExecute(r Api var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -19454,6 +17855,7 @@ type ApiDcimControllerManagedDeviceGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimControllerManagedDeviceGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllerManagedDeviceGroupsRetrieveRequest { @@ -19467,6 +17869,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) } @@ -19519,6 +17927,12 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsRetrieveExecute(r ApiD var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20363,9 +18777,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 +18809,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 +18847,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 +18866,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 +18889,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 +19036,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 +19068,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 +19233,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 +19249,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 +19280,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 +19335,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 +19397,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 +19423,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 +19718,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 +19767,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 +19778,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 +20072,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 +20097,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 +20147,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,12 +20232,40 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22169,6 +20479,7 @@ type ApiDcimControllersNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimControllersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllersNotesListRequest { @@ -22194,6 +20505,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) } @@ -22252,6 +20569,12 @@ func (a *DcimAPIService) DcimControllersNotesListExecute(r ApiDcimControllersNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22460,6 +20783,7 @@ type ApiDcimControllersRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimControllersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllersRetrieveRequest { @@ -22473,6 +20797,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) } @@ -22525,6 +20855,12 @@ func (a *DcimAPIService) DcimControllersRetrieveExecute(r ApiDcimControllersRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -23371,7 +21707,7 @@ type ApiDcimDeviceBayTemplatesListRequest struct { ApiService *DcimAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -23389,22 +21725,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 +21763,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 +21779,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 +21883,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 +21899,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 +22108,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 +22119,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 +22180,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 +22378,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 + 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 { @@ -24196,83 +22413,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,310 +22748,28 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25120,6 +22978,7 @@ type ApiDcimDeviceBayTemplatesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceBayTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBayTemplatesRetrieveRequest { @@ -25133,6 +22992,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) } @@ -25185,6 +23050,12 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesRetrieveExecute(r ApiDcimDeviceBa var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -26031,7 +23902,7 @@ type ApiDcimDeviceBaysListRequest struct { ApiService *DcimAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -26049,22 +23920,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 +23966,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 +23982,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 +24072,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 +24088,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 +24309,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 +24320,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 +24381,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 +24579,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 +24614,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,7 +25021,15 @@ 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", "") @@ -27342,6 +25037,12 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27555,6 +25256,7 @@ type ApiDcimDeviceBaysNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceBaysNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBaysNotesListRequest { @@ -27580,6 +25282,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) } @@ -27638,6 +25346,12 @@ func (a *DcimAPIService) DcimDeviceBaysNotesListExecute(r ApiDcimDeviceBaysNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27846,6 +25560,7 @@ type ApiDcimDeviceBaysRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceBaysRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBaysRetrieveRequest { @@ -27859,6 +25574,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) } @@ -27911,6 +25632,12 @@ func (a *DcimAPIService) DcimDeviceBaysRetrieveExecute(r ApiDcimDeviceBaysRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -28757,7 +26484,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 +26510,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 +26545,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 +26561,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 +26692,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 +26714,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 +26874,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 +26885,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 +26946,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 +27216,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 +27243,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 +27254,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,7 +27529,15 @@ 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", "") @@ -29994,6 +27545,12 @@ func (a *DcimAPIService) DcimDeviceFamiliesListExecute(r ApiDcimDeviceFamiliesLi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30207,6 +27764,7 @@ type ApiDcimDeviceFamiliesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceFamiliesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceFamiliesNotesListRequest { @@ -30232,6 +27790,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) } @@ -30290,6 +27854,12 @@ func (a *DcimAPIService) DcimDeviceFamiliesNotesListExecute(r ApiDcimDeviceFamil var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30498,6 +28068,7 @@ type ApiDcimDeviceFamiliesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceFamiliesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceFamiliesRetrieveRequest { @@ -30511,6 +28082,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) } @@ -30563,6 +28140,12 @@ func (a *DcimAPIService) DcimDeviceFamiliesRetrieveExecute(r ApiDcimDeviceFamili var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -31409,7 +28992,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 +29001,7 @@ type ApiDcimDeviceRedundancyGroupsListRequest struct { createdLte *[]time.Time createdN *[]time.Time dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string failoverStrategy *[]string failoverStrategyIc *[]string failoverStrategyIe *[]string @@ -31435,19 +29018,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 +29048,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 +29070,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 +29115,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 +29201,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 +29356,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 +29387,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 +29398,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 +29459,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 +29550,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 +29728,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 +29739,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 +30011,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,7 +30061,15 @@ 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", "") @@ -32663,6 +30077,12 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -32876,6 +30296,7 @@ type ApiDcimDeviceRedundancyGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceRedundancyGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceRedundancyGroupsNotesListRequest { @@ -32901,6 +30322,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) } @@ -32959,6 +30386,12 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsNotesListExecute(r ApiDcimDev var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33167,6 +30600,7 @@ type ApiDcimDeviceRedundancyGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceRedundancyGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceRedundancyGroupsRetrieveRequest { @@ -33180,6 +30614,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) } @@ -33232,6 +30672,12 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsRetrieveExecute(r ApiDcimDevi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33499,7 +30945,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 +31069,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 +31202,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 +31335,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 +31546,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 +31565,7 @@ type ApiDcimDeviceTypesListRequest struct { devicesIsnull *bool devicesN *[]string dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string format *CircuitsCircuitTerminationsListFormatParameter frontPortTemplates *[]string frontPortTemplatesIsnull *bool @@ -34136,19 +31582,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 +31665,7 @@ type ApiDcimDeviceTypesListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string uHeight *[]int32 uHeightGt *[]int32 uHeightGte *[]int32 @@ -34239,6 +31673,7 @@ type ApiDcimDeviceTypesListRequest struct { uHeightLte *[]int32 uHeightN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceTypesListRequest) Comments(comments []string) ApiDcimDeviceTypesListRequest { @@ -34366,8 +31801,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 +31899,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 +31997,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 +32360,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 +32426,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 +32467,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 +32738,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 +32907,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 +32989,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 +33000,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 +33767,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 @@ -36580,6 +33849,12 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -36716,7 +33991,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 +34068,7 @@ type ApiDcimDeviceTypesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceTypesNotesListRequest { @@ -36818,6 +34094,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) } @@ -36876,6 +34158,12 @@ func (a *DcimAPIService) DcimDeviceTypesNotesListExecute(r ApiDcimDeviceTypesNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -37009,7 +34297,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 +34372,7 @@ type ApiDcimDeviceTypesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceTypesRetrieveRequest { @@ -37097,6 +34386,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) } @@ -37149,6 +34444,12 @@ func (a *DcimAPIService) DcimDeviceTypesRetrieveExecute(r ApiDcimDeviceTypesRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -37867,19 +35168,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 +35183,7 @@ type ApiDcimDeviceTypesToSoftwareImageFilesListRequest struct { softwareImageFileN *[]string sort *string depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) Created(created []time.Time) ApiDcimDeviceTypesToSoftwareImageFilesListRequest { @@ -37952,71 +35242,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 +35322,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 +35473,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 +35484,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 { @@ -38489,6 +35593,12 @@ func (a *DcimAPIService) DcimDeviceTypesToSoftwareImageFilesListExecute(r ApiDci var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -38697,6 +35807,7 @@ type ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest { @@ -38710,6 +35821,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) } @@ -38762,6 +35879,12 @@ func (a *DcimAPIService) DcimDeviceTypesToSoftwareImageFilesRetrieveExecute(r Ap var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -39035,7 +36158,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 +36892,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 +36924,7 @@ type ApiDcimDevicesListRequest struct { deviceType *[]string deviceTypeN *[]string dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string face *[]string faceIc *[]string faceIe *[]string @@ -39824,31 +36949,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 +37043,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 +37074,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 +37108,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 +37248,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 +37414,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 +37546,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 +37582,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 +37606,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 +37623,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 +37639,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 +38062,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 +38093,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 +38119,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 +38221,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 +38252,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 +38399,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 +38708,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 +39012,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 +39222,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 +39240,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 +39252,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 +39266,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 +39277,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 +39302,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 +40024,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 +40083,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 +40129,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 +40334,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 +40384,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,12 +40635,40 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -43406,6 +40744,7 @@ type ApiDcimDevicesNapalmRetrieveRequest struct { method *string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDevicesNapalmRetrieveRequest) Method(method string) ApiDcimDevicesNapalmRetrieveRequest { @@ -43424,6 +40763,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) } @@ -43480,6 +40825,12 @@ func (a *DcimAPIService) DcimDevicesNapalmRetrieveExecute(r ApiDcimDevicesNapalm var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -43693,6 +41044,7 @@ type ApiDcimDevicesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimDevicesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDevicesNotesListRequest { @@ -43718,6 +41070,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) } @@ -43776,6 +41134,12 @@ func (a *DcimAPIService) DcimDevicesNotesListExecute(r ApiDcimDevicesNotesListRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -43984,6 +41348,7 @@ type ApiDcimDevicesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimDevicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDevicesRetrieveRequest { @@ -43997,6 +41362,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) } @@ -44049,6 +41420,12 @@ func (a *DcimAPIService) DcimDevicesRetrieveExecute(r ApiDcimDevicesRetrieveRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -44895,7 +42272,7 @@ type ApiDcimFrontPortTemplatesListRequest struct { ApiService *DcimAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -44914,24 +42291,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 +42342,7 @@ type ApiDcimFrontPortTemplatesListRequest struct { sort *string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -44993,6 +42358,7 @@ type ApiDcimFrontPortTemplatesListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } func (r ApiDcimFrontPortTemplatesListRequest) Contacts(contacts []string) ApiDcimFrontPortTemplatesListRequest { @@ -45006,8 +42372,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 +42482,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 +42510,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 +42777,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 +42858,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 +42919,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 +43120,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 +43150,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 +43161,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 +43609,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_ @@ -46590,6 +43779,12 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -46658,39 +43853,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 +43893,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 +43935,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 +43987,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 +44035,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,18 +44059,18 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -46954,39 +44139,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 +44180,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 +44199,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 +44224,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 +44276,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 +44347,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 +44372,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 +44392,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 +44479,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 +44531,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 +44587,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 +44604,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 +44612,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 +44629,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 +44649,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 +44720,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 +44920,7 @@ type ApiDcimFrontPortsListRequest struct { cableN *[]string contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -48025,23 +44937,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 +44992,7 @@ type ApiDcimFrontPortsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -48108,6 +45008,7 @@ type ApiDcimFrontPortsListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } // Cable @@ -48138,8 +45039,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 +45124,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 +45146,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 +45407,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 +45488,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 +45574,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 +45761,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 +45788,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 +45799,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 +46294,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_ @@ -49728,6 +46464,12 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -49941,6 +46683,7 @@ type ApiDcimFrontPortsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimFrontPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsNotesListRequest { @@ -49966,6 +46709,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) } @@ -50024,6 +46773,12 @@ func (a *DcimAPIService) DcimFrontPortsNotesListExecute(r ApiDcimFrontPortsNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -50234,6 +46989,7 @@ type ApiDcimFrontPortsPathsListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimFrontPortsPathsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsPathsListRequest { @@ -50259,6 +47015,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) } @@ -50317,6 +47079,12 @@ func (a *DcimAPIService) DcimFrontPortsPathsListExecute(r ApiDcimFrontPortsPaths var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -50391,6 +47159,7 @@ type ApiDcimFrontPortsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimFrontPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsRetrieveRequest { @@ -50404,6 +47173,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) } @@ -50456,6 +47231,12 @@ func (a *DcimAPIService) DcimFrontPortsRetrieveExecute(r ApiDcimFrontPortsRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -50666,34 +47447,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 +47477,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 +47499,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 +47515,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 +47555,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 +47566,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 +47627,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 +47671,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 +47706,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,7 +47733,15 @@ 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", "") @@ -51144,6 +47749,12 @@ func (a *DcimAPIService) DcimInterfaceConnectionsListExecute(r ApiDcimInterfaceC var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -51853,19 +48464,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 +48480,7 @@ type ApiDcimInterfaceRedundancyGroupAssociationsListRequest struct { q *string sort *string depth *int32 + excludeM2m *bool } func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupAssociationsListRequest { @@ -51894,71 +48494,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 +48579,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 +48639,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 +48650,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 { @@ -52364,6 +48778,12 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsListExecute(r A var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -52577,6 +48997,7 @@ type ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest { @@ -52602,6 +49023,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) } @@ -52660,6 +49087,12 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsNotesListExecut var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -52868,6 +49301,7 @@ type ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest { @@ -52881,6 +49315,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) } @@ -52933,6 +49373,12 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsRetrieveExecute var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -53779,7 +50225,7 @@ type ApiDcimInterfaceRedundancyGroupsListRequest struct { ApiService *DcimAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -53795,22 +50241,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 +50299,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 +50316,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 +50396,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 +50412,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 +50692,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 +50709,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 +50770,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 +50946,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 +50981,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 +51520,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 @@ -55277,6 +51547,12 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsListExecute(r ApiDcimInter var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55490,6 +51766,7 @@ type ApiDcimInterfaceRedundancyGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimInterfaceRedundancyGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupsNotesListRequest { @@ -55515,6 +51792,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) } @@ -55573,6 +51856,12 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsNotesListExecute(r ApiDcim var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55781,6 +52070,7 @@ type ApiDcimInterfaceRedundancyGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimInterfaceRedundancyGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupsRetrieveRequest { @@ -55794,6 +52084,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) } @@ -55846,6 +52142,12 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsRetrieveExecute(r ApiDcimI var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -56692,7 +52994,7 @@ type ApiDcimInterfaceTemplatesListRequest struct { ApiService *DcimAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -56711,24 +53013,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 +53057,7 @@ type ApiDcimInterfaceTemplatesListRequest struct { sort *string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -56783,6 +53073,7 @@ type ApiDcimInterfaceTemplatesListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } func (r ApiDcimInterfaceTemplatesListRequest) Contacts(contacts []string) ApiDcimInterfaceTemplatesListRequest { @@ -56796,8 +53087,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 +53197,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 +53225,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 +53455,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 +53536,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 +53597,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 +53798,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 +53828,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 +53839,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 +54202,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_ @@ -58258,6 +54372,12 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -58326,39 +54446,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 +54486,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 +54528,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 +54580,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 +54628,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,18 +54652,18 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -58622,39 +54732,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 +54773,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 +54792,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 +54817,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 +54869,1186 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +56056,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) @@ -58827,6 +56086,12 @@ func (a *DcimAPIService) DcimInterfaceTemplatesRetrieveExecute(r ApiDcimInterfac var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -58895,39 +56160,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 +56200,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 +56245,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 +56951,7 @@ type ApiDcimInterfacesListRequest struct { connected *bool contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -59705,31 +56970,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 +57070,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 +57081,7 @@ type ApiDcimInterfacesListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -59843,9 +57099,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 +57190,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 +57287,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,7 +57320,13 @@ func (r ApiDcimInterfacesListRequest) HasChildInterfaces(hasChildInterfaces bool return r } -// Has member interfaces +// 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 return r @@ -60074,34 +57338,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 +// Has Virtual Device Context +func (r ApiDcimInterfacesListRequest) HasVirtualDeviceContexts(hasVirtualDeviceContexts bool) ApiDcimInterfacesListRequest { + r.hasVirtualDeviceContexts = &hasVirtualDeviceContexts return r } -func (r ApiDcimInterfacesListRequest) IdIc(idIc []string) ApiDcimInterfacesListRequest { - r.idIc = &idIc - return r -} - -func (r ApiDcimInterfacesListRequest) IdIe(idIe []string) ApiDcimInterfacesListRequest { - r.idIe = &idIe - 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 +57355,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 +57370,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 +57805,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 +57821,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 +57862,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 +57953,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 +57987,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 +58151,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 +58352,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 +58377,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 +58400,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 +58411,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 +58436,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 +59284,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 +59309,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 +59381,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 +59570,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", "") } @@ -62422,6 +59607,12 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -62635,6 +59826,7 @@ type ApiDcimInterfacesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimInterfacesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfacesNotesListRequest { @@ -62660,6 +59852,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) } @@ -62718,6 +59916,12 @@ func (a *DcimAPIService) DcimInterfacesNotesListExecute(r ApiDcimInterfacesNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -62926,6 +60130,7 @@ type ApiDcimInterfacesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimInterfacesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfacesRetrieveRequest { @@ -62939,6 +60144,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) } @@ -62991,6 +60202,12 @@ func (a *DcimAPIService) DcimInterfacesRetrieveExecute(r ApiDcimInterfacesRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63065,6 +60282,7 @@ type ApiDcimInterfacesTraceRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimInterfacesTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfacesTraceRetrieveRequest { @@ -63078,6 +60296,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) } @@ -63130,6 +60354,12 @@ func (a *DcimAPIService) DcimInterfacesTraceRetrieveExecute(r ApiDcimInterfacesT var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63994,7 +61224,7 @@ type ApiDcimInventoryItemsListRequest struct { childrenN *[]string contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -64013,25 +61243,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 +61304,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 +61328,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 +61435,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 +61530,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 +61564,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 +61844,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 +61967,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 +61978,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 +62221,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 +62422,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 +62455,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 +62466,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 +63020,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,7 +63253,15 @@ 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", "") @@ -65994,6 +63269,12 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66207,6 +63488,7 @@ type ApiDcimInventoryItemsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimInventoryItemsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInventoryItemsNotesListRequest { @@ -66232,6 +63514,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) } @@ -66290,6 +63578,12 @@ func (a *DcimAPIService) DcimInventoryItemsNotesListExecute(r ApiDcimInventoryIt var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66498,6 +63792,7 @@ type ApiDcimInventoryItemsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimInventoryItemsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInventoryItemsRetrieveRequest { @@ -66511,6 +63806,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) } @@ -66563,6 +63864,12 @@ func (a *DcimAPIService) DcimInventoryItemsRetrieveExecute(r ApiDcimInventoryIte var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -67409,21 +64716,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 +64741,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 +64776,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 +64792,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 +64802,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 +64917,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 +64933,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 +65099,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 +65110,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 +65171,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 +65203,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 +65438,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 +65473,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,7 +65751,15 @@ 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", "") @@ -68840,6 +65767,12 @@ func (a *DcimAPIService) DcimLocationTypesListExecute(r ApiDcimLocationTypesList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -69053,6 +65986,7 @@ type ApiDcimLocationTypesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimLocationTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationTypesNotesListRequest { @@ -69078,6 +66012,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) } @@ -69136,6 +66076,12 @@ func (a *DcimAPIService) DcimLocationTypesNotesListExecute(r ApiDcimLocationType var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -69344,6 +66290,7 @@ type ApiDcimLocationTypesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimLocationTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationTypesRetrieveRequest { @@ -69357,6 +66304,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) } @@ -69409,6 +66362,12 @@ func (a *DcimAPIService) DcimLocationTypesRetrieveExecute(r ApiDcimLocationTypes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -70325,21 +67284,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 +67312,7 @@ type ApiDcimLocationsListRequest struct { devicesIsnull *bool devicesN *[]string dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string facility *[]string facilityIc *[]string facilityIe *[]string @@ -70391,19 +67338,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 +67424,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 +67442,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 +67462,7 @@ type ApiDcimLocationsListRequest struct { vlansIsnull *bool vlansN *[]string depth *int32 + excludeM2m *bool } func (r ApiDcimLocationsListRequest) Asn(asn []int32) ApiDcimLocationsListRequest { @@ -70891,8 +67827,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 +67838,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 +67970,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 +68110,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 +68548,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 +68584,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 +68645,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 +68761,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 +69568,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 +69600,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 +69860,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 +70065,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 +70076,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 +70916,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 +70977,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 @@ -74698,6 +71272,12 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -74911,6 +71491,7 @@ type ApiDcimLocationsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimLocationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsNotesListRequest { @@ -74936,6 +71517,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) } @@ -74994,278 +71581,11 @@ func (a *DcimAPIService) DcimLocationsNotesListExecute(r ApiDcimLocationsNotesLi 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 - } - - 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 + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -75335,39 +71655,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 +71696,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 +71715,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 +71737,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 +71789,92 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +71883,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 +71906,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 +71926,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 +72026,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 +72078,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 +72132,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 +72149,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 +72157,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 +72174,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 +72194,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 +72256,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 +72719,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 +72745,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 +72785,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 +72801,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 +72932,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 +72966,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 +73143,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 +73154,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 +73215,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 +73485,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 +73518,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 +73529,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,7 +73829,15 @@ 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", "") @@ -77415,6 +73845,12 @@ func (a *DcimAPIService) DcimManufacturersListExecute(r ApiDcimManufacturersList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -77628,6 +74064,7 @@ type ApiDcimManufacturersNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimManufacturersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersNotesListRequest { @@ -77653,6 +74090,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) } @@ -77711,6 +74154,12 @@ func (a *DcimAPIService) DcimManufacturersNotesListExecute(r ApiDcimManufacturer var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -77919,6 +74368,7 @@ type ApiDcimManufacturersRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimManufacturersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersRetrieveRequest { @@ -77932,6 +74382,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) } @@ -77984,6 +74440,12 @@ func (a *DcimAPIService) DcimManufacturersRetrieveExecute(r ApiDcimManufacturers var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -78830,7 +75292,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 +75318,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 +75346,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 +75382,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 +75402,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 +75547,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 +75575,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 +75706,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 +75904,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 +75927,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 +75938,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 +75999,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 +76269,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 +76299,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 +76310,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 +76536,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 +76900,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,310 +76921,28 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -81113,6 +77151,7 @@ type ApiDcimModuleBayTemplatesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimModuleBayTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBayTemplatesRetrieveRequest { @@ -81126,6 +77165,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) } @@ -81178,6 +77223,12 @@ func (a *DcimAPIService) DcimModuleBayTemplatesRetrieveExecute(r ApiDcimModuleBa var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -82024,7 +78075,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 +78098,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 +78130,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 +78169,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 +78192,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 +78307,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 +78341,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 +78475,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 +78677,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 +78715,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 +78726,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 +78787,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 +79032,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 +79065,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 +79076,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 +79327,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 +79716,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,7 +79762,15 @@ 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", "") @@ -83849,6 +79778,12 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -84062,6 +79997,7 @@ type ApiDcimModuleBaysNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiDcimModuleBaysNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBaysNotesListRequest { @@ -84087,6 +80023,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) } @@ -84145,6 +80087,12 @@ func (a *DcimAPIService) DcimModuleBaysNotesListExecute(r ApiDcimModuleBaysNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -84353,6 +80301,7 @@ type ApiDcimModuleBaysRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiDcimModuleBaysRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBaysRetrieveRequest { @@ -84366,6 +80315,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) } @@ -84418,6 +80373,12 @@ func (a *DcimAPIService) DcimModuleBaysRetrieveExecute(r ApiDcimModuleBaysRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -84623,56 +80584,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 +80706,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 +80787,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 +80839,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 +80920,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 +80972,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 +81053,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 +81105,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 +81139,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 +81220,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 +81233,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 +81260,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 +81686,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 +81765,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 +82038,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,7 +82277,15 @@ 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", "") @@ -87160,6 +82293,12 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -87228,7 +82367,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 +82375,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 +82408,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 +82416,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 +82504,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 +82512,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 +82567,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 +82575,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) @@ -87456,6 +82602,12 @@ func (a *DcimAPIService) DcimModuleTypesNotesListExecute(r ApiDcimModuleTypesNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -87524,39 +82676,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 +82716,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 +82758,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 +82810,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 +82858,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) @@ -87729,6 +82888,12 @@ func (a *DcimAPIService) DcimModuleTypesRetrieveExecute(r ApiDcimModuleTypesRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -87797,39 +82962,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 +83002,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 +83047,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 +83099,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 +83221,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 +83302,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 +83354,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 +83435,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 +83487,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 +83568,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 +83620,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 +83654,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 +83735,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 +83769,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 +83797,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 +84718,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 +84797,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 +84885,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 +84896,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 +84993,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,81 +85497,14 @@ 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 { @@ -90865,6 +85513,12 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -90933,7 +85587,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 +85595,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 +85628,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 +85636,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 +85724,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 +85732,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 +85787,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 +85795,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) @@ -91161,6 +85822,12 @@ func (a *DcimAPIService) DcimModulesNotesListExecute(r ApiDcimModulesNotesListRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -91229,39 +85896,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 +85936,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 +85978,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 +86030,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 +86078,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) @@ -91434,6 +86108,12 @@ func (a *DcimAPIService) DcimModulesRetrieveExecute(r ApiDcimModulesRetrieveRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -91502,39 +86182,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 +86222,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 +86267,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 +86319,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 +86441,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 +86522,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 +86574,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 +86655,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 +86707,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 +86788,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 +86840,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 +86874,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 +86955,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 +86990,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 +87021,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 +} + +// Has empty module bays +func (r ApiDcimModulesListRequest) HasEmptyModuleBays(hasEmptyModuleBays bool) ApiDcimModulesListRequest { + r.hasEmptyModuleBays = &hasEmptyModuleBays return r } -func (r ApiDcimPlatformsListRequest) IdIc(idIc []string) ApiDcimPlatformsListRequest { - r.idIc = &idIc +// Has front ports +func (r ApiDcimModulesListRequest) HasFrontPorts(hasFrontPorts bool) ApiDcimModulesListRequest { + r.hasFrontPorts = &hasFrontPorts return r } -func (r ApiDcimPlatformsListRequest) IdIe(idIe []string) ApiDcimPlatformsListRequest { - r.idIe = &idIe +// Has interfaces +func (r ApiDcimModulesListRequest) HasInterfaces(hasInterfaces bool) ApiDcimModulesListRequest { + r.hasInterfaces = &hasInterfaces return r } -func (r ApiDcimPlatformsListRequest) IdIew(idIew []string) ApiDcimPlatformsListRequest { - r.idIew = &idIew +// Has module bays +func (r ApiDcimModulesListRequest) HasModuleBays(hasModuleBays bool) ApiDcimModulesListRequest { + r.hasModuleBays = &hasModuleBays return r } -func (r ApiDcimPlatformsListRequest) IdIre(idIre []string) ApiDcimPlatformsListRequest { - r.idIre = &idIre +// Has modules +func (r ApiDcimModulesListRequest) HasModules(hasModules bool) ApiDcimModulesListRequest { + r.hasModules = &hasModules return r } -func (r ApiDcimPlatformsListRequest) IdIsw(idIsw []string) ApiDcimPlatformsListRequest { - r.idIsw = &idIsw +// Has power outlets +func (r ApiDcimModulesListRequest) HasPowerOutlets(hasPowerOutlets bool) ApiDcimModulesListRequest { + r.hasPowerOutlets = &hasPowerOutlets return r } -func (r ApiDcimPlatformsListRequest) IdN(idN []string) ApiDcimPlatformsListRequest { - r.idN = &idN +// 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 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.consoleServerPortsIsnull != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__isnull", r.consoleServerPortsIsnull, "form", "") } - if r.descriptionNisw != nil { - t := *r.descriptionNisw + 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__nisw", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__n", t, "form", "multi") } } - if r.descriptionNre != nil { - t := *r.descriptionNre + 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__nre", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi") } } - if r.descriptionRe != nil { - t := *r.descriptionRe + 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, "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 +88424,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,31 +89050,89 @@ 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 { @@ -94063,6 +89141,12 @@ func (a *DcimAPIService) DcimPlatformsListExecute(r ApiDcimPlatformsListRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -94131,7 +89215,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 +89223,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 +89256,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 +89264,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 +89352,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 +89360,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 +89415,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 +89423,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) @@ -94359,6 +89450,12 @@ func (a *DcimAPIService) DcimPlatformsNotesListExecute(r ApiDcimPlatformsNotesLi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -94427,39 +89524,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 +89564,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 +89606,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 +89658,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 +89706,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) @@ -94632,6 +89736,12 @@ func (a *DcimAPIService) DcimPlatformsRetrieveExecute(r ApiDcimPlatformsRetrieve var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -94700,39 +89810,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 +89850,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 +89895,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,864 +89947,75 @@ 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 +func (r ApiDcimPlatformsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPlatformsBulkDestroyRequest { + r.bulkOperationRequest = &bulkOperationRequest return r } -// Contacts (name or ID) is null -func (r ApiDcimPowerConnectionsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerConnectionsListRequest { - r.contactsIsnull = &contactsIsnull +func (r ApiDcimPlatformsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsBulkDestroyRequest { + r.format = &format return r } -// Exclude Contacts (name or ID) -func (r ApiDcimPowerConnectionsListRequest) ContactsN(contactsN string) ApiDcimPowerConnectionsListRequest { - r.contactsN = &contactsN - return r +func (r ApiDcimPlatformsBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.DcimPlatformsBulkDestroyExecute(r) } -// Device (name) -func (r ApiDcimPowerConnectionsListRequest) Device(device []string) ApiDcimPowerConnectionsListRequest { - r.device = &device - return r -} +/* +DcimPlatformsBulkDestroy Method for DcimPlatformsBulkDestroy -// Device (ID) -func (r ApiDcimPowerConnectionsListRequest) DeviceId(deviceId []string) ApiDcimPowerConnectionsListRequest { - r.deviceId = &deviceId - return r -} +Destroy a list of platform objects. -func (r ApiDcimPowerConnectionsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerConnectionsListRequest { - r.dynamicGroups = &dynamicGroups - 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, + } } -// Exclude Dynamic groups (name or ID) -func (r ApiDcimPowerConnectionsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerConnectionsListRequest { - r.dynamicGroupsN = &dynamicGroupsN - 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) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerConnectionsListRequest { - r.format = &format - return r -} + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsBulkDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } -// Unique object identifier, either a UUID primary key or a composite key. -func (r ApiDcimPowerConnectionsListRequest) Id(id []string) ApiDcimPowerConnectionsListRequest { - r.id = &id - return r -} + localVarPath := localBasePath + "/dcim/platforms/" -func (r ApiDcimPowerConnectionsListRequest) IdIc(idIc []string) ApiDcimPowerConnectionsListRequest { - r.idIc = &idIc - 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) IdIe(idIe []string) ApiDcimPowerConnectionsListRequest { - r.idIe = &idIe - 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) IdIew(idIew []string) ApiDcimPowerConnectionsListRequest { - r.idIew = &idIew - return r -} - -func (r ApiDcimPowerConnectionsListRequest) IdIre(idIre []string) ApiDcimPowerConnectionsListRequest { - r.idIre = &idIre - return r -} - -func (r ApiDcimPowerConnectionsListRequest) IdIsw(idIsw []string) ApiDcimPowerConnectionsListRequest { - r.idIsw = &idIsw - return r -} - -func (r ApiDcimPowerConnectionsListRequest) IdN(idN []string) ApiDcimPowerConnectionsListRequest { - r.idN = &idN - return r -} - -func (r ApiDcimPowerConnectionsListRequest) IdNic(idNic []string) ApiDcimPowerConnectionsListRequest { - r.idNic = &idNic - return r -} - -func (r ApiDcimPowerConnectionsListRequest) IdNie(idNie []string) ApiDcimPowerConnectionsListRequest { - r.idNie = &idNie - return r -} - -func (r ApiDcimPowerConnectionsListRequest) IdNiew(idNiew []string) ApiDcimPowerConnectionsListRequest { - r.idNiew = &idNiew - return r -} - -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 - } + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } // to determine the Accept header localVarHTTPHeaderAccepts := []string{} @@ -95748,64 +90069,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 +90150,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 +90202,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 +90283,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 +90335,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 +90416,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 +90468,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 +90502,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 +90583,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 +90596,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 +90628,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 +90645,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 - return r -} - -// Cable -func (r ApiDcimPowerFeedsListRequest) CableN(cableN []string) ApiDcimPowerFeedsListRequest { - r.cableN = &cableN - return r -} - -func (r ApiDcimPowerFeedsListRequest) Comments(comments []string) ApiDcimPowerFeedsListRequest { - r.comments = &comments - return r -} - -func (r ApiDcimPowerFeedsListRequest) CommentsIc(commentsIc []string) ApiDcimPowerFeedsListRequest { - r.commentsIc = &commentsIc - return r -} - -func (r ApiDcimPowerFeedsListRequest) CommentsIe(commentsIe []string) ApiDcimPowerFeedsListRequest { - r.commentsIe = &commentsIe - 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 +func (r ApiDcimPlatformsListRequest) DescriptionIew(descriptionIew []string) ApiDcimPlatformsListRequest { + r.descriptionIew = &descriptionIew return r } -func (r ApiDcimPowerFeedsListRequest) CommentsNre(commentsNre []string) ApiDcimPowerFeedsListRequest { - r.commentsNre = &commentsNre +func (r ApiDcimPlatformsListRequest) DescriptionIre(descriptionIre []string) ApiDcimPlatformsListRequest { + r.descriptionIre = &descriptionIre return r } -func (r ApiDcimPowerFeedsListRequest) CommentsRe(commentsRe []string) ApiDcimPowerFeedsListRequest { - r.commentsRe = &commentsRe +func (r ApiDcimPlatformsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPlatformsListRequest { + r.descriptionIsw = &descriptionIsw return r } -// Connected status (bool) -func (r ApiDcimPowerFeedsListRequest) Connected(connected bool) ApiDcimPowerFeedsListRequest { - r.connected = &connected +func (r ApiDcimPlatformsListRequest) DescriptionN(descriptionN []string) ApiDcimPlatformsListRequest { + r.descriptionN = &descriptionN return r } -func (r ApiDcimPowerFeedsListRequest) Contacts(contacts []string) ApiDcimPowerFeedsListRequest { - r.contacts = &contacts +func (r ApiDcimPlatformsListRequest) DescriptionNic(descriptionNic []string) ApiDcimPlatformsListRequest { + r.descriptionNic = &descriptionNic 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 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.contactsIsnull != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "") } - if r.amperageGte != nil { - t := *r.amperageGte + 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__gte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi") } } - if r.amperageLt != nil { - t := *r.amperageLt + 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__lt", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lt", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi") } } - if r.amperageLte != nil { - t := *r.amperageLte + 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__lte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi") } } - if r.amperageN != nil { - t := *r.amperageN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi") } } - if r.availablePower != nil { - t := *r.availablePower + 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, "available_power", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "available_power", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi") } } - if r.availablePowerGt != nil { - t := *r.availablePowerGt + 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__gt", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gt", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi") } } - if r.availablePowerGte != nil { - t := *r.availablePowerGte + 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__gte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi") } } - if r.availablePowerLt != nil { - t := *r.availablePowerLt + 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__lt", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lt", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi") } } - if r.availablePowerLte != nil { - t := *r.availablePowerLte + 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__lte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi") } } - if r.availablePowerN != nil { - t := *r.availablePowerN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi") } } - if r.cable != nil { - t := *r.cable + 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, "cable", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi") } } - if r.cableIsnull != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "") - } - if r.cableN != nil { - t := *r.cableN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi") } } - if r.comments != nil { - t := *r.comments + 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, "comments", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi") } } - if r.commentsIc != nil { - t := *r.commentsIc + 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__ic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi") } } - if r.commentsIe != nil { - t := *r.commentsIe + 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__ie", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi") } } - if r.commentsIew != nil { - t := *r.commentsIew + 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__iew", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi") } } - if r.commentsIre != nil { - t := *r.commentsIre + 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__ire", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi") } } - if r.commentsIsw != nil { - t := *r.commentsIsw + 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__isw", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi") } } - if r.commentsN != nil { - t := *r.commentsN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi") } } - if r.commentsNic != nil { - t := *r.commentsNic + 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__nic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi") } } - if r.commentsNie != nil { - t := *r.commentsNie + 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__nie", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi") } } - if r.commentsNiew != nil { - t := *r.commentsNiew + 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__niew", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi") } } - if r.commentsNire != nil { - t := *r.commentsNire + 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__nire", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi") } } - if r.commentsNisw != nil { - t := *r.commentsNisw + 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__nisw", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi") } } - if r.commentsNre != nil { - t := *r.commentsNre + 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__nre", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi") } } - if r.commentsRe != nil { - t := *r.commentsRe + 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__re", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi") } } - if r.connected != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "connected", r.connected, "form", "") - } - if r.contacts != nil { - t := *r.contacts + 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, "contacts", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", 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.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, "created", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi") } } - if r.createdGt != nil { - t := *r.createdGt + 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__gt", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi") } } - if r.createdGte != nil { - t := *r.createdGte + 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__gte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi") } } - if r.createdIsnull != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "") + if r.lastUpdatedIsnull != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "") } - if r.createdLt != nil { - t := *r.createdLt + 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__lt", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi") } } - if r.createdLte != nil { - t := *r.createdLte + 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__lte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi") } } - if r.createdN != nil { - t := *r.createdN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi") } } - if r.dynamicGroups != nil { - t := *r.dynamicGroups + 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, "dynamic_groups", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", 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.manufacturerIsnull != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__isnull", r.manufacturerIsnull, "form", "") } - if r.id != nil { - t := *r.id + 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, "id", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "form", "multi") } } - if r.idIc != nil { - t := *r.idIc + 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__ic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi") } } - if r.idIe != nil { - t := *r.idIe + 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__ie", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi") } } - if r.idIew != nil { - t := *r.idIew + 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__iew", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi") } } - if r.idIre != nil { - t := *r.idIre + 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__ire", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi") } } - if r.idIsw != nil { - t := *r.idIsw + 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__isw", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi") } } - if r.idN != nil { - t := *r.idN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi") } } - if r.idNic != nil { - t := *r.idNic + 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__nic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", 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.lastUpdated != nil { - t := *r.lastUpdated + 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, "last_updated", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi") } } - if r.lastUpdatedGt != nil { - t := *r.lastUpdatedGt + 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__gt", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_args", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_args", t, "form", "multi") } } - if r.lastUpdatedGte != nil { - t := *r.lastUpdatedGte + 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__gte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver", t, "form", "multi") } } - if r.lastUpdatedIsnull != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "") - } - if r.lastUpdatedLt != nil { - t := *r.lastUpdatedLt + 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__lt", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ic", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ic", t, "form", "multi") } } - if r.lastUpdatedLte != nil { - t := *r.lastUpdatedLte + 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__lte", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ie", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ie", t, "form", "multi") } } - if r.lastUpdatedN != nil { - t := *r.lastUpdatedN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__iew", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__iew", t, "form", "multi") } } - if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") - } - if r.location != nil { - t := *r.location + 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, "location", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ire", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ire", t, "form", "multi") } } - if r.locationN != nil { - t := *r.locationN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__isw", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi") - } - } - 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, "max_utilization", s.Index(i).Interface(), "form", "multi") - } - } else { - 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 { - 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") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__isw", t, "form", "multi") } } - if r.nameNic != nil { - t := *r.nameNic + 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, "name__nic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__n", t, "form", "multi") } } - if r.nameNie != nil { - t := *r.nameNie + 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, "name__nie", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nic", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nic", t, "form", "multi") } } - if r.nameNiew != nil { - t := *r.nameNiew + 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, "name__niew", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nie", 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,226 +92154,39 @@ 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 { @@ -98776,6 +92195,12 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -98844,7 +92269,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 +92277,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 +92310,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 +92318,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 +92406,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 +92414,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 +92469,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 +92477,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) @@ -99072,6 +92504,12 @@ func (a *DcimAPIService) DcimPowerFeedsNotesListExecute(r ApiDcimPowerFeedsNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -99140,39 +92578,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 +92618,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 +92660,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 +92712,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 +92760,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) @@ -99345,6 +92790,12 @@ func (a *DcimAPIService) DcimPowerFeedsRetrieveExecute(r ApiDcimPowerFeedsRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -99413,40 +92864,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 +92904,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 +92948,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 +93001,559 @@ 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 - -Update a power feed object. +// Device (name) +func (r ApiDcimPowerConnectionsListRequest) Device(device []string) ApiDcimPowerConnectionsListRequest { + r.device = &device + 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, - } +// Device (ID) +func (r ApiDcimPowerConnectionsListRequest) DeviceId(deviceId []string) ApiDcimPowerConnectionsListRequest { + r.deviceId = &deviceId + return r } -// Execute executes the request -// @return PowerFeed -func (a *DcimAPIService) DcimPowerFeedsUpdateExecute(r ApiDcimPowerFeedsUpdateRequest) (*PowerFeed, *http.Response, error) { +func (r ApiDcimPowerConnectionsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerConnectionsListRequest { + r.dynamicGroups = &dynamicGroups + return r +} + +func (r ApiDcimPowerConnectionsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerConnectionsListRequest { + r.dynamicGroupsN = &dynamicGroupsN + return r +} + +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, + } +} + +// Execute executes the request +// @return PaginatedPowerPortList +func (a *DcimAPIService) DcimPowerConnectionsListExecute(r ApiDcimPowerConnectionsListRequest) (*PaginatedPowerPortList, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PowerFeed + localVarReturnValue *PaginatedPowerPortList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerConnectionsList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/dcim/power-feeds/{id}/" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +93569,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 +93620,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 +93742,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 +93823,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 +93875,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 +93956,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 +94008,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 +94089,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 +94141,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 +94175,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 +94256,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 +94361,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 +94432,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 +// 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.idNic != nil { - t := *r.idNic + 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, "id__nic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi") } } - if r.idNie != nil { - t := *r.idNie + 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__nie", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi") } } - if r.idNiew != nil { - t := *r.idNiew + 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__niew", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi") } } - if r.idNire != nil { - t := *r.idNire + 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__nire", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi") } } - if r.idNisw != nil { - t := *r.idNisw + 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__nisw", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi") } } - if r.idNre != nil { - t := *r.idNre + 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__nre", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi") } } - if r.idRe != nil { - t := *r.idRe + 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__re", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi") } } - if r.label != nil { - t := *r.label + 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, "label", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi") } } - if r.labelIc != nil { - t := *r.labelIc + 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__ic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi") } } - if r.labelIe != nil { - t := *r.labelIe + 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__ie", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi") } } - if r.labelIew != nil { - t := *r.labelIew + 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__iew", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel", t, "form", "multi") } } - if r.labelIre != nil { - t := *r.labelIre + 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__ire", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel__n", t, "form", "multi") } } - if r.labelIsw != nil { - t := *r.labelIsw + 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__isw", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi") } } - if r.labelN != nil { - t := *r.labelN + 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__n", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi") } } - if r.labelNic != nil { - t := *r.labelNic + 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__nic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi") } } - if r.labelNie != nil { - t := *r.labelNie + 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__nie", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi") } } - if r.labelNiew != nil { - t := *r.labelNiew + 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__niew", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi") } } - if r.labelNire != nil { - t := *r.labelNire + 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__nire", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi") } } - if r.labelNisw != nil { - t := *r.labelNisw + 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__nisw", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi") } } - if r.labelNre != nil { - t := *r.labelNre + 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__nre", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi") } } - if r.labelRe != nil { - t := *r.labelRe + 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__re", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", t, "form", "multi") + 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.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 +96438,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.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 +97015,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,12 +97179,84 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -102239,7 +97325,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 +97333,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 +97366,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 +97374,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 +97462,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 +97470,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 +97525,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 +97533,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) @@ -102467,6 +97560,12 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesListExecute(r ApiDcimPower var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -102535,39 +97634,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 +97674,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 +97716,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 +97768,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 +97816,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) @@ -102740,6 +97846,12 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieveExecute(r ApiDcimPowerO var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -102808,39 +97920,191 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +98112,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 +98157,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 +98209,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 +98331,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 +98412,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 +98464,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 +98545,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 +98597,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 +98678,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 +98730,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 +98764,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 +98845,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 +98865,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 +98885,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 +98904,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 +98922,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 +98945,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 +99551,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 +99715,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 +99752,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 +99919,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 +99936,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 +99947,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 +100104,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 +100286,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 +100317,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 +100332,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_ @@ -105482,6 +100502,12 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -105550,39 +100576,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 +100616,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 +100658,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 +100710,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 +100758,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,18 +100782,18 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -105846,451 +100862,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 +100902,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 +100947,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 +100999,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 +101121,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 +101202,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 +101254,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 +101335,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 +101387,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 +101468,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 +101520,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 +101554,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 +101635,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 +101715,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 ApiDcimPowerOutletsListRequest) FeedLegIew(feedLegIew []string) ApiDcimPowerOutletsListRequest { + r.feedLegIew = &feedLegIew + return r +} + +func (r ApiDcimPowerOutletsListRequest) FeedLegIre(feedLegIre []string) ApiDcimPowerOutletsListRequest { + r.feedLegIre = &feedLegIre return r } -func (r ApiDcimPowerPanelsListRequest) IdIc(idIc []string) ApiDcimPowerPanelsListRequest { - r.idIc = &idIc +func (r ApiDcimPowerOutletsListRequest) FeedLegIsw(feedLegIsw []string) ApiDcimPowerOutletsListRequest { + r.feedLegIsw = &feedLegIsw return r } -func (r ApiDcimPowerPanelsListRequest) IdIe(idIe []string) ApiDcimPowerPanelsListRequest { - r.idIe = &idIe +func (r ApiDcimPowerOutletsListRequest) FeedLegN(feedLegN []string) ApiDcimPowerOutletsListRequest { + r.feedLegN = &feedLegN return r } -func (r ApiDcimPowerPanelsListRequest) IdIew(idIew []string) ApiDcimPowerPanelsListRequest { - r.idIew = &idIew +func (r ApiDcimPowerOutletsListRequest) FeedLegNic(feedLegNic []string) ApiDcimPowerOutletsListRequest { + r.feedLegNic = &feedLegNic return r } -func (r ApiDcimPowerPanelsListRequest) IdIre(idIre []string) ApiDcimPowerPanelsListRequest { - r.idIre = &idIre +func (r ApiDcimPowerOutletsListRequest) FeedLegNie(feedLegNie []string) ApiDcimPowerOutletsListRequest { + r.feedLegNie = &feedLegNie return r } -func (r ApiDcimPowerPanelsListRequest) IdIsw(idIsw []string) ApiDcimPowerPanelsListRequest { - r.idIsw = &idIsw +func (r ApiDcimPowerOutletsListRequest) FeedLegNiew(feedLegNiew []string) ApiDcimPowerOutletsListRequest { + r.feedLegNiew = &feedLegNiew return r } -func (r ApiDcimPowerPanelsListRequest) IdN(idN []string) ApiDcimPowerPanelsListRequest { +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 +102365,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 +102552,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 +102744,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 +102923,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 +103105,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,7 +103176,169 @@ 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", "") @@ -108113,6 +103346,12 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -108181,7 +103420,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 +103428,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 +103461,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 +103469,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 +103557,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 +103565,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 +103620,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 +103628,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) @@ -108409,6 +103655,12 @@ func (a *DcimAPIService) DcimPowerPanelsNotesListExecute(r ApiDcimPowerPanelsNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -108477,39 +103729,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 +103769,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 +103811,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 +103863,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 +103911,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) @@ -108682,6 +103941,12 @@ func (a *DcimAPIService) DcimPowerPanelsRetrieveExecute(r ApiDcimPowerPanelsRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -108750,39 +104015,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 ApiDcimPowerOutletsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsTraceRetrieveRequest { + r.format = &format + return r } -func (r ApiDcimPowerPanelsUpdateRequest) PowerPanelRequest(powerPanelRequest PowerPanelRequest) ApiDcimPowerPanelsUpdateRequest { - r.powerPanelRequest = &powerPanelRequest +// Serializer Depth +func (r ApiDcimPowerOutletsTraceRetrieveRequest) Depth(depth int32) ApiDcimPowerOutletsTraceRetrieveRequest { + r.depth = &depth return r } -func (r ApiDcimPowerPanelsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsUpdateRequest { - r.format = &format +// Exclude many-to-many fields from the response +func (r ApiDcimPowerOutletsTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerOutletsTraceRetrieveRequest { + r.excludeM2m = &excludeM2m return r } -func (r ApiDcimPowerPanelsUpdateRequest) Execute() (*PowerPanel, *http.Response, error) { - return r.ApiService.DcimPowerPanelsUpdateExecute(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 +104063,44 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +104116,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 +104167,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 +104244,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 +104252,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 +104269,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 +104289,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 nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/dcim/power-panels/" + + 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 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-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.patchedBulkWritablePowerPanelRequest == nil { + return localVarReturnValue, nil, reportError("patchedBulkWritablePowerPanelRequest is required and must be specified") } if r.format != nil { @@ -109090,7 +104507,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 +104559,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 +104640,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 +104692,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 +104773,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 +104825,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 +104859,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 +104940,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 +104985,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 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 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__nic", s.Index(i).Interface(), "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", 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,160 +106317,14 @@ 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 { @@ -111361,6 +106333,12 @@ func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTem var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -111429,7 +106407,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 +106415,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 +106448,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 +106456,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 +106544,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 +106552,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 +106607,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 +106615,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) @@ -111657,6 +106642,12 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesListExecute(r ApiDcimPowerPo var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -111725,39 +106716,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 +106756,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 +106798,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 +106850,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 +106898,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) @@ -111930,6 +106928,12 @@ func (a *DcimAPIService) DcimPowerPortTemplatesRetrieveExecute(r ApiDcimPowerPor var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -111998,39 +107002,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 +107042,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 +107087,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 +107139,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 +107261,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 +107342,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 +107394,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 +107475,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 +107527,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 +107608,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 +107660,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 +107694,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 +107775,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 +107785,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 +107802,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 +107828,6 @@ type ApiDcimPowerPortsListRequest struct { labelNre *[]string labelRe *[]string limit *int32 - location *[]string - locationN *[]string maximumDraw *[]int32 maximumDrawGt *[]int32 maximumDrawGte *[]int32 @@ -112846,9 +107835,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 +107853,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 +107876,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 +108541,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 +108556,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 +108720,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 +108801,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 +108958,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 +109027,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 +109209,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 +109240,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 +109255,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_ @@ -114663,6 +109425,12 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -114731,39 +109499,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 +109539,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 +109581,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 +109633,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 +109681,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,18 +109705,18 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -115027,39 +109785,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 +109825,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 +109870,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 +109922,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 +109993,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 +110018,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 +110038,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 +110124,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 +110177,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 +110258,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 +110310,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 +110391,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 +110443,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 +110477,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 +110558,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 +110589,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 +110639,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 +111526,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 +111549,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 +111579,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,103 +112020,240 @@ 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", "") @@ -117596,6 +112261,12 @@ func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -117664,7 +112335,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 +112343,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 +112376,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 +112384,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 +112472,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 +112480,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 +112535,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 +112543,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) @@ -117892,6 +112570,12 @@ func (a *DcimAPIService) DcimRackGroupsNotesListExecute(r ApiDcimRackGroupsNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -117960,39 +112644,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 +112684,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 +112726,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 +112778,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 +112826,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) @@ -118165,6 +112856,12 @@ func (a *DcimAPIService) DcimRackGroupsRetrieveExecute(r ApiDcimRackGroupsRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -118233,39 +112930,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 +112978,44 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +113031,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 +113082,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 +113159,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 +113167,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 +113184,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 +113204,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 +113290,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 +113298,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 +113315,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 +113335,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 +113422,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 +113474,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 +113688,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 +113740,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 +113774,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 +113855,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 +113887,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 +113902,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 +114428,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 +114673,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,414 +114706,372 @@ 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 { @@ -120202,6 +115080,12 @@ func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservatio var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -120270,7 +115154,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 +115162,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 +115195,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 +115203,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 +115291,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 +115299,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 +115354,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 +115362,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) @@ -120498,6 +115389,12 @@ func (a *DcimAPIService) DcimRackReservationsNotesListExecute(r ApiDcimRackReser var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -120566,39 +115463,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 +115503,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 +115545,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 +115597,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 +115645,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) @@ -120771,6 +115675,12 @@ func (a *DcimAPIService) DcimRackReservationsRetrieveExecute(r ApiDcimRackReserv var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -120839,39 +115749,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 +115789,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 +115834,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 +115886,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 +116008,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 +116089,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 +116141,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 +116222,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 +116274,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 +116355,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 +116407,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 +116441,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 +116522,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 +116535,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 +116562,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,3029 +116585,8915 @@ 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 -} - -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 -} - -// 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, - } + @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, + } } // Execute executes the request -// @return PaginatedRackList -func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*PaginatedRackList, *http.Response, error) { +// @return PaginatedRackReservationList +func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservationsListRequest) (*PaginatedRackReservationList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PaginatedRackList + localVarReturnValue *PaginatedRackReservationList ) - 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.hasDevices != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "") - } - if r.hasPowerFeeds != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_feeds", r.hasPowerFeeds, "form", "") + if r.depth != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") + } else { + var defaultValue int32 = 1 + r.depth = &defaultValue } - if r.hasRackReservations != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "has_rack_reservations", r.hasRackReservations, "form", "") + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue } - 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") - } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType } - 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") - } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - 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") + 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__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") - } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, 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") - } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err } - 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") - } + + 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.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 localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, } + return localVarReturnValue, localVarHTTPResponse, newErr } - 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") + + 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.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") - } + + 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.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") - } +} + +// 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.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") - } + + 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.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") + + 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 } - } 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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") +} + +// 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()} + } + + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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", 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") + 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.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") + + 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.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") + + 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__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") + 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.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") + + 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.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") + + 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__ire", t, "form", "multi") } } - if r.nameIsw != nil { - t := *r.nameIsw + 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 + 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.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 + 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 + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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") + } + } + 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, "name__isw", s.Index(i).Interface(), "form", "multi") + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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, "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") + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + } + } + } + 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 } - 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") - } + + 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.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") - } +} + +// 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.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") - } + + 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", "") } - 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") - } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType } - 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") - } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - 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") + 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__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") - } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err } - if r.offset != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "") + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err } - 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") - } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err } - 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 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 { @@ -125076,301 +125502,11 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin 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, - } -} - -// 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 + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -125440,39 +125576,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 +125616,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 +125658,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 +125710,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 +125758,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) @@ -125645,6 +125788,12 @@ func (a *DcimAPIService) DcimRacksRetrieveExecute(r ApiDcimRacksRetrieveRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -125713,39 +125862,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 +125902,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 +125947,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 +125999,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 +126121,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 +126202,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 +126254,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 +126335,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 +126387,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 +126468,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 +126520,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 +126554,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 +126635,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 +126658,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 +126684,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 +126712,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 +126733,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 +127311,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 +127475,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 +127553,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 +127564,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 +127721,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 +127997,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 +128037,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_ @@ -128205,6 +128207,12 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -128273,7 +128281,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 +128289,190 @@ type ApiDcimRearPortTemplatesNotesCreateRequest struct { format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiDcimRearPortTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRearPortTemplatesNotesCreateRequest { +func (r ApiDcimRearPortsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRearPortsNotesCreateRequest { r.noteInputRequest = ¬eInputRequest return r } -func (r ApiDcimRearPortTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesNotesCreateRequest { - r.format = &format +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 +} + +// 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 +128480,50 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +128539,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 +128590,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 +128630,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 +128654,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 +128671,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 +128724,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 +128786,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 +128810,26 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +128845,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 +128896,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 +128944,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) @@ -128774,6 +128974,12 @@ func (a *DcimAPIService) DcimRearPortTemplatesRetrieveExecute(r ApiDcimRearPortT var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -128842,39 +129048,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 +129088,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 +129133,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 +129185,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 +129307,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 +129388,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 +129440,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 +129521,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 +129573,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 +129654,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 +129706,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 +129740,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,1746 +129821,1828 @@ 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 { @@ -131363,6 +131651,12 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -131431,7 +131725,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 +131733,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 +131766,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 +131774,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 +131862,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 +131870,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 +131925,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 +131933,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) @@ -131659,140 +131960,14 @@ func (a *DcimAPIService) DcimRearPortsNotesListExecute(r ApiDcimRearPortsNotesLi 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 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 + 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 +131983,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 +132034,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 +132074,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 +132098,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 +132115,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 +132168,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 +132216,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) @@ -132091,6 +132246,12 @@ func (a *DcimAPIService) DcimRearPortsRetrieveExecute(r ApiDcimRearPortsRetrieve var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -132159,39 +132320,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 +132360,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 +132405,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 +132457,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 +132579,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 +132660,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 +132712,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 +132793,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 +132845,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 +132926,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 +132978,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 +133012,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 +133093,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 +133120,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,1852 +133167,1756 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -134956,7 +134985,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 +134993,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 +135026,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 +135034,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 +135122,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 +135130,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 +135185,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 +135193,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) @@ -135184,6 +135220,12 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesListExecute(r ApiDcimSoftwar var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -135252,39 +135294,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 +135334,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 +135376,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 +135428,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 +135476,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) @@ -135457,6 +135506,12 @@ func (a *DcimAPIService) DcimSoftwareImageFilesRetrieveExecute(r ApiDcimSoftware var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -135525,39 +135580,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 +135620,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 +135665,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 +135717,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 +135839,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 +135920,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 +135972,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 +136053,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 +136105,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 +136186,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 +136238,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 +136272,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 +136353,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 +136366,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 +136394,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 +136870,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 +136949,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 +137115,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 +137142,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 +137153,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,370 +137225,314 @@ 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 { @@ -138285,6 +137541,12 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -138353,7 +137615,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 +137623,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 +137656,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 +137664,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 +137752,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 +137760,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 +137815,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 +137823,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) @@ -138581,6 +137850,12 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesListExecute(r ApiDcimSoftwareV var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -138649,39 +137924,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 +137964,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 +138006,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 +138058,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 +138106,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) @@ -138854,6 +138136,12 @@ func (a *DcimAPIService) DcimSoftwareVersionsRetrieveExecute(r ApiDcimSoftwareVe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -138922,39 +138210,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 +138250,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 +138295,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 +138347,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 +138469,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 +138550,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 +138602,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 +138683,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 +138735,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 +138816,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 +138868,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 +138902,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 +138983,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 +138996,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 +139036,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 +139051,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 +139608,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 +139687,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 +140079,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 +140236,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 +140351,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,12 +140386,68 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -141127,7 +140516,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 +140524,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 +140557,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 +140565,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 +140653,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 +140661,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 +140716,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 +140724,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) @@ -141355,6 +140751,12 @@ func (a *DcimAPIService) DcimVirtualChassisNotesListExecute(r ApiDcimVirtualChas var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -141423,39 +140825,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 +140865,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 +140907,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 +140959,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 +141007,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) @@ -141628,6 +141037,12 @@ func (a *DcimAPIService) DcimVirtualChassisRetrieveExecute(r ApiDcimVirtualChass var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -141696,39 +141111,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 +141151,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 +141196,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..9c14e879 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 @@ -2181,6 +2005,12 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsListExecute(r ApiExtrasComputedFi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2394,6 +2224,7 @@ type ApiExtrasComputedFieldsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasComputedFieldsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasComputedFieldsNotesListRequest { @@ -2419,6 +2250,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) } @@ -2477,6 +2314,12 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsNotesListExecute(r ApiExtrasCompu var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2685,6 +2528,7 @@ type ApiExtrasComputedFieldsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasComputedFieldsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasComputedFieldsRetrieveRequest { @@ -2698,6 +2542,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) } @@ -2750,6 +2600,12 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsRetrieveExecute(r ApiExtrasComput var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3596,7 +3452,7 @@ type ApiExtrasConfigContextSchemasListRequest struct { ApiService *ExtrasAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -3612,22 +3468,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 +3495,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 +3511,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 +3591,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 +3607,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 +3732,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 +3743,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 +3804,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 +3980,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 +4015,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,7 +4205,15 @@ 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", "") @@ -4541,6 +4221,12 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasListExecute(r ApiExtrasConf var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4754,6 +4440,7 @@ type ApiExtrasConfigContextSchemasNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasConfigContextSchemasNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextSchemasNotesListRequest { @@ -4779,6 +4466,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) } @@ -4837,6 +4530,12 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasNotesListExecute(r ApiExtra var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5045,6 +4744,7 @@ type ApiExtrasConfigContextSchemasRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasConfigContextSchemasRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextSchemasRetrieveRequest { @@ -5058,6 +4758,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) } @@ -5110,6 +4816,12 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasRetrieveExecute(r ApiExtras var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5962,7 +5674,7 @@ type ApiExtrasConfigContextsListRequest struct { clusterIdN *[]string contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string deviceRedundancyGroup *[]string deviceRedundancyGroupN *[]string deviceType *[]string @@ -5971,19 +5683,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 +5709,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 +5726,7 @@ type ApiExtrasConfigContextsListRequest struct { tagN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string tenant *[]string tenantN *[]string tenantGroup *[]string @@ -6048,6 +5736,7 @@ type ApiExtrasConfigContextsListRequest struct { tenantId *[]string tenantIdN *[]string depth *int32 + excludeM2m *bool } func (r ApiExtrasConfigContextsListRequest) ClusterGroup(clusterGroup []string) ApiExtrasConfigContextsListRequest { @@ -6095,8 +5784,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 +5832,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 +5966,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 +6059,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 +6114,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 +6241,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 +6331,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 +6342,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 +6569,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 +6583,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 +6717,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 @@ -7496,6 +6821,12 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7709,6 +7040,7 @@ type ApiExtrasConfigContextsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasConfigContextsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextsNotesListRequest { @@ -7734,6 +7066,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) } @@ -7792,6 +7130,12 @@ func (a *ExtrasAPIService) ExtrasConfigContextsNotesListExecute(r ApiExtrasConfi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8000,6 +7344,7 @@ type ApiExtrasConfigContextsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasConfigContextsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextsRetrieveRequest { @@ -8013,6 +7358,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) } @@ -8065,6 +7416,12 @@ func (a *ExtrasAPIService) ExtrasConfigContextsRetrieveExecute(r ApiExtrasConfig var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8910,19 +8267,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 +8283,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 +8295,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 +8311,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 +8393,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 +8456,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 +8472,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 +8499,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 +8556,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 +8567,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 +8684,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 +8695,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 +8785,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 +8810,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 @@ -9881,6 +8851,12 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10094,6 +9070,7 @@ type ApiExtrasContactAssociationsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasContactAssociationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactAssociationsNotesListRequest { @@ -10119,6 +9096,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) } @@ -10177,6 +9160,12 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsNotesListExecute(r ApiExtras var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10385,6 +9374,7 @@ type ApiExtrasContactAssociationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasContactAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactAssociationsRetrieveRequest { @@ -10398,6 +9388,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) } @@ -10450,6 +9446,12 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsRetrieveExecute(r ApiExtrasC var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11330,7 +10332,7 @@ type ApiExtrasContactsListRequest struct { createdLte *[]time.Time createdN *[]time.Time dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string email *[]string emailIc *[]string emailIe *[]string @@ -11347,19 +10349,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 +10393,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 +10580,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 +10666,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 +10890,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 +11347,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 +11525,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 +11536,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,12 +11961,43 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13349,6 +12211,7 @@ type ApiExtrasContactsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasContactsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactsNotesListRequest { @@ -13374,6 +12237,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) } @@ -13432,6 +12301,12 @@ func (a *ExtrasAPIService) ExtrasContactsNotesListExecute(r ApiExtrasContactsNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13640,6 +12515,7 @@ type ApiExtrasContactsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasContactsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactsRetrieveRequest { @@ -13653,6 +12529,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) } @@ -13705,6 +12587,12 @@ func (a *ExtrasAPIService) ExtrasContactsRetrieveExecute(r ApiExtrasContactsRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13959,6 +12847,7 @@ type ApiExtrasContentTypesListRequest struct { q *string sort *string depth *int32 + excludeM2m *bool } func (r ApiExtrasContentTypesListRequest) AppLabel(appLabel []string) ApiExtrasContentTypesListRequest { @@ -14203,6 +13092,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) } @@ -14656,6 +13551,12 @@ func (a *ExtrasAPIService) ExtrasContentTypesListExecute(r ApiExtrasContentTypes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14730,6 +13631,7 @@ type ApiExtrasContentTypesRetrieveRequest struct { id int32 format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasContentTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContentTypesRetrieveRequest { @@ -14743,6 +13645,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) } @@ -14795,6 +13703,12 @@ func (a *ExtrasAPIService) ExtrasContentTypesRetrieveExecute(r ApiExtrasContentT var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15506,19 +14420,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 +14446,7 @@ type ApiExtrasCustomFieldChoicesListRequest struct { weightLte *[]int32 weightN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasCustomFieldChoicesListRequest) CustomField(customField []string) ApiExtrasCustomFieldChoicesListRequest { @@ -15567,71 +14470,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 +14605,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 +14687,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 +14698,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", "") } @@ -16219,6 +14936,12 @@ func (a *ExtrasAPIService) ExtrasCustomFieldChoicesListExecute(r ApiExtrasCustom var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -16427,6 +15150,7 @@ type ApiExtrasCustomFieldChoicesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasCustomFieldChoicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomFieldChoicesRetrieveRequest { @@ -16440,6 +15164,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) } @@ -16492,6 +15222,12 @@ func (a *ExtrasAPIService) ExtrasCustomFieldChoicesRetrieveExecute(r ApiExtrasCu var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17338,23 +16074,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 +16109,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 +16131,7 @@ type ApiExtrasCustomFieldsListRequest struct { sort *string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string weight *[]int32 weightGt *[]int32 weightGte *[]int32 @@ -17427,6 +16139,7 @@ type ApiExtrasCustomFieldsListRequest struct { weightLte *[]int32 weightN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasCustomFieldsListRequest) Contacts(contacts []string) ApiExtrasCustomFieldsListRequest { @@ -17440,8 +16153,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 +16163,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 +16209,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 +16330,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 +16445,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 +16486,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 +16547,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 +16579,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 +16923,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 +16934,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 +17118,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 @@ -18845,6 +17200,12 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -19058,6 +17419,7 @@ type ApiExtrasCustomFieldsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasCustomFieldsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomFieldsNotesListRequest { @@ -19083,6 +17445,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) } @@ -19141,6 +17509,12 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsNotesListExecute(r ApiExtrasCustomF var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -19349,6 +17723,7 @@ type ApiExtrasCustomFieldsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasCustomFieldsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomFieldsRetrieveRequest { @@ -19362,6 +17737,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) } @@ -19414,6 +17795,12 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsRetrieveExecute(r ApiExtrasCustomFi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20274,11 +18661,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 +18682,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 +18718,7 @@ type ApiExtrasCustomLinksListRequest struct { targetUrlRe *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string text *[]string textIc *[]string textIe *[]string @@ -20365,6 +18740,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 +18774,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 +18825,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 +18845,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 +18931,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 +19116,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 +19227,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 +19442,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 +19470,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 +19648,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 +19659,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 +19997,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 @@ -22023,6 +20233,12 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22236,6 +20452,7 @@ type ApiExtrasCustomLinksNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasCustomLinksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomLinksNotesListRequest { @@ -22261,6 +20478,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) } @@ -22319,6 +20542,12 @@ func (a *ExtrasAPIService) ExtrasCustomLinksNotesListExecute(r ApiExtrasCustomLi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22527,6 +20756,7 @@ type ApiExtrasCustomLinksRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasCustomLinksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomLinksRetrieveRequest { @@ -22540,6 +20770,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) } @@ -22592,6 +20828,12 @@ func (a *ExtrasAPIService) ExtrasCustomLinksRetrieveExecute(r ApiExtrasCustomLin var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -23441,19 +21683,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 +21693,7 @@ type ApiExtrasDynamicGroupMembershipsListRequest struct { operatorIew *[]string operatorIre *[]string operatorIsw *[]string - operatorN *[]ExtrasDynamicGroupMembershipsListOperatorParameterInner + operatorN *[]string operatorNic *[]string operatorNie *[]string operatorNiew *[]string @@ -23482,6 +21712,7 @@ type ApiExtrasDynamicGroupMembershipsListRequest struct { weightLte *[]int32 weightN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasDynamicGroupMembershipsListRequest) Created(created []time.Time) ApiExtrasDynamicGroupMembershipsListRequest { @@ -23510,71 +21741,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 +21793,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 +21891,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 +21984,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 +21995,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 { @@ -24221,6 +22266,12 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupMembershipsListExecute(r ApiExtrasD var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -24429,6 +22480,7 @@ type ApiExtrasDynamicGroupMembershipsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasDynamicGroupMembershipsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupMembershipsRetrieveRequest { @@ -24442,6 +22494,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) } @@ -24494,6 +22552,12 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupMembershipsRetrieveExecute(r ApiExt var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25340,7 +23404,7 @@ type ApiExtrasDynamicGroupsListRequest struct { ApiService *ExtrasAPIService contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string contentType *[]int32 contentTypeN *[]int32 created *[]time.Time @@ -25371,7 +23435,7 @@ type ApiExtrasDynamicGroupsListRequest struct { groupTypeIew *[]string groupTypeIre *[]string groupTypeIsw *[]string - groupTypeN *[]ExtrasDynamicGroupsListGroupTypeParameterInner + groupTypeN *[]string groupTypeNic *[]string groupTypeNie *[]string groupTypeNiew *[]string @@ -25380,19 +23444,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 +23454,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 +23477,7 @@ type ApiExtrasDynamicGroupsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string tenant *[]string tenantIsnull *bool tenantN *[]string @@ -25448,6 +23488,7 @@ type ApiExtrasDynamicGroupsListRequest struct { tenantIdIsnull *bool tenantIdN *[]*string depth *int32 + excludeM2m *bool } func (r ApiExtrasDynamicGroupsListRequest) Contacts(contacts []string) ApiExtrasDynamicGroupsListRequest { @@ -25461,8 +23502,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 +23657,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 +23703,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 +23755,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 +23875,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 +23936,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 +23997,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 +24420,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 +24431,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 +24514,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 +24525,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 +24728,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 @@ -27154,6 +24819,12 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27228,6 +24899,7 @@ type ApiExtrasDynamicGroupsMembersRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasDynamicGroupsMembersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupsMembersRetrieveRequest { @@ -27241,6 +24913,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) } @@ -27293,6 +24971,12 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsMembersRetrieveExecute(r ApiExtras var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27506,6 +25190,7 @@ type ApiExtrasDynamicGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasDynamicGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupsNotesListRequest { @@ -27531,6 +25216,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) } @@ -27589,6 +25280,12 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsNotesListExecute(r ApiExtrasDynami var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27797,6 +25494,7 @@ type ApiExtrasDynamicGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasDynamicGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupsRetrieveRequest { @@ -27810,6 +25508,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) } @@ -27862,6 +25566,12 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsRetrieveExecute(r ApiExtrasDynamic var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -28708,26 +26418,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 +26446,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 +26468,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 +26488,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 +26504,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 +26611,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 +26644,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 +26655,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 +26716,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 +26744,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 +26779,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 +26959,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 +26973,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,7 +26994,15 @@ 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", "") @@ -29680,6 +27010,12 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -29893,6 +27229,7 @@ type ApiExtrasExportTemplatesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasExportTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExportTemplatesNotesListRequest { @@ -29918,6 +27255,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) } @@ -29976,6 +27319,12 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesNotesListExecute(r ApiExtrasExpo var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30184,6 +27533,7 @@ type ApiExtrasExportTemplatesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasExportTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExportTemplatesRetrieveRequest { @@ -30197,6 +27547,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) } @@ -30249,6 +27605,12 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesRetrieveExecute(r ApiExtrasExpor var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -31109,7 +28471,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 +28480,7 @@ type ApiExtrasExternalIntegrationsListRequest struct { createdLte *[]time.Time createdN *[]time.Time dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string extraConfig *[]string format *CircuitsCircuitTerminationsListFormatParameter hasSecretsGroup *bool @@ -31138,19 +28500,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 +28548,7 @@ type ApiExtrasExternalIntegrationsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string timeout *[]int32 timeoutGt *[]int32 timeoutGte *[]int32 @@ -31207,6 +28557,7 @@ type ApiExtrasExternalIntegrationsListRequest struct { timeoutN *[]int32 verifySsl *bool depth *int32 + excludeM2m *bool } func (r ApiExtrasExternalIntegrationsListRequest) CaFilePath(caFilePath []string) ApiExtrasExternalIntegrationsListRequest { @@ -31290,8 +28641,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 +28686,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 +28788,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 +29034,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 +29080,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 +29295,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 +29386,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 +29589,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 +29600,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 +30054,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 @@ -32953,6 +30139,12 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsListExecute(r ApiExtrasExte var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33166,6 +30358,7 @@ type ApiExtrasExternalIntegrationsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasExternalIntegrationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExternalIntegrationsNotesListRequest { @@ -33191,6 +30384,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) } @@ -33249,6 +30448,12 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsNotesListExecute(r ApiExtra var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33457,6 +30662,7 @@ type ApiExtrasExternalIntegrationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasExternalIntegrationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExternalIntegrationsRetrieveRequest { @@ -33470,6 +30676,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) } @@ -33522,6 +30734,12 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsRetrieveExecute(r ApiExtras var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33733,6 +30951,7 @@ type ApiExtrasFileProxiesDownloadRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasFileProxiesDownloadRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasFileProxiesDownloadRetrieveRequest { @@ -33746,6 +30965,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) } @@ -33798,6 +31023,12 @@ func (a *ExtrasAPIService) ExtrasFileProxiesDownloadRetrieveExecute(r ApiExtrasF var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33871,19 +31102,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 +31134,7 @@ type ApiExtrasFileProxiesListRequest struct { uploadedAtLte *[]time.Time uploadedAtN *[]time.Time depth *int32 + excludeM2m *bool } func (r ApiExtrasFileProxiesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasFileProxiesListRequest { @@ -33928,71 +31148,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 +31317,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 +31377,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 +31388,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 { @@ -34642,144 +31676,163 @@ func (a *ExtrasAPIService) ExtrasFileProxiesListExecute(r ApiExtrasFileProxiesLi 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 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 + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -35504,7 +32557,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 +32566,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 +32635,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 +32721,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 +32766,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 +32782,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 +33121,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 +33132,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 +33347,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 +33438,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 + 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 { @@ -36527,83 +33473,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,7 +34117,15 @@ 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", "") @@ -37256,6 +34133,12 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesListExecute(r ApiExtrasGitReposi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -37469,6 +34352,7 @@ type ApiExtrasGitRepositoriesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasGitRepositoriesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGitRepositoriesNotesListRequest { @@ -37494,6 +34378,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) } @@ -37552,6 +34442,12 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesNotesListExecute(r ApiExtrasGitR var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -37760,6 +34656,7 @@ type ApiExtrasGitRepositoriesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasGitRepositoriesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGitRepositoriesRetrieveRequest { @@ -37773,6 +34670,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) } @@ -37825,6 +34728,12 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesRetrieveExecute(r ApiExtrasGitRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -37897,21 +34806,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 +34836,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 +34856,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 +34877,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 +35706,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 +35732,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 +35748,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 +35758,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 +35774,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 +35884,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 +35895,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 +35956,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 +36013,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,7 +36194,15 @@ 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", "") @@ -39488,6 +36210,12 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesListExecute(r ApiExtrasGraphqlQue var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -39701,6 +36429,7 @@ type ApiExtrasGraphqlQueriesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasGraphqlQueriesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGraphqlQueriesNotesListRequest { @@ -39726,6 +36455,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) } @@ -39784,6 +36519,12 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesNotesListExecute(r ApiExtrasGraph var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -39992,6 +36733,7 @@ type ApiExtrasGraphqlQueriesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasGraphqlQueriesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGraphqlQueriesRetrieveRequest { @@ -40005,6 +36747,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) } @@ -40057,6 +36805,12 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesRetrieveExecute(r ApiExtrasGraphq var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -40458,7 +37212,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 +37336,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 +37469,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 +37602,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 +37795,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 +37812,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 +37851,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 +37937,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 +37966,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 +38038,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 +38049,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 +38217,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 +38228,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", "") } @@ -41890,6 +38243,12 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsListExecute(r ApiExtrasImageAtt var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -42023,7 +38382,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 +38457,7 @@ type ApiExtrasImageAttachmentsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasImageAttachmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasImageAttachmentsRetrieveRequest { @@ -42111,6 +38471,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) } @@ -42163,6 +38529,12 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsRetrieveExecute(r ApiExtrasImag var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -42299,7 +38671,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 +39396,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 +39418,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 +39441,7 @@ type ApiExtrasJobButtonsListRequest struct { sort *string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string text *[]string textIc *[]string textIe *[]string @@ -43115,6 +39463,7 @@ type ApiExtrasJobButtonsListRequest struct { weightLte *[]int32 weightN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasJobButtonsListRequest) ButtonClass(buttonClass []string) ApiExtrasJobButtonsListRequest { @@ -43203,8 +39552,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 +39562,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 +39663,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 +39783,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 +39894,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 +40112,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 +40140,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 +40321,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 +40332,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 +40535,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 @@ -44683,6 +40771,12 @@ func (a *ExtrasAPIService) ExtrasJobButtonsListExecute(r ApiExtrasJobButtonsList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -44896,6 +40990,7 @@ type ApiExtrasJobButtonsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasJobButtonsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobButtonsNotesListRequest { @@ -44921,6 +41016,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) } @@ -44979,6 +41080,12 @@ func (a *ExtrasAPIService) ExtrasJobButtonsNotesListExecute(r ApiExtrasJobButton var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -45187,6 +41294,7 @@ type ApiExtrasJobButtonsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasJobButtonsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobButtonsRetrieveRequest { @@ -45200,6 +41308,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) } @@ -45252,6 +41366,12 @@ func (a *ExtrasAPIService) ExtrasJobButtonsRetrieveExecute(r ApiExtrasJobButtons var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -46098,39 +42218,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 +42249,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 +42268,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 +42278,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 +42309,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 +42429,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 +42455,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 +42516,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 +42548,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 +42587,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 +42598,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 +42801,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", "") @@ -47086,6 +42826,12 @@ func (a *ExtrasAPIService) ExtrasJobHooksListExecute(r ApiExtrasJobHooksListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -47299,6 +43045,7 @@ type ApiExtrasJobHooksNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasJobHooksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobHooksNotesListRequest { @@ -47324,6 +43071,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) } @@ -47382,6 +43135,12 @@ func (a *ExtrasAPIService) ExtrasJobHooksNotesListExecute(r ApiExtrasJobHooksNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -47590,6 +43349,7 @@ type ApiExtrasJobHooksRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasJobHooksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobHooksRetrieveRequest { @@ -47603,6 +43363,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) } @@ -47655,6 +43421,12 @@ func (a *ExtrasAPIService) ExtrasJobHooksRetrieveExecute(r ApiExtrasJobHooksRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -47899,19 +43671,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 +43721,7 @@ type ApiExtrasJobLogsListRequest struct { q *string sort *string depth *int32 + excludeM2m *bool } func (r ApiExtrasJobLogsListRequest) AbsoluteUrl(absoluteUrl []string) ApiExtrasJobLogsListRequest { @@ -48144,71 +43905,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 +44160,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 +44594,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 +44605,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", "") } @@ -49516,144 +45091,11 @@ func (a *ExtrasAPIService) ExtrasJobLogsListExecute(r ApiExtrasJobLogsListReques 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()} - } - - 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 + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -49723,6 +45165,4388 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +49800,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 +49855,7 @@ type ApiExtrasJobResultsListRequest struct { userIsnull *bool userN *string depth *int32 + excludeM2m *bool } func (r ApiExtrasJobResultsListRequest) DateCreated(dateCreated []time.Time) ApiExtrasJobResultsListRequest { @@ -50103,79 +49923,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 +50124,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 +50210,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 +50391,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 { @@ -51170,6 +50895,12 @@ func (a *ExtrasAPIService) ExtrasJobResultsListExecute(r ApiExtrasJobResultsList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -51244,6 +50975,7 @@ type ApiExtrasJobResultsLogsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasJobResultsLogsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobResultsLogsRetrieveRequest { @@ -51257,6 +50989,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) } @@ -51309,6 +51047,12 @@ func (a *ExtrasAPIService) ExtrasJobResultsLogsRetrieveExecute(r ApiExtrasJobRes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -51383,6 +51127,7 @@ type ApiExtrasJobResultsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasJobResultsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobResultsRetrieveRequest { @@ -51396,6 +51141,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) } @@ -51448,6 +51199,12 @@ func (a *ExtrasAPIService) ExtrasJobResultsRetrieveExecute(r ApiExtrasJobResults var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -52141,12 +51898,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 +51926,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 +51946,8 @@ type ApiExtrasJobsListRequest struct { jobClassNameNisw *[]string jobClassNameNre *[]string jobClassNameRe *[]string + jobQueues *[]string + jobQueuesN *[]string limit *int32 moduleName *[]string moduleNameIc *[]string @@ -52245,7 +51994,7 @@ type ApiExtrasJobsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string timeLimit *[]float32 timeLimitGt *[]float32 timeLimitGte *[]float32 @@ -52254,6 +52003,7 @@ type ApiExtrasJobsListRequest struct { timeLimitN *[]float32 timeLimitOverride *bool depth *int32 + excludeM2m *bool } func (r ApiExtrasJobsListRequest) ApprovalRequired(approvalRequired bool) ApiExtrasJobsListRequest { @@ -52277,8 +52027,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 +52052,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 +52168,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 +52188,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 +52268,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 +52513,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 +52559,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 +52626,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 +52657,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 +52853,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 +52864,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 +52873,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 +53033,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 +53490,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 @@ -53942,6 +53575,12 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54292,6 +53931,7 @@ type ApiExtrasJobsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasJobsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsNotesListRequest { @@ -54317,6 +53957,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) } @@ -54375,6 +54021,12 @@ func (a *ExtrasAPIService) ExtrasJobsNotesListExecute(r ApiExtrasJobsNotesListRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54451,6 +54103,7 @@ type ApiExtrasJobsNotesListByNameRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasJobsNotesListByNameRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsNotesListByNameRequest { @@ -54476,6 +54129,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) } @@ -54534,6 +54193,12 @@ func (a *ExtrasAPIService) ExtrasJobsNotesListByNameExecute(r ApiExtrasJobsNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54876,6 +54541,7 @@ type ApiExtrasJobsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasJobsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsRetrieveRequest { @@ -54889,6 +54555,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) } @@ -54941,6 +54613,12 @@ func (a *ExtrasAPIService) ExtrasJobsRetrieveExecute(r ApiExtrasJobsRetrieveRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55015,6 +54693,7 @@ type ApiExtrasJobsRetrieveByNameRequest struct { name string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasJobsRetrieveByNameRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsRetrieveByNameRequest { @@ -55028,6 +54707,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) } @@ -55080,6 +54765,12 @@ func (a *ExtrasAPIService) ExtrasJobsRetrieveByNameExecute(r ApiExtrasJobsRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55699,6 +55390,7 @@ type ApiExtrasJobsVariablesListRequest struct { offset *int32 sort *string depth *int32 + excludeM2m *bool } func (r ApiExtrasJobsVariablesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsVariablesListRequest { @@ -55730,6 +55422,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) } @@ -55791,6 +55489,12 @@ func (a *ExtrasAPIService) ExtrasJobsVariablesListExecute(r ApiExtrasJobsVariabl var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55868,6 +55572,7 @@ type ApiExtrasJobsVariablesListByNameRequest struct { offset *int32 sort *string depth *int32 + excludeM2m *bool } func (r ApiExtrasJobsVariablesListByNameRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsVariablesListByNameRequest { @@ -55899,6 +55604,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) } @@ -55960,6 +55671,12 @@ func (a *ExtrasAPIService) ExtrasJobsVariablesListByNameExecute(r ApiExtrasJobsV var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -56676,19 +56393,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 +56428,7 @@ type ApiExtrasMetadataChoicesListRequest struct { weightLte *[]int32 weightN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasMetadataChoicesListRequest) Created(created []time.Time) ApiExtrasMetadataChoicesListRequest { @@ -56771,71 +56477,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 +56657,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 +56786,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 +56797,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 { @@ -57606,6 +57126,12 @@ func (a *ExtrasAPIService) ExtrasMetadataChoicesListExecute(r ApiExtrasMetadataC var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -57814,6 +57340,7 @@ type ApiExtrasMetadataChoicesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasMetadataChoicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasMetadataChoicesRetrieveRequest { @@ -57827,6 +57354,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) } @@ -57879,6 +57412,12 @@ func (a *ExtrasAPIService) ExtrasMetadataChoicesRetrieveExecute(r ApiExtrasMetad var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -58725,21 +58264,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 +58303,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 +58337,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 +58353,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 +58363,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 +58434,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 +58549,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 +58565,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 +58725,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 +58736,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 +58797,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 +58829,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 +59218,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 +59253,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,7 +59528,15 @@ 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", "") @@ -60386,6 +59544,12 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesListExecute(r ApiExtrasMetadataTyp var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -60599,6 +59763,7 @@ type ApiExtrasMetadataTypesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasMetadataTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasMetadataTypesNotesListRequest { @@ -60624,6 +59789,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) } @@ -60682,6 +59853,12 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesNotesListExecute(r ApiExtrasMetada var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -60890,6 +60067,7 @@ type ApiExtrasMetadataTypesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasMetadataTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasMetadataTypesRetrieveRequest { @@ -60903,6 +60081,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) } @@ -60955,6 +60139,12 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesRetrieveExecute(r ApiExtrasMetadat var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -61800,38 +60990,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 +61034,7 @@ type ApiExtrasNotesListRequest struct { userNameNre *[]string userNameRe *[]string depth *int32 + excludeM2m *bool } func (r ApiExtrasNotesListRequest) AssignedObjectId(assignedObjectId []string) ApiExtrasNotesListRequest { @@ -61875,71 +61042,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 +61078,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 +61269,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 +61326,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 +61337,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 +61363,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 +61374,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", "") } @@ -62936,6 +61725,12 @@ func (a *ExtrasAPIService) ExtrasNotesListExecute(r ApiExtrasNotesListRequest) ( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63144,6 +61939,7 @@ type ApiExtrasNotesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasNotesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasNotesRetrieveRequest { @@ -63157,6 +61953,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) } @@ -63209,6 +62011,12 @@ func (a *ExtrasAPIService) ExtrasNotesRetrieveExecute(r ApiExtrasNotesRetrieveRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63432,19 +62240,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 +62249,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 +62268,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 +62297,7 @@ type ApiExtrasObjectChangesListRequest struct { userNameNre *[]string userNameRe *[]string depth *int32 + excludeM2m *bool } func (r ApiExtrasObjectChangesListRequest) Action(action []string) ApiExtrasObjectChangesListRequest { @@ -63602,71 +62375,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 +62421,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 +62519,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 +62670,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 +62881,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 +62892,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 +62924,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 +62935,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 +63109,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 +63120,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", "") } @@ -65196,6 +63399,12 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -65270,6 +63479,7 @@ type ApiExtrasObjectChangesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasObjectChangesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasObjectChangesRetrieveRequest { @@ -65283,6 +63493,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) } @@ -65335,6 +63551,12 @@ func (a *ExtrasAPIService) ExtrasObjectChangesRetrieveExecute(r ApiExtrasObjectC var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66043,19 +64265,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 +64281,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 +64301,7 @@ type ApiExtrasObjectMetadataListRequest struct { teamN *[]string value *interface{} depth *int32 + excludeM2m *bool } func (r ApiExtrasObjectMetadataListRequest) AssignedObjectId(assignedObjectId []string) ApiExtrasObjectMetadataListRequest { @@ -66110,71 +64309,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 +64391,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 +64498,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 +64555,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 +64566,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 +64699,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 +64710,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 { @@ -67037,301 +64858,11 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataListExecute(r ApiExtrasObjectMeta 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 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 + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -67541,6 +65072,7 @@ type ApiExtrasObjectMetadataRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasObjectMetadataRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasObjectMetadataRetrieveRequest { @@ -67554,6 +65086,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) } @@ -67606,6 +65144,12 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataRetrieveExecute(r ApiExtrasObject var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -68451,36 +65995,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 +66009,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 +66021,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 +66047,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 +66098,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 +66119,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 +66176,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 +66187,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 +66223,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 +66234,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 +66290,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 +66301,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 { @@ -69390,6 +66329,12 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -69598,6 +66543,7 @@ type ApiExtrasRelationshipAssociationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasRelationshipAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRelationshipAssociationsRetrieveRequest { @@ -69611,6 +66557,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) } @@ -69663,6 +66615,12 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsRetrieveExecute(r ApiEx var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -70509,26 +67467,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 +67511,7 @@ type ApiExtrasRelationshipsListRequest struct { sourceTypeN *[]int32 teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string type_ *[]string typeIc *[]string typeIe *[]string @@ -70581,6 +67527,7 @@ type ApiExtrasRelationshipsListRequest struct { typeNre *[]string typeRe *[]string depth *int32 + excludeM2m *bool } func (r ApiExtrasRelationshipsListRequest) Contacts(contacts []string) ApiExtrasRelationshipsListRequest { @@ -70594,8 +67541,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 +67561,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 +67577,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 +67767,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 +67803,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 +67849,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 +67910,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 +67954,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 +67989,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 +68346,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_ @@ -71735,6 +68516,12 @@ func (a *ExtrasAPIService) ExtrasRelationshipsListExecute(r ApiExtrasRelationshi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -71948,6 +68735,7 @@ type ApiExtrasRelationshipsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasRelationshipsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRelationshipsNotesListRequest { @@ -71973,6 +68761,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) } @@ -72031,6 +68825,12 @@ func (a *ExtrasAPIService) ExtrasRelationshipsNotesListExecute(r ApiExtrasRelati var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -72239,6 +69039,7 @@ type ApiExtrasRelationshipsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasRelationshipsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRelationshipsRetrieveRequest { @@ -72252,6 +69053,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) } @@ -72304,6 +69111,12 @@ func (a *ExtrasAPIService) ExtrasRelationshipsRetrieveExecute(r ApiExtrasRelatio var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -73164,21 +69977,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 +69988,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 +70019,7 @@ type ApiExtrasRolesListRequest struct { sort *string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string weight *[]int32 weightGt *[]int32 weightGte *[]int32 @@ -73239,6 +70028,7 @@ type ApiExtrasRolesListRequest struct { weightLte *[]int32 weightN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasRolesListRequest) Color(color []string) ApiExtrasRolesListRequest { @@ -73322,8 +70112,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 +70122,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 +70167,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 +70183,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 +70328,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 +70374,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 +70589,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 +70621,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 +70702,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 +70737,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 +70987,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 @@ -74639,6 +71072,12 @@ func (a *ExtrasAPIService) ExtrasRolesListExecute(r ApiExtrasRolesListRequest) ( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -74852,6 +71291,7 @@ type ApiExtrasRolesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasRolesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRolesNotesListRequest { @@ -74877,6 +71317,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) } @@ -74935,6 +71381,12 @@ func (a *ExtrasAPIService) ExtrasRolesNotesListExecute(r ApiExtrasRolesNotesList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -75143,6 +71595,7 @@ type ApiExtrasRolesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasRolesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRolesRetrieveRequest { @@ -75156,6 +71609,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) } @@ -75208,6 +71667,12 @@ func (a *ExtrasAPIService) ExtrasRolesRetrieveExecute(r ApiExtrasRolesRetrieveRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -76054,19 +72519,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 +72557,7 @@ type ApiExtrasSavedViewsListRequest struct { viewNre *[]string viewRe *[]string depth *int32 + excludeM2m *bool } func (r ApiExtrasSavedViewsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsListRequest { @@ -76117,71 +72571,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 +72766,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 +72826,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 +72837,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", "") } @@ -76923,6 +73191,12 @@ func (a *ExtrasAPIService) ExtrasSavedViewsListExecute(r ApiExtrasSavedViewsList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -77131,6 +73405,7 @@ type ApiExtrasSavedViewsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasSavedViewsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsRetrieveRequest { @@ -77144,6 +73419,12 @@ func (r ApiExtrasSavedViewsRetrieveRequest) Depth(depth int32) ApiExtrasSavedVie 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) } @@ -77196,6 +73477,12 @@ func (a *ExtrasAPIService) ExtrasSavedViewsRetrieveExecute(r ApiExtrasSavedViews var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -77264,39 +73551,177 @@ func (a *ExtrasAPIService) ExtrasSavedViewsRetrieveExecute(r ApiExtrasSavedViews return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedViewsUpdateRequest struct { +type ApiExtrasSavedViewsUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id string + savedViewRequest *SavedViewRequest + format *CircuitsCircuitTerminationsListFormatParameter +} + +func (r ApiExtrasSavedViewsUpdateRequest) SavedViewRequest(savedViewRequest SavedViewRequest) ApiExtrasSavedViewsUpdateRequest { + r.savedViewRequest = &savedViewRequest + return r +} + +func (r ApiExtrasSavedViewsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsUpdateRequest { + r.format = &format + return r +} + +func (r ApiExtrasSavedViewsUpdateRequest) Execute() (*SavedView, *http.Response, error) { + return r.ApiService.ExtrasSavedViewsUpdateExecute(r) +} + +/* +ExtrasSavedViewsUpdate Method for ExtrasSavedViewsUpdate + +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 ApiExtrasSavedViewsUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedViewsUpdate(ctx context.Context, id string) ApiExtrasSavedViewsUpdateRequest { + return ApiExtrasSavedViewsUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return SavedView +func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUpdateRequest) (*SavedView, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SavedView + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsUpdate") + 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.savedViewRequest == nil { + return localVarReturnValue, nil, reportError("savedViewRequest 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.savedViewRequest + 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 ApiExtrasScheduledJobsApproveCreateRequest struct { ctx context.Context ApiService *ExtrasAPIService id string - savedViewRequest *SavedViewRequest + force *bool format *CircuitsCircuitTerminationsListFormatParameter } -func (r ApiExtrasSavedViewsUpdateRequest) SavedViewRequest(savedViewRequest SavedViewRequest) ApiExtrasSavedViewsUpdateRequest { - r.savedViewRequest = &savedViewRequest +// force execution even if start time has passed +func (r ApiExtrasScheduledJobsApproveCreateRequest) Force(force bool) ApiExtrasScheduledJobsApproveCreateRequest { + r.force = &force return r } -func (r ApiExtrasSavedViewsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsUpdateRequest { +func (r ApiExtrasScheduledJobsApproveCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsApproveCreateRequest { r.format = &format return r } -func (r ApiExtrasSavedViewsUpdateRequest) Execute() (*SavedView, *http.Response, error) { - return r.ApiService.ExtrasSavedViewsUpdateExecute(r) +func (r ApiExtrasScheduledJobsApproveCreateRequest) Execute() (*ScheduledJob, *http.Response, error) { + return r.ApiService.ExtrasScheduledJobsApproveCreateExecute(r) } /* -ExtrasSavedViewsUpdate Method for ExtrasSavedViewsUpdate +ExtrasScheduledJobsApproveCreate Method for ExtrasScheduledJobsApproveCreate -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 + @param id A UUID string identifying this scheduled job. + @return ApiExtrasScheduledJobsApproveCreateRequest */ -func (a *ExtrasAPIService) ExtrasSavedViewsUpdate(ctx context.Context, id string) ApiExtrasSavedViewsUpdateRequest { - return ApiExtrasSavedViewsUpdateRequest{ +func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreate(ctx context.Context, id string) ApiExtrasScheduledJobsApproveCreateRequest { + return ApiExtrasScheduledJobsApproveCreateRequest{ ApiService: a, ctx: ctx, id: id, @@ -77304,35 +73729,35 @@ func (a *ExtrasAPIService) ExtrasSavedViewsUpdate(ctx context.Context, id string } // Execute executes the request -// @return SavedView -func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUpdateRequest) (*SavedView, *http.Response, error) { +// @return ScheduledJob +func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasScheduledJobsApproveCreateRequest) (*ScheduledJob, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SavedView + localVarReturnValue *ScheduledJob ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsUpdate") + 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.savedViewRequest == nil { - return localVarReturnValue, nil, reportError("savedViewRequest is required and must be specified") - } + if r.force != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "force", r.force, "form", "") + } 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) @@ -77348,8 +73773,6 @@ func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUp if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - // body params - localVarPostBody = r.savedViewRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -77401,76 +73824,69 @@ func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUp return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasScheduledJobsApproveCreateRequest struct { +type ApiExtrasScheduledJobsBulkDestroyRequest struct { ctx context.Context ApiService *ExtrasAPIService - id string - force *bool + bulkOperationRequest *[]BulkOperationRequest format *CircuitsCircuitTerminationsListFormatParameter } -// force execution even if start time has passed -func (r ApiExtrasScheduledJobsApproveCreateRequest) Force(force bool) ApiExtrasScheduledJobsApproveCreateRequest { - r.force = &force +func (r ApiExtrasScheduledJobsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiExtrasScheduledJobsBulkDestroyRequest { + r.bulkOperationRequest = &bulkOperationRequest return r } -func (r ApiExtrasScheduledJobsApproveCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsApproveCreateRequest { +func (r ApiExtrasScheduledJobsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsBulkDestroyRequest { r.format = &format return r } -func (r ApiExtrasScheduledJobsApproveCreateRequest) Execute() (*ScheduledJob, *http.Response, error) { - return r.ApiService.ExtrasScheduledJobsApproveCreateExecute(r) +func (r ApiExtrasScheduledJobsBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasScheduledJobsBulkDestroyExecute(r) } /* -ExtrasScheduledJobsApproveCreate Method for ExtrasScheduledJobsApproveCreate +ExtrasScheduledJobsBulkDestroy Method for ExtrasScheduledJobsBulkDestroy 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 ApiExtrasScheduledJobsBulkDestroyRequest */ -func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreate(ctx context.Context, id string) ApiExtrasScheduledJobsApproveCreateRequest { - return ApiExtrasScheduledJobsApproveCreateRequest{ +func (a *ExtrasAPIService) ExtrasScheduledJobsBulkDestroy(ctx context.Context) ApiExtrasScheduledJobsBulkDestroyRequest { + return ApiExtrasScheduledJobsBulkDestroyRequest{ ApiService: a, ctx: ctx, - id: id, } } // Execute executes the request -// @return ScheduledJob -func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasScheduledJobsApproveCreateRequest) (*ScheduledJob, *http.Response, error) { +func (a *ExtrasAPIService) ExtrasScheduledJobsBulkDestroyExecute(r ApiExtrasScheduledJobsBulkDestroyRequest) (*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.ExtrasScheduledJobsApproveCreate") + 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/scheduled-jobs/{id}/approve/" - 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.force != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "force", r.force, "form", "") + 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{} + localVarHTTPContentTypes := []string{"application/json", "text/csv"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -77479,13 +73895,15 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasSc } // 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 { @@ -77502,19 +73920,19 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasSc } 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 { @@ -77522,19 +73940,10 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasSc 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 ApiExtrasScheduledJobsDenyCreateRequest struct { @@ -77663,6 +74072,121 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreateExecute(r ApiExtrasSched return localVarReturnValue, localVarHTTPResponse, nil } +type ApiExtrasScheduledJobsDestroyRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id string + format *CircuitsCircuitTerminationsListFormatParameter +} + +func (r ApiExtrasScheduledJobsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsDestroyRequest { + r.format = &format + return r +} + +func (r ApiExtrasScheduledJobsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasScheduledJobsDestroyExecute(r) +} + +/* +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 ApiExtrasScheduledJobsDestroyRequest +*/ +func (a *ExtrasAPIService) ExtrasScheduledJobsDestroy(ctx context.Context, id string) ApiExtrasScheduledJobsDestroyRequest { + return ApiExtrasScheduledJobsDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *ExtrasAPIService) ExtrasScheduledJobsDestroyExecute(r ApiExtrasScheduledJobsDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScheduledJobsDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/extras/scheduled-jobs/{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 ApiExtrasScheduledJobsDryRunCreateRequest struct { ctx context.Context ApiService *ExtrasAPIService @@ -77794,19 +74318,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 +74357,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 +74377,7 @@ type ApiExtrasScheduledJobsListRequest struct { totalRunCountLte *[]int32 totalRunCountN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasScheduledJobsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsListRequest { @@ -77878,71 +74391,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 +74595,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 +74709,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 +74769,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 +74780,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 { @@ -79030,6 +75357,12 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsListExecute(r ApiExtrasScheduledJo var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -79104,6 +75437,7 @@ type ApiExtrasScheduledJobsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasScheduledJobsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsRetrieveRequest { @@ -79117,6 +75451,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) } @@ -79169,6 +75509,12 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsRetrieveExecute(r ApiExtrasSchedul var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -79631,6 +75977,7 @@ type ApiExtrasSecretsCheckRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasSecretsCheckRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsCheckRetrieveRequest { @@ -79644,6 +75991,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) } @@ -79696,6 +76049,12 @@ func (a *ExtrasAPIService) ExtrasSecretsCheckRetrieveExecute(r ApiExtrasSecretsC var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -80667,19 +77026,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 +77052,7 @@ type ApiExtrasSecretsGroupsAssociationsListRequest struct { secretsGroupN *[]string sort *string depth *int32 + excludeM2m *bool } func (r ApiExtrasSecretsGroupsAssociationsListRequest) AccessType(accessType []string) ApiExtrasSecretsGroupsAssociationsListRequest { @@ -80788,71 +77136,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 +77273,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 +77487,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 +77498,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", "") } @@ -81574,6 +77736,12 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsAssociationsListExecute(r ApiExtra var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -81782,6 +77950,7 @@ type ApiExtrasSecretsGroupsAssociationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasSecretsGroupsAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsGroupsAssociationsRetrieveRequest { @@ -81795,6 +77964,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) } @@ -81847,6 +78022,12 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsAssociationsRetrieveExecute(r ApiE var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -82693,7 +78874,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 +78883,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 +78911,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 +78932,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 +78977,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 +78993,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 +79121,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 +79148,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 +79159,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 +79220,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 +79311,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 +79346,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 +79578,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,7 +79618,15 @@ 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", "") @@ -83595,6 +79634,12 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsListExecute(r ApiExtrasSecretsGrou var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -83808,6 +79853,7 @@ type ApiExtrasSecretsGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasSecretsGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsGroupsNotesListRequest { @@ -83833,6 +79879,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) } @@ -83891,6 +79943,12 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsNotesListExecute(r ApiExtrasSecret var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -84099,6 +80157,7 @@ type ApiExtrasSecretsGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasSecretsGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsGroupsRetrieveRequest { @@ -84112,6 +80171,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) } @@ -84164,6 +80229,12 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsRetrieveExecute(r ApiExtrasSecrets var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -84374,7 +80445,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 +80454,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 +80502,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 +80518,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 +80563,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 +80579,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 +80809,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 +80820,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 +80881,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 +80972,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 +81007,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,7 +81436,15 @@ 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", "") @@ -85557,6 +81452,12 @@ func (a *ExtrasAPIService) ExtrasSecretsListExecute(r ApiExtrasSecretsListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -85770,6 +81671,7 @@ type ApiExtrasSecretsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasSecretsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsNotesListRequest { @@ -85795,6 +81697,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) } @@ -85853,6 +81761,12 @@ func (a *ExtrasAPIService) ExtrasSecretsNotesListExecute(r ApiExtrasSecretsNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -86061,6 +81975,7 @@ type ApiExtrasSecretsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasSecretsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsRetrieveRequest { @@ -86074,6 +81989,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) } @@ -86126,6 +82047,12 @@ func (a *ExtrasAPIService) ExtrasSecretsRetrieveExecute(r ApiExtrasSecretsRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -86971,19 +82898,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 +82912,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 +82925,7 @@ type ApiExtrasStaticGroupAssociationsListRequest struct { q *string sort *string depth *int32 + excludeM2m *bool } func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectId(associatedObjectId []string) ApiExtrasStaticGroupAssociationsListRequest { @@ -87029,71 +82933,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 +83004,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 +83074,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 +83131,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 +83142,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 +83269,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 +83280,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 { @@ -87841,6 +83367,12 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsListExecute(r ApiExtrasS var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -88054,6 +83586,7 @@ type ApiExtrasStaticGroupAssociationsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasStaticGroupAssociationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStaticGroupAssociationsNotesListRequest { @@ -88079,6 +83612,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) } @@ -88137,6 +83676,12 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsNotesListExecute(r ApiEx var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -88345,6 +83890,7 @@ type ApiExtrasStaticGroupAssociationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasStaticGroupAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStaticGroupAssociationsRetrieveRequest { @@ -88358,6 +83904,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) } @@ -88410,6 +83962,12 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsRetrieveExecute(r ApiExt var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -89270,21 +84828,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 +84839,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 +84870,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 +84956,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 +84966,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 +85011,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 +85027,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 +85172,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 +85183,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 +85398,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 +85430,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 +85511,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 +85546,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,7 +85796,15 @@ 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", "") @@ -90634,6 +85812,12 @@ func (a *ExtrasAPIService) ExtrasStatusesListExecute(r ApiExtrasStatusesListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -90847,6 +86031,7 @@ type ApiExtrasStatusesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasStatusesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStatusesNotesListRequest { @@ -90872,6 +86057,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) } @@ -90930,6 +86121,12 @@ func (a *ExtrasAPIService) ExtrasStatusesNotesListExecute(r ApiExtrasStatusesNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -91138,6 +86335,7 @@ type ApiExtrasStatusesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasStatusesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStatusesRetrieveRequest { @@ -91151,6 +86349,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) } @@ -91203,6 +86407,12 @@ func (a *ExtrasAPIService) ExtrasStatusesRetrieveExecute(r ApiExtrasStatusesRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -92063,21 +87273,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 +87284,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 +87315,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 +87401,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 +87411,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 +87456,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 +87472,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 +87617,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 +87628,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 +87843,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 +87875,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 +87956,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 +87991,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,7 +88241,15 @@ 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", "") @@ -93427,6 +88257,12 @@ func (a *ExtrasAPIService) ExtrasTagsListExecute(r ApiExtrasTagsListRequest) (*P var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -93640,6 +88476,7 @@ type ApiExtrasTagsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasTagsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTagsNotesListRequest { @@ -93665,6 +88502,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) } @@ -93723,6 +88566,12 @@ func (a *ExtrasAPIService) ExtrasTagsNotesListExecute(r ApiExtrasTagsNotesListRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -93931,6 +88780,7 @@ type ApiExtrasTagsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasTagsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTagsRetrieveRequest { @@ -93944,6 +88794,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) } @@ -93996,6 +88852,12 @@ func (a *ExtrasAPIService) ExtrasTagsRetrieveExecute(r ApiExtrasTagsRetrieveRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -94878,7 +89740,7 @@ type ApiExtrasTeamsListRequest struct { createdLte *[]time.Time createdN *[]time.Time dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string email *[]string emailIc *[]string emailIe *[]string @@ -94895,19 +89757,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 +89802,7 @@ type ApiExtrasTeamsListRequest struct { tagsIsnull *bool tagsN *[]string depth *int32 + excludeM2m *bool } func (r ApiExtrasTeamsListRequest) Address(address []string) ApiExtrasTeamsListRequest { @@ -95144,8 +89995,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 +90081,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 +90311,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 +90768,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 +90946,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 +90957,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 { @@ -96716,6 +91388,12 @@ func (a *ExtrasAPIService) ExtrasTeamsListExecute(r ApiExtrasTeamsListRequest) ( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -96929,6 +91607,7 @@ type ApiExtrasTeamsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasTeamsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTeamsNotesListRequest { @@ -96954,6 +91633,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) } @@ -97012,6 +91697,12 @@ func (a *ExtrasAPIService) ExtrasTeamsNotesListExecute(r ApiExtrasTeamsNotesList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -97220,6 +91911,7 @@ type ApiExtrasTeamsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasTeamsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTeamsRetrieveRequest { @@ -97233,6 +91925,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) } @@ -97285,6 +91983,12 @@ func (a *ExtrasAPIService) ExtrasTeamsRetrieveExecute(r ApiExtrasTeamsRetrieveRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -98132,19 +92836,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 +92860,7 @@ type ApiExtrasUserSavedViewAssociationsListRequest struct { viewNameNre *[]string viewNameRe *[]string depth *int32 + excludeM2m *bool } func (r ApiExtrasUserSavedViewAssociationsListRequest) Created(created []time.Time) ApiExtrasUserSavedViewAssociationsListRequest { @@ -98186,71 +92879,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 +93003,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 +93074,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 +93085,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 { @@ -98802,6 +93309,12 @@ func (a *ExtrasAPIService) ExtrasUserSavedViewAssociationsListExecute(r ApiExtra var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -99010,6 +93523,7 @@ type ApiExtrasUserSavedViewAssociationsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasUserSavedViewAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasUserSavedViewAssociationsRetrieveRequest { @@ -99023,6 +93537,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) } @@ -99075,6 +93595,12 @@ func (a *ExtrasAPIService) ExtrasUserSavedViewAssociationsRetrieveExecute(r ApiE var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -99921,39 +94447,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 +94490,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 +94509,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 +94519,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 +94550,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 +94730,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 +94756,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 +94817,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 +94849,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 +94888,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 +94899,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 +95234,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", "") @@ -101113,6 +95259,12 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -101326,6 +95478,7 @@ type ApiExtrasWebhooksNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiExtrasWebhooksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasWebhooksNotesListRequest { @@ -101351,6 +95504,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) } @@ -101409,6 +95568,12 @@ func (a *ExtrasAPIService) ExtrasWebhooksNotesListExecute(r ApiExtrasWebhooksNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -101617,6 +95782,7 @@ type ApiExtrasWebhooksRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiExtrasWebhooksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasWebhooksRetrieveRequest { @@ -101630,6 +95796,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) } @@ -101682,6 +95854,12 @@ func (a *ExtrasAPIService) ExtrasWebhooksRetrieveExecute(r ApiExtrasWebhooksRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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..c4731825 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 { @@ -1228,6 +1031,12 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceListExecute(r ApiIpamIpAddressT var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1441,6 +1250,7 @@ type ApiIpamIpAddressToInterfaceNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamIpAddressToInterfaceNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressToInterfaceNotesListRequest { @@ -1466,6 +1276,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) } @@ -1524,6 +1340,12 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceNotesListExecute(r ApiIpamIpAdd var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1732,6 +1554,7 @@ type ApiIpamIpAddressToInterfaceRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamIpAddressToInterfaceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressToInterfaceRetrieveRequest { @@ -1745,6 +1568,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) } @@ -1797,6 +1626,12 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceRetrieveExecute(r ApiIpamIpAddr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2644,7 +2479,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 +2487,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 +2518,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 +2557,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 +2599,7 @@ type ApiIpamIpAddressesListRequest struct { vrfsIsnull *bool vrfsN *[]string depth *int32 + excludeM2m *bool } // Address @@ -2781,8 +2619,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 +2659,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 +2816,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 +2844,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 +3027,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 +3043,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 +3074,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 +3249,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 +3321,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 +3400,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 +3742,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 +3772,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 +3783,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 +4059,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 +4084,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 +4134,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 @@ -4540,6 +4451,12 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4753,6 +4670,7 @@ type ApiIpamIpAddressesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamIpAddressesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressesNotesListRequest { @@ -4778,6 +4696,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) } @@ -4836,6 +4760,12 @@ func (a *IpamAPIService) IpamIpAddressesNotesListExecute(r ApiIpamIpAddressesNot var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5044,6 +4974,7 @@ type ApiIpamIpAddressesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamIpAddressesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressesRetrieveRequest { @@ -5057,6 +4988,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) } @@ -5109,6 +5046,12 @@ func (a *IpamAPIService) IpamIpAddressesRetrieveExecute(r ApiIpamIpAddressesRetr var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5955,7 +5898,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 +5921,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 +5958,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 +5974,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 +6089,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 +6105,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 +6280,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 +6291,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 +6352,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 +6597,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 +6632,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,7 +6916,15 @@ 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", "") @@ -7165,6 +6932,12 @@ func (a *IpamAPIService) IpamNamespacesListExecute(r ApiIpamNamespacesListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7378,6 +7151,7 @@ type ApiIpamNamespacesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamNamespacesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamNamespacesNotesListRequest { @@ -7403,6 +7177,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) } @@ -7461,6 +7241,12 @@ func (a *IpamAPIService) IpamNamespacesNotesListExecute(r ApiIpamNamespacesNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7669,6 +7455,7 @@ type ApiIpamNamespacesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamNamespacesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamNamespacesRetrieveRequest { @@ -7682,6 +7469,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) } @@ -7734,6 +7527,12 @@ func (a *IpamAPIService) IpamNamespacesRetrieveExecute(r ApiIpamNamespacesRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8581,28 +8380,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 +8410,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 +8442,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 +8470,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 +8541,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 +8552,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 +8602,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", "") } @@ -9007,6 +8625,12 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsListExecute(r ApiIpamPrefi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9075,39 +8699,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 +8739,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 +8781,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 +8833,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 +8881,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,18 +8905,18 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9371,39 +8985,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 +9026,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 +9045,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 +9070,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 +9122,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 +9203,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 +9262,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 +9315,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 +9404,59 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +9472,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 +9523,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 +9587,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 +9641,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 +9693,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 +9702,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 +9765,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) @@ -10061,6 +9804,12 @@ func (a *IpamAPIService) IpamPrefixesAvailableIpsListExecute(r ApiIpamPrefixesAv var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10129,106 +9878,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 +9949,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 +9957,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 +9974,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 +9994,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 +10080,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 +10133,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 +10189,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 +10206,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 +10214,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 +10231,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 +10251,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 +10322,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 +10347,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 +10522,7 @@ type ApiIpamPrefixesListRequest struct { cloudNetworksN *[]string contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string contains *[]string created *[]time.Time createdGt *[]time.Time @@ -11132,23 +10539,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 +10578,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 +10626,7 @@ type ApiIpamPrefixesListRequest struct { within *[]string withinInclude *[]string depth *int32 + excludeM2m *bool } func (r ApiIpamPrefixesListRequest) CloudNetworks(cloudNetworks []string) ApiIpamPrefixesListRequest { @@ -11260,8 +10656,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 +10742,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 +10764,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 +10856,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 +10948,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 +10964,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 +10995,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 +11208,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 +11294,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 +11465,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 +11492,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 +11503,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 +11798,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 +11823,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 +11873,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 @@ -13010,6 +12256,12 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) ( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13223,6 +12475,7 @@ type ApiIpamPrefixesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamPrefixesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesNotesListRequest { @@ -13248,6 +12501,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) } @@ -13306,6 +12565,12 @@ func (a *IpamAPIService) IpamPrefixesNotesListExecute(r ApiIpamPrefixesNotesList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13514,6 +12779,7 @@ type ApiIpamPrefixesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamPrefixesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesRetrieveRequest { @@ -13527,6 +12793,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) } @@ -13579,6 +12851,12 @@ func (a *IpamAPIService) IpamPrefixesRetrieveExecute(r ApiIpamPrefixesRetrieveRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14425,7 +13703,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 +13726,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 +13758,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 +13774,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 +13889,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 +13905,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 +14055,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 +14066,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 +14127,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 +14372,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 +14407,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,7 +14660,15 @@ 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", "") @@ -15574,6 +14676,12 @@ func (a *IpamAPIService) IpamRirsListExecute(r ApiIpamRirsListRequest) (*Paginat var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15787,6 +14895,7 @@ type ApiIpamRirsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamRirsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRirsNotesListRequest { @@ -15812,6 +14921,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) } @@ -15870,6 +14985,12 @@ func (a *IpamAPIService) IpamRirsNotesListExecute(r ApiIpamRirsNotesListRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -16078,6 +15199,7 @@ type ApiIpamRirsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamRirsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRirsRetrieveRequest { @@ -16091,6 +15213,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) } @@ -16143,6 +15271,12 @@ func (a *IpamAPIService) IpamRirsRetrieveExecute(r ApiIpamRirsRetrieveRequest) ( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -16989,7 +16123,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 +16132,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 +16172,7 @@ type ApiIpamRouteTargetsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string tenant *[]string tenantIsnull *bool tenantN *[]string @@ -17061,6 +16183,7 @@ type ApiIpamRouteTargetsListRequest struct { tenantIdIsnull *bool tenantIdN *[]*string depth *int32 + excludeM2m *bool } func (r ApiIpamRouteTargetsListRequest) Contacts(contacts []string) ApiIpamRouteTargetsListRequest { @@ -17074,8 +16197,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 +16242,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 +16274,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 +16450,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 +16511,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 +16572,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 +16663,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 +16712,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 +16723,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 +17023,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 @@ -18156,6 +17114,12 @@ func (a *IpamAPIService) IpamRouteTargetsListExecute(r ApiIpamRouteTargetsListRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -18369,6 +17333,7 @@ type ApiIpamRouteTargetsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamRouteTargetsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRouteTargetsNotesListRequest { @@ -18394,6 +17359,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) } @@ -18452,6 +17423,12 @@ func (a *IpamAPIService) IpamRouteTargetsNotesListExecute(r ApiIpamRouteTargetsN var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -18660,6 +17637,7 @@ type ApiIpamRouteTargetsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamRouteTargetsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRouteTargetsRetrieveRequest { @@ -18673,6 +17651,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) } @@ -18725,6 +17709,12 @@ func (a *IpamAPIService) IpamRouteTargetsRetrieveExecute(r ApiIpamRouteTargetsRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -19571,7 +18561,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 +18573,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 +18622,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 +18641,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 +18702,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 +18718,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 +18953,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 +18980,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 +19041,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 +19157,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 +19192,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 +19624,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 @@ -20851,6 +19665,12 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) ( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -21064,6 +19884,7 @@ type ApiIpamServicesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamServicesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamServicesNotesListRequest { @@ -21089,6 +19910,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) } @@ -21147,6 +19974,12 @@ func (a *IpamAPIService) IpamServicesNotesListExecute(r ApiIpamServicesNotesList var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -21355,6 +20188,7 @@ type ApiIpamServicesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamServicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamServicesRetrieveRequest { @@ -21368,6 +20202,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) } @@ -21420,6 +20260,12 @@ func (a *IpamAPIService) IpamServicesRetrieveExecute(r ApiIpamServicesRetrieveRe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -21625,67 +20471,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 +20580,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 +20588,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 +20605,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 +20625,139 @@ 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 +20773,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 +20824,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 +20878,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 +20895,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 +20903,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 +20920,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 +20940,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 +21002,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 +21465,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 +21488,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 +21520,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 +21541,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 +21656,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 +21672,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 +21822,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 +21848,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 +21859,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 +21920,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 +22165,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 +22200,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 +22460,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,7 +22500,15 @@ 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", "") @@ -23450,6 +22516,12 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -23663,6 +22735,7 @@ type ApiIpamVlanGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamVlanGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsNotesListRequest { @@ -23688,6 +22761,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) } @@ -23746,6 +22825,12 @@ func (a *IpamAPIService) IpamVlanGroupsNotesListExecute(r ApiIpamVlanGroupsNotes var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -23954,6 +23039,7 @@ type ApiIpamVlanGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamVlanGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsRetrieveRequest { @@ -23967,6 +23053,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) } @@ -24019,6 +23111,12 @@ func (a *IpamAPIService) IpamVlanGroupsRetrieveExecute(r ApiIpamVlanGroupsRetrie var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -24866,19 +23964,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 +23975,7 @@ type ApiIpamVlanLocationAssignmentsListRequest struct { vlan *[]string vlanN *[]string depth *int32 + excludeM2m *bool } func (r ApiIpamVlanLocationAssignmentsListRequest) Created(created []time.Time) ApiIpamVlanLocationAssignmentsListRequest { @@ -24907,71 +23994,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 +24054,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 +24125,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 +24136,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 { @@ -25307,302 +24208,12 @@ func (a *IpamAPIService) IpamVlanLocationAssignmentsListExecute(r ApiIpamVlanLoc } 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 + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25812,6 +24423,7 @@ type ApiIpamVlanLocationAssignmentsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamVlanLocationAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanLocationAssignmentsRetrieveRequest { @@ -25825,6 +24437,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) } @@ -25877,6 +24495,12 @@ func (a *IpamAPIService) IpamVlanLocationAssignmentsRetrieveExecute(r ApiIpamVla var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -26724,7 +25348,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 +25357,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 +25391,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 +25420,7 @@ type ApiIpamVlansListRequest struct { vlanGroupIsnull *bool vlanGroupN *[]string depth *int32 + excludeM2m *bool } // Device (ID) @@ -26827,8 +25440,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 +25485,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 +25501,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 +25660,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 +25676,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 +25707,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 +25814,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 +25886,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 +25977,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 +26012,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 +26303,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 +26328,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 +26378,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 @@ -28098,6 +26560,12 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -28311,6 +26779,7 @@ type ApiIpamVlansNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamVlansNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlansNotesListRequest { @@ -28336,6 +26805,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) } @@ -28394,6 +26869,12 @@ func (a *IpamAPIService) IpamVlansNotesListExecute(r ApiIpamVlansNotesListReques var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -28602,6 +27083,7 @@ type ApiIpamVlansRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamVlansRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlansRetrieveRequest { @@ -28615,6 +27097,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) } @@ -28667,6 +27155,12 @@ func (a *IpamAPIService) IpamVlansRetrieveExecute(r ApiIpamVlansRetrieveRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -28896,7 +27390,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 +27512,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 +27645,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 +27778,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 +27906,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 +28011,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 +28090,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 +28182,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 +28301,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 +28317,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 +28330,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,495 +28413,422 @@ 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", "") @@ -30280,6 +28836,12 @@ func (a *IpamAPIService) IpamVrfDeviceAssignmentsNotesListExecute(r ApiIpamVrfDe var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30373,10 +28935,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 +29050,7 @@ type ApiIpamVrfDeviceAssignmentsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamVrfDeviceAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfDeviceAssignmentsRetrieveRequest { @@ -30501,6 +29064,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 +29077,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 { @@ -30553,6 +29122,12 @@ func (a *IpamAPIService) IpamVrfDeviceAssignmentsRetrieveExecute(r ApiIpamVrfDev var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30646,10 +29221,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 +29357,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 +29479,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 +29612,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 +29745,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 +29873,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 +29975,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 +30005,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 +30037,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 +30065,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 +30078,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 +30136,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 +30147,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 +30186,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", "") } @@ -31832,301 +30220,11 @@ func (a *IpamAPIService) IpamVrfPrefixAssignmentsListExecute(r ApiIpamVrfPrefixA 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 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 + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -32221,10 +30319,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 +30434,7 @@ type ApiIpamVrfPrefixAssignmentsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamVrfPrefixAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfPrefixAssignmentsRetrieveRequest { @@ -32349,6 +30448,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 +30461,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 { @@ -32401,6 +30506,12 @@ func (a *IpamAPIService) IpamVrfPrefixAssignmentsRetrieveExecute(r ApiIpamVrfPre var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -32494,10 +30605,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 +31358,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 +31366,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 +31437,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 +31453,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 +31472,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 +31512,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 +31873,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 +31904,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 +31959,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 +32046,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 +32125,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 +32843,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 +32893,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,12 +32978,62 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -34993,6 +33247,7 @@ type ApiIpamVrfsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiIpamVrfsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfsNotesListRequest { @@ -35018,6 +33273,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) } @@ -35076,6 +33337,12 @@ func (a *IpamAPIService) IpamVrfsNotesListExecute(r ApiIpamVrfsNotesListRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -35284,6 +33551,7 @@ type ApiIpamVrfsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiIpamVrfsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfsRetrieveRequest { @@ -35297,6 +33565,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) } @@ -35349,6 +33623,12 @@ func (a *IpamAPIService) IpamVrfsRetrieveExecute(r ApiIpamVrfsRetrieveRequest) ( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_status.go b/api_status.go index 6a65669d..64481110 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) } @@ -89,6 +96,12 @@ func (a *StatusAPIService) StatusRetrieveExecute(r ApiStatusRetrieveRequest) (*S var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_swagger.go b/api_swagger.go index 3a2e3f6a..3e1a3cc5 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) } @@ -101,6 +108,12 @@ func (a *SwaggerAPIService) SwaggerRetrieveExecute(r ApiSwaggerRetrieveRequest) var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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..5b35ca52 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) } @@ -92,6 +99,12 @@ func (a *SwaggerJsonAPIService) SwaggerJsonRetrieveExecute(r ApiSwaggerJsonRetri var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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..95680e6a 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) } @@ -92,6 +99,12 @@ func (a *SwaggerYamlAPIService) SwaggerYamlRetrieveExecute(r ApiSwaggerYamlRetri var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_tenancy.go b/api_tenancy.go index 823e033e..faedf536 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 @@ -1958,6 +1782,12 @@ func (a *TenancyAPIService) TenancyTenantGroupsListExecute(r ApiTenancyTenantGro var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2171,6 +2001,7 @@ type ApiTenancyTenantGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiTenancyTenantGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantGroupsNotesListRequest { @@ -2196,6 +2027,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) } @@ -2254,6 +2091,12 @@ func (a *TenancyAPIService) TenancyTenantGroupsNotesListExecute(r ApiTenancyTena var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2462,6 +2305,7 @@ type ApiTenancyTenantGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiTenancyTenantGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantGroupsRetrieveRequest { @@ -2475,6 +2319,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) } @@ -2527,6 +2377,12 @@ func (a *TenancyAPIService) TenancyTenantGroupsRetrieveExecute(r ApiTenancyTenan var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3393,7 +3249,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 +3275,7 @@ type ApiTenancyTenantsListRequest struct { devicesIsnull *bool devicesN *[]string dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string format *CircuitsCircuitTerminationsListFormatParameter hasCircuits *bool hasClusters *bool @@ -3434,19 +3290,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 +3339,7 @@ type ApiTenancyTenantsListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string tenantGroup *[]string tenantGroupIsnull *bool tenantGroupN *[]string @@ -3509,6 +3353,7 @@ type ApiTenancyTenantsListRequest struct { vrfsIsnull *bool vrfsN *[]string depth *int32 + excludeM2m *bool } // Circuits (ID) @@ -3626,8 +3471,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 +3602,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 +3690,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 +3846,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 +3950,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 +4027,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 +4292,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 +4562,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 +4622,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 +4633,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 +5058,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 @@ -5496,6 +5174,12 @@ func (a *TenancyAPIService) TenancyTenantsListExecute(r ApiTenancyTenantsListReq var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5709,6 +5393,7 @@ type ApiTenancyTenantsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiTenancyTenantsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantsNotesListRequest { @@ -5734,6 +5419,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) } @@ -5792,6 +5483,12 @@ func (a *TenancyAPIService) TenancyTenantsNotesListExecute(r ApiTenancyTenantsNo var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6000,6 +5697,7 @@ type ApiTenancyTenantsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiTenancyTenantsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantsRetrieveRequest { @@ -6013,6 +5711,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) } @@ -6065,6 +5769,12 @@ func (a *TenancyAPIService) TenancyTenantsRetrieveExecute(r ApiTenancyTenantsRet var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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..3477e5a0 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) } @@ -92,6 +99,12 @@ func (a *UsersAPIService) UsersConfigRetrieveExecute(r ApiUsersConfigRetrieveReq var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -825,6 +838,7 @@ type ApiUsersGroupsListRequest struct { q *string sort *string depth *int32 + excludeM2m *bool } func (r ApiUsersGroupsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersGroupsListRequest { @@ -963,6 +977,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) } @@ -1244,6 +1264,12 @@ func (a *UsersAPIService) UsersGroupsListExecute(r ApiUsersGroupsListRequest) (* var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1452,6 +1478,7 @@ type ApiUsersGroupsRetrieveRequest struct { id int32 format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiUsersGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersGroupsRetrieveRequest { @@ -1465,6 +1492,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) } @@ -1517,6 +1550,12 @@ func (a *UsersAPIService) UsersGroupsRetrieveExecute(r ApiUsersGroupsRetrieveReq var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2382,19 +2421,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 +2445,7 @@ type ApiUsersPermissionsListRequest struct { users *[]string usersN *[]string depth *int32 + excludeM2m *bool } func (r ApiUsersPermissionsListRequest) Description(description []string) ApiUsersPermissionsListRequest { @@ -2530,71 +2558,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 +2683,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 +2944,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 +2955,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", "") } @@ -3329,6 +3171,12 @@ func (a *UsersAPIService) UsersPermissionsListExecute(r ApiUsersPermissionsListR var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3537,6 +3385,7 @@ type ApiUsersPermissionsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiUsersPermissionsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersPermissionsRetrieveRequest { @@ -3550,6 +3399,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) } @@ -3602,6 +3457,12 @@ func (a *UsersAPIService) UsersPermissionsRetrieveExecute(r ApiUsersPermissionsR var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4472,19 +4333,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 +4354,7 @@ type ApiUsersTokensListRequest struct { sort *string writeEnabled *bool depth *int32 + excludeM2m *bool } func (r ApiUsersTokensListRequest) Created(created []time.Time) ApiUsersTokensListRequest { @@ -4653,71 +4503,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 +4613,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 +4962,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 +4973,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 { @@ -5484,6 +5148,12 @@ func (a *UsersAPIService) UsersTokensListExecute(r ApiUsersTokensListRequest) (* var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5692,6 +5362,7 @@ type ApiUsersTokensRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiUsersTokensRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersTokensRetrieveRequest { @@ -5705,6 +5376,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) } @@ -5757,6 +5434,12 @@ func (a *UsersAPIService) UsersTokensRetrieveExecute(r ApiUsersTokensRetrieveReq var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6635,19 +6318,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 +6363,7 @@ type ApiUsersUsersListRequest struct { usernameNre *[]string usernameRe *[]string depth *int32 + excludeM2m *bool } func (r ApiUsersUsersListRequest) Email(email []string) ApiUsersUsersListRequest { @@ -6887,71 +6559,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 +6796,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 +7217,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 +7228,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", "") } @@ -8149,6 +7635,12 @@ func (a *UsersAPIService) UsersUsersListExecute(r ApiUsersUsersListRequest) (*Pa var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8357,6 +7849,7 @@ type ApiUsersUsersRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiUsersUsersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersUsersRetrieveRequest { @@ -8370,6 +7863,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) } @@ -8422,6 +7921,12 @@ func (a *UsersAPIService) UsersUsersRetrieveExecute(r ApiUsersUsersRetrieveReque var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_virtualization.go b/api_virtualization.go index cf2e370a..4a33a1a9 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,7 +1668,15 @@ 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", "") @@ -1860,6 +1684,12 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsListExecute(r ApiV var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2073,6 +1903,7 @@ type ApiVirtualizationClusterGroupsNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiVirtualizationClusterGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterGroupsNotesListRequest { @@ -2098,6 +1929,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) } @@ -2156,6 +1993,12 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsNotesListExecute(r var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2364,6 +2207,7 @@ type ApiVirtualizationClusterGroupsRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiVirtualizationClusterGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterGroupsRetrieveRequest { @@ -2377,6 +2221,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) } @@ -2429,6 +2279,12 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsRetrieveExecute(r var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3278,7 +3134,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 +3157,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 +3189,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 +3221,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 +3336,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 +3358,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 +3503,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 +3514,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 +3600,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 +3845,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 +3872,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 +3883,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,7 +4133,15 @@ 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", "") @@ -4469,6 +4149,12 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesListExecute(r ApiVi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4682,6 +4368,7 @@ type ApiVirtualizationClusterTypesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiVirtualizationClusterTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterTypesNotesListRequest { @@ -4707,6 +4394,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) } @@ -4765,6 +4458,12 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesNotesListExecute(r var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4973,6 +4672,7 @@ type ApiVirtualizationClusterTypesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiVirtualizationClusterTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterTypesRetrieveRequest { @@ -4986,6 +4686,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) } @@ -5038,6 +4744,12 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesRetrieveExecute(r A var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5908,7 +5620,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 +5632,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 +5671,7 @@ type ApiVirtualizationClustersListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string tenant *[]string tenantIsnull *bool tenantN *[]string @@ -5985,6 +5685,7 @@ type ApiVirtualizationClustersListRequest struct { virtualMachinesIsnull *bool virtualMachinesN *[]string depth *int32 + excludeM2m *bool } func (r ApiVirtualizationClustersListRequest) ClusterGroup(clusterGroup []string) ApiVirtualizationClustersListRequest { @@ -6124,8 +5825,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 +5886,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 +5914,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 +6090,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 +6167,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 +6458,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 +6933,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 @@ -7513,6 +7049,12 @@ func (a *VirtualizationAPIService) VirtualizationClustersListExecute(r ApiVirtua var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7726,6 +7268,7 @@ type ApiVirtualizationClustersNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiVirtualizationClustersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClustersNotesListRequest { @@ -7751,6 +7294,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) } @@ -7809,6 +7358,12 @@ func (a *VirtualizationAPIService) VirtualizationClustersNotesListExecute(r ApiV var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8017,6 +7572,7 @@ type ApiVirtualizationClustersRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiVirtualizationClustersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClustersRetrieveRequest { @@ -8030,6 +7586,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) } @@ -8082,6 +7644,12 @@ func (a *VirtualizationAPIService) VirtualizationClustersRetrieveExecute(r ApiVi var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8941,7 +8509,7 @@ type ApiVirtualizationInterfacesListRequest struct { clusterIdN *[]string contacts *[]string contactsIsnull *bool - contactsN *string + contactsN *[]string description *[]string descriptionIc *[]string descriptionIe *[]string @@ -8957,7 +8525,7 @@ type ApiVirtualizationInterfacesListRequest struct { descriptionNre *[]string descriptionRe *[]string dynamicGroups *[]string - dynamicGroupsN *string + dynamicGroupsN *[]string enabled *bool format *CircuitsCircuitTerminationsListFormatParameter hasBridgedInterfaces *bool @@ -8965,19 +8533,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 +8592,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 +8603,7 @@ type ApiVirtualizationInterfacesListRequest struct { tagsN *[]string teams *[]string teamsIsnull *bool - teamsN *string + teamsN *[]string untaggedVlan *[]string untaggedVlanIsnull *bool untaggedVlanN *[]string @@ -9055,7 +8611,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 +8697,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 +8777,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 +8822,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 +9137,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 +9153,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 +9194,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 +9237,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 +9429,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 +9583,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 +10246,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 +10271,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 +10343,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,12 +10422,21 @@ 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 } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11228,6 +10650,7 @@ type ApiVirtualizationInterfacesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiVirtualizationInterfacesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationInterfacesNotesListRequest { @@ -11253,6 +10676,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) } @@ -11311,6 +10740,12 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesNotesListExecute(r Ap var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11519,6 +10954,7 @@ type ApiVirtualizationInterfacesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiVirtualizationInterfacesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationInterfacesRetrieveRequest { @@ -11532,6 +10968,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) } @@ -11584,6 +11026,12 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesRetrieveExecute(r Api var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12458,7 +11906,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 +11922,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 +12001,7 @@ type ApiVirtualizationVirtualMachinesListRequest struct { q *string role *[]string roleIsnull *bool - roleN *string + roleN *[]string services *[]string servicesIsnull *bool servicesN *[]string @@ -12574,13 +12012,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 +12036,7 @@ type ApiVirtualizationVirtualMachinesListRequest struct { vcpusLte *[]int32 vcpusN *[]int32 depth *int32 + excludeM2m *bool } func (r ApiVirtualizationVirtualMachinesListRequest) Cluster(cluster []string) ApiVirtualizationVirtualMachinesListRequest { @@ -12759,8 +12198,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 +12278,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 +12294,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 +12330,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 +12351,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 +12712,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 +12770,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 +12801,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 +12897,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 +13250,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 +13410,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 +13426,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 +13452,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 +13463,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 +13488,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 +14119,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 +14216,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 +14266,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 @@ -15112,6 +14426,12 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15325,6 +14645,7 @@ type ApiVirtualizationVirtualMachinesNotesListRequest struct { limit *int32 offset *int32 depth *int32 + excludeM2m *bool } func (r ApiVirtualizationVirtualMachinesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationVirtualMachinesNotesListRequest { @@ -15350,6 +14671,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) } @@ -15408,6 +14735,12 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesNotesListExecute var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + r.excludeM2m = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15616,6 +14949,7 @@ type ApiVirtualizationVirtualMachinesRetrieveRequest struct { id string format *CircuitsCircuitTerminationsListFormatParameter depth *int32 + excludeM2m *bool } func (r ApiVirtualizationVirtualMachinesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationVirtualMachinesRetrieveRequest { @@ -15629,6 +14963,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) } @@ -15681,6 +15021,12 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesRetrieveExecute( var defaultValue int32 = 1 r.depth = &defaultValue } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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..5a2d4307 --- /dev/null +++ b/api_wireless.go @@ -0,0 +1,11793 @@ +/* +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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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 + r.depth = &defaultValue + } + if r.excludeM2m != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") + } else { + var defaultValue bool = false + 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..3fea0e5f 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.20-beta", Debug: false, Servers: ServerConfigurations{ { 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..ce2f9aff 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: 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..583f374f 100755 --- a/development/scripts/fix-spec.py +++ b/development/scripts/fix-spec.py @@ -4,36 +4,32 @@ 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) + + # 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 +39,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 +52,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 +65,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 +79,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] + } - for ntype in non_nullable_types: + # 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) + + # 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/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/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..81bb2a51 --- /dev/null +++ b/docs/BulkWritableRadioProfileRequestFrequency.md @@ -0,0 +1,30 @@ +# BulkWritableRadioProfileRequestFrequency + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Methods + +### NewBulkWritableRadioProfileRequestFrequency + +`func NewBulkWritableRadioProfileRequestFrequency() *BulkWritableRadioProfileRequestFrequency` + +NewBulkWritableRadioProfileRequestFrequency instantiates a new BulkWritableRadioProfileRequestFrequency 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 + +### NewBulkWritableRadioProfileRequestFrequencyWithDefaults + +`func NewBulkWritableRadioProfileRequestFrequencyWithDefaults() *BulkWritableRadioProfileRequestFrequency` + +NewBulkWritableRadioProfileRequestFrequencyWithDefaults instantiates a new BulkWritableRadioProfileRequestFrequency 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/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/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/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 @@ SetManufacturer sets Manufacturer field to given value. HasManufacturer returns a boolean if a field has been set. +### GetModuleFamily + +`func (o *PatchedBulkWritableModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant` + +GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise. + +### GetModuleFamilyOk + +`func (o *PatchedBulkWritableModuleTypeRequest) 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 *PatchedBulkWritableModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant)` + +SetModuleFamily sets ModuleFamily field to given value. + +### HasModuleFamily + +`func (o *PatchedBulkWritableModuleTypeRequest) HasModuleFamily() bool` + +HasModuleFamily returns a boolean if a field has been set. + +### SetModuleFamilyNil + +`func (o *PatchedBulkWritableModuleTypeRequest) SetModuleFamilyNil(b bool)` + + SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil + +### UnsetModuleFamily +`func (o *PatchedBulkWritableModuleTypeRequest) UnsetModuleFamily()` + +UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil ### GetCustomFields `func (o *PatchedBulkWritableModuleTypeRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedBulkWritablePowerFeedRequest.md b/docs/PatchedBulkWritablePowerFeedRequest.md index 3c053382..ddfb49df 100644 --- a/docs/PatchedBulkWritablePowerFeedRequest.md +++ b/docs/PatchedBulkWritablePowerFeedRequest.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** | Pointer to **string** | | [optional] **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** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**PowerPanel** | Pointer to [**BulkWritablePowerFeedRequestPowerPanel**](BulkWritablePowerFeedRequestPowerPanel.md) | | [optional] +**DestinationPanel** | Pointer to [**NullableBulkWritablePowerFeedRequestDestinationPanel**](BulkWritablePowerFeedRequestDestinationPanel.md) | | [optional] **Rack** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -85,6 +89,31 @@ SetType sets Type field to given value. HasType returns a boolean if a field has been set. +### GetPowerPath + +`func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPath() PowerPathEnum` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *PatchedBulkWritablePowerFeedRequest) 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 *PatchedBulkWritablePowerFeedRequest) SetPowerPath(v PowerPathEnum)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *PatchedBulkWritablePowerFeedRequest) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + ### GetSupply `func (o *PatchedBulkWritablePowerFeedRequest) 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 *PatchedBulkWritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum` + +GetBreakerPoleCount returns the BreakerPoleCount field if non-nil, zero value otherwise. + +### GetBreakerPoleCountOk + +`func (o *PatchedBulkWritablePowerFeedRequest) 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 *PatchedBulkWritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum)` + +SetBreakerPoleCount sets BreakerPoleCount field to given value. + +### HasBreakerPoleCount + +`func (o *PatchedBulkWritablePowerFeedRequest) HasBreakerPoleCount() bool` + +HasBreakerPoleCount returns a boolean if a field has been set. + +### SetBreakerPoleCountNil + +`func (o *PatchedBulkWritablePowerFeedRequest) SetBreakerPoleCountNil(b bool)` + + SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil + +### UnsetBreakerPoleCount +`func (o *PatchedBulkWritablePowerFeedRequest) UnsetBreakerPoleCount()` + +UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil ### GetName `func (o *PatchedBulkWritablePowerFeedRequest) GetName() string` @@ -235,6 +299,41 @@ SetMaxUtilization sets MaxUtilization field to given value. HasMaxUtilization returns a boolean if a field has been set. +### GetBreakerPosition + +`func (o *PatchedBulkWritablePowerFeedRequest) GetBreakerPosition() int32` + +GetBreakerPosition returns the BreakerPosition field if non-nil, zero value otherwise. + +### GetBreakerPositionOk + +`func (o *PatchedBulkWritablePowerFeedRequest) 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 *PatchedBulkWritablePowerFeedRequest) SetBreakerPosition(v int32)` + +SetBreakerPosition sets BreakerPosition field to given value. + +### HasBreakerPosition + +`func (o *PatchedBulkWritablePowerFeedRequest) HasBreakerPosition() bool` + +HasBreakerPosition returns a boolean if a field has been set. + +### SetBreakerPositionNil + +`func (o *PatchedBulkWritablePowerFeedRequest) SetBreakerPositionNil(b bool)` + + SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil + +### UnsetBreakerPosition +`func (o *PatchedBulkWritablePowerFeedRequest) UnsetBreakerPosition()` + +UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil ### GetComments `func (o *PatchedBulkWritablePowerFeedRequest) GetComments() string` @@ -297,20 +396,20 @@ 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 *PatchedBulkWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus` +`func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool)` +`func (o *PatchedBulkWritablePowerFeedRequest) 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 *PatchedBulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus)` +`func (o *PatchedBulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel)` SetPowerPanel sets PowerPanel field to given value. @@ -320,6 +419,41 @@ SetPowerPanel sets PowerPanel field to given value. HasPowerPanel returns a boolean if a field has been set. +### GetDestinationPanel + +`func (o *PatchedBulkWritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel` + +GetDestinationPanel returns the DestinationPanel field if non-nil, zero value otherwise. + +### GetDestinationPanelOk + +`func (o *PatchedBulkWritablePowerFeedRequest) 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 *PatchedBulkWritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel)` + +SetDestinationPanel sets DestinationPanel field to given value. + +### HasDestinationPanel + +`func (o *PatchedBulkWritablePowerFeedRequest) HasDestinationPanel() bool` + +HasDestinationPanel returns a boolean if a field has been set. + +### SetDestinationPanelNil + +`func (o *PatchedBulkWritablePowerFeedRequest) SetDestinationPanelNil(b bool)` + + SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil + +### UnsetDestinationPanel +`func (o *PatchedBulkWritablePowerFeedRequest) UnsetDestinationPanel()` + +UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil ### GetRack `func (o *PatchedBulkWritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant` diff --git a/docs/PatchedBulkWritablePowerPanelRequest.md b/docs/PatchedBulkWritablePowerPanelRequest.md index 626e344c..e165f4ef 100644 --- a/docs/PatchedBulkWritablePowerPanelRequest.md +++ b/docs/PatchedBulkWritablePowerPanelRequest.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** | Pointer to **string** | | [optional] +**BreakerPositionCount** | Pointer to **NullableInt32** | Total number of breaker positions in the panel (e.g., 42) | [optional] **Location** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **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 *PatchedBulkWritablePowerPanelRequest) GetPanelType() PanelTypeEnum` + +GetPanelType returns the PanelType field if non-nil, zero value otherwise. + +### GetPanelTypeOk + +`func (o *PatchedBulkWritablePowerPanelRequest) 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 *PatchedBulkWritablePowerPanelRequest) SetPanelType(v PanelTypeEnum)` + +SetPanelType sets PanelType field to given value. + +### HasPanelType + +`func (o *PatchedBulkWritablePowerPanelRequest) HasPanelType() bool` + +HasPanelType returns a boolean if a field has been set. + +### GetPowerPath + +`func (o *PatchedBulkWritablePowerPanelRequest) GetPowerPath() PowerPathEnum` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *PatchedBulkWritablePowerPanelRequest) 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 *PatchedBulkWritablePowerPanelRequest) SetPowerPath(v PowerPathEnum)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *PatchedBulkWritablePowerPanelRequest) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + ### GetName `func (o *PatchedBulkWritablePowerPanelRequest) GetName() string` @@ -76,6 +129,41 @@ SetName sets Name field to given value. HasName returns a boolean if a field has been set. +### GetBreakerPositionCount + +`func (o *PatchedBulkWritablePowerPanelRequest) GetBreakerPositionCount() int32` + +GetBreakerPositionCount returns the BreakerPositionCount field if non-nil, zero value otherwise. + +### GetBreakerPositionCountOk + +`func (o *PatchedBulkWritablePowerPanelRequest) 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 *PatchedBulkWritablePowerPanelRequest) SetBreakerPositionCount(v int32)` + +SetBreakerPositionCount sets BreakerPositionCount field to given value. + +### HasBreakerPositionCount + +`func (o *PatchedBulkWritablePowerPanelRequest) HasBreakerPositionCount() bool` + +HasBreakerPositionCount returns a boolean if a field has been set. + +### SetBreakerPositionCountNil + +`func (o *PatchedBulkWritablePowerPanelRequest) SetBreakerPositionCountNil(b bool)` + + SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil + +### UnsetBreakerPositionCount +`func (o *PatchedBulkWritablePowerPanelRequest) UnsetBreakerPositionCount()` + +UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil ### GetLocation `func (o *PatchedBulkWritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus` diff --git a/docs/PatchedBulkWritablePowerPortRequest.md b/docs/PatchedBulkWritablePowerPortRequest.md index 7cd16d01..47199837 100644 --- a/docs/PatchedBulkWritablePowerPortRequest.md +++ b/docs/PatchedBulkWritablePowerPortRequest.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] @@ -226,6 +227,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *PatchedBulkWritablePowerPortRequest) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *PatchedBulkWritablePowerPortRequest) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *PatchedBulkWritablePowerPortRequest) 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 *PatchedBulkWritablePowerPortRequest) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *PatchedBulkWritablePowerPortRequest) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDevice `func (o *PatchedBulkWritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant` diff --git a/docs/PatchedBulkWritablePowerPortTemplateRequest.md b/docs/PatchedBulkWritablePowerPortTemplateRequest.md index 7ecbdd7b..b3f2a15e 100644 --- a/docs/PatchedBulkWritablePowerPortTemplateRequest.md +++ b/docs/PatchedBulkWritablePowerPortTemplateRequest.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] @@ -225,6 +226,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *PatchedBulkWritablePowerPortTemplateRequest) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *PatchedBulkWritablePowerPortTemplateRequest) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *PatchedBulkWritablePowerPortTemplateRequest) 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 *PatchedBulkWritablePowerPortTemplateRequest) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *PatchedBulkWritablePowerPortTemplateRequest) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDeviceType `func (o *PatchedBulkWritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant` diff --git a/docs/PatchedBulkWritablePrefixRequest.md b/docs/PatchedBulkWritablePrefixRequest.md index bb86771e..2ea04d54 100644 --- a/docs/PatchedBulkWritablePrefixRequest.md +++ b/docs/PatchedBulkWritablePrefixRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | | **Prefix** | Pointer to **string** | | [optional] -**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/PatchedBulkWritableRadioProfileRequest.md b/docs/PatchedBulkWritableRadioProfileRequest.md new file mode 100644 index 00000000..f61b0f0c --- /dev/null +++ b/docs/PatchedBulkWritableRadioProfileRequest.md @@ -0,0 +1,393 @@ +# PatchedBulkWritableRadioProfileRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | | +**ChannelWidth** | Pointer to [**[]ChannelWidthEnum**](ChannelWidthEnum.md) | | [optional] +**AllowedChannelList** | Pointer to **[]int32** | | [optional] +**Name** | Pointer to **string** | | [optional] +**Frequency** | Pointer to [**BulkWritableRadioProfileRequestFrequency**](BulkWritableRadioProfileRequestFrequency.md) | | [optional] +**TxPowerMin** | Pointer to **NullableInt32** | | [optional] +**TxPowerMax** | Pointer to **NullableInt32** | | [optional] +**RegulatoryDomain** | Pointer to [**RegulatoryDomainEnum**](RegulatoryDomainEnum.md) | | [optional] +**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 + +### NewPatchedBulkWritableRadioProfileRequest + +`func NewPatchedBulkWritableRadioProfileRequest(id string, ) *PatchedBulkWritableRadioProfileRequest` + +NewPatchedBulkWritableRadioProfileRequest instantiates a new PatchedBulkWritableRadioProfileRequest 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 + +### NewPatchedBulkWritableRadioProfileRequestWithDefaults + +`func NewPatchedBulkWritableRadioProfileRequestWithDefaults() *PatchedBulkWritableRadioProfileRequest` + +NewPatchedBulkWritableRadioProfileRequestWithDefaults instantiates a new PatchedBulkWritableRadioProfileRequest 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 *PatchedBulkWritableRadioProfileRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetId(v string)` + +SetId sets Id field to given value. + + +### GetChannelWidth + +`func (o *PatchedBulkWritableRadioProfileRequest) GetChannelWidth() []ChannelWidthEnum` + +GetChannelWidth returns the ChannelWidth field if non-nil, zero value otherwise. + +### GetChannelWidthOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum)` + +SetChannelWidth sets ChannelWidth field to given value. + +### HasChannelWidth + +`func (o *PatchedBulkWritableRadioProfileRequest) HasChannelWidth() bool` + +HasChannelWidth returns a boolean if a field has been set. + +### GetAllowedChannelList + +`func (o *PatchedBulkWritableRadioProfileRequest) GetAllowedChannelList() []int32` + +GetAllowedChannelList returns the AllowedChannelList field if non-nil, zero value otherwise. + +### GetAllowedChannelListOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetAllowedChannelList(v []int32)` + +SetAllowedChannelList sets AllowedChannelList field to given value. + +### HasAllowedChannelList + +`func (o *PatchedBulkWritableRadioProfileRequest) HasAllowedChannelList() bool` + +HasAllowedChannelList returns a boolean if a field has been set. + +### GetName + +`func (o *PatchedBulkWritableRadioProfileRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedBulkWritableRadioProfileRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetFrequency + +`func (o *PatchedBulkWritableRadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency` + +GetFrequency returns the Frequency field if non-nil, zero value otherwise. + +### GetFrequencyOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency)` + +SetFrequency sets Frequency field to given value. + +### HasFrequency + +`func (o *PatchedBulkWritableRadioProfileRequest) HasFrequency() bool` + +HasFrequency returns a boolean if a field has been set. + +### GetTxPowerMin + +`func (o *PatchedBulkWritableRadioProfileRequest) GetTxPowerMin() int32` + +GetTxPowerMin returns the TxPowerMin field if non-nil, zero value otherwise. + +### GetTxPowerMinOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetTxPowerMin(v int32)` + +SetTxPowerMin sets TxPowerMin field to given value. + +### HasTxPowerMin + +`func (o *PatchedBulkWritableRadioProfileRequest) HasTxPowerMin() bool` + +HasTxPowerMin returns a boolean if a field has been set. + +### SetTxPowerMinNil + +`func (o *PatchedBulkWritableRadioProfileRequest) SetTxPowerMinNil(b bool)` + + SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil + +### UnsetTxPowerMin +`func (o *PatchedBulkWritableRadioProfileRequest) UnsetTxPowerMin()` + +UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +### GetTxPowerMax + +`func (o *PatchedBulkWritableRadioProfileRequest) GetTxPowerMax() int32` + +GetTxPowerMax returns the TxPowerMax field if non-nil, zero value otherwise. + +### GetTxPowerMaxOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetTxPowerMax(v int32)` + +SetTxPowerMax sets TxPowerMax field to given value. + +### HasTxPowerMax + +`func (o *PatchedBulkWritableRadioProfileRequest) HasTxPowerMax() bool` + +HasTxPowerMax returns a boolean if a field has been set. + +### SetTxPowerMaxNil + +`func (o *PatchedBulkWritableRadioProfileRequest) SetTxPowerMaxNil(b bool)` + + SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil + +### UnsetTxPowerMax +`func (o *PatchedBulkWritableRadioProfileRequest) UnsetTxPowerMax()` + +UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +### GetRegulatoryDomain + +`func (o *PatchedBulkWritableRadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum` + +GetRegulatoryDomain returns the RegulatoryDomain field if non-nil, zero value otherwise. + +### GetRegulatoryDomainOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum)` + +SetRegulatoryDomain sets RegulatoryDomain field to given value. + +### HasRegulatoryDomain + +`func (o *PatchedBulkWritableRadioProfileRequest) HasRegulatoryDomain() bool` + +HasRegulatoryDomain returns a boolean if a field has been set. + +### GetRxPowerMin + +`func (o *PatchedBulkWritableRadioProfileRequest) GetRxPowerMin() int32` + +GetRxPowerMin returns the RxPowerMin field if non-nil, zero value otherwise. + +### GetRxPowerMinOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetRxPowerMin(v int32)` + +SetRxPowerMin sets RxPowerMin field to given value. + +### HasRxPowerMin + +`func (o *PatchedBulkWritableRadioProfileRequest) HasRxPowerMin() bool` + +HasRxPowerMin returns a boolean if a field has been set. + +### SetRxPowerMinNil + +`func (o *PatchedBulkWritableRadioProfileRequest) SetRxPowerMinNil(b bool)` + + SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil + +### UnsetRxPowerMin +`func (o *PatchedBulkWritableRadioProfileRequest) UnsetRxPowerMin()` + +UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +### GetSupportedDataRates + +`func (o *PatchedBulkWritableRadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus` + +GetSupportedDataRates returns the SupportedDataRates field if non-nil, zero value otherwise. + +### GetSupportedDataRatesOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus)` + +SetSupportedDataRates sets SupportedDataRates field to given value. + +### HasSupportedDataRates + +`func (o *PatchedBulkWritableRadioProfileRequest) HasSupportedDataRates() bool` + +HasSupportedDataRates returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PatchedBulkWritableRadioProfileRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedBulkWritableRadioProfileRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedBulkWritableRadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedBulkWritableRadioProfileRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedBulkWritableRadioProfileRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedBulkWritableRadioProfileRequest) 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 *PatchedBulkWritableRadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedBulkWritableRadioProfileRequest) 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/PatchedBulkWritableSoftwareImageFileRequest.md b/docs/PatchedBulkWritableSoftwareImageFileRequest.md index 12159309..f2f3a52d 100644 --- a/docs/PatchedBulkWritableSoftwareImageFileRequest.md +++ b/docs/PatchedBulkWritableSoftwareImageFileRequest.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** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**ExternalIntegration** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional] @@ -241,6 +242,41 @@ SetSoftwareVersion sets SoftwareVersion field to given value. HasSoftwareVersion returns a boolean if a field has been set. +### GetExternalIntegration + +`func (o *PatchedBulkWritableSoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant` + +GetExternalIntegration returns the ExternalIntegration field if non-nil, zero value otherwise. + +### GetExternalIntegrationOk + +`func (o *PatchedBulkWritableSoftwareImageFileRequest) 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 *PatchedBulkWritableSoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant)` + +SetExternalIntegration sets ExternalIntegration field to given value. + +### HasExternalIntegration + +`func (o *PatchedBulkWritableSoftwareImageFileRequest) HasExternalIntegration() bool` + +HasExternalIntegration returns a boolean if a field has been set. + +### SetExternalIntegrationNil + +`func (o *PatchedBulkWritableSoftwareImageFileRequest) SetExternalIntegrationNil(b bool)` + + SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil + +### UnsetExternalIntegration +`func (o *PatchedBulkWritableSoftwareImageFileRequest) UnsetExternalIntegration()` + +UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil ### GetStatus `func (o *PatchedBulkWritableSoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus` diff --git a/docs/PatchedBulkWritableSupportedDataRateRequest.md b/docs/PatchedBulkWritableSupportedDataRateRequest.md new file mode 100644 index 00000000..1f8f236c --- /dev/null +++ b/docs/PatchedBulkWritableSupportedDataRateRequest.md @@ -0,0 +1,217 @@ +# PatchedBulkWritableSupportedDataRateRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | | +**Standard** | Pointer to [**StandardEnum**](StandardEnum.md) | | [optional] +**Rate** | Pointer to **int32** | | [optional] +**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 + +### NewPatchedBulkWritableSupportedDataRateRequest + +`func NewPatchedBulkWritableSupportedDataRateRequest(id string, ) *PatchedBulkWritableSupportedDataRateRequest` + +NewPatchedBulkWritableSupportedDataRateRequest instantiates a new PatchedBulkWritableSupportedDataRateRequest 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 + +### NewPatchedBulkWritableSupportedDataRateRequestWithDefaults + +`func NewPatchedBulkWritableSupportedDataRateRequestWithDefaults() *PatchedBulkWritableSupportedDataRateRequest` + +NewPatchedBulkWritableSupportedDataRateRequestWithDefaults instantiates a new PatchedBulkWritableSupportedDataRateRequest 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 *PatchedBulkWritableSupportedDataRateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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 *PatchedBulkWritableSupportedDataRateRequest) SetId(v string)` + +SetId sets Id field to given value. + + +### GetStandard + +`func (o *PatchedBulkWritableSupportedDataRateRequest) GetStandard() StandardEnum` + +GetStandard returns the Standard field if non-nil, zero value otherwise. + +### GetStandardOk + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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 *PatchedBulkWritableSupportedDataRateRequest) SetStandard(v StandardEnum)` + +SetStandard sets Standard field to given value. + +### HasStandard + +`func (o *PatchedBulkWritableSupportedDataRateRequest) HasStandard() bool` + +HasStandard returns a boolean if a field has been set. + +### GetRate + +`func (o *PatchedBulkWritableSupportedDataRateRequest) GetRate() int32` + +GetRate returns the Rate field if non-nil, zero value otherwise. + +### GetRateOk + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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 *PatchedBulkWritableSupportedDataRateRequest) SetRate(v int32)` + +SetRate sets Rate field to given value. + +### HasRate + +`func (o *PatchedBulkWritableSupportedDataRateRequest) HasRate() bool` + +HasRate returns a boolean if a field has been set. + +### GetMcsIndex + +`func (o *PatchedBulkWritableSupportedDataRateRequest) GetMcsIndex() int32` + +GetMcsIndex returns the McsIndex field if non-nil, zero value otherwise. + +### GetMcsIndexOk + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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 *PatchedBulkWritableSupportedDataRateRequest) SetMcsIndex(v int32)` + +SetMcsIndex sets McsIndex field to given value. + +### HasMcsIndex + +`func (o *PatchedBulkWritableSupportedDataRateRequest) HasMcsIndex() bool` + +HasMcsIndex returns a boolean if a field has been set. + +### SetMcsIndexNil + +`func (o *PatchedBulkWritableSupportedDataRateRequest) SetMcsIndexNil(b bool)` + + SetMcsIndexNil sets the value for McsIndex to be an explicit nil + +### UnsetMcsIndex +`func (o *PatchedBulkWritableSupportedDataRateRequest) UnsetMcsIndex()` + +UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +### GetCustomFields + +`func (o *PatchedBulkWritableSupportedDataRateRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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 *PatchedBulkWritableSupportedDataRateRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedBulkWritableSupportedDataRateRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedBulkWritableSupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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 *PatchedBulkWritableSupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedBulkWritableSupportedDataRateRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedBulkWritableSupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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 *PatchedBulkWritableSupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedBulkWritableSupportedDataRateRequest) 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/PatchedBulkWritableTeamRequest.md b/docs/PatchedBulkWritableTeamRequest.md index 52af6765..92b9f95f 100644 --- a/docs/PatchedBulkWritableTeamRequest.md +++ b/docs/PatchedBulkWritableTeamRequest.md @@ -5,14 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | | -**Contacts** | 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 ""] **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 *PatchedBulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus` - -GetContacts returns the Contacts field if non-nil, zero value otherwise. - -### GetContactsOk - -`func (o *PatchedBulkWritableTeamRequest) 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 *PatchedBulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus)` - -SetContacts sets Contacts field to given value. - -### HasContacts - -`func (o *PatchedBulkWritableTeamRequest) HasContacts() bool` - -HasContacts returns a boolean if a field has been set. - ### GetName `func (o *PatchedBulkWritableTeamRequest) GetName() string` @@ -203,6 +179,31 @@ SetComments sets Comments field to given value. HasComments returns a boolean if a field has been set. +### GetContacts + +`func (o *PatchedBulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus` + +GetContacts returns the Contacts field if non-nil, zero value otherwise. + +### GetContactsOk + +`func (o *PatchedBulkWritableTeamRequest) 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 *PatchedBulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus)` + +SetContacts sets Contacts field to given value. + +### HasContacts + +`func (o *PatchedBulkWritableTeamRequest) HasContacts() bool` + +HasContacts returns a boolean if a field has been set. + ### GetCustomFields `func (o *PatchedBulkWritableTeamRequest) GetCustomFields() map[string]interface{}` @@ -253,6 +254,31 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *PatchedBulkWritableTeamRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedBulkWritableTeamRequest) 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 *PatchedBulkWritableTeamRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedBulkWritableTeamRequest) 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/PatchedBulkWritableVLANGroupRequest.md b/docs/PatchedBulkWritableVLANGroupRequest.md index 2d8336b5..2dbeae60 100644 --- a/docs/PatchedBulkWritableVLANGroupRequest.md +++ b/docs/PatchedBulkWritableVLANGroupRequest.md @@ -7,7 +7,9 @@ Name | Type | Description | Notes **Id** | **string** | | **Name** | Pointer to **string** | | [optional] **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] @@ -100,6 +102,31 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetRange + +`func (o *PatchedBulkWritableVLANGroupRequest) GetRange() string` + +GetRange returns the Range field if non-nil, zero value otherwise. + +### GetRangeOk + +`func (o *PatchedBulkWritableVLANGroupRequest) 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 *PatchedBulkWritableVLANGroupRequest) SetRange(v string)` + +SetRange sets Range field to given value. + +### HasRange + +`func (o *PatchedBulkWritableVLANGroupRequest) HasRange() bool` + +HasRange returns a boolean if a field has been set. + ### GetLocation `func (o *PatchedBulkWritableVLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant` @@ -135,6 +162,31 @@ HasLocation returns a boolean if a field has been set. `func (o *PatchedBulkWritableVLANGroupRequest) UnsetLocation()` UnsetLocation ensures that no value is present for Location, not even an explicit nil +### GetTags + +`func (o *PatchedBulkWritableVLANGroupRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedBulkWritableVLANGroupRequest) 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 *PatchedBulkWritableVLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedBulkWritableVLANGroupRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + ### GetCustomFields `func (o *PatchedBulkWritableVLANGroupRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedBulkWritableVMInterfaceRequest.md b/docs/PatchedBulkWritableVMInterfaceRequest.md index da5bc240..88f74788 100644 --- a/docs/PatchedBulkWritableVMInterfaceRequest.md +++ b/docs/PatchedBulkWritableVMInterfaceRequest.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 *PatchedBulkWritableVMInterfaceRequest) GetMode() ModeEnum` +`func (o *PatchedBulkWritableVMInterfaceRequest) GetMode() InterfaceModeChoices` GetMode returns the Mode field if non-nil, zero value otherwise. ### GetModeOk -`func (o *PatchedBulkWritableVMInterfaceRequest) GetModeOk() (*ModeEnum, bool)` +`func (o *PatchedBulkWritableVMInterfaceRequest) 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 *PatchedBulkWritableVMInterfaceRequest) SetMode(v ModeEnum)` +`func (o *PatchedBulkWritableVMInterfaceRequest) SetMode(v InterfaceModeChoices)` SetMode sets Mode field to given value. diff --git a/docs/PatchedBulkWritableVRFDeviceAssignmentRequest.md b/docs/PatchedBulkWritableVRFDeviceAssignmentRequest.md index 7a5bb7c5..b28f7b62 100644 --- a/docs/PatchedBulkWritableVRFDeviceAssignmentRequest.md +++ b/docs/PatchedBulkWritableVRFDeviceAssignmentRequest.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **Vrf** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **Device** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **VirtualMachine** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] +**VirtualDeviceContext** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] ## Methods @@ -205,6 +206,41 @@ HasVirtualMachine returns a boolean if a field has been set. `func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) UnsetVirtualMachine()` UnsetVirtualMachine ensures that no value is present for VirtualMachine, not even an explicit nil +### GetVirtualDeviceContext + +`func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant` + +GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise. + +### GetVirtualDeviceContextOk + +`func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) 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 *PatchedBulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant)` + +SetVirtualDeviceContext sets VirtualDeviceContext field to given value. + +### HasVirtualDeviceContext + +`func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool` + +HasVirtualDeviceContext returns a boolean if a field has been set. + +### SetVirtualDeviceContextNil + +`func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContextNil(b bool)` + + SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil + +### UnsetVirtualDeviceContext +`func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) 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/PatchedBulkWritableVirtualDeviceContextRequest.md b/docs/PatchedBulkWritableVirtualDeviceContextRequest.md new file mode 100644 index 00000000..231c0868 --- /dev/null +++ b/docs/PatchedBulkWritableVirtualDeviceContextRequest.md @@ -0,0 +1,413 @@ +# PatchedBulkWritableVirtualDeviceContextRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | | +**Name** | Pointer to **string** | | [optional] +**Identifier** | Pointer to **NullableInt32** | Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) | [optional] +**Description** | Pointer to **string** | | [optional] +**Device** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**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 + +### NewPatchedBulkWritableVirtualDeviceContextRequest + +`func NewPatchedBulkWritableVirtualDeviceContextRequest(id string, ) *PatchedBulkWritableVirtualDeviceContextRequest` + +NewPatchedBulkWritableVirtualDeviceContextRequest instantiates a new PatchedBulkWritableVirtualDeviceContextRequest 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 + +### NewPatchedBulkWritableVirtualDeviceContextRequestWithDefaults + +`func NewPatchedBulkWritableVirtualDeviceContextRequestWithDefaults() *PatchedBulkWritableVirtualDeviceContextRequest` + +NewPatchedBulkWritableVirtualDeviceContextRequestWithDefaults instantiates a new PatchedBulkWritableVirtualDeviceContextRequest 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 *PatchedBulkWritableVirtualDeviceContextRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetId(v string)` + +SetId sets Id field to given value. + + +### GetName + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetIdentifier + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetIdentifier() int32` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetIdentifier(v int32)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### SetIdentifierNil + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetIdentifierNil(b bool)` + + SetIdentifierNil sets the value for Identifier to be an explicit nil + +### UnsetIdentifier +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetIdentifier()` + +UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +### GetDescription + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDevice + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus)` + +SetDevice sets Device field to given value. + +### HasDevice + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasDevice() bool` + +HasDevice returns a boolean if a field has been set. + +### GetStatus + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil +### GetPrimaryIp4 + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4` + +GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. + +### GetPrimaryIp4Ok + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4)` + +SetPrimaryIp4 sets PrimaryIp4 field to given value. + +### HasPrimaryIp4 + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasPrimaryIp4() bool` + +HasPrimaryIp4 returns a boolean if a field has been set. + +### SetPrimaryIp4Nil + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp4Nil(b bool)` + + SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil + +### UnsetPrimaryIp4 +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp4()` + +UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +### GetPrimaryIp6 + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6` + +GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. + +### GetPrimaryIp6Ok + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6)` + +SetPrimaryIp6 sets PrimaryIp6 field to given value. + +### HasPrimaryIp6 + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasPrimaryIp6() bool` + +HasPrimaryIp6 returns a boolean if a field has been set. + +### SetPrimaryIp6Nil + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp6Nil(b bool)` + + SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil + +### UnsetPrimaryIp6 +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp6()` + +UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +### GetTenant + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetCustomFields + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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 *PatchedBulkWritableVirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedBulkWritableVirtualDeviceContextRequest) 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/PatchedBulkWritableWirelessNetworkRequest.md b/docs/PatchedBulkWritableWirelessNetworkRequest.md new file mode 100644 index 00000000..79bbaa3b --- /dev/null +++ b/docs/PatchedBulkWritableWirelessNetworkRequest.md @@ -0,0 +1,383 @@ +# PatchedBulkWritableWirelessNetworkRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | | +**Name** | Pointer to **string** | | [optional] +**Description** | Pointer to **string** | | [optional] +**Ssid** | Pointer to **string** | | [optional] +**Mode** | Pointer to [**WirelessNetworkModeChoices**](WirelessNetworkModeChoices.md) | | [optional] +**Enabled** | Pointer to **bool** | | [optional] +**Authentication** | Pointer to [**AuthenticationEnum**](AuthenticationEnum.md) | | [optional] +**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 + +### NewPatchedBulkWritableWirelessNetworkRequest + +`func NewPatchedBulkWritableWirelessNetworkRequest(id string, ) *PatchedBulkWritableWirelessNetworkRequest` + +NewPatchedBulkWritableWirelessNetworkRequest instantiates a new PatchedBulkWritableWirelessNetworkRequest 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 + +### NewPatchedBulkWritableWirelessNetworkRequestWithDefaults + +`func NewPatchedBulkWritableWirelessNetworkRequestWithDefaults() *PatchedBulkWritableWirelessNetworkRequest` + +NewPatchedBulkWritableWirelessNetworkRequestWithDefaults instantiates a new PatchedBulkWritableWirelessNetworkRequest 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 *PatchedBulkWritableWirelessNetworkRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetId(v string)` + +SetId sets Id field to given value. + + +### GetName + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetDescription + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetSsid + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetSsid() string` + +GetSsid returns the Ssid field if non-nil, zero value otherwise. + +### GetSsidOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetSsid(v string)` + +SetSsid sets Ssid field to given value. + +### HasSsid + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasSsid() bool` + +HasSsid returns a boolean if a field has been set. + +### GetMode + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetMode() WirelessNetworkModeChoices` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetEnabled + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetEnabled() bool` + +GetEnabled returns the Enabled field if non-nil, zero value otherwise. + +### GetEnabledOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetEnabled(v bool)` + +SetEnabled sets Enabled field to given value. + +### HasEnabled + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasEnabled() bool` + +HasEnabled returns a boolean if a field has been set. + +### GetAuthentication + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetAuthentication() AuthenticationEnum` + +GetAuthentication returns the Authentication field if non-nil, zero value otherwise. + +### GetAuthenticationOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetAuthentication(v AuthenticationEnum)` + +SetAuthentication sets Authentication field to given value. + +### HasAuthentication + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasAuthentication() bool` + +HasAuthentication returns a boolean if a field has been set. + +### GetHidden + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + +### GetSecretsGroup + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant` + +GetSecretsGroup returns the SecretsGroup field if non-nil, zero value otherwise. + +### GetSecretsGroupOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant)` + +SetSecretsGroup sets SecretsGroup field to given value. + +### HasSecretsGroup + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasSecretsGroup() bool` + +HasSecretsGroup returns a boolean if a field has been set. + +### SetSecretsGroupNil + +`func (o *PatchedBulkWritableWirelessNetworkRequest) SetSecretsGroupNil(b bool)` + + SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil + +### UnsetSecretsGroup +`func (o *PatchedBulkWritableWirelessNetworkRequest) UnsetSecretsGroup()` + +UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +### GetTenant + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *PatchedBulkWritableWirelessNetworkRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *PatchedBulkWritableWirelessNetworkRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetCustomFields + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedBulkWritableWirelessNetworkRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedBulkWritableWirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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 *PatchedBulkWritableWirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedBulkWritableWirelessNetworkRequest) 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/PatchedCircuitRequest.md b/docs/PatchedCircuitRequest.md index dd6842d1..53a1221f 100644 --- a/docs/PatchedCircuitRequest.md +++ b/docs/PatchedCircuitRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Cid** | Pointer to **string** | | [optional] **InstallDate** | Pointer to **NullableString** | | [optional] **CommitRate** | Pointer to **NullableInt32** | | [optional] @@ -36,6 +37,31 @@ NewPatchedCircuitRequestWithDefaults instantiates a new PatchedCircuitRequest 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 *PatchedCircuitRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCircuitRequest) 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 *PatchedCircuitRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCircuitRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetCid `func (o *PatchedCircuitRequest) GetCid() string` diff --git a/docs/PatchedCircuitTerminationRequest.md b/docs/PatchedCircuitTerminationRequest.md index 0fb29cc8..ab05c066 100644 --- a/docs/PatchedCircuitTerminationRequest.md +++ b/docs/PatchedCircuitTerminationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **TermSide** | Pointer to [**TermSideEnum**](TermSideEnum.md) | | [optional] **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 @@ NewPatchedCircuitTerminationRequestWithDefaults instantiates a new PatchedCircui 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 *PatchedCircuitTerminationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCircuitTerminationRequest) 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 *PatchedCircuitTerminationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCircuitTerminationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetTermSide `func (o *PatchedCircuitTerminationRequest) GetTermSide() TermSideEnum` @@ -336,6 +363,31 @@ HasCloudNetwork returns a boolean if a field has been set. `func (o *PatchedCircuitTerminationRequest) UnsetCloudNetwork()` UnsetCloudNetwork ensures that no value is present for CloudNetwork, not even an explicit nil +### GetTags + +`func (o *PatchedCircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedCircuitTerminationRequest) 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 *PatchedCircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedCircuitTerminationRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + ### GetCustomFields `func (o *PatchedCircuitTerminationRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedCircuitTypeRequest.md b/docs/PatchedCircuitTypeRequest.md index a050ab33..a37ad4c7 100644 --- a/docs/PatchedCircuitTypeRequest.md +++ b/docs/PatchedCircuitTypeRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -28,6 +29,31 @@ NewPatchedCircuitTypeRequestWithDefaults instantiates a new PatchedCircuitTypeRe 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 *PatchedCircuitTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCircuitTypeRequest) 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 *PatchedCircuitTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCircuitTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedCircuitTypeRequest) GetName() string` diff --git a/docs/PatchedCloudAccountRequest.md b/docs/PatchedCloudAccountRequest.md index a227971c..75d4614e 100644 --- a/docs/PatchedCloudAccountRequest.md +++ b/docs/PatchedCloudAccountRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | The name of this Cloud Account. | [optional] **Description** | Pointer to **string** | | [optional] **AccountNumber** | Pointer to **string** | The account identifier of this Cloud Account. | [optional] @@ -32,6 +33,31 @@ NewPatchedCloudAccountRequestWithDefaults instantiates a new PatchedCloudAccount 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 *PatchedCloudAccountRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCloudAccountRequest) 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 *PatchedCloudAccountRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCloudAccountRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedCloudAccountRequest) GetName() string` diff --git a/docs/PatchedCloudNetworkPrefixAssignmentRequest.md b/docs/PatchedCloudNetworkPrefixAssignmentRequest.md index b8e7963a..0d4f4ce2 100644 --- a/docs/PatchedCloudNetworkPrefixAssignmentRequest.md +++ b/docs/PatchedCloudNetworkPrefixAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **CloudNetwork** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **Prefix** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -26,6 +27,31 @@ NewPatchedCloudNetworkPrefixAssignmentRequestWithDefaults instantiates a new Pat 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 *PatchedCloudNetworkPrefixAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCloudNetworkPrefixAssignmentRequest) 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 *PatchedCloudNetworkPrefixAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCloudNetworkPrefixAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetCloudNetwork `func (o *PatchedCloudNetworkPrefixAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus` diff --git a/docs/PatchedCloudNetworkRequest.md b/docs/PatchedCloudNetworkRequest.md index 3fafd4d6..d48f63dc 100644 --- a/docs/PatchedCloudNetworkRequest.md +++ b/docs/PatchedCloudNetworkRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ExtraConfig** | Pointer to **interface{}** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,6 +34,31 @@ NewPatchedCloudNetworkRequestWithDefaults instantiates a new PatchedCloudNetwork 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 *PatchedCloudNetworkRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCloudNetworkRequest) 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 *PatchedCloudNetworkRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCloudNetworkRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetExtraConfig `func (o *PatchedCloudNetworkRequest) GetExtraConfig() interface{}` diff --git a/docs/PatchedCloudResourceTypeRequest.md b/docs/PatchedCloudResourceTypeRequest.md index 2bb201ee..66005fa5 100644 --- a/docs/PatchedCloudResourceTypeRequest.md +++ b/docs/PatchedCloudResourceTypeRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | Type of cloud objects | [optional] **Description** | Pointer to **string** | | [optional] @@ -32,6 +33,31 @@ NewPatchedCloudResourceTypeRequestWithDefaults instantiates a new PatchedCloudRe 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 *PatchedCloudResourceTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCloudResourceTypeRequest) 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 *PatchedCloudResourceTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCloudResourceTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedCloudResourceTypeRequest) GetContentTypes() []string` diff --git a/docs/PatchedCloudServiceNetworkAssignmentRequest.md b/docs/PatchedCloudServiceNetworkAssignmentRequest.md index 4e068716..67ad7e76 100644 --- a/docs/PatchedCloudServiceNetworkAssignmentRequest.md +++ b/docs/PatchedCloudServiceNetworkAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **CloudNetwork** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **CloudService** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -26,6 +27,31 @@ NewPatchedCloudServiceNetworkAssignmentRequestWithDefaults instantiates a new Pa 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 *PatchedCloudServiceNetworkAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCloudServiceNetworkAssignmentRequest) 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 *PatchedCloudServiceNetworkAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCloudServiceNetworkAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetCloudNetwork `func (o *PatchedCloudServiceNetworkAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus` diff --git a/docs/PatchedCloudServiceRequest.md b/docs/PatchedCloudServiceRequest.md index b2676cc3..65ded717 100644 --- a/docs/PatchedCloudServiceRequest.md +++ b/docs/PatchedCloudServiceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ExtraConfig** | Pointer to **interface{}** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -32,6 +33,31 @@ NewPatchedCloudServiceRequestWithDefaults instantiates a new PatchedCloudService 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 *PatchedCloudServiceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCloudServiceRequest) 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 *PatchedCloudServiceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCloudServiceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetExtraConfig `func (o *PatchedCloudServiceRequest) GetExtraConfig() interface{}` diff --git a/docs/PatchedClusterGroupRequest.md b/docs/PatchedClusterGroupRequest.md index 9d4380e0..48b73f01 100644 --- a/docs/PatchedClusterGroupRequest.md +++ b/docs/PatchedClusterGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -28,6 +29,31 @@ NewPatchedClusterGroupRequestWithDefaults instantiates a new PatchedClusterGroup 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 *PatchedClusterGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedClusterGroupRequest) 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 *PatchedClusterGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedClusterGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedClusterGroupRequest) GetName() string` diff --git a/docs/PatchedClusterRequest.md b/docs/PatchedClusterRequest.md index 54b8ba2f..afdb6475 100644 --- a/docs/PatchedClusterRequest.md +++ b/docs/PatchedClusterRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **ClusterType** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -33,6 +34,31 @@ NewPatchedClusterRequestWithDefaults instantiates a new PatchedClusterRequest 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 *PatchedClusterRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedClusterRequest) 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 *PatchedClusterRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedClusterRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedClusterRequest) GetName() string` diff --git a/docs/PatchedClusterTypeRequest.md b/docs/PatchedClusterTypeRequest.md index 406ee6b9..fd11c931 100644 --- a/docs/PatchedClusterTypeRequest.md +++ b/docs/PatchedClusterTypeRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -28,6 +29,31 @@ NewPatchedClusterTypeRequestWithDefaults instantiates a new PatchedClusterTypeRe 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 *PatchedClusterTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedClusterTypeRequest) 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 *PatchedClusterTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedClusterTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedClusterTypeRequest) GetName() string` diff --git a/docs/PatchedComputedFieldRequest.md b/docs/PatchedComputedFieldRequest.md index 9149821f..e7384e3f 100644 --- a/docs/PatchedComputedFieldRequest.md +++ b/docs/PatchedComputedFieldRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentType** | Pointer to **string** | | [optional] **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 @@ NewPatchedComputedFieldRequestWithDefaults instantiates a new PatchedComputedFie 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 *PatchedComputedFieldRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedComputedFieldRequest) 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 *PatchedComputedFieldRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedComputedFieldRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentType `func (o *PatchedComputedFieldRequest) GetContentType() string` diff --git a/docs/PatchedConfigContextRequest.md b/docs/PatchedConfigContextRequest.md index dbab4eea..77b21cbc 100644 --- a/docs/PatchedConfigContextRequest.md +++ b/docs/PatchedConfigContextRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **OwnerContentType** | Pointer to **NullableString** | | [optional] **Name** | Pointer to **string** | | [optional] **OwnerObjectId** | Pointer to **NullableString** | | [optional] @@ -42,6 +43,31 @@ NewPatchedConfigContextRequestWithDefaults instantiates a new PatchedConfigConte 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 *PatchedConfigContextRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedConfigContextRequest) 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 *PatchedConfigContextRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedConfigContextRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetOwnerContentType `func (o *PatchedConfigContextRequest) GetOwnerContentType() string` diff --git a/docs/PatchedConfigContextSchemaRequest.md b/docs/PatchedConfigContextSchemaRequest.md index 89455a43..48215b4a 100644 --- a/docs/PatchedConfigContextSchemaRequest.md +++ b/docs/PatchedConfigContextSchemaRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **OwnerContentType** | Pointer to **NullableString** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -31,6 +32,31 @@ NewPatchedConfigContextSchemaRequestWithDefaults instantiates a new PatchedConfi 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 *PatchedConfigContextSchemaRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedConfigContextSchemaRequest) 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 *PatchedConfigContextSchemaRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedConfigContextSchemaRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetOwnerContentType `func (o *PatchedConfigContextSchemaRequest) GetOwnerContentType() string` diff --git a/docs/PatchedContactAssociationRequest.md b/docs/PatchedContactAssociationRequest.md index 58642168..4c06d785 100644 --- a/docs/PatchedContactAssociationRequest.md +++ b/docs/PatchedContactAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **AssociatedObjectType** | Pointer to **string** | | [optional] **AssociatedObjectId** | Pointer to **string** | | [optional] **Contact** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -32,6 +33,31 @@ NewPatchedContactAssociationRequestWithDefaults instantiates a new PatchedContac 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 *PatchedContactAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedContactAssociationRequest) 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 *PatchedContactAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedContactAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAssociatedObjectType `func (o *PatchedContactAssociationRequest) GetAssociatedObjectType() string` diff --git a/docs/PatchedContactRequest.md b/docs/PatchedContactRequest.md index 61b9d558..6fe674ce 100644 --- a/docs/PatchedContactRequest.md +++ b/docs/PatchedContactRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **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 @@ NewPatchedContactRequestWithDefaults instantiates a new PatchedContactRequest 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 -### GetTeams +### GetId -`func (o *PatchedContactRequest) GetTeams() []BulkWritableCableRequestStatus` +`func (o *PatchedContactRequest) 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 *PatchedContactRequest) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)` +`func (o *PatchedContactRequest) 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 *PatchedContactRequest) SetTeams(v []BulkWritableCableRequestStatus)` +`func (o *PatchedContactRequest) SetId(v string)` -SetTeams sets Teams field to given value. +SetId sets Id field to given value. -### HasTeams +### HasId -`func (o *PatchedContactRequest) HasTeams() bool` +`func (o *PatchedContactRequest) HasId() bool` -HasTeams returns a boolean if a field has been set. +HasId returns a boolean if a field has been set. ### GetName @@ -232,6 +234,56 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *PatchedContactRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedContactRequest) 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 *PatchedContactRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedContactRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetTeams + +`func (o *PatchedContactRequest) GetTeams() []BulkWritableCableRequestStatus` + +GetTeams returns the Teams field if non-nil, zero value otherwise. + +### GetTeamsOk + +`func (o *PatchedContactRequest) 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 *PatchedContactRequest) SetTeams(v []BulkWritableCableRequestStatus)` + +SetTeams sets Teams field to given value. + +### HasTeams + +`func (o *PatchedContactRequest) 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/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest.md b/docs/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest.md new file mode 100644 index 00000000..ecc6821a --- /dev/null +++ b/docs/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest.md @@ -0,0 +1,108 @@ +# PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**ControllerManagedDeviceGroup** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**RadioProfile** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] + +## Methods + +### NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest + +`func NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest() *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest` + +NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest instantiates a new PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest 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 + +### NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults + +`func NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest` + +NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults instantiates a new PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest 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 *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) 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 *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetControllerManagedDeviceGroup + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus` + +GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise. + +### GetControllerManagedDeviceGroupOk + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) 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 *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)` + +SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value. + +### HasControllerManagedDeviceGroup + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasControllerManagedDeviceGroup() bool` + +HasControllerManagedDeviceGroup returns a boolean if a field has been set. + +### GetRadioProfile + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus` + +GetRadioProfile returns the RadioProfile field if non-nil, zero value otherwise. + +### GetRadioProfileOk + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) 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 *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus)` + +SetRadioProfile sets RadioProfile field to given value. + +### HasRadioProfile + +`func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) 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/PatchedControllerManagedDeviceGroupRequest.md b/docs/PatchedControllerManagedDeviceGroupRequest.md index 07c9e84b..92883dd7 100644 --- a/docs/PatchedControllerManagedDeviceGroupRequest.md +++ b/docs/PatchedControllerManagedDeviceGroupRequest.md @@ -4,10 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**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] @@ -31,6 +35,66 @@ NewPatchedControllerManagedDeviceGroupRequestWithDefaults instantiates a new Pat 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 *PatchedControllerManagedDeviceGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedControllerManagedDeviceGroupRequest) 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 *PatchedControllerManagedDeviceGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedControllerManagedDeviceGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetCapabilities + +`func (o *PatchedControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum` + +GetCapabilities returns the Capabilities field if non-nil, zero value otherwise. + +### GetCapabilitiesOk + +`func (o *PatchedControllerManagedDeviceGroupRequest) 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 *PatchedControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum)` + +SetCapabilities sets Capabilities field to given value. + +### HasCapabilities + +`func (o *PatchedControllerManagedDeviceGroupRequest) HasCapabilities() bool` + +HasCapabilities returns a boolean if a field has been set. + +### SetCapabilitiesNil + +`func (o *PatchedControllerManagedDeviceGroupRequest) SetCapabilitiesNil(b bool)` + + SetCapabilitiesNil sets the value for Capabilities to be an explicit nil + +### UnsetCapabilities +`func (o *PatchedControllerManagedDeviceGroupRequest) UnsetCapabilities()` + +UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil ### GetName `func (o *PatchedControllerManagedDeviceGroupRequest) GetName() string` @@ -56,6 +120,31 @@ SetName sets Name field to given value. HasName returns a boolean if a field has been set. +### GetDescription + +`func (o *PatchedControllerManagedDeviceGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedControllerManagedDeviceGroupRequest) 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 *PatchedControllerManagedDeviceGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedControllerManagedDeviceGroupRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + ### GetWeight `func (o *PatchedControllerManagedDeviceGroupRequest) GetWeight() int32` @@ -141,6 +230,41 @@ SetController sets Controller field to given value. HasController returns a boolean if a field has been set. +### GetTenant + +`func (o *PatchedControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *PatchedControllerManagedDeviceGroupRequest) 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 *PatchedControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *PatchedControllerManagedDeviceGroupRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *PatchedControllerManagedDeviceGroupRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *PatchedControllerManagedDeviceGroupRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetCustomFields `func (o *PatchedControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md b/docs/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md new file mode 100644 index 00000000..64fbce12 --- /dev/null +++ b/docs/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md @@ -0,0 +1,144 @@ +# PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**ControllerManagedDeviceGroup** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**WirelessNetwork** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**Vlan** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] + +## Methods + +### NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest + +`func NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest() *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest` + +NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest instantiates a new PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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 + +### NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults + +`func NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest` + +NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults instantiates a new PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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 *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) 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 *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetControllerManagedDeviceGroup + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus` + +GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise. + +### GetControllerManagedDeviceGroupOk + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) 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 *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)` + +SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value. + +### HasControllerManagedDeviceGroup + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasControllerManagedDeviceGroup() bool` + +HasControllerManagedDeviceGroup returns a boolean if a field has been set. + +### GetWirelessNetwork + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus` + +GetWirelessNetwork returns the WirelessNetwork field if non-nil, zero value otherwise. + +### GetWirelessNetworkOk + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) 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 *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus)` + +SetWirelessNetwork sets WirelessNetwork field to given value. + +### HasWirelessNetwork + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasWirelessNetwork() bool` + +HasWirelessNetwork returns a boolean if a field has been set. + +### GetVlan + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant` + +GetVlan returns the Vlan field if non-nil, zero value otherwise. + +### GetVlanOk + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) 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 *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant)` + +SetVlan sets Vlan field to given value. + +### HasVlan + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool` + +HasVlan returns a boolean if a field has been set. + +### SetVlanNil + +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil(b bool)` + + SetVlanNil sets the value for Vlan to be an explicit nil + +### UnsetVlan +`func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) 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/PatchedControllerRequest.md b/docs/PatchedControllerRequest.md index ea56cb29..d5291cd8 100644 --- a/docs/PatchedControllerRequest.md +++ b/docs/PatchedControllerRequest.md @@ -4,6 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Capabilities** | Pointer to [**[]CapabilitiesEnum**](CapabilitiesEnum.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -37,6 +39,66 @@ NewPatchedControllerRequestWithDefaults instantiates a new PatchedControllerRequ 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 *PatchedControllerRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedControllerRequest) 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 *PatchedControllerRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedControllerRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetCapabilities + +`func (o *PatchedControllerRequest) GetCapabilities() []CapabilitiesEnum` + +GetCapabilities returns the Capabilities field if non-nil, zero value otherwise. + +### GetCapabilitiesOk + +`func (o *PatchedControllerRequest) 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 *PatchedControllerRequest) SetCapabilities(v []CapabilitiesEnum)` + +SetCapabilities sets Capabilities field to given value. + +### HasCapabilities + +`func (o *PatchedControllerRequest) HasCapabilities() bool` + +HasCapabilities returns a boolean if a field has been set. + +### SetCapabilitiesNil + +`func (o *PatchedControllerRequest) SetCapabilitiesNil(b bool)` + + SetCapabilitiesNil sets the value for Capabilities to be an explicit nil + +### UnsetCapabilities +`func (o *PatchedControllerRequest) UnsetCapabilities()` + +UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil ### GetName `func (o *PatchedControllerRequest) GetName() string` diff --git a/docs/PatchedCustomFieldChoiceRequest.md b/docs/PatchedCustomFieldChoiceRequest.md index 45792bf8..063ba909 100644 --- a/docs/PatchedCustomFieldChoiceRequest.md +++ b/docs/PatchedCustomFieldChoiceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Value** | Pointer to **string** | | [optional] **Weight** | Pointer to **int32** | Higher weights appear later in the list | [optional] **CustomField** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -27,6 +28,31 @@ NewPatchedCustomFieldChoiceRequestWithDefaults instantiates a new PatchedCustomF 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 *PatchedCustomFieldChoiceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCustomFieldChoiceRequest) 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 *PatchedCustomFieldChoiceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCustomFieldChoiceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetValue `func (o *PatchedCustomFieldChoiceRequest) GetValue() string` diff --git a/docs/PatchedCustomLinkRequest.md b/docs/PatchedCustomLinkRequest.md index 53eb1efe..a9d7bb2e 100644 --- a/docs/PatchedCustomLinkRequest.md +++ b/docs/PatchedCustomLinkRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentType** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Text** | Pointer to **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. | [optional] @@ -32,6 +33,31 @@ NewPatchedCustomLinkRequestWithDefaults instantiates a new PatchedCustomLinkRequ 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 *PatchedCustomLinkRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedCustomLinkRequest) 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 *PatchedCustomLinkRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedCustomLinkRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentType `func (o *PatchedCustomLinkRequest) GetContentType() string` diff --git a/docs/PatchedDeviceBayRequest.md b/docs/PatchedDeviceBayRequest.md index fbbe5af0..29d99a29 100644 --- a/docs/PatchedDeviceBayRequest.md +++ b/docs/PatchedDeviceBayRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -32,6 +33,31 @@ NewPatchedDeviceBayRequestWithDefaults instantiates a new PatchedDeviceBayReques 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 *PatchedDeviceBayRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedDeviceBayRequest) 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 *PatchedDeviceBayRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedDeviceBayRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedDeviceBayRequest) GetName() string` diff --git a/docs/PatchedDeviceBayTemplateRequest.md b/docs/PatchedDeviceBayTemplateRequest.md index dd696cbb..8f300963 100644 --- a/docs/PatchedDeviceBayTemplateRequest.md +++ b/docs/PatchedDeviceBayTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -30,6 +31,31 @@ NewPatchedDeviceBayTemplateRequestWithDefaults instantiates a new PatchedDeviceB 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 *PatchedDeviceBayTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedDeviceBayTemplateRequest) 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 *PatchedDeviceBayTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedDeviceBayTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedDeviceBayTemplateRequest) GetName() string` diff --git a/docs/PatchedDeviceFamilyRequest.md b/docs/PatchedDeviceFamilyRequest.md index be92680a..c2ebd108 100644 --- a/docs/PatchedDeviceFamilyRequest.md +++ b/docs/PatchedDeviceFamilyRequest.md @@ -4,10 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **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] +**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] ## Methods @@ -28,6 +30,31 @@ NewPatchedDeviceFamilyRequestWithDefaults instantiates a new PatchedDeviceFamily 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 *PatchedDeviceFamilyRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedDeviceFamilyRequest) 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 *PatchedDeviceFamilyRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedDeviceFamilyRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedDeviceFamilyRequest) GetName() string` @@ -128,6 +155,31 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *PatchedDeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedDeviceFamilyRequest) 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 *PatchedDeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedDeviceFamilyRequest) 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/PatchedDeviceTypeToSoftwareImageFileRequest.md b/docs/PatchedDeviceTypeToSoftwareImageFileRequest.md index e5c1d6cb..fb314bd3 100644 --- a/docs/PatchedDeviceTypeToSoftwareImageFileRequest.md +++ b/docs/PatchedDeviceTypeToSoftwareImageFileRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **DeviceType** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **SoftwareImageFile** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -26,6 +27,31 @@ NewPatchedDeviceTypeToSoftwareImageFileRequestWithDefaults instantiates a new Pa 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 *PatchedDeviceTypeToSoftwareImageFileRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedDeviceTypeToSoftwareImageFileRequest) 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 *PatchedDeviceTypeToSoftwareImageFileRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedDeviceTypeToSoftwareImageFileRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetDeviceType `func (o *PatchedDeviceTypeToSoftwareImageFileRequest) GetDeviceType() BulkWritableCableRequestStatus` diff --git a/docs/PatchedDynamicGroupMembershipRequest.md b/docs/PatchedDynamicGroupMembershipRequest.md index 1e5eec81..1eee49e3 100644 --- a/docs/PatchedDynamicGroupMembershipRequest.md +++ b/docs/PatchedDynamicGroupMembershipRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Operator** | Pointer to [**OperatorEnum**](OperatorEnum.md) | | [optional] **Weight** | Pointer to **int32** | | [optional] **Group** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -28,6 +29,31 @@ NewPatchedDynamicGroupMembershipRequestWithDefaults instantiates a new PatchedDy 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 *PatchedDynamicGroupMembershipRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedDynamicGroupMembershipRequest) 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 *PatchedDynamicGroupMembershipRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedDynamicGroupMembershipRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetOperator `func (o *PatchedDynamicGroupMembershipRequest) GetOperator() OperatorEnum` diff --git a/docs/PatchedDynamicGroupRequest.md b/docs/PatchedDynamicGroupRequest.md index 658bcd32..980b9248 100644 --- a/docs/PatchedDynamicGroupRequest.md +++ b/docs/PatchedDynamicGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentType** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,6 +34,31 @@ NewPatchedDynamicGroupRequestWithDefaults instantiates a new PatchedDynamicGroup 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 *PatchedDynamicGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedDynamicGroupRequest) 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 *PatchedDynamicGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedDynamicGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentType `func (o *PatchedDynamicGroupRequest) GetContentType() string` diff --git a/docs/PatchedExportTemplateRequest.md b/docs/PatchedExportTemplateRequest.md index f6a23edf..ff9c7268 100644 --- a/docs/PatchedExportTemplateRequest.md +++ b/docs/PatchedExportTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentType** | Pointer to **string** | | [optional] **OwnerContentType** | Pointer to **NullableString** | | [optional] **OwnerObjectId** | Pointer to **NullableString** | | [optional] @@ -33,6 +34,31 @@ NewPatchedExportTemplateRequestWithDefaults instantiates a new PatchedExportTemp 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 *PatchedExportTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedExportTemplateRequest) 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 *PatchedExportTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedExportTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentType `func (o *PatchedExportTemplateRequest) GetContentType() string` diff --git a/docs/PatchedExternalIntegrationRequest.md b/docs/PatchedExternalIntegrationRequest.md index 7768880b..c7cfd734 100644 --- a/docs/PatchedExternalIntegrationRequest.md +++ b/docs/PatchedExternalIntegrationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **RemoteUrl** | Pointer to **string** | | [optional] **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 @@ NewPatchedExternalIntegrationRequestWithDefaults instantiates a new PatchedExter 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 *PatchedExternalIntegrationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedExternalIntegrationRequest) 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 *PatchedExternalIntegrationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedExternalIntegrationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedExternalIntegrationRequest) GetName() string` @@ -340,6 +367,31 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *PatchedExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedExternalIntegrationRequest) 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 *PatchedExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedExternalIntegrationRequest) 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/PatchedGitRepositoryRequest.md b/docs/PatchedGitRepositoryRequest.md index 4b6b067a..1e9350df 100644 --- a/docs/PatchedGitRepositoryRequest.md +++ b/docs/PatchedGitRepositoryRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ProvidedContents** | Pointer to [**[]BulkWritableGitRepositoryRequestProvidedContentsInner**](BulkWritableGitRepositoryRequestProvidedContentsInner.md) | | [optional] **Name** | Pointer to **string** | | [optional] **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 @@ NewPatchedGitRepositoryRequestWithDefaults instantiates a new PatchedGitReposito 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 *PatchedGitRepositoryRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedGitRepositoryRequest) 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 *PatchedGitRepositoryRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedGitRepositoryRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetProvidedContents `func (o *PatchedGitRepositoryRequest) GetProvidedContents() []BulkWritableGitRepositoryRequestProvidedContentsInner` @@ -268,6 +295,31 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *PatchedGitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedGitRepositoryRequest) 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 *PatchedGitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedGitRepositoryRequest) 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/PatchedGraphQLQueryRequest.md b/docs/PatchedGraphQLQueryRequest.md index f6040d80..69b2e7e6 100644 --- a/docs/PatchedGraphQLQueryRequest.md +++ b/docs/PatchedGraphQLQueryRequest.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** | Pointer to **string** | | [optional] **Query** | Pointer to **string** | | [optional] @@ -26,6 +29,101 @@ NewPatchedGraphQLQueryRequestWithDefaults instantiates a new PatchedGraphQLQuery 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 *PatchedGraphQLQueryRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedGraphQLQueryRequest) 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 *PatchedGraphQLQueryRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedGraphQLQueryRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetOwnerContentType + +`func (o *PatchedGraphQLQueryRequest) GetOwnerContentType() string` + +GetOwnerContentType returns the OwnerContentType field if non-nil, zero value otherwise. + +### GetOwnerContentTypeOk + +`func (o *PatchedGraphQLQueryRequest) 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 *PatchedGraphQLQueryRequest) SetOwnerContentType(v string)` + +SetOwnerContentType sets OwnerContentType field to given value. + +### HasOwnerContentType + +`func (o *PatchedGraphQLQueryRequest) HasOwnerContentType() bool` + +HasOwnerContentType returns a boolean if a field has been set. + +### SetOwnerContentTypeNil + +`func (o *PatchedGraphQLQueryRequest) SetOwnerContentTypeNil(b bool)` + + SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil + +### UnsetOwnerContentType +`func (o *PatchedGraphQLQueryRequest) UnsetOwnerContentType()` + +UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil +### GetOwnerObjectId + +`func (o *PatchedGraphQLQueryRequest) GetOwnerObjectId() string` + +GetOwnerObjectId returns the OwnerObjectId field if non-nil, zero value otherwise. + +### GetOwnerObjectIdOk + +`func (o *PatchedGraphQLQueryRequest) 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 *PatchedGraphQLQueryRequest) SetOwnerObjectId(v string)` + +SetOwnerObjectId sets OwnerObjectId field to given value. + +### HasOwnerObjectId + +`func (o *PatchedGraphQLQueryRequest) HasOwnerObjectId() bool` + +HasOwnerObjectId returns a boolean if a field has been set. + +### SetOwnerObjectIdNil + +`func (o *PatchedGraphQLQueryRequest) SetOwnerObjectIdNil(b bool)` + + SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil + +### UnsetOwnerObjectId +`func (o *PatchedGraphQLQueryRequest) UnsetOwnerObjectId()` + +UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil ### GetName `func (o *PatchedGraphQLQueryRequest) GetName() string` diff --git a/docs/PatchedIPAddressRequest.md b/docs/PatchedIPAddressRequest.md index bbe96b19..5afe5986 100644 --- a/docs/PatchedIPAddressRequest.md +++ b/docs/PatchedIPAddressRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Address** | Pointer to **string** | | [optional] **Namespace** | Pointer to [**BulkWritableIPAddressRequestNamespace**](BulkWritableIPAddressRequestNamespace.md) | | [optional] **Type** | Pointer to [**IPAddressTypeChoices**](IPAddressTypeChoices.md) | | [optional] @@ -37,6 +38,31 @@ NewPatchedIPAddressRequestWithDefaults instantiates a new PatchedIPAddressReques 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 *PatchedIPAddressRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedIPAddressRequest) 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 *PatchedIPAddressRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedIPAddressRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAddress `func (o *PatchedIPAddressRequest) GetAddress() string` diff --git a/docs/PatchedIPAddressToInterfaceRequest.md b/docs/PatchedIPAddressToInterfaceRequest.md index 7f62773c..6c65521a 100644 --- a/docs/PatchedIPAddressToInterfaceRequest.md +++ b/docs/PatchedIPAddressToInterfaceRequest.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 @@ NewPatchedIPAddressToInterfaceRequestWithDefaults instantiates a new PatchedIPAd 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 *PatchedIPAddressToInterfaceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedIPAddressToInterfaceRequest) 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 *PatchedIPAddressToInterfaceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedIPAddressToInterfaceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetIsSource `func (o *PatchedIPAddressToInterfaceRequest) GetIsSource() bool` diff --git a/docs/PatchedImageAttachmentRequest.md b/docs/PatchedImageAttachmentRequest.md index 962c33fd..b6f849a4 100644 --- a/docs/PatchedImageAttachmentRequest.md +++ b/docs/PatchedImageAttachmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentType** | Pointer to **string** | | [optional] **ObjectId** | Pointer to **string** | | [optional] **Image** | Pointer to ***os.File** | | [optional] @@ -30,6 +31,31 @@ NewPatchedImageAttachmentRequestWithDefaults instantiates a new PatchedImageAtta 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 *PatchedImageAttachmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedImageAttachmentRequest) 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 *PatchedImageAttachmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedImageAttachmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentType `func (o *PatchedImageAttachmentRequest) GetContentType() string` diff --git a/docs/PatchedInterfaceRedundancyGroupAssociationRequest.md b/docs/PatchedInterfaceRedundancyGroupAssociationRequest.md index 0a7f9b7a..fd0636a3 100644 --- a/docs/PatchedInterfaceRedundancyGroupAssociationRequest.md +++ b/docs/PatchedInterfaceRedundancyGroupAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Priority** | Pointer to **int32** | | [optional] **InterfaceRedundancyGroup** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **Interface** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -27,6 +28,31 @@ NewPatchedInterfaceRedundancyGroupAssociationRequestWithDefaults instantiates a 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 *PatchedInterfaceRedundancyGroupAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedInterfaceRedundancyGroupAssociationRequest) 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 *PatchedInterfaceRedundancyGroupAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedInterfaceRedundancyGroupAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPriority `func (o *PatchedInterfaceRedundancyGroupAssociationRequest) GetPriority() int32` diff --git a/docs/PatchedInterfaceVDCAssignmentRequest.md b/docs/PatchedInterfaceVDCAssignmentRequest.md new file mode 100644 index 00000000..c08a3798 --- /dev/null +++ b/docs/PatchedInterfaceVDCAssignmentRequest.md @@ -0,0 +1,108 @@ +# PatchedInterfaceVDCAssignmentRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**VirtualDeviceContext** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**Interface** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] + +## Methods + +### NewPatchedInterfaceVDCAssignmentRequest + +`func NewPatchedInterfaceVDCAssignmentRequest() *PatchedInterfaceVDCAssignmentRequest` + +NewPatchedInterfaceVDCAssignmentRequest instantiates a new PatchedInterfaceVDCAssignmentRequest 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 + +### NewPatchedInterfaceVDCAssignmentRequestWithDefaults + +`func NewPatchedInterfaceVDCAssignmentRequestWithDefaults() *PatchedInterfaceVDCAssignmentRequest` + +NewPatchedInterfaceVDCAssignmentRequestWithDefaults instantiates a new PatchedInterfaceVDCAssignmentRequest 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 *PatchedInterfaceVDCAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedInterfaceVDCAssignmentRequest) 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 *PatchedInterfaceVDCAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedInterfaceVDCAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetVirtualDeviceContext + +`func (o *PatchedInterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus` + +GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise. + +### GetVirtualDeviceContextOk + +`func (o *PatchedInterfaceVDCAssignmentRequest) 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 *PatchedInterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus)` + +SetVirtualDeviceContext sets VirtualDeviceContext field to given value. + +### HasVirtualDeviceContext + +`func (o *PatchedInterfaceVDCAssignmentRequest) HasVirtualDeviceContext() bool` + +HasVirtualDeviceContext returns a boolean if a field has been set. + +### GetInterface + +`func (o *PatchedInterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus` + +GetInterface returns the Interface field if non-nil, zero value otherwise. + +### GetInterfaceOk + +`func (o *PatchedInterfaceVDCAssignmentRequest) 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 *PatchedInterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus)` + +SetInterface sets Interface field to given value. + +### HasInterface + +`func (o *PatchedInterfaceVDCAssignmentRequest) 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/PatchedInventoryItemRequest.md b/docs/PatchedInventoryItemRequest.md index de960c8f..279483c8 100644 --- a/docs/PatchedInventoryItemRequest.md +++ b/docs/PatchedInventoryItemRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -39,6 +40,31 @@ NewPatchedInventoryItemRequestWithDefaults instantiates a new PatchedInventoryIt 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 *PatchedInventoryItemRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedInventoryItemRequest) 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 *PatchedInventoryItemRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedInventoryItemRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedInventoryItemRequest) GetName() string` diff --git a/docs/PatchedJobButtonRequest.md b/docs/PatchedJobButtonRequest.md index 5df20cb9..a41535c1 100644 --- a/docs/PatchedJobButtonRequest.md +++ b/docs/PatchedJobButtonRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **Enabled** | Pointer to **bool** | | [optional] @@ -33,6 +34,31 @@ NewPatchedJobButtonRequestWithDefaults instantiates a new PatchedJobButtonReques 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 *PatchedJobButtonRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedJobButtonRequest) 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 *PatchedJobButtonRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedJobButtonRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedJobButtonRequest) GetContentTypes() []string` diff --git a/docs/PatchedJobHookRequest.md b/docs/PatchedJobHookRequest.md index ca9bdfe4..661c1cfe 100644 --- a/docs/PatchedJobHookRequest.md +++ b/docs/PatchedJobHookRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Enabled** | Pointer to **bool** | | [optional] **Name** | Pointer to **string** | | [optional] @@ -33,6 +34,31 @@ NewPatchedJobHookRequestWithDefaults instantiates a new PatchedJobHookRequest 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 *PatchedJobHookRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedJobHookRequest) 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 *PatchedJobHookRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedJobHookRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedJobHookRequest) GetContentTypes() []string` diff --git a/docs/PatchedJobQueueAssignmentRequest.md b/docs/PatchedJobQueueAssignmentRequest.md new file mode 100644 index 00000000..d2c58294 --- /dev/null +++ b/docs/PatchedJobQueueAssignmentRequest.md @@ -0,0 +1,108 @@ +# PatchedJobQueueAssignmentRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Job** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**JobQueue** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] + +## Methods + +### NewPatchedJobQueueAssignmentRequest + +`func NewPatchedJobQueueAssignmentRequest() *PatchedJobQueueAssignmentRequest` + +NewPatchedJobQueueAssignmentRequest instantiates a new PatchedJobQueueAssignmentRequest 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 + +### NewPatchedJobQueueAssignmentRequestWithDefaults + +`func NewPatchedJobQueueAssignmentRequestWithDefaults() *PatchedJobQueueAssignmentRequest` + +NewPatchedJobQueueAssignmentRequestWithDefaults instantiates a new PatchedJobQueueAssignmentRequest 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 *PatchedJobQueueAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedJobQueueAssignmentRequest) 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 *PatchedJobQueueAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedJobQueueAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetJob + +`func (o *PatchedJobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus` + +GetJob returns the Job field if non-nil, zero value otherwise. + +### GetJobOk + +`func (o *PatchedJobQueueAssignmentRequest) 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 *PatchedJobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus)` + +SetJob sets Job field to given value. + +### HasJob + +`func (o *PatchedJobQueueAssignmentRequest) HasJob() bool` + +HasJob returns a boolean if a field has been set. + +### GetJobQueue + +`func (o *PatchedJobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus` + +GetJobQueue returns the JobQueue field if non-nil, zero value otherwise. + +### GetJobQueueOk + +`func (o *PatchedJobQueueAssignmentRequest) 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 *PatchedJobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus)` + +SetJobQueue sets JobQueue field to given value. + +### HasJobQueue + +`func (o *PatchedJobQueueAssignmentRequest) 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/PatchedJobQueueRequest.md b/docs/PatchedJobQueueRequest.md new file mode 100644 index 00000000..8db1f8d6 --- /dev/null +++ b/docs/PatchedJobQueueRequest.md @@ -0,0 +1,248 @@ +# PatchedJobQueueRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**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 + +### NewPatchedJobQueueRequest + +`func NewPatchedJobQueueRequest() *PatchedJobQueueRequest` + +NewPatchedJobQueueRequest instantiates a new PatchedJobQueueRequest 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 + +### NewPatchedJobQueueRequestWithDefaults + +`func NewPatchedJobQueueRequestWithDefaults() *PatchedJobQueueRequest` + +NewPatchedJobQueueRequestWithDefaults instantiates a new PatchedJobQueueRequest 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 *PatchedJobQueueRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedJobQueueRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *PatchedJobQueueRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedJobQueueRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetDescription + +`func (o *PatchedJobQueueRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedJobQueueRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetQueueType + +`func (o *PatchedJobQueueRequest) GetQueueType() QueueTypeEnum` + +GetQueueType returns the QueueType field if non-nil, zero value otherwise. + +### GetQueueTypeOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetQueueType(v QueueTypeEnum)` + +SetQueueType sets QueueType field to given value. + +### HasQueueType + +`func (o *PatchedJobQueueRequest) HasQueueType() bool` + +HasQueueType returns a boolean if a field has been set. + +### GetTenant + +`func (o *PatchedJobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *PatchedJobQueueRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *PatchedJobQueueRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *PatchedJobQueueRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTags + +`func (o *PatchedJobQueueRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedJobQueueRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PatchedJobQueueRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedJobQueueRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedJobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedJobQueueRequest) 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 *PatchedJobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedJobQueueRequest) 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/PatchedJobRequest.md b/docs/PatchedJobRequest.md index 7da857bd..91f42cb4 100644 --- a/docs/PatchedJobRequest.md +++ b/docs/PatchedJobRequest.md @@ -4,17 +4,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Grouping** | Pointer to **string** | Human-readable grouping that this job belongs to | [optional] **Name** | Pointer to **string** | Human-readable name of this job | [optional] **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** | 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] @@ -48,6 +52,31 @@ NewPatchedJobRequestWithDefaults instantiates a new PatchedJobRequest 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 *PatchedJobRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedJobRequest) 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 *PatchedJobRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedJobRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetGrouping `func (o *PatchedJobRequest) GetGrouping() string` @@ -173,6 +202,31 @@ SetHasSensitiveVariables sets HasSensitiveVariables field to given value. HasHasSensitiveVariables returns a boolean if a field has been set. +### GetIsSingleton + +`func (o *PatchedJobRequest) GetIsSingleton() bool` + +GetIsSingleton returns the IsSingleton field if non-nil, zero value otherwise. + +### GetIsSingletonOk + +`func (o *PatchedJobRequest) 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 *PatchedJobRequest) SetIsSingleton(v bool)` + +SetIsSingleton sets IsSingleton field to given value. + +### HasIsSingleton + +`func (o *PatchedJobRequest) HasIsSingleton() bool` + +HasIsSingleton returns a boolean if a field has been set. + ### GetApprovalRequired `func (o *PatchedJobRequest) GetApprovalRequired() bool` @@ -298,41 +352,6 @@ SetTimeLimit sets TimeLimit field to given value. HasTimeLimit returns a boolean if a field has been set. -### GetTaskQueues - -`func (o *PatchedJobRequest) GetTaskQueues() interface{}` - -GetTaskQueues returns the TaskQueues field if non-nil, zero value otherwise. - -### GetTaskQueuesOk - -`func (o *PatchedJobRequest) 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 *PatchedJobRequest) SetTaskQueues(v interface{})` - -SetTaskQueues sets TaskQueues field to given value. - -### HasTaskQueues - -`func (o *PatchedJobRequest) HasTaskQueues() bool` - -HasTaskQueues returns a boolean if a field has been set. - -### SetTaskQueuesNil - -`func (o *PatchedJobRequest) SetTaskQueuesNil(b bool)` - - SetTaskQueuesNil sets the value for TaskQueues to be an explicit nil - -### UnsetTaskQueues -`func (o *PatchedJobRequest) UnsetTaskQueues()` - -UnsetTaskQueues ensures that no value is present for TaskQueues, not even an explicit nil ### GetGroupingOverride `func (o *PatchedJobRequest) GetGroupingOverride() bool` @@ -558,30 +577,105 @@ SetHasSensitiveVariablesOverride sets HasSensitiveVariablesOverride field to giv HasHasSensitiveVariablesOverride returns a boolean if a field has been set. -### GetTaskQueuesOverride +### GetJobQueuesOverride + +`func (o *PatchedJobRequest) GetJobQueuesOverride() bool` + +GetJobQueuesOverride returns the JobQueuesOverride field if non-nil, zero value otherwise. + +### GetJobQueuesOverrideOk + +`func (o *PatchedJobRequest) 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 *PatchedJobRequest) SetJobQueuesOverride(v bool)` + +SetJobQueuesOverride sets JobQueuesOverride field to given value. + +### HasJobQueuesOverride + +`func (o *PatchedJobRequest) HasJobQueuesOverride() bool` + +HasJobQueuesOverride returns a boolean if a field has been set. + +### GetDefaultJobQueueOverride + +`func (o *PatchedJobRequest) GetDefaultJobQueueOverride() bool` + +GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field if non-nil, zero value otherwise. + +### GetDefaultJobQueueOverrideOk + +`func (o *PatchedJobRequest) 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 *PatchedJobRequest) SetDefaultJobQueueOverride(v bool)` + +SetDefaultJobQueueOverride sets DefaultJobQueueOverride field to given value. + +### HasDefaultJobQueueOverride + +`func (o *PatchedJobRequest) HasDefaultJobQueueOverride() bool` + +HasDefaultJobQueueOverride returns a boolean if a field has been set. + +### GetIsSingletonOverride + +`func (o *PatchedJobRequest) GetIsSingletonOverride() bool` + +GetIsSingletonOverride returns the IsSingletonOverride field if non-nil, zero value otherwise. + +### GetIsSingletonOverrideOk + +`func (o *PatchedJobRequest) 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 *PatchedJobRequest) SetIsSingletonOverride(v bool)` + +SetIsSingletonOverride sets IsSingletonOverride field to given value. + +### HasIsSingletonOverride + +`func (o *PatchedJobRequest) HasIsSingletonOverride() bool` + +HasIsSingletonOverride returns a boolean if a field has been set. + +### GetDefaultJobQueue -`func (o *PatchedJobRequest) GetTaskQueuesOverride() bool` +`func (o *PatchedJobRequest) 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 *PatchedJobRequest) GetTaskQueuesOverrideOk() (*bool, bool)` +`func (o *PatchedJobRequest) 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 *PatchedJobRequest) SetTaskQueuesOverride(v bool)` +`func (o *PatchedJobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus)` -SetTaskQueuesOverride sets TaskQueuesOverride field to given value. +SetDefaultJobQueue sets DefaultJobQueue field to given value. -### HasTaskQueuesOverride +### HasDefaultJobQueue -`func (o *PatchedJobRequest) HasTaskQueuesOverride() bool` +`func (o *PatchedJobRequest) 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/PatchedLocationRequest.md b/docs/PatchedLocationRequest.md index 0894c3cf..7ad48ee8 100644 --- a/docs/PatchedLocationRequest.md +++ b/docs/PatchedLocationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **TimeZone** | Pointer to **NullableString** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -44,6 +45,31 @@ NewPatchedLocationRequestWithDefaults instantiates a new PatchedLocationRequest 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 *PatchedLocationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedLocationRequest) 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 *PatchedLocationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedLocationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetTimeZone `func (o *PatchedLocationRequest) GetTimeZone() string` diff --git a/docs/PatchedLocationTypeRequest.md b/docs/PatchedLocationTypeRequest.md index 123036cc..ca92c69b 100644 --- a/docs/PatchedLocationTypeRequest.md +++ b/docs/PatchedLocationTypeRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -31,6 +32,31 @@ NewPatchedLocationTypeRequestWithDefaults instantiates a new PatchedLocationType 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 *PatchedLocationTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedLocationTypeRequest) 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 *PatchedLocationTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedLocationTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedLocationTypeRequest) GetContentTypes() []string` diff --git a/docs/PatchedManufacturerRequest.md b/docs/PatchedManufacturerRequest.md index f0a05ffc..9959f148 100644 --- a/docs/PatchedManufacturerRequest.md +++ b/docs/PatchedManufacturerRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -28,6 +29,31 @@ NewPatchedManufacturerRequestWithDefaults instantiates a new PatchedManufacturer 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 *PatchedManufacturerRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedManufacturerRequest) 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 *PatchedManufacturerRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedManufacturerRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedManufacturerRequest) GetName() string` diff --git a/docs/PatchedMetadataChoiceRequest.md b/docs/PatchedMetadataChoiceRequest.md index 272c5260..0225546a 100644 --- a/docs/PatchedMetadataChoiceRequest.md +++ b/docs/PatchedMetadataChoiceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Value** | Pointer to **string** | | [optional] **Weight** | Pointer to **int32** | Higher weights appear later in the list | [optional] **MetadataType** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -27,6 +28,31 @@ NewPatchedMetadataChoiceRequestWithDefaults instantiates a new PatchedMetadataCh 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 *PatchedMetadataChoiceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedMetadataChoiceRequest) 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 *PatchedMetadataChoiceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedMetadataChoiceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetValue `func (o *PatchedMetadataChoiceRequest) GetValue() string` diff --git a/docs/PatchedMetadataTypeRequest.md b/docs/PatchedMetadataTypeRequest.md index e76a35ec..b8f6bd0c 100644 --- a/docs/PatchedMetadataTypeRequest.md +++ b/docs/PatchedMetadataTypeRequest.md @@ -4,12 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **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 @@ -30,6 +32,31 @@ NewPatchedMetadataTypeRequestWithDefaults instantiates a new PatchedMetadataType 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 *PatchedMetadataTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedMetadataTypeRequest) 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 *PatchedMetadataTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedMetadataTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedMetadataTypeRequest) GetContentTypes() []string` @@ -180,6 +207,31 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *PatchedMetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedMetadataTypeRequest) 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 *PatchedMetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedMetadataTypeRequest) 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/PatchedModuleBayRequest.md b/docs/PatchedModuleBayRequest.md index 6f68132e..e2ce9f38 100644 --- a/docs/PatchedModuleBayRequest.md +++ b/docs/PatchedModuleBayRequest.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** | 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] @@ -33,6 +36,56 @@ NewPatchedModuleBayRequestWithDefaults instantiates a new PatchedModuleBayReques 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 *PatchedModuleBayRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedModuleBayRequest) 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 *PatchedModuleBayRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedModuleBayRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetRequiresFirstPartyModules + +`func (o *PatchedModuleBayRequest) GetRequiresFirstPartyModules() bool` + +GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise. + +### GetRequiresFirstPartyModulesOk + +`func (o *PatchedModuleBayRequest) 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 *PatchedModuleBayRequest) SetRequiresFirstPartyModules(v bool)` + +SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value. + +### HasRequiresFirstPartyModules + +`func (o *PatchedModuleBayRequest) HasRequiresFirstPartyModules() bool` + +HasRequiresFirstPartyModules returns a boolean if a field has been set. + ### GetName `func (o *PatchedModuleBayRequest) GetName() string` @@ -203,6 +256,41 @@ HasParentModule returns a boolean if a field has been set. `func (o *PatchedModuleBayRequest) UnsetParentModule()` UnsetParentModule ensures that no value is present for ParentModule, not even an explicit nil +### GetModuleFamily + +`func (o *PatchedModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily` + +GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise. + +### GetModuleFamilyOk + +`func (o *PatchedModuleBayRequest) 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 *PatchedModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily)` + +SetModuleFamily sets ModuleFamily field to given value. + +### HasModuleFamily + +`func (o *PatchedModuleBayRequest) HasModuleFamily() bool` + +HasModuleFamily returns a boolean if a field has been set. + +### SetModuleFamilyNil + +`func (o *PatchedModuleBayRequest) SetModuleFamilyNil(b bool)` + + SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil + +### UnsetModuleFamily +`func (o *PatchedModuleBayRequest) UnsetModuleFamily()` + +UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil ### GetCustomFields `func (o *PatchedModuleBayRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedModuleBayTemplateRequest.md b/docs/PatchedModuleBayTemplateRequest.md index f557e424..69df6884 100644 --- a/docs/PatchedModuleBayTemplateRequest.md +++ b/docs/PatchedModuleBayTemplateRequest.md @@ -4,12 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **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 @@ NewPatchedModuleBayTemplateRequestWithDefaults instantiates a new PatchedModuleB 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 *PatchedModuleBayTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedModuleBayTemplateRequest) 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 *PatchedModuleBayTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedModuleBayTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedModuleBayTemplateRequest) GetName() string` @@ -132,6 +160,31 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetRequiresFirstPartyModules + +`func (o *PatchedModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool` + +GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise. + +### GetRequiresFirstPartyModulesOk + +`func (o *PatchedModuleBayTemplateRequest) 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 *PatchedModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool)` + +SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value. + +### HasRequiresFirstPartyModules + +`func (o *PatchedModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool` + +HasRequiresFirstPartyModules returns a boolean if a field has been set. + ### GetDeviceType `func (o *PatchedModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant` @@ -202,6 +255,41 @@ HasModuleType returns a boolean if a field has been set. `func (o *PatchedModuleBayTemplateRequest) UnsetModuleType()` UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +### GetModuleFamily + +`func (o *PatchedModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily` + +GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise. + +### GetModuleFamilyOk + +`func (o *PatchedModuleBayTemplateRequest) 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 *PatchedModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily)` + +SetModuleFamily sets ModuleFamily field to given value. + +### HasModuleFamily + +`func (o *PatchedModuleBayTemplateRequest) HasModuleFamily() bool` + +HasModuleFamily returns a boolean if a field has been set. + +### SetModuleFamilyNil + +`func (o *PatchedModuleBayTemplateRequest) SetModuleFamilyNil(b bool)` + + SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil + +### UnsetModuleFamily +`func (o *PatchedModuleBayTemplateRequest) UnsetModuleFamily()` + +UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil ### GetCustomFields `func (o *PatchedModuleBayTemplateRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedModuleFamilyRequest.md b/docs/PatchedModuleFamilyRequest.md new file mode 100644 index 00000000..5cf09264 --- /dev/null +++ b/docs/PatchedModuleFamilyRequest.md @@ -0,0 +1,160 @@ +# PatchedModuleFamilyRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**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 + +### NewPatchedModuleFamilyRequest + +`func NewPatchedModuleFamilyRequest() *PatchedModuleFamilyRequest` + +NewPatchedModuleFamilyRequest instantiates a new PatchedModuleFamilyRequest 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 + +### NewPatchedModuleFamilyRequestWithDefaults + +`func NewPatchedModuleFamilyRequestWithDefaults() *PatchedModuleFamilyRequest` + +NewPatchedModuleFamilyRequestWithDefaults instantiates a new PatchedModuleFamilyRequest 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 *PatchedModuleFamilyRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedModuleFamilyRequest) 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 *PatchedModuleFamilyRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedModuleFamilyRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *PatchedModuleFamilyRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedModuleFamilyRequest) 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 *PatchedModuleFamilyRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedModuleFamilyRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetDescription + +`func (o *PatchedModuleFamilyRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedModuleFamilyRequest) 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 *PatchedModuleFamilyRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedModuleFamilyRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PatchedModuleFamilyRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedModuleFamilyRequest) 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 *PatchedModuleFamilyRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedModuleFamilyRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedModuleFamilyRequest) 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 *PatchedModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedModuleFamilyRequest) 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/PatchedModuleRequest.md b/docs/PatchedModuleRequest.md index 94c4ab9a..d5f919eb 100644 --- a/docs/PatchedModuleRequest.md +++ b/docs/PatchedModuleRequest.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** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -35,6 +36,31 @@ NewPatchedModuleRequestWithDefaults instantiates a new PatchedModuleRequest 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 *PatchedModuleRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedModuleRequest) 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 *PatchedModuleRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedModuleRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetSerial `func (o *PatchedModuleRequest) GetSerial() string` diff --git a/docs/PatchedModuleTypeRequest.md b/docs/PatchedModuleTypeRequest.md index 0cc9be64..03814345 100644 --- a/docs/PatchedModuleTypeRequest.md +++ b/docs/PatchedModuleTypeRequest.md @@ -4,10 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Model** | Pointer to **string** | | [optional] **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] @@ -31,6 +33,31 @@ NewPatchedModuleTypeRequestWithDefaults instantiates a new PatchedModuleTypeRequ 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 *PatchedModuleTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedModuleTypeRequest) 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 *PatchedModuleTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedModuleTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetModel `func (o *PatchedModuleTypeRequest) GetModel() string` @@ -131,6 +158,41 @@ SetManufacturer sets Manufacturer field to given value. HasManufacturer returns a boolean if a field has been set. +### GetModuleFamily + +`func (o *PatchedModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant` + +GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise. + +### GetModuleFamilyOk + +`func (o *PatchedModuleTypeRequest) 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 *PatchedModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant)` + +SetModuleFamily sets ModuleFamily field to given value. + +### HasModuleFamily + +`func (o *PatchedModuleTypeRequest) HasModuleFamily() bool` + +HasModuleFamily returns a boolean if a field has been set. + +### SetModuleFamilyNil + +`func (o *PatchedModuleTypeRequest) SetModuleFamilyNil(b bool)` + + SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil + +### UnsetModuleFamily +`func (o *PatchedModuleTypeRequest) UnsetModuleFamily()` + +UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil ### GetCustomFields `func (o *PatchedModuleTypeRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedNamespaceRequest.md b/docs/PatchedNamespaceRequest.md index d843916f..ef1860b9 100644 --- a/docs/PatchedNamespaceRequest.md +++ b/docs/PatchedNamespaceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Location** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -30,6 +31,31 @@ NewPatchedNamespaceRequestWithDefaults instantiates a new PatchedNamespaceReques 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 *PatchedNamespaceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedNamespaceRequest) 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 *PatchedNamespaceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedNamespaceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedNamespaceRequest) GetName() string` diff --git a/docs/PatchedNoteRequest.md b/docs/PatchedNoteRequest.md index 24dff81a..56e48724 100644 --- a/docs/PatchedNoteRequest.md +++ b/docs/PatchedNoteRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **AssignedObjectType** | Pointer to **string** | | [optional] **AssignedObjectId** | Pointer to **string** | | [optional] **Note** | Pointer to **string** | | [optional] @@ -28,6 +29,31 @@ NewPatchedNoteRequestWithDefaults instantiates a new PatchedNoteRequest 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 *PatchedNoteRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedNoteRequest) 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 *PatchedNoteRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedNoteRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAssignedObjectType `func (o *PatchedNoteRequest) GetAssignedObjectType() string` diff --git a/docs/PatchedObjectMetadataRequest.md b/docs/PatchedObjectMetadataRequest.md index 1dffe939..4d8cda5f 100644 --- a/docs/PatchedObjectMetadataRequest.md +++ b/docs/PatchedObjectMetadataRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **AssignedObjectType** | Pointer to **string** | | [optional] **Value** | Pointer to **interface{}** | | [optional] **ScopedFields** | Pointer to **interface{}** | List of scoped fields, only direct fields on the model | [optional] @@ -31,6 +32,31 @@ NewPatchedObjectMetadataRequestWithDefaults instantiates a new PatchedObjectMeta 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 *PatchedObjectMetadataRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedObjectMetadataRequest) 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 *PatchedObjectMetadataRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedObjectMetadataRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAssignedObjectType `func (o *PatchedObjectMetadataRequest) GetAssignedObjectType() string` diff --git a/docs/PatchedObjectPermissionRequest.md b/docs/PatchedObjectPermissionRequest.md index 24887be3..a82ca327 100644 --- a/docs/PatchedObjectPermissionRequest.md +++ b/docs/PatchedObjectPermissionRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ObjectTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -32,6 +33,31 @@ NewPatchedObjectPermissionRequestWithDefaults instantiates a new PatchedObjectPe 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 *PatchedObjectPermissionRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedObjectPermissionRequest) 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 *PatchedObjectPermissionRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedObjectPermissionRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetObjectTypes `func (o *PatchedObjectPermissionRequest) GetObjectTypes() []string` diff --git a/docs/PatchedPlatformRequest.md b/docs/PatchedPlatformRequest.md index fec463f0..0f580203 100644 --- a/docs/PatchedPlatformRequest.md +++ b/docs/PatchedPlatformRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **NetworkDriver** | Pointer to **string** | The normalized network driver to use when interacting with devices, e.g. cisco_ios, arista_eos, etc. Library-specific driver names will be derived from this setting as appropriate | [optional] **NapalmDriver** | Pointer to **string** | The name of the NAPALM driver to use when Nautobot internals interact with devices | [optional] @@ -32,6 +33,31 @@ NewPatchedPlatformRequestWithDefaults instantiates a new PatchedPlatformRequest 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 *PatchedPlatformRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedPlatformRequest) 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 *PatchedPlatformRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedPlatformRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedPlatformRequest) GetName() string` diff --git a/docs/PatchedPowerPanelRequest.md b/docs/PatchedPowerPanelRequest.md deleted file mode 100644 index bf035849..00000000 --- a/docs/PatchedPowerPanelRequest.md +++ /dev/null @@ -1,196 +0,0 @@ -# PatchedPowerPanelRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] -**Location** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] -**RackGroup** | 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 - -### NewPatchedPowerPanelRequest - -`func NewPatchedPowerPanelRequest() *PatchedPowerPanelRequest` - -NewPatchedPowerPanelRequest instantiates a new PatchedPowerPanelRequest 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 - -### NewPatchedPowerPanelRequestWithDefaults - -`func NewPatchedPowerPanelRequestWithDefaults() *PatchedPowerPanelRequest` - -NewPatchedPowerPanelRequestWithDefaults instantiates a new PatchedPowerPanelRequest 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 - -### GetName - -`func (o *PatchedPowerPanelRequest) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *PatchedPowerPanelRequest) 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 *PatchedPowerPanelRequest) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *PatchedPowerPanelRequest) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetLocation - -`func (o *PatchedPowerPanelRequest) GetLocation() BulkWritableCableRequestStatus` - -GetLocation returns the Location field if non-nil, zero value otherwise. - -### GetLocationOk - -`func (o *PatchedPowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool)` - -GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLocation - -`func (o *PatchedPowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus)` - -SetLocation sets Location field to given value. - -### HasLocation - -`func (o *PatchedPowerPanelRequest) HasLocation() bool` - -HasLocation returns a boolean if a field has been set. - -### GetRackGroup - -`func (o *PatchedPowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant` - -GetRackGroup returns the RackGroup field if non-nil, zero value otherwise. - -### GetRackGroupOk - -`func (o *PatchedPowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool)` - -GetRackGroupOk returns a tuple with the RackGroup field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRackGroup - -`func (o *PatchedPowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant)` - -SetRackGroup sets RackGroup field to given value. - -### HasRackGroup - -`func (o *PatchedPowerPanelRequest) HasRackGroup() bool` - -HasRackGroup returns a boolean if a field has been set. - -### SetRackGroupNil - -`func (o *PatchedPowerPanelRequest) SetRackGroupNil(b bool)` - - SetRackGroupNil sets the value for RackGroup to be an explicit nil - -### UnsetRackGroup -`func (o *PatchedPowerPanelRequest) UnsetRackGroup()` - -UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil -### GetCustomFields - -`func (o *PatchedPowerPanelRequest) GetCustomFields() map[string]interface{}` - -GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. - -### GetCustomFieldsOk - -`func (o *PatchedPowerPanelRequest) 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 *PatchedPowerPanelRequest) SetCustomFields(v map[string]interface{})` - -SetCustomFields sets CustomFields field to given value. - -### HasCustomFields - -`func (o *PatchedPowerPanelRequest) HasCustomFields() bool` - -HasCustomFields returns a boolean if a field has been set. - -### GetRelationships - -`func (o *PatchedPowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` - -GetRelationships returns the Relationships field if non-nil, zero value otherwise. - -### GetRelationshipsOk - -`func (o *PatchedPowerPanelRequest) 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 *PatchedPowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` - -SetRelationships sets Relationships field to given value. - -### HasRelationships - -`func (o *PatchedPowerPanelRequest) HasRelationships() bool` - -HasRelationships returns a boolean if a field has been set. - -### GetTags - -`func (o *PatchedPowerPanelRequest) GetTags() []BulkWritableCableRequestStatus` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PatchedPowerPanelRequest) 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 *PatchedPowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PatchedPowerPanelRequest) 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/PatchedPrefixLocationAssignmentRequest.md b/docs/PatchedPrefixLocationAssignmentRequest.md index d1ca8279..d0ca63ac 100644 --- a/docs/PatchedPrefixLocationAssignmentRequest.md +++ b/docs/PatchedPrefixLocationAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Prefix** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **Location** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -26,6 +27,31 @@ NewPatchedPrefixLocationAssignmentRequestWithDefaults instantiates a new Patched 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 *PatchedPrefixLocationAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedPrefixLocationAssignmentRequest) 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 *PatchedPrefixLocationAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedPrefixLocationAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPrefix `func (o *PatchedPrefixLocationAssignmentRequest) GetPrefix() BulkWritableCableRequestStatus` diff --git a/docs/PatchedProviderNetworkRequest.md b/docs/PatchedProviderNetworkRequest.md index 3470d336..c3a7ed75 100644 --- a/docs/PatchedProviderNetworkRequest.md +++ b/docs/PatchedProviderNetworkRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -31,6 +32,31 @@ NewPatchedProviderNetworkRequestWithDefaults instantiates a new PatchedProviderN 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 *PatchedProviderNetworkRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedProviderNetworkRequest) 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 *PatchedProviderNetworkRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedProviderNetworkRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedProviderNetworkRequest) GetName() string` diff --git a/docs/PatchedProviderRequest.md b/docs/PatchedProviderRequest.md index d8d893cb..857dfd3a 100644 --- a/docs/PatchedProviderRequest.md +++ b/docs/PatchedProviderRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Asn** | Pointer to **NullableInt64** | 32-bit autonomous system number | [optional] **Account** | Pointer to **string** | | [optional] @@ -34,6 +35,31 @@ NewPatchedProviderRequestWithDefaults instantiates a new PatchedProviderRequest 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 *PatchedProviderRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedProviderRequest) 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 *PatchedProviderRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedProviderRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedProviderRequest) GetName() string` diff --git a/docs/PatchedRIRRequest.md b/docs/PatchedRIRRequest.md index 08fe21c1..73d9a1b7 100644 --- a/docs/PatchedRIRRequest.md +++ b/docs/PatchedRIRRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **IsPrivate** | Pointer to **bool** | IP space managed by this RIR is considered private | [optional] **Description** | Pointer to **string** | | [optional] @@ -29,6 +30,31 @@ NewPatchedRIRRequestWithDefaults instantiates a new PatchedRIRRequest 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 *PatchedRIRRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRIRRequest) 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 *PatchedRIRRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRIRRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedRIRRequest) GetName() string` diff --git a/docs/PatchedRackGroupRequest.md b/docs/PatchedRackGroupRequest.md index a9cca76a..dfb1b399 100644 --- a/docs/PatchedRackGroupRequest.md +++ b/docs/PatchedRackGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -30,6 +31,31 @@ NewPatchedRackGroupRequestWithDefaults instantiates a new PatchedRackGroupReques 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 *PatchedRackGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRackGroupRequest) 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 *PatchedRackGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRackGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedRackGroupRequest) GetName() string` diff --git a/docs/PatchedRackReservationRequest.md b/docs/PatchedRackReservationRequest.md index 1712fe14..69274c93 100644 --- a/docs/PatchedRackReservationRequest.md +++ b/docs/PatchedRackReservationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Units** | Pointer to **interface{}** | List of rack unit numbers to reserve | [optional] **Description** | Pointer to **string** | | [optional] **Rack** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -32,6 +33,31 @@ NewPatchedRackReservationRequestWithDefaults instantiates a new PatchedRackReser 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 *PatchedRackReservationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRackReservationRequest) 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 *PatchedRackReservationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRackReservationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetUnits `func (o *PatchedRackReservationRequest) GetUnits() interface{}` diff --git a/docs/PatchedRadioProfileRequest.md b/docs/PatchedRadioProfileRequest.md new file mode 100644 index 00000000..07a03ac7 --- /dev/null +++ b/docs/PatchedRadioProfileRequest.md @@ -0,0 +1,398 @@ +# PatchedRadioProfileRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**ChannelWidth** | Pointer to [**[]ChannelWidthEnum**](ChannelWidthEnum.md) | | [optional] +**AllowedChannelList** | Pointer to **[]int32** | | [optional] +**Name** | Pointer to **string** | | [optional] +**Frequency** | Pointer to [**BulkWritableRadioProfileRequestFrequency**](BulkWritableRadioProfileRequestFrequency.md) | | [optional] +**TxPowerMin** | Pointer to **NullableInt32** | | [optional] +**TxPowerMax** | Pointer to **NullableInt32** | | [optional] +**RegulatoryDomain** | Pointer to [**RegulatoryDomainEnum**](RegulatoryDomainEnum.md) | | [optional] +**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 + +### NewPatchedRadioProfileRequest + +`func NewPatchedRadioProfileRequest() *PatchedRadioProfileRequest` + +NewPatchedRadioProfileRequest instantiates a new PatchedRadioProfileRequest 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 + +### NewPatchedRadioProfileRequestWithDefaults + +`func NewPatchedRadioProfileRequestWithDefaults() *PatchedRadioProfileRequest` + +NewPatchedRadioProfileRequestWithDefaults instantiates a new PatchedRadioProfileRequest 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 *PatchedRadioProfileRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRadioProfileRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetChannelWidth + +`func (o *PatchedRadioProfileRequest) GetChannelWidth() []ChannelWidthEnum` + +GetChannelWidth returns the ChannelWidth field if non-nil, zero value otherwise. + +### GetChannelWidthOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum)` + +SetChannelWidth sets ChannelWidth field to given value. + +### HasChannelWidth + +`func (o *PatchedRadioProfileRequest) HasChannelWidth() bool` + +HasChannelWidth returns a boolean if a field has been set. + +### GetAllowedChannelList + +`func (o *PatchedRadioProfileRequest) GetAllowedChannelList() []int32` + +GetAllowedChannelList returns the AllowedChannelList field if non-nil, zero value otherwise. + +### GetAllowedChannelListOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetAllowedChannelList(v []int32)` + +SetAllowedChannelList sets AllowedChannelList field to given value. + +### HasAllowedChannelList + +`func (o *PatchedRadioProfileRequest) HasAllowedChannelList() bool` + +HasAllowedChannelList returns a boolean if a field has been set. + +### GetName + +`func (o *PatchedRadioProfileRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedRadioProfileRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetFrequency + +`func (o *PatchedRadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency` + +GetFrequency returns the Frequency field if non-nil, zero value otherwise. + +### GetFrequencyOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency)` + +SetFrequency sets Frequency field to given value. + +### HasFrequency + +`func (o *PatchedRadioProfileRequest) HasFrequency() bool` + +HasFrequency returns a boolean if a field has been set. + +### GetTxPowerMin + +`func (o *PatchedRadioProfileRequest) GetTxPowerMin() int32` + +GetTxPowerMin returns the TxPowerMin field if non-nil, zero value otherwise. + +### GetTxPowerMinOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetTxPowerMin(v int32)` + +SetTxPowerMin sets TxPowerMin field to given value. + +### HasTxPowerMin + +`func (o *PatchedRadioProfileRequest) HasTxPowerMin() bool` + +HasTxPowerMin returns a boolean if a field has been set. + +### SetTxPowerMinNil + +`func (o *PatchedRadioProfileRequest) SetTxPowerMinNil(b bool)` + + SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil + +### UnsetTxPowerMin +`func (o *PatchedRadioProfileRequest) UnsetTxPowerMin()` + +UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +### GetTxPowerMax + +`func (o *PatchedRadioProfileRequest) GetTxPowerMax() int32` + +GetTxPowerMax returns the TxPowerMax field if non-nil, zero value otherwise. + +### GetTxPowerMaxOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetTxPowerMax(v int32)` + +SetTxPowerMax sets TxPowerMax field to given value. + +### HasTxPowerMax + +`func (o *PatchedRadioProfileRequest) HasTxPowerMax() bool` + +HasTxPowerMax returns a boolean if a field has been set. + +### SetTxPowerMaxNil + +`func (o *PatchedRadioProfileRequest) SetTxPowerMaxNil(b bool)` + + SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil + +### UnsetTxPowerMax +`func (o *PatchedRadioProfileRequest) UnsetTxPowerMax()` + +UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +### GetRegulatoryDomain + +`func (o *PatchedRadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum` + +GetRegulatoryDomain returns the RegulatoryDomain field if non-nil, zero value otherwise. + +### GetRegulatoryDomainOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum)` + +SetRegulatoryDomain sets RegulatoryDomain field to given value. + +### HasRegulatoryDomain + +`func (o *PatchedRadioProfileRequest) HasRegulatoryDomain() bool` + +HasRegulatoryDomain returns a boolean if a field has been set. + +### GetRxPowerMin + +`func (o *PatchedRadioProfileRequest) GetRxPowerMin() int32` + +GetRxPowerMin returns the RxPowerMin field if non-nil, zero value otherwise. + +### GetRxPowerMinOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetRxPowerMin(v int32)` + +SetRxPowerMin sets RxPowerMin field to given value. + +### HasRxPowerMin + +`func (o *PatchedRadioProfileRequest) HasRxPowerMin() bool` + +HasRxPowerMin returns a boolean if a field has been set. + +### SetRxPowerMinNil + +`func (o *PatchedRadioProfileRequest) SetRxPowerMinNil(b bool)` + + SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil + +### UnsetRxPowerMin +`func (o *PatchedRadioProfileRequest) UnsetRxPowerMin()` + +UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +### GetSupportedDataRates + +`func (o *PatchedRadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus` + +GetSupportedDataRates returns the SupportedDataRates field if non-nil, zero value otherwise. + +### GetSupportedDataRatesOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus)` + +SetSupportedDataRates sets SupportedDataRates field to given value. + +### HasSupportedDataRates + +`func (o *PatchedRadioProfileRequest) HasSupportedDataRates() bool` + +HasSupportedDataRates returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PatchedRadioProfileRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedRadioProfileRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedRadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedRadioProfileRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedRadioProfileRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedRadioProfileRequest) 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 *PatchedRadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedRadioProfileRequest) 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/PatchedRelationshipAssociationRequest.md b/docs/PatchedRelationshipAssociationRequest.md index 68a77229..87b156c2 100644 --- a/docs/PatchedRelationshipAssociationRequest.md +++ b/docs/PatchedRelationshipAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **SourceType** | Pointer to **string** | | [optional] **DestinationType** | Pointer to **string** | | [optional] **SourceId** | Pointer to **string** | | [optional] @@ -29,6 +30,31 @@ NewPatchedRelationshipAssociationRequestWithDefaults instantiates a new PatchedR 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 *PatchedRelationshipAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRelationshipAssociationRequest) 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 *PatchedRelationshipAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRelationshipAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetSourceType `func (o *PatchedRelationshipAssociationRequest) GetSourceType() string` diff --git a/docs/PatchedRelationshipRequest.md b/docs/PatchedRelationshipRequest.md index 5c5bf992..69d900c7 100644 --- a/docs/PatchedRelationshipRequest.md +++ b/docs/PatchedRelationshipRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **SourceType** | Pointer to **string** | | [optional] **DestinationType** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Label of the relationship as displayed to users | [optional] @@ -38,6 +39,31 @@ NewPatchedRelationshipRequestWithDefaults instantiates a new PatchedRelationship 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 *PatchedRelationshipRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRelationshipRequest) 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 *PatchedRelationshipRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRelationshipRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetSourceType `func (o *PatchedRelationshipRequest) GetSourceType() string` diff --git a/docs/PatchedRoleRequest.md b/docs/PatchedRoleRequest.md index bd227d72..45f04a1a 100644 --- a/docs/PatchedRoleRequest.md +++ b/docs/PatchedRoleRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **Color** | Pointer to **string** | RGB color in hexadecimal (e.g. 00ff00) | [optional] @@ -31,6 +32,31 @@ NewPatchedRoleRequestWithDefaults instantiates a new PatchedRoleRequest 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 *PatchedRoleRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRoleRequest) 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 *PatchedRoleRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRoleRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedRoleRequest) GetContentTypes() []string` diff --git a/docs/PatchedRouteTargetRequest.md b/docs/PatchedRouteTargetRequest.md index c19d50f7..98960373 100644 --- a/docs/PatchedRouteTargetRequest.md +++ b/docs/PatchedRouteTargetRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | Route target value (formatted in accordance with RFC 4360) | [optional] **Description** | Pointer to **string** | | [optional] **Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -30,6 +31,31 @@ NewPatchedRouteTargetRequestWithDefaults instantiates a new PatchedRouteTargetRe 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 *PatchedRouteTargetRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedRouteTargetRequest) 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 *PatchedRouteTargetRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedRouteTargetRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedRouteTargetRequest) GetName() string` diff --git a/docs/PatchedSavedViewRequest.md b/docs/PatchedSavedViewRequest.md index 376e0fe6..cc4e0569 100644 --- a/docs/PatchedSavedViewRequest.md +++ b/docs/PatchedSavedViewRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | The name of this view | [optional] **View** | Pointer to **string** | The name of the list view that the saved view is derived from, e.g. dcim:device_list | [optional] **Config** | Pointer to **interface{}** | Saved Configuration on this view | [optional] @@ -30,6 +31,31 @@ NewPatchedSavedViewRequestWithDefaults instantiates a new PatchedSavedViewReques 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 *PatchedSavedViewRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedSavedViewRequest) 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 *PatchedSavedViewRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedSavedViewRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedSavedViewRequest) GetName() string` diff --git a/docs/PatchedSecretRequest.md b/docs/PatchedSecretRequest.md index daf76162..f452af23 100644 --- a/docs/PatchedSecretRequest.md +++ b/docs/PatchedSecretRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Provider** | Pointer to **string** | | [optional] @@ -31,6 +32,31 @@ NewPatchedSecretRequestWithDefaults instantiates a new PatchedSecretRequest 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 *PatchedSecretRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedSecretRequest) 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 *PatchedSecretRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedSecretRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedSecretRequest) GetName() string` diff --git a/docs/PatchedSecretsGroupAssociationRequest.md b/docs/PatchedSecretsGroupAssociationRequest.md index 1886ae5d..efe374be 100644 --- a/docs/PatchedSecretsGroupAssociationRequest.md +++ b/docs/PatchedSecretsGroupAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **AccessType** | Pointer to [**AccessTypeEnum**](AccessTypeEnum.md) | | [optional] **SecretType** | Pointer to [**SecretTypeEnum**](SecretTypeEnum.md) | | [optional] **SecretsGroup** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -28,6 +29,31 @@ NewPatchedSecretsGroupAssociationRequestWithDefaults instantiates a new PatchedS 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 *PatchedSecretsGroupAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedSecretsGroupAssociationRequest) 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 *PatchedSecretsGroupAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedSecretsGroupAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAccessType `func (o *PatchedSecretsGroupAssociationRequest) GetAccessType() AccessTypeEnum` diff --git a/docs/PatchedSecretsGroupRequest.md b/docs/PatchedSecretsGroupRequest.md index 4a67721c..cc16d75c 100644 --- a/docs/PatchedSecretsGroupRequest.md +++ b/docs/PatchedSecretsGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -28,6 +29,31 @@ NewPatchedSecretsGroupRequestWithDefaults instantiates a new PatchedSecretsGroup 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 *PatchedSecretsGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedSecretsGroupRequest) 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 *PatchedSecretsGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedSecretsGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedSecretsGroupRequest) GetName() string` diff --git a/docs/PatchedSoftwareImageFileRequest.md b/docs/PatchedSoftwareImageFileRequest.md index d1cc1f6c..bd82cbec 100644 --- a/docs/PatchedSoftwareImageFileRequest.md +++ b/docs/PatchedSoftwareImageFileRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ImageFileName** | Pointer to **string** | | [optional] **ImageFileChecksum** | Pointer to **string** | | [optional] **HashingAlgorithm** | Pointer to [**BulkWritableSoftwareImageFileRequestHashingAlgorithm**](BulkWritableSoftwareImageFileRequestHashingAlgorithm.md) | | [optional] @@ -11,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** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**ExternalIntegration** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional] @@ -35,6 +37,31 @@ NewPatchedSoftwareImageFileRequestWithDefaults instantiates a new PatchedSoftwar 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 *PatchedSoftwareImageFileRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedSoftwareImageFileRequest) 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 *PatchedSoftwareImageFileRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedSoftwareImageFileRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetImageFileName `func (o *PatchedSoftwareImageFileRequest) GetImageFileName() string` @@ -220,6 +247,41 @@ SetSoftwareVersion sets SoftwareVersion field to given value. HasSoftwareVersion returns a boolean if a field has been set. +### GetExternalIntegration + +`func (o *PatchedSoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant` + +GetExternalIntegration returns the ExternalIntegration field if non-nil, zero value otherwise. + +### GetExternalIntegrationOk + +`func (o *PatchedSoftwareImageFileRequest) 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 *PatchedSoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant)` + +SetExternalIntegration sets ExternalIntegration field to given value. + +### HasExternalIntegration + +`func (o *PatchedSoftwareImageFileRequest) HasExternalIntegration() bool` + +HasExternalIntegration returns a boolean if a field has been set. + +### SetExternalIntegrationNil + +`func (o *PatchedSoftwareImageFileRequest) SetExternalIntegrationNil(b bool)` + + SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil + +### UnsetExternalIntegration +`func (o *PatchedSoftwareImageFileRequest) UnsetExternalIntegration()` + +UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil ### GetStatus `func (o *PatchedSoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus` diff --git a/docs/PatchedSoftwareVersionRequest.md b/docs/PatchedSoftwareVersionRequest.md index 7be43c19..e16ebdb8 100644 --- a/docs/PatchedSoftwareVersionRequest.md +++ b/docs/PatchedSoftwareVersionRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Version** | Pointer to **string** | | [optional] **Alias** | Pointer to **string** | Optional alternative label for this version | [optional] **ReleaseDate** | Pointer to **NullableString** | | [optional] @@ -36,6 +37,31 @@ NewPatchedSoftwareVersionRequestWithDefaults instantiates a new PatchedSoftwareV 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 *PatchedSoftwareVersionRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedSoftwareVersionRequest) 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 *PatchedSoftwareVersionRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedSoftwareVersionRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetVersion `func (o *PatchedSoftwareVersionRequest) GetVersion() string` diff --git a/docs/PatchedStaticGroupAssociationRequest.md b/docs/PatchedStaticGroupAssociationRequest.md index bc49c3ef..b221b372 100644 --- a/docs/PatchedStaticGroupAssociationRequest.md +++ b/docs/PatchedStaticGroupAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **AssociatedObjectType** | Pointer to **string** | | [optional] **AssociatedObjectId** | Pointer to **string** | | [optional] **DynamicGroup** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -29,6 +30,31 @@ NewPatchedStaticGroupAssociationRequestWithDefaults instantiates a new PatchedSt 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 *PatchedStaticGroupAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedStaticGroupAssociationRequest) 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 *PatchedStaticGroupAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedStaticGroupAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAssociatedObjectType `func (o *PatchedStaticGroupAssociationRequest) GetAssociatedObjectType() string` diff --git a/docs/PatchedStatusRequest.md b/docs/PatchedStatusRequest.md index 0df511f0..56297a29 100644 --- a/docs/PatchedStatusRequest.md +++ b/docs/PatchedStatusRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **Color** | Pointer to **string** | RGB color in hexadecimal (e.g. 00ff00) | [optional] @@ -30,6 +31,31 @@ NewPatchedStatusRequestWithDefaults instantiates a new PatchedStatusRequest 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 *PatchedStatusRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedStatusRequest) 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 *PatchedStatusRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedStatusRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedStatusRequest) GetContentTypes() []string` diff --git a/docs/PatchedSupportedDataRateRequest.md b/docs/PatchedSupportedDataRateRequest.md new file mode 100644 index 00000000..63aa76aa --- /dev/null +++ b/docs/PatchedSupportedDataRateRequest.md @@ -0,0 +1,222 @@ +# PatchedSupportedDataRateRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Standard** | Pointer to [**StandardEnum**](StandardEnum.md) | | [optional] +**Rate** | Pointer to **int32** | | [optional] +**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 + +### NewPatchedSupportedDataRateRequest + +`func NewPatchedSupportedDataRateRequest() *PatchedSupportedDataRateRequest` + +NewPatchedSupportedDataRateRequest instantiates a new PatchedSupportedDataRateRequest 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 + +### NewPatchedSupportedDataRateRequestWithDefaults + +`func NewPatchedSupportedDataRateRequestWithDefaults() *PatchedSupportedDataRateRequest` + +NewPatchedSupportedDataRateRequestWithDefaults instantiates a new PatchedSupportedDataRateRequest 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 *PatchedSupportedDataRateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedSupportedDataRateRequest) 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 *PatchedSupportedDataRateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedSupportedDataRateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetStandard + +`func (o *PatchedSupportedDataRateRequest) GetStandard() StandardEnum` + +GetStandard returns the Standard field if non-nil, zero value otherwise. + +### GetStandardOk + +`func (o *PatchedSupportedDataRateRequest) 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 *PatchedSupportedDataRateRequest) SetStandard(v StandardEnum)` + +SetStandard sets Standard field to given value. + +### HasStandard + +`func (o *PatchedSupportedDataRateRequest) HasStandard() bool` + +HasStandard returns a boolean if a field has been set. + +### GetRate + +`func (o *PatchedSupportedDataRateRequest) GetRate() int32` + +GetRate returns the Rate field if non-nil, zero value otherwise. + +### GetRateOk + +`func (o *PatchedSupportedDataRateRequest) 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 *PatchedSupportedDataRateRequest) SetRate(v int32)` + +SetRate sets Rate field to given value. + +### HasRate + +`func (o *PatchedSupportedDataRateRequest) HasRate() bool` + +HasRate returns a boolean if a field has been set. + +### GetMcsIndex + +`func (o *PatchedSupportedDataRateRequest) GetMcsIndex() int32` + +GetMcsIndex returns the McsIndex field if non-nil, zero value otherwise. + +### GetMcsIndexOk + +`func (o *PatchedSupportedDataRateRequest) 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 *PatchedSupportedDataRateRequest) SetMcsIndex(v int32)` + +SetMcsIndex sets McsIndex field to given value. + +### HasMcsIndex + +`func (o *PatchedSupportedDataRateRequest) HasMcsIndex() bool` + +HasMcsIndex returns a boolean if a field has been set. + +### SetMcsIndexNil + +`func (o *PatchedSupportedDataRateRequest) SetMcsIndexNil(b bool)` + + SetMcsIndexNil sets the value for McsIndex to be an explicit nil + +### UnsetMcsIndex +`func (o *PatchedSupportedDataRateRequest) UnsetMcsIndex()` + +UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +### GetCustomFields + +`func (o *PatchedSupportedDataRateRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedSupportedDataRateRequest) 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 *PatchedSupportedDataRateRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedSupportedDataRateRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedSupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedSupportedDataRateRequest) 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 *PatchedSupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedSupportedDataRateRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedSupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedSupportedDataRateRequest) 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 *PatchedSupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedSupportedDataRateRequest) 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/PatchedTagRequest.md b/docs/PatchedTagRequest.md index 852a9123..792a1db5 100644 --- a/docs/PatchedTagRequest.md +++ b/docs/PatchedTagRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **Color** | Pointer to **string** | RGB color in hexadecimal (e.g. 00ff00) | [optional] @@ -30,6 +31,31 @@ NewPatchedTagRequestWithDefaults instantiates a new PatchedTagRequest 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 *PatchedTagRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedTagRequest) 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 *PatchedTagRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedTagRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedTagRequest) GetContentTypes() []string` diff --git a/docs/PatchedTeamRequest.md b/docs/PatchedTeamRequest.md index 81bd980c..5c010b91 100644 --- a/docs/PatchedTeamRequest.md +++ b/docs/PatchedTeamRequest.md @@ -4,14 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Contacts** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **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 @@ -32,30 +34,30 @@ NewPatchedTeamRequestWithDefaults instantiates a new PatchedTeamRequest 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 -### GetContacts +### GetId -`func (o *PatchedTeamRequest) GetContacts() []BulkWritableCableRequestStatus` +`func (o *PatchedTeamRequest) GetId() string` -GetContacts returns the Contacts field if non-nil, zero value otherwise. +GetId returns the Id field if non-nil, zero value otherwise. -### GetContactsOk +### GetIdOk -`func (o *PatchedTeamRequest) GetContactsOk() (*[]BulkWritableCableRequestStatus, bool)` +`func (o *PatchedTeamRequest) GetIdOk() (*string, bool)` -GetContactsOk returns a tuple with the Contacts 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. -### SetContacts +### SetId -`func (o *PatchedTeamRequest) SetContacts(v []BulkWritableCableRequestStatus)` +`func (o *PatchedTeamRequest) SetId(v string)` -SetContacts sets Contacts field to given value. +SetId sets Id field to given value. -### HasContacts +### HasId -`func (o *PatchedTeamRequest) HasContacts() bool` +`func (o *PatchedTeamRequest) HasId() bool` -HasContacts returns a boolean if a field has been set. +HasId returns a boolean if a field has been set. ### GetName @@ -182,6 +184,31 @@ SetComments sets Comments field to given value. HasComments returns a boolean if a field has been set. +### GetContacts + +`func (o *PatchedTeamRequest) GetContacts() []BulkWritableCableRequestStatus` + +GetContacts returns the Contacts field if non-nil, zero value otherwise. + +### GetContactsOk + +`func (o *PatchedTeamRequest) 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 *PatchedTeamRequest) SetContacts(v []BulkWritableCableRequestStatus)` + +SetContacts sets Contacts field to given value. + +### HasContacts + +`func (o *PatchedTeamRequest) HasContacts() bool` + +HasContacts returns a boolean if a field has been set. + ### GetCustomFields `func (o *PatchedTeamRequest) GetCustomFields() map[string]interface{}` @@ -232,6 +259,31 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *PatchedTeamRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedTeamRequest) 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 *PatchedTeamRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedTeamRequest) 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/PatchedTenantGroupRequest.md b/docs/PatchedTenantGroupRequest.md index 52c73646..b5cad67d 100644 --- a/docs/PatchedTenantGroupRequest.md +++ b/docs/PatchedTenantGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -29,6 +30,31 @@ NewPatchedTenantGroupRequestWithDefaults instantiates a new PatchedTenantGroupRe 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 *PatchedTenantGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedTenantGroupRequest) 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 *PatchedTenantGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedTenantGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedTenantGroupRequest) GetName() string` diff --git a/docs/PatchedTenantRequest.md b/docs/PatchedTenantRequest.md index 80fd3b9a..77ef319e 100644 --- a/docs/PatchedTenantRequest.md +++ b/docs/PatchedTenantRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -31,6 +32,31 @@ NewPatchedTenantRequestWithDefaults instantiates a new PatchedTenantRequest 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 *PatchedTenantRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedTenantRequest) 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 *PatchedTenantRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedTenantRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedTenantRequest) GetName() string` diff --git a/docs/PatchedTokenRequest.md b/docs/PatchedTokenRequest.md index 3da9ae3f..65b8e82c 100644 --- a/docs/PatchedTokenRequest.md +++ b/docs/PatchedTokenRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Key** | Pointer to **string** | | [optional] **Expires** | Pointer to **NullableTime** | | [optional] **WriteEnabled** | Pointer to **bool** | Permit create/update/delete operations using this key | [optional] @@ -28,6 +29,31 @@ NewPatchedTokenRequestWithDefaults instantiates a new PatchedTokenRequest 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 *PatchedTokenRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedTokenRequest) 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 *PatchedTokenRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedTokenRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetKey `func (o *PatchedTokenRequest) GetKey() string` diff --git a/docs/PatchedUserRequest.md b/docs/PatchedUserRequest.md index ee69a6a2..47accd0f 100644 --- a/docs/PatchedUserRequest.md +++ b/docs/PatchedUserRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Password** | Pointer to **NullableString** | | [optional] **LastLogin** | Pointer to **NullableTime** | | [optional] **IsSuperuser** | Pointer to **bool** | Designates that this user has all permissions without explicitly assigning them. | [optional] @@ -36,6 +37,31 @@ NewPatchedUserRequestWithDefaults instantiates a new PatchedUserRequest 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 *PatchedUserRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedUserRequest) 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 *PatchedUserRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedUserRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPassword `func (o *PatchedUserRequest) GetPassword() string` diff --git a/docs/PatchedUserSavedViewAssociationRequest.md b/docs/PatchedUserSavedViewAssociationRequest.md index 8d6850d8..8e3487c0 100644 --- a/docs/PatchedUserSavedViewAssociationRequest.md +++ b/docs/PatchedUserSavedViewAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ViewName** | Pointer to **string** | | [optional] **SavedView** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **User** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -27,6 +28,31 @@ NewPatchedUserSavedViewAssociationRequestWithDefaults instantiates a new Patched 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 *PatchedUserSavedViewAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedUserSavedViewAssociationRequest) 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 *PatchedUserSavedViewAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedUserSavedViewAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetViewName `func (o *PatchedUserSavedViewAssociationRequest) GetViewName() string` diff --git a/docs/PatchedVLANGroupRequest.md b/docs/PatchedVLANGroupRequest.md index 46783a61..9e0ae0e4 100644 --- a/docs/PatchedVLANGroupRequest.md +++ b/docs/PatchedVLANGroupRequest.md @@ -4,9 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **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] @@ -29,6 +32,31 @@ NewPatchedVLANGroupRequestWithDefaults instantiates a new PatchedVLANGroupReques 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 *PatchedVLANGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVLANGroupRequest) 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 *PatchedVLANGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVLANGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedVLANGroupRequest) GetName() string` @@ -79,6 +107,31 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetRange + +`func (o *PatchedVLANGroupRequest) GetRange() string` + +GetRange returns the Range field if non-nil, zero value otherwise. + +### GetRangeOk + +`func (o *PatchedVLANGroupRequest) 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 *PatchedVLANGroupRequest) SetRange(v string)` + +SetRange sets Range field to given value. + +### HasRange + +`func (o *PatchedVLANGroupRequest) HasRange() bool` + +HasRange returns a boolean if a field has been set. + ### GetLocation `func (o *PatchedVLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant` @@ -114,6 +167,31 @@ HasLocation returns a boolean if a field has been set. `func (o *PatchedVLANGroupRequest) UnsetLocation()` UnsetLocation ensures that no value is present for Location, not even an explicit nil +### GetTags + +`func (o *PatchedVLANGroupRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedVLANGroupRequest) 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 *PatchedVLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedVLANGroupRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + ### GetCustomFields `func (o *PatchedVLANGroupRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedVLANLocationAssignmentRequest.md b/docs/PatchedVLANLocationAssignmentRequest.md index f2fa17d7..c367a748 100644 --- a/docs/PatchedVLANLocationAssignmentRequest.md +++ b/docs/PatchedVLANLocationAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Vlan** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **Location** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -26,6 +27,31 @@ NewPatchedVLANLocationAssignmentRequestWithDefaults instantiates a new PatchedVL 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 *PatchedVLANLocationAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVLANLocationAssignmentRequest) 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 *PatchedVLANLocationAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVLANLocationAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetVlan `func (o *PatchedVLANLocationAssignmentRequest) GetVlan() BulkWritableCableRequestStatus` diff --git a/docs/PatchedVLANRequest.md b/docs/PatchedVLANRequest.md index 80c290f7..0af10dfd 100644 --- a/docs/PatchedVLANRequest.md +++ b/docs/PatchedVLANRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Location** | Pointer to [**NullableBulkWritablePrefixRequestLocation**](BulkWritablePrefixRequestLocation.md) | | [optional] **Vid** | Pointer to **int32** | | [optional] **Name** | Pointer to **string** | | [optional] @@ -35,6 +36,31 @@ NewPatchedVLANRequestWithDefaults instantiates a new PatchedVLANRequest 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 *PatchedVLANRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVLANRequest) 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 *PatchedVLANRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVLANRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetLocation `func (o *PatchedVLANRequest) GetLocation() BulkWritablePrefixRequestLocation` diff --git a/docs/PatchedVRFDeviceAssignmentRequest.md b/docs/PatchedVRFDeviceAssignmentRequest.md index 617e7f9d..c596bf81 100644 --- a/docs/PatchedVRFDeviceAssignmentRequest.md +++ b/docs/PatchedVRFDeviceAssignmentRequest.md @@ -4,11 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] **Name** | Pointer to **string** | | [optional] **Vrf** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **Device** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **VirtualMachine** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] +**VirtualDeviceContext** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] ## Methods @@ -29,6 +31,31 @@ NewPatchedVRFDeviceAssignmentRequestWithDefaults instantiates a new PatchedVRFDe 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 *PatchedVRFDeviceAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVRFDeviceAssignmentRequest) 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 *PatchedVRFDeviceAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVRFDeviceAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetRd `func (o *PatchedVRFDeviceAssignmentRequest) GetRd() string` @@ -184,6 +211,41 @@ HasVirtualMachine returns a boolean if a field has been set. `func (o *PatchedVRFDeviceAssignmentRequest) UnsetVirtualMachine()` UnsetVirtualMachine ensures that no value is present for VirtualMachine, not even an explicit nil +### GetVirtualDeviceContext + +`func (o *PatchedVRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant` + +GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise. + +### GetVirtualDeviceContextOk + +`func (o *PatchedVRFDeviceAssignmentRequest) 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 *PatchedVRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant)` + +SetVirtualDeviceContext sets VirtualDeviceContext field to given value. + +### HasVirtualDeviceContext + +`func (o *PatchedVRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool` + +HasVirtualDeviceContext returns a boolean if a field has been set. + +### SetVirtualDeviceContextNil + +`func (o *PatchedVRFDeviceAssignmentRequest) SetVirtualDeviceContextNil(b bool)` + + SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil + +### UnsetVirtualDeviceContext +`func (o *PatchedVRFDeviceAssignmentRequest) 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/PatchedVRFPrefixAssignmentRequest.md b/docs/PatchedVRFPrefixAssignmentRequest.md index ef49985f..6028caf4 100644 --- a/docs/PatchedVRFPrefixAssignmentRequest.md +++ b/docs/PatchedVRFPrefixAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Vrf** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **Prefix** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -26,6 +27,31 @@ NewPatchedVRFPrefixAssignmentRequestWithDefaults instantiates a new PatchedVRFPr 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 *PatchedVRFPrefixAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVRFPrefixAssignmentRequest) 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 *PatchedVRFPrefixAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVRFPrefixAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetVrf `func (o *PatchedVRFPrefixAssignmentRequest) GetVrf() BulkWritableCableRequestStatus` diff --git a/docs/PatchedVRFRequest.md b/docs/PatchedVRFRequest.md index 8f495111..230ebb1a 100644 --- a/docs/PatchedVRFRequest.md +++ b/docs/PatchedVRFRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] **Description** | Pointer to **string** | | [optional] @@ -35,6 +36,31 @@ NewPatchedVRFRequestWithDefaults instantiates a new PatchedVRFRequest 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 *PatchedVRFRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVRFRequest) 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 *PatchedVRFRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVRFRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedVRFRequest) GetName() string` diff --git a/docs/PatchedVirtualChassisRequest.md b/docs/PatchedVirtualChassisRequest.md index 42aa37d6..c4d51be1 100644 --- a/docs/PatchedVirtualChassisRequest.md +++ b/docs/PatchedVirtualChassisRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Domain** | Pointer to **string** | | [optional] **Master** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -30,6 +31,31 @@ NewPatchedVirtualChassisRequestWithDefaults instantiates a new PatchedVirtualCha 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 *PatchedVirtualChassisRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVirtualChassisRequest) 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 *PatchedVirtualChassisRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVirtualChassisRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedVirtualChassisRequest) GetName() string` diff --git a/docs/PatchedVirtualDeviceContextRequest.md b/docs/PatchedVirtualDeviceContextRequest.md new file mode 100644 index 00000000..34a7945c --- /dev/null +++ b/docs/PatchedVirtualDeviceContextRequest.md @@ -0,0 +1,418 @@ +# PatchedVirtualDeviceContextRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Name** | Pointer to **string** | | [optional] +**Identifier** | Pointer to **NullableInt32** | Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) | [optional] +**Description** | Pointer to **string** | | [optional] +**Device** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**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 + +### NewPatchedVirtualDeviceContextRequest + +`func NewPatchedVirtualDeviceContextRequest() *PatchedVirtualDeviceContextRequest` + +NewPatchedVirtualDeviceContextRequest instantiates a new PatchedVirtualDeviceContextRequest 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 + +### NewPatchedVirtualDeviceContextRequestWithDefaults + +`func NewPatchedVirtualDeviceContextRequestWithDefaults() *PatchedVirtualDeviceContextRequest` + +NewPatchedVirtualDeviceContextRequestWithDefaults instantiates a new PatchedVirtualDeviceContextRequest 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 *PatchedVirtualDeviceContextRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVirtualDeviceContextRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *PatchedVirtualDeviceContextRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedVirtualDeviceContextRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetIdentifier + +`func (o *PatchedVirtualDeviceContextRequest) GetIdentifier() int32` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetIdentifier(v int32)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *PatchedVirtualDeviceContextRequest) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### SetIdentifierNil + +`func (o *PatchedVirtualDeviceContextRequest) SetIdentifierNil(b bool)` + + SetIdentifierNil sets the value for Identifier to be an explicit nil + +### UnsetIdentifier +`func (o *PatchedVirtualDeviceContextRequest) UnsetIdentifier()` + +UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +### GetDescription + +`func (o *PatchedVirtualDeviceContextRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedVirtualDeviceContextRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDevice + +`func (o *PatchedVirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus)` + +SetDevice sets Device field to given value. + +### HasDevice + +`func (o *PatchedVirtualDeviceContextRequest) HasDevice() bool` + +HasDevice returns a boolean if a field has been set. + +### GetStatus + +`func (o *PatchedVirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *PatchedVirtualDeviceContextRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *PatchedVirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *PatchedVirtualDeviceContextRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *PatchedVirtualDeviceContextRequest) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *PatchedVirtualDeviceContextRequest) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil +### GetPrimaryIp4 + +`func (o *PatchedVirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4` + +GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. + +### GetPrimaryIp4Ok + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4)` + +SetPrimaryIp4 sets PrimaryIp4 field to given value. + +### HasPrimaryIp4 + +`func (o *PatchedVirtualDeviceContextRequest) HasPrimaryIp4() bool` + +HasPrimaryIp4 returns a boolean if a field has been set. + +### SetPrimaryIp4Nil + +`func (o *PatchedVirtualDeviceContextRequest) SetPrimaryIp4Nil(b bool)` + + SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil + +### UnsetPrimaryIp4 +`func (o *PatchedVirtualDeviceContextRequest) UnsetPrimaryIp4()` + +UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +### GetPrimaryIp6 + +`func (o *PatchedVirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6` + +GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. + +### GetPrimaryIp6Ok + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6)` + +SetPrimaryIp6 sets PrimaryIp6 field to given value. + +### HasPrimaryIp6 + +`func (o *PatchedVirtualDeviceContextRequest) HasPrimaryIp6() bool` + +HasPrimaryIp6 returns a boolean if a field has been set. + +### SetPrimaryIp6Nil + +`func (o *PatchedVirtualDeviceContextRequest) SetPrimaryIp6Nil(b bool)` + + SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil + +### UnsetPrimaryIp6 +`func (o *PatchedVirtualDeviceContextRequest) UnsetPrimaryIp6()` + +UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +### GetTenant + +`func (o *PatchedVirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *PatchedVirtualDeviceContextRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *PatchedVirtualDeviceContextRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *PatchedVirtualDeviceContextRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetCustomFields + +`func (o *PatchedVirtualDeviceContextRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedVirtualDeviceContextRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedVirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedVirtualDeviceContextRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedVirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedVirtualDeviceContextRequest) 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 *PatchedVirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedVirtualDeviceContextRequest) 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/PatchedVirtualMachineRequest.md b/docs/PatchedVirtualMachineRequest.md index 60e283a8..57e913f3 100644 --- a/docs/PatchedVirtualMachineRequest.md +++ b/docs/PatchedVirtualMachineRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **LocalConfigContextData** | Pointer to **interface{}** | | [optional] **LocalConfigContextDataOwnerObjectId** | Pointer to **NullableString** | | [optional] **Name** | Pointer to **string** | | [optional] @@ -45,6 +46,31 @@ NewPatchedVirtualMachineRequestWithDefaults instantiates a new PatchedVirtualMac 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 *PatchedVirtualMachineRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedVirtualMachineRequest) 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 *PatchedVirtualMachineRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedVirtualMachineRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetLocalConfigContextData `func (o *PatchedVirtualMachineRequest) GetLocalConfigContextData() interface{}` diff --git a/docs/PatchedWebhookRequest.md b/docs/PatchedWebhookRequest.md index dfa082e7..427f71c2 100644 --- a/docs/PatchedWebhookRequest.md +++ b/docs/PatchedWebhookRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] **TypeCreate** | Pointer to **bool** | Call this webhook when a matching object is created. | [optional] @@ -38,6 +39,31 @@ NewPatchedWebhookRequestWithDefaults instantiates a new PatchedWebhookRequest 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 *PatchedWebhookRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWebhookRequest) 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 *PatchedWebhookRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWebhookRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedWebhookRequest) GetContentTypes() []string` diff --git a/docs/PatchedWirelessNetworkRequest.md b/docs/PatchedWirelessNetworkRequest.md new file mode 100644 index 00000000..06da925e --- /dev/null +++ b/docs/PatchedWirelessNetworkRequest.md @@ -0,0 +1,388 @@ +# PatchedWirelessNetworkRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Name** | Pointer to **string** | | [optional] +**Description** | Pointer to **string** | | [optional] +**Ssid** | Pointer to **string** | | [optional] +**Mode** | Pointer to [**WirelessNetworkModeChoices**](WirelessNetworkModeChoices.md) | | [optional] +**Enabled** | Pointer to **bool** | | [optional] +**Authentication** | Pointer to [**AuthenticationEnum**](AuthenticationEnum.md) | | [optional] +**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 + +### NewPatchedWirelessNetworkRequest + +`func NewPatchedWirelessNetworkRequest() *PatchedWirelessNetworkRequest` + +NewPatchedWirelessNetworkRequest instantiates a new PatchedWirelessNetworkRequest 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 + +### NewPatchedWirelessNetworkRequestWithDefaults + +`func NewPatchedWirelessNetworkRequestWithDefaults() *PatchedWirelessNetworkRequest` + +NewPatchedWirelessNetworkRequestWithDefaults instantiates a new PatchedWirelessNetworkRequest 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 *PatchedWirelessNetworkRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWirelessNetworkRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *PatchedWirelessNetworkRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedWirelessNetworkRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetDescription + +`func (o *PatchedWirelessNetworkRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedWirelessNetworkRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetSsid + +`func (o *PatchedWirelessNetworkRequest) GetSsid() string` + +GetSsid returns the Ssid field if non-nil, zero value otherwise. + +### GetSsidOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetSsid(v string)` + +SetSsid sets Ssid field to given value. + +### HasSsid + +`func (o *PatchedWirelessNetworkRequest) HasSsid() bool` + +HasSsid returns a boolean if a field has been set. + +### GetMode + +`func (o *PatchedWirelessNetworkRequest) GetMode() WirelessNetworkModeChoices` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *PatchedWirelessNetworkRequest) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetEnabled + +`func (o *PatchedWirelessNetworkRequest) GetEnabled() bool` + +GetEnabled returns the Enabled field if non-nil, zero value otherwise. + +### GetEnabledOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetEnabled(v bool)` + +SetEnabled sets Enabled field to given value. + +### HasEnabled + +`func (o *PatchedWirelessNetworkRequest) HasEnabled() bool` + +HasEnabled returns a boolean if a field has been set. + +### GetAuthentication + +`func (o *PatchedWirelessNetworkRequest) GetAuthentication() AuthenticationEnum` + +GetAuthentication returns the Authentication field if non-nil, zero value otherwise. + +### GetAuthenticationOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetAuthentication(v AuthenticationEnum)` + +SetAuthentication sets Authentication field to given value. + +### HasAuthentication + +`func (o *PatchedWirelessNetworkRequest) HasAuthentication() bool` + +HasAuthentication returns a boolean if a field has been set. + +### GetHidden + +`func (o *PatchedWirelessNetworkRequest) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedWirelessNetworkRequest) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + +### GetSecretsGroup + +`func (o *PatchedWirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant` + +GetSecretsGroup returns the SecretsGroup field if non-nil, zero value otherwise. + +### GetSecretsGroupOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant)` + +SetSecretsGroup sets SecretsGroup field to given value. + +### HasSecretsGroup + +`func (o *PatchedWirelessNetworkRequest) HasSecretsGroup() bool` + +HasSecretsGroup returns a boolean if a field has been set. + +### SetSecretsGroupNil + +`func (o *PatchedWirelessNetworkRequest) SetSecretsGroupNil(b bool)` + + SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil + +### UnsetSecretsGroup +`func (o *PatchedWirelessNetworkRequest) UnsetSecretsGroup()` + +UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +### GetTenant + +`func (o *PatchedWirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *PatchedWirelessNetworkRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *PatchedWirelessNetworkRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *PatchedWirelessNetworkRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetCustomFields + +`func (o *PatchedWirelessNetworkRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedWirelessNetworkRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedWirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedWirelessNetworkRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedWirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedWirelessNetworkRequest) 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 *PatchedWirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedWirelessNetworkRequest) 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/PatchedWritableCableRequest.md b/docs/PatchedWritableCableRequest.md index 73fc93d6..09cf0a8c 100644 --- a/docs/PatchedWritableCableRequest.md +++ b/docs/PatchedWritableCableRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **TerminationAType** | Pointer to **string** | | [optional] **TerminationBType** | Pointer to **string** | | [optional] **TerminationAId** | Pointer to **string** | | [optional] @@ -37,6 +38,31 @@ NewPatchedWritableCableRequestWithDefaults instantiates a new PatchedWritableCab 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 *PatchedWritableCableRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableCableRequest) 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 *PatchedWritableCableRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableCableRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetTerminationAType `func (o *PatchedWritableCableRequest) GetTerminationAType() string` diff --git a/docs/PatchedWritableConsolePortRequest.md b/docs/PatchedWritableConsolePortRequest.md index 74eddb63..5a263b5d 100644 --- a/docs/PatchedWritableConsolePortRequest.md +++ b/docs/PatchedWritableConsolePortRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,6 +34,31 @@ NewPatchedWritableConsolePortRequestWithDefaults instantiates a new PatchedWrita 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 *PatchedWritableConsolePortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableConsolePortRequest) 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 *PatchedWritableConsolePortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableConsolePortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableConsolePortRequest) GetName() string` diff --git a/docs/PatchedWritableConsolePortTemplateRequest.md b/docs/PatchedWritableConsolePortTemplateRequest.md index 5d5746c6..8347680e 100644 --- a/docs/PatchedWritableConsolePortTemplateRequest.md +++ b/docs/PatchedWritableConsolePortTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -32,6 +33,31 @@ NewPatchedWritableConsolePortTemplateRequestWithDefaults instantiates a new Patc 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 *PatchedWritableConsolePortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableConsolePortTemplateRequest) 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 *PatchedWritableConsolePortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableConsolePortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableConsolePortTemplateRequest) GetName() string` diff --git a/docs/PatchedWritableConsoleServerPortRequest.md b/docs/PatchedWritableConsoleServerPortRequest.md index 9e389bd3..803bc3cb 100644 --- a/docs/PatchedWritableConsoleServerPortRequest.md +++ b/docs/PatchedWritableConsoleServerPortRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,6 +34,31 @@ NewPatchedWritableConsoleServerPortRequestWithDefaults instantiates a new Patche 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 *PatchedWritableConsoleServerPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableConsoleServerPortRequest) 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 *PatchedWritableConsoleServerPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableConsoleServerPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableConsoleServerPortRequest) GetName() string` diff --git a/docs/PatchedWritableConsoleServerPortTemplateRequest.md b/docs/PatchedWritableConsoleServerPortTemplateRequest.md index 70e003c1..b5300f50 100644 --- a/docs/PatchedWritableConsoleServerPortTemplateRequest.md +++ b/docs/PatchedWritableConsoleServerPortTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -32,6 +33,31 @@ NewPatchedWritableConsoleServerPortTemplateRequestWithDefaults instantiates a ne 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 *PatchedWritableConsoleServerPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableConsoleServerPortTemplateRequest) 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 *PatchedWritableConsoleServerPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableConsoleServerPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableConsoleServerPortTemplateRequest) GetName() string` diff --git a/docs/PatchedWritableCustomFieldRequest.md b/docs/PatchedWritableCustomFieldRequest.md index e226b5ad..0017bd54 100644 --- a/docs/PatchedWritableCustomFieldRequest.md +++ b/docs/PatchedWritableCustomFieldRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | Pointer to **[]string** | | [optional] **Label** | Pointer to **string** | | [optional] **Grouping** | Pointer to **string** | Human-readable grouping that this custom field belongs to. | [optional] @@ -38,6 +39,31 @@ NewPatchedWritableCustomFieldRequestWithDefaults instantiates a new PatchedWrita 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 *PatchedWritableCustomFieldRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableCustomFieldRequest) 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 *PatchedWritableCustomFieldRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableCustomFieldRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *PatchedWritableCustomFieldRequest) GetContentTypes() []string` diff --git a/docs/PatchedWritableDeviceRedundancyGroupRequest.md b/docs/PatchedWritableDeviceRedundancyGroupRequest.md index 9037a904..ff436390 100644 --- a/docs/PatchedWritableDeviceRedundancyGroupRequest.md +++ b/docs/PatchedWritableDeviceRedundancyGroupRequest.md @@ -4,9 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] -**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional] +**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional] [default to BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY] **Comments** | Pointer to **string** | | [optional] **Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **SecretsGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -33,6 +34,31 @@ NewPatchedWritableDeviceRedundancyGroupRequestWithDefaults instantiates a new Pa 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 *PatchedWritableDeviceRedundancyGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableDeviceRedundancyGroupRequest) 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 *PatchedWritableDeviceRedundancyGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableDeviceRedundancyGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableDeviceRedundancyGroupRequest) GetName() string` diff --git a/docs/PatchedWritableDeviceRequest.md b/docs/PatchedWritableDeviceRequest.md index 7df6ba3e..584cd6cf 100644 --- a/docs/PatchedWritableDeviceRequest.md +++ b/docs/PatchedWritableDeviceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **LocalConfigContextData** | Pointer to **interface{}** | | [optional] **LocalConfigContextDataOwnerObjectId** | Pointer to **NullableString** | | [optional] **Name** | Pointer to **NullableString** | | [optional] @@ -57,6 +58,31 @@ NewPatchedWritableDeviceRequestWithDefaults instantiates a new PatchedWritableDe 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 *PatchedWritableDeviceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableDeviceRequest) 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 *PatchedWritableDeviceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableDeviceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetLocalConfigContextData `func (o *PatchedWritableDeviceRequest) GetLocalConfigContextData() interface{}` diff --git a/docs/PatchedWritableDeviceTypeRequest.md b/docs/PatchedWritableDeviceTypeRequest.md index 99db0baf..098c1829 100644 --- a/docs/PatchedWritableDeviceTypeRequest.md +++ b/docs/PatchedWritableDeviceTypeRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **FrontImage** | Pointer to ***os.File** | | [optional] **RearImage** | Pointer to ***os.File** | | [optional] **Model** | Pointer to **string** | | [optional] @@ -37,6 +38,31 @@ NewPatchedWritableDeviceTypeRequestWithDefaults instantiates a new PatchedWritab 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 *PatchedWritableDeviceTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableDeviceTypeRequest) 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 *PatchedWritableDeviceTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableDeviceTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetFrontImage `func (o *PatchedWritableDeviceTypeRequest) GetFrontImage() *os.File` diff --git a/docs/PatchedWritableFrontPortRequest.md b/docs/PatchedWritableFrontPortRequest.md index 065f4fa1..2cf0f669 100644 --- a/docs/PatchedWritableFrontPortRequest.md +++ b/docs/PatchedWritableFrontPortRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -35,6 +36,31 @@ NewPatchedWritableFrontPortRequestWithDefaults instantiates a new PatchedWritabl 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 *PatchedWritableFrontPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableFrontPortRequest) 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 *PatchedWritableFrontPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableFrontPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableFrontPortRequest) GetName() string` diff --git a/docs/PatchedWritableFrontPortTemplateRequest.md b/docs/PatchedWritableFrontPortTemplateRequest.md index 33ee0daa..9a402ccc 100644 --- a/docs/PatchedWritableFrontPortTemplateRequest.md +++ b/docs/PatchedWritableFrontPortTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -34,6 +35,31 @@ NewPatchedWritableFrontPortTemplateRequestWithDefaults instantiates a new Patche 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 *PatchedWritableFrontPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableFrontPortTemplateRequest) 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 *PatchedWritableFrontPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableFrontPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableFrontPortTemplateRequest) GetName() string` diff --git a/docs/PatchedWritableInterfaceRedundancyGroupRequest.md b/docs/PatchedWritableInterfaceRedundancyGroupRequest.md index f569e014..92be65a3 100644 --- a/docs/PatchedWritableInterfaceRedundancyGroupRequest.md +++ b/docs/PatchedWritableInterfaceRedundancyGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Protocol** | Pointer to [**RedundancyProtocol**](RedundancyProtocol.md) | | [optional] @@ -34,6 +35,31 @@ NewPatchedWritableInterfaceRedundancyGroupRequestWithDefaults instantiates a new 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 *PatchedWritableInterfaceRedundancyGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableInterfaceRedundancyGroupRequest) 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 *PatchedWritableInterfaceRedundancyGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableInterfaceRedundancyGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableInterfaceRedundancyGroupRequest) GetName() string` diff --git a/docs/PatchedWritableInterfaceRequest.md b/docs/PatchedWritableInterfaceRequest.md index c043057d..7b1b0803 100644 --- a/docs/PatchedWritableInterfaceRequest.md +++ b/docs/PatchedWritableInterfaceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **MacAddress** | Pointer to **NullableString** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] @@ -46,6 +47,31 @@ NewPatchedWritableInterfaceRequestWithDefaults instantiates a new PatchedWritabl 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 *PatchedWritableInterfaceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableInterfaceRequest) 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 *PatchedWritableInterfaceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableInterfaceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetMacAddress `func (o *PatchedWritableInterfaceRequest) GetMacAddress() string` diff --git a/docs/PatchedWritableInterfaceTemplateRequest.md b/docs/PatchedWritableInterfaceTemplateRequest.md index 6dd5baf5..da01eb2f 100644 --- a/docs/PatchedWritableInterfaceTemplateRequest.md +++ b/docs/PatchedWritableInterfaceTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,6 +34,31 @@ NewPatchedWritableInterfaceTemplateRequestWithDefaults instantiates a new Patche 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 *PatchedWritableInterfaceTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableInterfaceTemplateRequest) 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 *PatchedWritableInterfaceTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableInterfaceTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableInterfaceTemplateRequest) GetName() string` diff --git a/docs/PatchedWritablePowerFeedRequest.md b/docs/PatchedWritablePowerFeedRequest.md index 482a3668..3baaf2be 100644 --- a/docs/PatchedWritablePowerFeedRequest.md +++ b/docs/PatchedWritablePowerFeedRequest.md @@ -4,16 +4,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Type** | Pointer to [**PowerFeedTypeChoices**](PowerFeedTypeChoices.md) | | [optional] +**PowerPath** | Pointer to [**PatchedWritablePowerFeedRequestPowerPath**](PatchedWritablePowerFeedRequestPowerPath.md) | | [optional] **Supply** | Pointer to [**SupplyEnum**](SupplyEnum.md) | | [optional] **Phase** | Pointer to [**PhaseEnum**](PhaseEnum.md) | | [optional] **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] +**BreakerPoleCount** | Pointer to [**NullableBreakerPoleCountEnum**](BreakerPoleCountEnum.md) | | [optional] **Comments** | Pointer to **string** | | [optional] **Cable** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] -**PowerPanel** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**PowerPanel** | Pointer to [**BulkWritablePowerFeedRequestPowerPanel**](BulkWritablePowerFeedRequestPowerPanel.md) | | [optional] +**DestinationPanel** | Pointer to [**NullableBulkWritablePowerFeedRequestDestinationPanel**](BulkWritablePowerFeedRequestDestinationPanel.md) | | [optional] **Rack** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -39,6 +44,31 @@ NewPatchedWritablePowerFeedRequestWithDefaults instantiates a new PatchedWritabl 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 *PatchedWritablePowerFeedRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritablePowerFeedRequest) 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 *PatchedWritablePowerFeedRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritablePowerFeedRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritablePowerFeedRequest) GetName() string` @@ -89,6 +119,31 @@ SetType sets Type field to given value. HasType returns a boolean if a field has been set. +### GetPowerPath + +`func (o *PatchedWritablePowerFeedRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *PatchedWritablePowerFeedRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, 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 *PatchedWritablePowerFeedRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *PatchedWritablePowerFeedRequest) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + ### GetSupply `func (o *PatchedWritablePowerFeedRequest) GetSupply() SupplyEnum` @@ -214,6 +269,76 @@ SetMaxUtilization sets MaxUtilization field to given value. HasMaxUtilization returns a boolean if a field has been set. +### GetBreakerPosition + +`func (o *PatchedWritablePowerFeedRequest) GetBreakerPosition() int32` + +GetBreakerPosition returns the BreakerPosition field if non-nil, zero value otherwise. + +### GetBreakerPositionOk + +`func (o *PatchedWritablePowerFeedRequest) 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 *PatchedWritablePowerFeedRequest) SetBreakerPosition(v int32)` + +SetBreakerPosition sets BreakerPosition field to given value. + +### HasBreakerPosition + +`func (o *PatchedWritablePowerFeedRequest) HasBreakerPosition() bool` + +HasBreakerPosition returns a boolean if a field has been set. + +### SetBreakerPositionNil + +`func (o *PatchedWritablePowerFeedRequest) SetBreakerPositionNil(b bool)` + + SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil + +### UnsetBreakerPosition +`func (o *PatchedWritablePowerFeedRequest) UnsetBreakerPosition()` + +UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil +### GetBreakerPoleCount + +`func (o *PatchedWritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum` + +GetBreakerPoleCount returns the BreakerPoleCount field if non-nil, zero value otherwise. + +### GetBreakerPoleCountOk + +`func (o *PatchedWritablePowerFeedRequest) 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 *PatchedWritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum)` + +SetBreakerPoleCount sets BreakerPoleCount field to given value. + +### HasBreakerPoleCount + +`func (o *PatchedWritablePowerFeedRequest) HasBreakerPoleCount() bool` + +HasBreakerPoleCount returns a boolean if a field has been set. + +### SetBreakerPoleCountNil + +`func (o *PatchedWritablePowerFeedRequest) SetBreakerPoleCountNil(b bool)` + + SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil + +### UnsetBreakerPoleCount +`func (o *PatchedWritablePowerFeedRequest) UnsetBreakerPoleCount()` + +UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil ### GetComments `func (o *PatchedWritablePowerFeedRequest) GetComments() string` @@ -276,20 +401,20 @@ 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 *PatchedWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus` +`func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *PatchedWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool)` +`func (o *PatchedWritablePowerFeedRequest) 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 *PatchedWritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus)` +`func (o *PatchedWritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel)` SetPowerPanel sets PowerPanel field to given value. @@ -299,6 +424,41 @@ SetPowerPanel sets PowerPanel field to given value. HasPowerPanel returns a boolean if a field has been set. +### GetDestinationPanel + +`func (o *PatchedWritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel` + +GetDestinationPanel returns the DestinationPanel field if non-nil, zero value otherwise. + +### GetDestinationPanelOk + +`func (o *PatchedWritablePowerFeedRequest) 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 *PatchedWritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel)` + +SetDestinationPanel sets DestinationPanel field to given value. + +### HasDestinationPanel + +`func (o *PatchedWritablePowerFeedRequest) HasDestinationPanel() bool` + +HasDestinationPanel returns a boolean if a field has been set. + +### SetDestinationPanelNil + +`func (o *PatchedWritablePowerFeedRequest) SetDestinationPanelNil(b bool)` + + SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil + +### UnsetDestinationPanel +`func (o *PatchedWritablePowerFeedRequest) UnsetDestinationPanel()` + +UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil ### GetRack `func (o *PatchedWritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant` diff --git a/docs/PatchedWritablePowerFeedRequestPowerPath.md b/docs/PatchedWritablePowerFeedRequestPowerPath.md new file mode 100644 index 00000000..cc79212b --- /dev/null +++ b/docs/PatchedWritablePowerFeedRequestPowerPath.md @@ -0,0 +1,30 @@ +# PatchedWritablePowerFeedRequestPowerPath + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Methods + +### NewPatchedWritablePowerFeedRequestPowerPath + +`func NewPatchedWritablePowerFeedRequestPowerPath() *PatchedWritablePowerFeedRequestPowerPath` + +NewPatchedWritablePowerFeedRequestPowerPath instantiates a new PatchedWritablePowerFeedRequestPowerPath 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 + +### NewPatchedWritablePowerFeedRequestPowerPathWithDefaults + +`func NewPatchedWritablePowerFeedRequestPowerPathWithDefaults() *PatchedWritablePowerFeedRequestPowerPath` + +NewPatchedWritablePowerFeedRequestPowerPathWithDefaults instantiates a new PatchedWritablePowerFeedRequestPowerPath 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/PatchedWritablePowerOutletRequest.md b/docs/PatchedWritablePowerOutletRequest.md index eb5537c4..71b5b863 100644 --- a/docs/PatchedWritablePowerOutletRequest.md +++ b/docs/PatchedWritablePowerOutletRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -35,6 +36,31 @@ NewPatchedWritablePowerOutletRequestWithDefaults instantiates a new PatchedWrita 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 *PatchedWritablePowerOutletRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritablePowerOutletRequest) 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 *PatchedWritablePowerOutletRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritablePowerOutletRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritablePowerOutletRequest) GetName() string` diff --git a/docs/PatchedWritablePowerOutletTemplateRequest.md b/docs/PatchedWritablePowerOutletTemplateRequest.md index 157dc602..d7d0f2d5 100644 --- a/docs/PatchedWritablePowerOutletTemplateRequest.md +++ b/docs/PatchedWritablePowerOutletTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -34,6 +35,31 @@ NewPatchedWritablePowerOutletTemplateRequestWithDefaults instantiates a new Patc 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 *PatchedWritablePowerOutletTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritablePowerOutletTemplateRequest) 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 *PatchedWritablePowerOutletTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritablePowerOutletTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritablePowerOutletTemplateRequest) GetName() string` diff --git a/docs/PatchedWritablePowerPanelRequest.md b/docs/PatchedWritablePowerPanelRequest.md new file mode 100644 index 00000000..33932dc7 --- /dev/null +++ b/docs/PatchedWritablePowerPanelRequest.md @@ -0,0 +1,310 @@ +# PatchedWritablePowerPanelRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Name** | Pointer to **string** | | [optional] +**PanelType** | Pointer to [**PatchedWritablePowerPanelRequestPanelType**](PatchedWritablePowerPanelRequestPanelType.md) | | [optional] +**BreakerPositionCount** | Pointer to **NullableInt32** | Total number of breaker positions in the panel (e.g., 42) | [optional] +**PowerPath** | Pointer to [**PatchedWritablePowerFeedRequestPowerPath**](PatchedWritablePowerFeedRequestPowerPath.md) | | [optional] +**Location** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] +**RackGroup** | 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 + +### NewPatchedWritablePowerPanelRequest + +`func NewPatchedWritablePowerPanelRequest() *PatchedWritablePowerPanelRequest` + +NewPatchedWritablePowerPanelRequest instantiates a new PatchedWritablePowerPanelRequest 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 + +### NewPatchedWritablePowerPanelRequestWithDefaults + +`func NewPatchedWritablePowerPanelRequestWithDefaults() *PatchedWritablePowerPanelRequest` + +NewPatchedWritablePowerPanelRequestWithDefaults instantiates a new PatchedWritablePowerPanelRequest 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 *PatchedWritablePowerPanelRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritablePowerPanelRequest) 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 *PatchedWritablePowerPanelRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritablePowerPanelRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *PatchedWritablePowerPanelRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedWritablePowerPanelRequest) 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 *PatchedWritablePowerPanelRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedWritablePowerPanelRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetPanelType + +`func (o *PatchedWritablePowerPanelRequest) GetPanelType() PatchedWritablePowerPanelRequestPanelType` + +GetPanelType returns the PanelType field if non-nil, zero value otherwise. + +### GetPanelTypeOk + +`func (o *PatchedWritablePowerPanelRequest) GetPanelTypeOk() (*PatchedWritablePowerPanelRequestPanelType, 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 *PatchedWritablePowerPanelRequest) SetPanelType(v PatchedWritablePowerPanelRequestPanelType)` + +SetPanelType sets PanelType field to given value. + +### HasPanelType + +`func (o *PatchedWritablePowerPanelRequest) HasPanelType() bool` + +HasPanelType returns a boolean if a field has been set. + +### GetBreakerPositionCount + +`func (o *PatchedWritablePowerPanelRequest) GetBreakerPositionCount() int32` + +GetBreakerPositionCount returns the BreakerPositionCount field if non-nil, zero value otherwise. + +### GetBreakerPositionCountOk + +`func (o *PatchedWritablePowerPanelRequest) 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 *PatchedWritablePowerPanelRequest) SetBreakerPositionCount(v int32)` + +SetBreakerPositionCount sets BreakerPositionCount field to given value. + +### HasBreakerPositionCount + +`func (o *PatchedWritablePowerPanelRequest) HasBreakerPositionCount() bool` + +HasBreakerPositionCount returns a boolean if a field has been set. + +### SetBreakerPositionCountNil + +`func (o *PatchedWritablePowerPanelRequest) SetBreakerPositionCountNil(b bool)` + + SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil + +### UnsetBreakerPositionCount +`func (o *PatchedWritablePowerPanelRequest) UnsetBreakerPositionCount()` + +UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil +### GetPowerPath + +`func (o *PatchedWritablePowerPanelRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *PatchedWritablePowerPanelRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, 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 *PatchedWritablePowerPanelRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *PatchedWritablePowerPanelRequest) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + +### GetLocation + +`func (o *PatchedWritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *PatchedWritablePowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool)` + +GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocation + +`func (o *PatchedWritablePowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *PatchedWritablePowerPanelRequest) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + +### GetRackGroup + +`func (o *PatchedWritablePowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant` + +GetRackGroup returns the RackGroup field if non-nil, zero value otherwise. + +### GetRackGroupOk + +`func (o *PatchedWritablePowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool)` + +GetRackGroupOk returns a tuple with the RackGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackGroup + +`func (o *PatchedWritablePowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant)` + +SetRackGroup sets RackGroup field to given value. + +### HasRackGroup + +`func (o *PatchedWritablePowerPanelRequest) HasRackGroup() bool` + +HasRackGroup returns a boolean if a field has been set. + +### SetRackGroupNil + +`func (o *PatchedWritablePowerPanelRequest) SetRackGroupNil(b bool)` + + SetRackGroupNil sets the value for RackGroup to be an explicit nil + +### UnsetRackGroup +`func (o *PatchedWritablePowerPanelRequest) UnsetRackGroup()` + +UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil +### GetCustomFields + +`func (o *PatchedWritablePowerPanelRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedWritablePowerPanelRequest) 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 *PatchedWritablePowerPanelRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedWritablePowerPanelRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PatchedWritablePowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PatchedWritablePowerPanelRequest) 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 *PatchedWritablePowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PatchedWritablePowerPanelRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedWritablePowerPanelRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedWritablePowerPanelRequest) 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 *PatchedWritablePowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedWritablePowerPanelRequest) 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/PatchedWritablePowerPanelRequestPanelType.md b/docs/PatchedWritablePowerPanelRequestPanelType.md new file mode 100644 index 00000000..dbde3bc6 --- /dev/null +++ b/docs/PatchedWritablePowerPanelRequestPanelType.md @@ -0,0 +1,30 @@ +# PatchedWritablePowerPanelRequestPanelType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Methods + +### NewPatchedWritablePowerPanelRequestPanelType + +`func NewPatchedWritablePowerPanelRequestPanelType() *PatchedWritablePowerPanelRequestPanelType` + +NewPatchedWritablePowerPanelRequestPanelType instantiates a new PatchedWritablePowerPanelRequestPanelType 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 + +### NewPatchedWritablePowerPanelRequestPanelTypeWithDefaults + +`func NewPatchedWritablePowerPanelRequestPanelTypeWithDefaults() *PatchedWritablePowerPanelRequestPanelType` + +NewPatchedWritablePowerPanelRequestPanelTypeWithDefaults instantiates a new PatchedWritablePowerPanelRequestPanelType 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/PatchedWritablePowerPortRequest.md b/docs/PatchedWritablePowerPortRequest.md index 323a8895..a0f93895 100644 --- a/docs/PatchedWritablePowerPortRequest.md +++ b/docs/PatchedWritablePowerPortRequest.md @@ -4,12 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] **Type** | Pointer to [**PatchedWritablePowerPortRequestType**](PatchedWritablePowerPortRequestType.md) | | [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] @@ -35,6 +37,31 @@ NewPatchedWritablePowerPortRequestWithDefaults instantiates a new PatchedWritabl 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 *PatchedWritablePowerPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritablePowerPortRequest) 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 *PatchedWritablePowerPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritablePowerPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritablePowerPortRequest) GetName() string` @@ -205,6 +232,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *PatchedWritablePowerPortRequest) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *PatchedWritablePowerPortRequest) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *PatchedWritablePowerPortRequest) 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 *PatchedWritablePowerPortRequest) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *PatchedWritablePowerPortRequest) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDevice `func (o *PatchedWritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant` diff --git a/docs/PatchedWritablePowerPortTemplateRequest.md b/docs/PatchedWritablePowerPortTemplateRequest.md index dc1f0b32..da9312ff 100644 --- a/docs/PatchedWritablePowerPortTemplateRequest.md +++ b/docs/PatchedWritablePowerPortTemplateRequest.md @@ -4,12 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] **Type** | Pointer to [**PatchedWritablePowerPortTemplateRequestType**](PatchedWritablePowerPortTemplateRequestType.md) | | [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] @@ -34,6 +36,31 @@ NewPatchedWritablePowerPortTemplateRequestWithDefaults instantiates a new Patche 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 *PatchedWritablePowerPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritablePowerPortTemplateRequest) 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 *PatchedWritablePowerPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritablePowerPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritablePowerPortTemplateRequest) GetName() string` @@ -204,6 +231,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *PatchedWritablePowerPortTemplateRequest) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *PatchedWritablePowerPortTemplateRequest) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *PatchedWritablePowerPortTemplateRequest) 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 *PatchedWritablePowerPortTemplateRequest) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *PatchedWritablePowerPortTemplateRequest) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDeviceType `func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant` diff --git a/docs/PatchedWritablePrefixRequest.md b/docs/PatchedWritablePrefixRequest.md index 58b40ead..d42b1c41 100644 --- a/docs/PatchedWritablePrefixRequest.md +++ b/docs/PatchedWritablePrefixRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Prefix** | Pointer to **string** | | [optional] **Location** | Pointer to [**NullableBulkWritablePrefixRequestLocation**](BulkWritablePrefixRequestLocation.md) | | [optional] **Type** | Pointer to [**PrefixTypeChoices**](PrefixTypeChoices.md) | | [optional] @@ -39,6 +40,31 @@ NewPatchedWritablePrefixRequestWithDefaults instantiates a new PatchedWritablePr 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 *PatchedWritablePrefixRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritablePrefixRequest) 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 *PatchedWritablePrefixRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritablePrefixRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPrefix `func (o *PatchedWritablePrefixRequest) GetPrefix() string` diff --git a/docs/PatchedWritableRackRequest.md b/docs/PatchedWritableRackRequest.md index e43d8fdb..e865ae32 100644 --- a/docs/PatchedWritableRackRequest.md +++ b/docs/PatchedWritableRackRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **FacilityId** | Pointer to **NullableString** | Locally-assigned identifier | [optional] **Serial** | Pointer to **string** | | [optional] @@ -44,6 +45,31 @@ NewPatchedWritableRackRequestWithDefaults instantiates a new PatchedWritableRack 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 *PatchedWritableRackRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableRackRequest) 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 *PatchedWritableRackRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableRackRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableRackRequest) GetName() string` diff --git a/docs/PatchedWritableRearPortRequest.md b/docs/PatchedWritableRearPortRequest.md index 3c78382f..59c18d66 100644 --- a/docs/PatchedWritableRearPortRequest.md +++ b/docs/PatchedWritableRearPortRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -34,6 +35,31 @@ NewPatchedWritableRearPortRequestWithDefaults instantiates a new PatchedWritable 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 *PatchedWritableRearPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableRearPortRequest) 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 *PatchedWritableRearPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableRearPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableRearPortRequest) GetName() string` diff --git a/docs/PatchedWritableRearPortTemplateRequest.md b/docs/PatchedWritableRearPortTemplateRequest.md index 8c7e1371..5ba27342 100644 --- a/docs/PatchedWritableRearPortTemplateRequest.md +++ b/docs/PatchedWritableRearPortTemplateRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,6 +34,31 @@ NewPatchedWritableRearPortTemplateRequestWithDefaults instantiates a new Patched 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 *PatchedWritableRearPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableRearPortTemplateRequest) 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 *PatchedWritableRearPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableRearPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PatchedWritableRearPortTemplateRequest) GetName() string` diff --git a/docs/PatchedWritableServiceRequest.md b/docs/PatchedWritableServiceRequest.md index 1decc132..19c0145c 100644 --- a/docs/PatchedWritableServiceRequest.md +++ b/docs/PatchedWritableServiceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Ports** | Pointer to **[]int32** | | [optional] **Name** | Pointer to **string** | | [optional] **Protocol** | Pointer to [**ServiceProtocolChoices**](ServiceProtocolChoices.md) | | [optional] @@ -34,6 +35,31 @@ NewPatchedWritableServiceRequestWithDefaults instantiates a new PatchedWritableS 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 *PatchedWritableServiceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableServiceRequest) 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 *PatchedWritableServiceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableServiceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPorts `func (o *PatchedWritableServiceRequest) GetPorts() []int32` diff --git a/docs/PatchedWritableVMInterfaceRequest.md b/docs/PatchedWritableVMInterfaceRequest.md index c7d76693..9d796fa6 100644 --- a/docs/PatchedWritableVMInterfaceRequest.md +++ b/docs/PatchedWritableVMInterfaceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **MacAddress** | Pointer to **NullableString** | | [optional] **Enabled** | Pointer to **bool** | | [optional] **Mtu** | Pointer to **NullableInt32** | | [optional] @@ -41,6 +42,31 @@ NewPatchedWritableVMInterfaceRequestWithDefaults instantiates a new PatchedWrita 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 *PatchedWritableVMInterfaceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PatchedWritableVMInterfaceRequest) 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 *PatchedWritableVMInterfaceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PatchedWritableVMInterfaceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetMacAddress `func (o *PatchedWritableVMInterfaceRequest) GetMacAddress() string` diff --git a/docs/PathEndpoint.md b/docs/PathEndpoint.md index 212d52ab..64896a9e 100644 --- a/docs/PathEndpoint.md +++ b/docs/PathEndpoint.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 ### NewPathEndpoint -`func NewPathEndpoint(id string, objectType string, url string, ) *PathEndpoint` +`func NewPathEndpoint(objectType string, url string, ) *PathEndpoint` NewPathEndpoint instantiates a new PathEndpoint 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 *PathEndpoint) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/Platform.md b/docs/Platform.md index 5b59a31c..838df086 100644 --- a/docs/Platform.md +++ b/docs/Platform.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 ### NewPlatform -`func NewPlatform(id string, objectType string, display string, url string, naturalSlug string, networkDriverMappings interface{}, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Platform` +`func NewPlatform(objectType string, display string, url string, naturalSlug string, networkDriverMappings interface{}, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Platform` NewPlatform instantiates a new Platform 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 *Platform) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/PlatformRequest.md b/docs/PlatformRequest.md index 061b0855..9b206a2e 100644 --- a/docs/PlatformRequest.md +++ b/docs/PlatformRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **NetworkDriver** | Pointer to **string** | The normalized network driver to use when interacting with devices, e.g. cisco_ios, arista_eos, etc. Library-specific driver names will be derived from this setting as appropriate | [optional] **NapalmDriver** | Pointer to **string** | The name of the NAPALM driver to use when Nautobot internals interact with devices | [optional] @@ -32,6 +33,31 @@ NewPlatformRequestWithDefaults instantiates a new PlatformRequest 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 *PlatformRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PlatformRequest) 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 *PlatformRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PlatformRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *PlatformRequest) GetName() string` diff --git a/docs/PowerFeed.md b/docs/PowerFeed.md index 938660cf..a560ce4c 100644 --- a/docs/PowerFeed.md +++ b/docs/PowerFeed.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] @@ -15,16 +15,20 @@ Name | Type | Description | Notes **ConnectedEndpoint** | [**NullablePathEndpoint**](PathEndpoint.md) | | [readonly] **ConnectedEndpointReachable** | **NullableBool** | | [readonly] **Type** | Pointer to [**PowerFeedType**](PowerFeedType.md) | | [optional] +**PowerPath** | Pointer to [**PowerFeedPowerPath**](PowerFeedPowerPath.md) | | [optional] **Supply** | Pointer to [**PowerFeedSupply**](PowerFeedSupply.md) | | [optional] **Phase** | Pointer to [**PowerFeedPhase**](PowerFeedPhase.md) | | [optional] +**BreakerPoleCount** | Pointer to [**NullablePowerFeedBreakerPoleCount**](PowerFeedBreakerPoleCount.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] **AvailablePower** | **int32** | | [readonly] **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) | | **Created** | **NullableTime** | | [readonly] @@ -37,7 +41,7 @@ Name | Type | Description | Notes ### NewPowerFeed -`func NewPowerFeed(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, availablePower int32, powerPanel BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *PowerFeed` +`func NewPowerFeed(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, availablePower int32, powerPanel BulkWritablePowerFeedRequestPowerPanel, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *PowerFeed` NewPowerFeed instantiates a new PowerFeed object This constructor will assign default values to properties that have it defined, @@ -71,6 +75,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *PowerFeed) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -327,6 +336,31 @@ SetType sets Type field to given value. HasType returns a boolean if a field has been set. +### GetPowerPath + +`func (o *PowerFeed) GetPowerPath() PowerFeedPowerPath` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *PowerFeed) GetPowerPathOk() (*PowerFeedPowerPath, 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 *PowerFeed) SetPowerPath(v PowerFeedPowerPath)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *PowerFeed) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + ### GetSupply `func (o *PowerFeed) GetSupply() PowerFeedSupply` @@ -377,6 +411,41 @@ SetPhase sets Phase field to given value. HasPhase returns a boolean if a field has been set. +### GetBreakerPoleCount + +`func (o *PowerFeed) GetBreakerPoleCount() PowerFeedBreakerPoleCount` + +GetBreakerPoleCount returns the BreakerPoleCount field if non-nil, zero value otherwise. + +### GetBreakerPoleCountOk + +`func (o *PowerFeed) GetBreakerPoleCountOk() (*PowerFeedBreakerPoleCount, 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 *PowerFeed) SetBreakerPoleCount(v PowerFeedBreakerPoleCount)` + +SetBreakerPoleCount sets BreakerPoleCount field to given value. + +### HasBreakerPoleCount + +`func (o *PowerFeed) HasBreakerPoleCount() bool` + +HasBreakerPoleCount returns a boolean if a field has been set. + +### SetBreakerPoleCountNil + +`func (o *PowerFeed) SetBreakerPoleCountNil(b bool)` + + SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil + +### UnsetBreakerPoleCount +`func (o *PowerFeed) UnsetBreakerPoleCount()` + +UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil ### GetName `func (o *PowerFeed) GetName() string` @@ -472,6 +541,41 @@ SetMaxUtilization sets MaxUtilization field to given value. HasMaxUtilization returns a boolean if a field has been set. +### GetBreakerPosition + +`func (o *PowerFeed) GetBreakerPosition() int32` + +GetBreakerPosition returns the BreakerPosition field if non-nil, zero value otherwise. + +### GetBreakerPositionOk + +`func (o *PowerFeed) 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 *PowerFeed) SetBreakerPosition(v int32)` + +SetBreakerPosition sets BreakerPosition field to given value. + +### HasBreakerPosition + +`func (o *PowerFeed) HasBreakerPosition() bool` + +HasBreakerPosition returns a boolean if a field has been set. + +### SetBreakerPositionNil + +`func (o *PowerFeed) SetBreakerPositionNil(b bool)` + + SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil + +### UnsetBreakerPosition +`func (o *PowerFeed) UnsetBreakerPosition()` + +UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil ### GetAvailablePower `func (o *PowerFeed) GetAvailablePower() int32` @@ -554,24 +658,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 *PowerFeed) GetPowerPanel() BulkWritableCableRequestStatus` +`func (o *PowerFeed) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *PowerFeed) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool)` +`func (o *PowerFeed) 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 *PowerFeed) SetPowerPanel(v BulkWritableCableRequestStatus)` +`func (o *PowerFeed) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel)` SetPowerPanel sets PowerPanel field to given value. +### GetDestinationPanel + +`func (o *PowerFeed) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel` + +GetDestinationPanel returns the DestinationPanel field if non-nil, zero value otherwise. + +### GetDestinationPanelOk + +`func (o *PowerFeed) 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 *PowerFeed) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel)` + +SetDestinationPanel sets DestinationPanel field to given value. + +### HasDestinationPanel + +`func (o *PowerFeed) HasDestinationPanel() bool` + +HasDestinationPanel returns a boolean if a field has been set. + +### SetDestinationPanelNil + +`func (o *PowerFeed) SetDestinationPanelNil(b bool)` + + SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil + +### UnsetDestinationPanel +`func (o *PowerFeed) UnsetDestinationPanel()` + +UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil ### GetRack `func (o *PowerFeed) GetRack() BulkWritableCircuitRequestTenant` diff --git a/docs/PowerFeedBreakerPoleCount.md b/docs/PowerFeedBreakerPoleCount.md new file mode 100644 index 00000000..ca757914 --- /dev/null +++ b/docs/PowerFeedBreakerPoleCount.md @@ -0,0 +1,82 @@ +# PowerFeedBreakerPoleCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PowerFeedBreakerPoleCountValue**](PowerFeedBreakerPoleCountValue.md) | | [optional] +**Label** | Pointer to [**PowerFeedBreakerPoleCountLabel**](PowerFeedBreakerPoleCountLabel.md) | | [optional] + +## Methods + +### NewPowerFeedBreakerPoleCount + +`func NewPowerFeedBreakerPoleCount() *PowerFeedBreakerPoleCount` + +NewPowerFeedBreakerPoleCount instantiates a new PowerFeedBreakerPoleCount 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 + +### NewPowerFeedBreakerPoleCountWithDefaults + +`func NewPowerFeedBreakerPoleCountWithDefaults() *PowerFeedBreakerPoleCount` + +NewPowerFeedBreakerPoleCountWithDefaults instantiates a new PowerFeedBreakerPoleCount 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 *PowerFeedBreakerPoleCount) GetValue() PowerFeedBreakerPoleCountValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *PowerFeedBreakerPoleCount) GetValueOk() (*PowerFeedBreakerPoleCountValue, 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 *PowerFeedBreakerPoleCount) SetValue(v PowerFeedBreakerPoleCountValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *PowerFeedBreakerPoleCount) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *PowerFeedBreakerPoleCount) GetLabel() PowerFeedBreakerPoleCountLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerFeedBreakerPoleCount) GetLabelOk() (*PowerFeedBreakerPoleCountLabel, 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 *PowerFeedBreakerPoleCount) SetLabel(v PowerFeedBreakerPoleCountLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerFeedBreakerPoleCount) 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/PowerFeedBreakerPoleCountLabel.md b/docs/PowerFeedBreakerPoleCountLabel.md new file mode 100644 index 00000000..712205d6 --- /dev/null +++ b/docs/PowerFeedBreakerPoleCountLabel.md @@ -0,0 +1,15 @@ +# PowerFeedBreakerPoleCountLabel + +## Enum + + +* `_1_POLE` (value: `"1-Pole"`) + +* `_2_POLE` (value: `"2-Pole"`) + +* `_3_POLE` (value: `"3-Pole"`) + + +[[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/PowerFeedBreakerPoleCountValue.md b/docs/PowerFeedBreakerPoleCountValue.md new file mode 100644 index 00000000..829324c7 --- /dev/null +++ b/docs/PowerFeedBreakerPoleCountValue.md @@ -0,0 +1,15 @@ +# PowerFeedBreakerPoleCountValue + +## 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/PowerFeedPowerPath.md b/docs/PowerFeedPowerPath.md new file mode 100644 index 00000000..1f2aac3e --- /dev/null +++ b/docs/PowerFeedPowerPath.md @@ -0,0 +1,82 @@ +# PowerFeedPowerPath + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PowerFeedPowerPathValue**](PowerFeedPowerPathValue.md) | | [optional] +**Label** | Pointer to [**PowerFeedPowerPathLabel**](PowerFeedPowerPathLabel.md) | | [optional] + +## Methods + +### NewPowerFeedPowerPath + +`func NewPowerFeedPowerPath() *PowerFeedPowerPath` + +NewPowerFeedPowerPath instantiates a new PowerFeedPowerPath 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 + +### NewPowerFeedPowerPathWithDefaults + +`func NewPowerFeedPowerPathWithDefaults() *PowerFeedPowerPath` + +NewPowerFeedPowerPathWithDefaults instantiates a new PowerFeedPowerPath 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 *PowerFeedPowerPath) GetValue() PowerFeedPowerPathValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *PowerFeedPowerPath) GetValueOk() (*PowerFeedPowerPathValue, 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 *PowerFeedPowerPath) SetValue(v PowerFeedPowerPathValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *PowerFeedPowerPath) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *PowerFeedPowerPath) GetLabel() PowerFeedPowerPathLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerFeedPowerPath) GetLabelOk() (*PowerFeedPowerPathLabel, 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 *PowerFeedPowerPath) SetLabel(v PowerFeedPowerPathLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerFeedPowerPath) 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/PowerFeedPowerPathLabel.md b/docs/PowerFeedPowerPathLabel.md new file mode 100644 index 00000000..1e8f743c --- /dev/null +++ b/docs/PowerFeedPowerPathLabel.md @@ -0,0 +1,13 @@ +# PowerFeedPowerPathLabel + +## Enum + + +* `PATH_A` (value: `"Path A"`) + +* `PATH_B` (value: `"Path B"`) + + +[[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/PowerFeedPowerPathValue.md b/docs/PowerFeedPowerPathValue.md new file mode 100644 index 00000000..609ee446 --- /dev/null +++ b/docs/PowerFeedPowerPathValue.md @@ -0,0 +1,13 @@ +# PowerFeedPowerPathValue + +## Enum + + +* `A` (value: `"a"`) + +* `B` (value: `"b"`) + + +[[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/PowerOutlet.md b/docs/PowerOutlet.md index 112c4050..9547d598 100644 --- a/docs/PowerOutlet.md +++ b/docs/PowerOutlet.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] @@ -33,7 +33,7 @@ Name | Type | Description | Notes ### NewPowerOutlet -`func NewPowerOutlet(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, ) *PowerOutlet` +`func NewPowerOutlet(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, ) *PowerOutlet` NewPowerOutlet instantiates a new PowerOutlet object This constructor will assign default values to properties that have it defined, @@ -67,6 +67,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *PowerOutlet) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/PowerOutletTemplate.md b/docs/PowerOutletTemplate.md index 81eaeb82..f1861ba6 100644 --- a/docs/PowerOutletTemplate.md +++ b/docs/PowerOutletTemplate.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 ### NewPowerOutletTemplate -`func NewPowerOutletTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *PowerOutletTemplate` +`func NewPowerOutletTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *PowerOutletTemplate` NewPowerOutletTemplate instantiates a new PowerOutletTemplate 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 *PowerOutletTemplate) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/PowerOutletTypeChoices.md b/docs/PowerOutletTypeChoices.md index 1f3c9f84..951d362c 100644 --- a/docs/PowerOutletTypeChoices.md +++ b/docs/PowerOutletTypeChoices.md @@ -185,6 +185,8 @@ * `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) +* `EATON_C39` (value: `"eaton-c39"`) + * `HARDWIRED` (value: `"hardwired"`) * `OTHER` (value: `"other"`) diff --git a/docs/PowerOutletTypeLabel.md b/docs/PowerOutletTypeLabel.md index d15e6786..80f7b11e 100644 --- a/docs/PowerOutletTypeLabel.md +++ b/docs/PowerOutletTypeLabel.md @@ -185,6 +185,8 @@ * `UBIQUITI_SMART_POWER` (value: `"Ubiquiti SmartPower"`) +* `EATON_C39` (value: `"Eaton C39"`) + * `HARDWIRED` (value: `"Hardwired"`) * `OTHER` (value: `"Other"`) diff --git a/docs/PowerOutletTypeValue.md b/docs/PowerOutletTypeValue.md index 3f3ab902..8118e113 100644 --- a/docs/PowerOutletTypeValue.md +++ b/docs/PowerOutletTypeValue.md @@ -185,6 +185,8 @@ * `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) +* `EATON_C39` (value: `"eaton-c39"`) + * `HARDWIRED` (value: `"hardwired"`) * `OTHER` (value: `"other"`) diff --git a/docs/PowerPanel.md b/docs/PowerPanel.md index ee4bd435..4698ef16 100644 --- a/docs/PowerPanel.md +++ b/docs/PowerPanel.md @@ -4,13 +4,16 @@ 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] +**PanelType** | Pointer to [**PowerPanelPanelType**](PowerPanelPanelType.md) | | [optional] +**PowerPath** | Pointer to [**PowerFeedPowerPath**](PowerFeedPowerPath.md) | | [optional] **PowerFeedCount** | Pointer to **int32** | | [optional] [readonly] **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] **Created** | **NullableTime** | | [readonly] @@ -23,7 +26,7 @@ Name | Type | Description | Notes ### NewPowerPanel -`func NewPowerPanel(id string, objectType string, display string, url string, naturalSlug string, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *PowerPanel` +`func NewPowerPanel(objectType string, display string, url string, naturalSlug string, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *PowerPanel` NewPowerPanel instantiates a new PowerPanel object This constructor will assign default values to properties that have it defined, @@ -57,6 +60,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *PowerPanel) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -138,6 +146,56 @@ and a boolean to check if the value has been set. SetNaturalSlug sets NaturalSlug field to given value. +### GetPanelType + +`func (o *PowerPanel) GetPanelType() PowerPanelPanelType` + +GetPanelType returns the PanelType field if non-nil, zero value otherwise. + +### GetPanelTypeOk + +`func (o *PowerPanel) GetPanelTypeOk() (*PowerPanelPanelType, 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 *PowerPanel) SetPanelType(v PowerPanelPanelType)` + +SetPanelType sets PanelType field to given value. + +### HasPanelType + +`func (o *PowerPanel) HasPanelType() bool` + +HasPanelType returns a boolean if a field has been set. + +### GetPowerPath + +`func (o *PowerPanel) GetPowerPath() PowerFeedPowerPath` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *PowerPanel) GetPowerPathOk() (*PowerFeedPowerPath, 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 *PowerPanel) SetPowerPath(v PowerFeedPowerPath)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *PowerPanel) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + ### GetPowerFeedCount `func (o *PowerPanel) GetPowerFeedCount() int32` @@ -183,6 +241,41 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetBreakerPositionCount + +`func (o *PowerPanel) GetBreakerPositionCount() int32` + +GetBreakerPositionCount returns the BreakerPositionCount field if non-nil, zero value otherwise. + +### GetBreakerPositionCountOk + +`func (o *PowerPanel) 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 *PowerPanel) SetBreakerPositionCount(v int32)` + +SetBreakerPositionCount sets BreakerPositionCount field to given value. + +### HasBreakerPositionCount + +`func (o *PowerPanel) HasBreakerPositionCount() bool` + +HasBreakerPositionCount returns a boolean if a field has been set. + +### SetBreakerPositionCountNil + +`func (o *PowerPanel) SetBreakerPositionCountNil(b bool)` + + SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil + +### UnsetBreakerPositionCount +`func (o *PowerPanel) UnsetBreakerPositionCount()` + +UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil ### GetLocation `func (o *PowerPanel) GetLocation() BulkWritableCableRequestStatus` diff --git a/docs/PowerPanelPanelType.md b/docs/PowerPanelPanelType.md new file mode 100644 index 00000000..c972ac1b --- /dev/null +++ b/docs/PowerPanelPanelType.md @@ -0,0 +1,82 @@ +# PowerPanelPanelType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PowerPanelPanelTypeValue**](PowerPanelPanelTypeValue.md) | | [optional] +**Label** | Pointer to [**PowerPanelPanelTypeLabel**](PowerPanelPanelTypeLabel.md) | | [optional] + +## Methods + +### NewPowerPanelPanelType + +`func NewPowerPanelPanelType() *PowerPanelPanelType` + +NewPowerPanelPanelType instantiates a new PowerPanelPanelType 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 + +### NewPowerPanelPanelTypeWithDefaults + +`func NewPowerPanelPanelTypeWithDefaults() *PowerPanelPanelType` + +NewPowerPanelPanelTypeWithDefaults instantiates a new PowerPanelPanelType 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 *PowerPanelPanelType) GetValue() PowerPanelPanelTypeValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *PowerPanelPanelType) GetValueOk() (*PowerPanelPanelTypeValue, 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 *PowerPanelPanelType) SetValue(v PowerPanelPanelTypeValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *PowerPanelPanelType) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *PowerPanelPanelType) GetLabel() PowerPanelPanelTypeLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerPanelPanelType) GetLabelOk() (*PowerPanelPanelTypeLabel, 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 *PowerPanelPanelType) SetLabel(v PowerPanelPanelTypeLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerPanelPanelType) 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/PowerPanelPanelTypeLabel.md b/docs/PowerPanelPanelTypeLabel.md new file mode 100644 index 00000000..b7f1822a --- /dev/null +++ b/docs/PowerPanelPanelTypeLabel.md @@ -0,0 +1,29 @@ +# PowerPanelPanelTypeLabel + +## Enum + + +* `UTILITY` (value: `"Utility"`) + +* `GENERATOR` (value: `"Generator"`) + +* `SWITCHGEAR` (value: `"Switchgear"`) + +* `MAIN_DISTRIBUTION_PANEL__MDP` (value: `"Main Distribution Panel (MDP)"`) + +* `UNINTERRUPTIBLE_POWER_SUPPLY__UPS` (value: `"Uninterruptible Power Supply (UPS)"`) + +* `TRANSFER_SWITCH__TS` (value: `"Transfer Switch (TS)"`) + +* `POWER_DISTRIBUTION_UNIT__PDU` (value: `"Power Distribution Unit (PDU)"`) + +* `PANELBOARD` (value: `"Panelboard"`) + +* `MINI_LOAD_CENTER__MLC` (value: `"Mini Load Center (MLC)"`) + +* `REMOTE_POWER_PANEL__RPP` (value: `"Remote Power Panel (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/PowerPanelPanelTypeValue.md b/docs/PowerPanelPanelTypeValue.md new file mode 100644 index 00000000..4b272eab --- /dev/null +++ b/docs/PowerPanelPanelTypeValue.md @@ -0,0 +1,29 @@ +# PowerPanelPanelTypeValue + +## 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/PowerPanelRequest.md b/docs/PowerPanelRequest.md deleted file mode 100644 index 2a9e1329..00000000 --- a/docs/PowerPanelRequest.md +++ /dev/null @@ -1,186 +0,0 @@ -# PowerPanelRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | **string** | | -**Location** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | -**RackGroup** | 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 - -### NewPowerPanelRequest - -`func NewPowerPanelRequest(name string, location BulkWritableCableRequestStatus, ) *PowerPanelRequest` - -NewPowerPanelRequest instantiates a new PowerPanelRequest 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 - -### NewPowerPanelRequestWithDefaults - -`func NewPowerPanelRequestWithDefaults() *PowerPanelRequest` - -NewPowerPanelRequestWithDefaults instantiates a new PowerPanelRequest 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 - -### GetName - -`func (o *PowerPanelRequest) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *PowerPanelRequest) 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 *PowerPanelRequest) SetName(v string)` - -SetName sets Name field to given value. - - -### GetLocation - -`func (o *PowerPanelRequest) GetLocation() BulkWritableCableRequestStatus` - -GetLocation returns the Location field if non-nil, zero value otherwise. - -### GetLocationOk - -`func (o *PowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool)` - -GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLocation - -`func (o *PowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus)` - -SetLocation sets Location field to given value. - - -### GetRackGroup - -`func (o *PowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant` - -GetRackGroup returns the RackGroup field if non-nil, zero value otherwise. - -### GetRackGroupOk - -`func (o *PowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool)` - -GetRackGroupOk returns a tuple with the RackGroup field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRackGroup - -`func (o *PowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant)` - -SetRackGroup sets RackGroup field to given value. - -### HasRackGroup - -`func (o *PowerPanelRequest) HasRackGroup() bool` - -HasRackGroup returns a boolean if a field has been set. - -### SetRackGroupNil - -`func (o *PowerPanelRequest) SetRackGroupNil(b bool)` - - SetRackGroupNil sets the value for RackGroup to be an explicit nil - -### UnsetRackGroup -`func (o *PowerPanelRequest) UnsetRackGroup()` - -UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil -### GetCustomFields - -`func (o *PowerPanelRequest) GetCustomFields() map[string]interface{}` - -GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. - -### GetCustomFieldsOk - -`func (o *PowerPanelRequest) 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 *PowerPanelRequest) SetCustomFields(v map[string]interface{})` - -SetCustomFields sets CustomFields field to given value. - -### HasCustomFields - -`func (o *PowerPanelRequest) HasCustomFields() bool` - -HasCustomFields returns a boolean if a field has been set. - -### GetRelationships - -`func (o *PowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` - -GetRelationships returns the Relationships field if non-nil, zero value otherwise. - -### GetRelationshipsOk - -`func (o *PowerPanelRequest) 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 *PowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` - -SetRelationships sets Relationships field to given value. - -### HasRelationships - -`func (o *PowerPanelRequest) HasRelationships() bool` - -HasRelationships returns a boolean if a field has been set. - -### GetTags - -`func (o *PowerPanelRequest) GetTags() []BulkWritableCableRequestStatus` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PowerPanelRequest) 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 *PowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PowerPanelRequest) 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/PowerPathEnum.md b/docs/PowerPathEnum.md new file mode 100644 index 00000000..4ba5f673 --- /dev/null +++ b/docs/PowerPathEnum.md @@ -0,0 +1,13 @@ +# PowerPathEnum + +## Enum + + +* `A` (value: `"a"`) + +* `B` (value: `"b"`) + + +[[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/PowerPort.md b/docs/PowerPort.md index 1fd0bced..9a69c1b7 100644 --- a/docs/PowerPort.md +++ b/docs/PowerPort.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,6 +20,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] **Cable** | [**NullableCircuitCircuitTerminationA**](CircuitCircuitTerminationA.md) | | @@ -33,7 +34,7 @@ Name | Type | Description | Notes ### NewPowerPort -`func NewPowerPort(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, ) *PowerPort` +`func NewPowerPort(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, ) *PowerPort` NewPowerPort instantiates a new PowerPort object This constructor will assign default values to properties that have it defined, @@ -67,6 +68,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *PowerPort) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -463,6 +469,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *PowerPort) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *PowerPort) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *PowerPort) 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 *PowerPort) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *PowerPort) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDevice `func (o *PowerPort) GetDevice() BulkWritableCircuitRequestTenant` diff --git a/docs/PowerPortTemplate.md b/docs/PowerPortTemplate.md index edea92c3..db03990c 100644 --- a/docs/PowerPortTemplate.md +++ b/docs/PowerPortTemplate.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,6 +16,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] **Created** | **NullableTime** | | [readonly] @@ -26,7 +27,7 @@ Name | Type | Description | Notes ### NewPowerPortTemplate -`func NewPowerPortTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *PowerPortTemplate` +`func NewPowerPortTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *PowerPortTemplate` NewPowerPortTemplate instantiates a new PowerPortTemplate object This constructor will assign default values to properties that have it defined, @@ -60,6 +61,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *PowerPortTemplate) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -326,6 +332,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *PowerPortTemplate) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *PowerPortTemplate) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *PowerPortTemplate) 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 *PowerPortTemplate) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *PowerPortTemplate) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDeviceType `func (o *PowerPortTemplate) GetDeviceType() BulkWritableCircuitRequestTenant` diff --git a/docs/Prefix.md b/docs/Prefix.md index 5c07f614..10619371 100644 --- a/docs/Prefix.md +++ b/docs/Prefix.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,12 +30,13 @@ Name | Type | Description | Notes **Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **NotesUrl** | **string** | | [readonly] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Vrfs** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly] ## Methods ### NewPrefix -`func NewPrefix(id string, objectType string, display string, url string, naturalSlug string, prefix string, network string, broadcast string, prefixLength int32, ipVersion int32, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Prefix` +`func NewPrefix(objectType string, display string, url string, naturalSlug string, prefix string, network string, broadcast string, prefixLength int32, ipVersion int32, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, vrfs []BulkWritableCableRequestStatus, ) *Prefix` NewPrefix instantiates a new Prefix object This constructor will assign default values to properties that have it defined, @@ -69,6 +70,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *Prefix) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -705,6 +711,26 @@ SetCustomFields sets CustomFields field to given value. HasCustomFields returns a boolean if a field has been set. +### GetVrfs + +`func (o *Prefix) GetVrfs() []BulkWritableCableRequestStatus` + +GetVrfs returns the Vrfs field if non-nil, zero value otherwise. + +### GetVrfsOk + +`func (o *Prefix) GetVrfsOk() (*[]BulkWritableCableRequestStatus, bool)` + +GetVrfsOk returns a tuple with the Vrfs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVrfs + +`func (o *Prefix) SetVrfs(v []BulkWritableCableRequestStatus)` + +SetVrfs sets Vrfs 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/PrefixLengthRequest.md b/docs/PrefixLengthRequest.md index 226a4604..e9f845e9 100644 --- a/docs/PrefixLengthRequest.md +++ b/docs/PrefixLengthRequest.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **PrefixLength** | **int32** | | -**Type** | Pointer to [**PrefixTypeChoices**](PrefixTypeChoices.md) | | [optional] [default to "{\"value\":\"network\",\"label\":\"Network\"}"] +**Type** | Pointer to [**PrefixTypeChoices**](PrefixTypeChoices.md) | | [optional] [default to PREFIXTYPECHOICES_NETWORK] **Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | **Role** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **Location** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -37,6 +38,31 @@ NewPrefixLengthRequestWithDefaults instantiates a new PrefixLengthRequest 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 *PrefixLengthRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PrefixLengthRequest) 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 *PrefixLengthRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PrefixLengthRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPrefixLength `func (o *PrefixLengthRequest) GetPrefixLength() int32` diff --git a/docs/PrefixLocationAssignment.md b/docs/PrefixLocationAssignment.md index 14412650..c7e72cfa 100644 --- a/docs/PrefixLocationAssignment.md +++ b/docs/PrefixLocationAssignment.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 ### NewPrefixLocationAssignment -`func NewPrefixLocationAssignment(id string, objectType string, display string, url string, naturalSlug string, prefix BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, ) *PrefixLocationAssignment` +`func NewPrefixLocationAssignment(objectType string, display string, url string, naturalSlug string, prefix BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, ) *PrefixLocationAssignment` NewPrefixLocationAssignment instantiates a new PrefixLocationAssignment 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 *PrefixLocationAssignment) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/PrefixLocationAssignmentRequest.md b/docs/PrefixLocationAssignmentRequest.md index 46064466..a1574e09 100644 --- a/docs/PrefixLocationAssignmentRequest.md +++ b/docs/PrefixLocationAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Prefix** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | **Location** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | @@ -26,6 +27,31 @@ NewPrefixLocationAssignmentRequestWithDefaults instantiates a new PrefixLocation 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 *PrefixLocationAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PrefixLocationAssignmentRequest) 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 *PrefixLocationAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PrefixLocationAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPrefix `func (o *PrefixLocationAssignmentRequest) GetPrefix() BulkWritableCableRequestStatus` diff --git a/docs/ProvidedContentsEnum.md b/docs/ProvidedContentsEnum.md index 5c0b9be1..8cde3f5c 100644 --- a/docs/ProvidedContentsEnum.md +++ b/docs/ProvidedContentsEnum.md @@ -3,13 +3,15 @@ ## Enum -* `CONFIGCONTEXT` (value: `"extras.configcontext"`) +* `EXTRAS_CONFIGCONTEXT` (value: `"extras.configcontext"`) -* `CONFIGCONTEXTSCHEMA` (value: `"extras.configcontextschema"`) +* `EXTRAS_CONFIGCONTEXTSCHEMA` (value: `"extras.configcontextschema"`) -* `EXPORTTEMPLATE` (value: `"extras.exporttemplate"`) +* `EXTRAS_EXPORTTEMPLATE` (value: `"extras.exporttemplate"`) -* `JOB` (value: `"extras.job"`) +* `EXTRAS_GRAPHQLQUERY` (value: `"extras.graphqlquery"`) + +* `EXTRAS_JOB` (value: `"extras.job"`) [[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/Provider.md b/docs/Provider.md index 9f8a9b94..0a2e389a 100644 --- a/docs/Provider.md +++ b/docs/Provider.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 ### NewProvider -`func NewProvider(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Provider` +`func NewProvider(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Provider` NewProvider instantiates a new Provider 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 *Provider) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/ProviderNetwork.md b/docs/ProviderNetwork.md index 09d13c66..d38671f4 100644 --- a/docs/ProviderNetwork.md +++ b/docs/ProviderNetwork.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] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewProviderNetwork -`func NewProviderNetwork(id string, objectType string, display string, url string, naturalSlug string, name string, provider BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ProviderNetwork` +`func NewProviderNetwork(objectType string, display string, url string, naturalSlug string, name string, provider BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ProviderNetwork` NewProviderNetwork instantiates a new ProviderNetwork object This constructor will assign default values to properties that have it defined, @@ -57,6 +57,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *ProviderNetwork) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/ProviderNetworkRequest.md b/docs/ProviderNetworkRequest.md index 6f87aa08..ee2ee608 100644 --- a/docs/ProviderNetworkRequest.md +++ b/docs/ProviderNetworkRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -31,6 +32,31 @@ NewProviderNetworkRequestWithDefaults instantiates a new ProviderNetworkRequest 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 *ProviderNetworkRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ProviderNetworkRequest) 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 *ProviderNetworkRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ProviderNetworkRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *ProviderNetworkRequest) GetName() string` diff --git a/docs/ProviderRequest.md b/docs/ProviderRequest.md index 5fb4f140..79769ba1 100644 --- a/docs/ProviderRequest.md +++ b/docs/ProviderRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Asn** | Pointer to **NullableInt64** | 32-bit autonomous system number | [optional] **Account** | Pointer to **string** | | [optional] @@ -34,6 +35,31 @@ NewProviderRequestWithDefaults instantiates a new ProviderRequest 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 *ProviderRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ProviderRequest) 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 *ProviderRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ProviderRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *ProviderRequest) GetName() string` diff --git a/docs/QueueTypeEnum.md b/docs/QueueTypeEnum.md new file mode 100644 index 00000000..d9d30663 --- /dev/null +++ b/docs/QueueTypeEnum.md @@ -0,0 +1,13 @@ +# QueueTypeEnum + +## Enum + + +* `CELERY` (value: `"celery"`) + +* `KUBERNETES` (value: `"kubernetes"`) + + +[[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/README.md b/docs/README.md index 2ab699df..f8f1aafa 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,9 +5,9 @@ Source of truth and network automation platform ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 2.3.4 (2.3) +- API version: 2.4.21 (2.4) - Package version: 3 -- Generator version: 7.8.0 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation @@ -151,8 +151,6 @@ Class | Method | HTTP request | Description *CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsCreate**](CloudAPI.md#cloudcloudnetworkprefixassignmentscreate) | **Post** /cloud/cloud-network-prefix-assignments/ | *CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsDestroy**](CloudAPI.md#cloudcloudnetworkprefixassignmentsdestroy) | **Delete** /cloud/cloud-network-prefix-assignments/{id}/ | *CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsList**](CloudAPI.md#cloudcloudnetworkprefixassignmentslist) | **Get** /cloud/cloud-network-prefix-assignments/ | -*CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsNotesCreate**](CloudAPI.md#cloudcloudnetworkprefixassignmentsnotescreate) | **Post** /cloud/cloud-network-prefix-assignments/{id}/notes/ | -*CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsNotesList**](CloudAPI.md#cloudcloudnetworkprefixassignmentsnoteslist) | **Get** /cloud/cloud-network-prefix-assignments/{id}/notes/ | *CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsPartialUpdate**](CloudAPI.md#cloudcloudnetworkprefixassignmentspartialupdate) | **Patch** /cloud/cloud-network-prefix-assignments/{id}/ | *CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsRetrieve**](CloudAPI.md#cloudcloudnetworkprefixassignmentsretrieve) | **Get** /cloud/cloud-network-prefix-assignments/{id}/ | *CloudAPI* | [**CloudCloudNetworkPrefixAssignmentsUpdate**](CloudAPI.md#cloudcloudnetworkprefixassignmentsupdate) | **Put** /cloud/cloud-network-prefix-assignments/{id}/ | @@ -184,8 +182,6 @@ Class | Method | HTTP request | Description *CloudAPI* | [**CloudCloudServiceNetworkAssignmentsCreate**](CloudAPI.md#cloudcloudservicenetworkassignmentscreate) | **Post** /cloud/cloud-service-network-assignments/ | *CloudAPI* | [**CloudCloudServiceNetworkAssignmentsDestroy**](CloudAPI.md#cloudcloudservicenetworkassignmentsdestroy) | **Delete** /cloud/cloud-service-network-assignments/{id}/ | *CloudAPI* | [**CloudCloudServiceNetworkAssignmentsList**](CloudAPI.md#cloudcloudservicenetworkassignmentslist) | **Get** /cloud/cloud-service-network-assignments/ | -*CloudAPI* | [**CloudCloudServiceNetworkAssignmentsNotesCreate**](CloudAPI.md#cloudcloudservicenetworkassignmentsnotescreate) | **Post** /cloud/cloud-service-network-assignments/{id}/notes/ | -*CloudAPI* | [**CloudCloudServiceNetworkAssignmentsNotesList**](CloudAPI.md#cloudcloudservicenetworkassignmentsnoteslist) | **Get** /cloud/cloud-service-network-assignments/{id}/notes/ | *CloudAPI* | [**CloudCloudServiceNetworkAssignmentsPartialUpdate**](CloudAPI.md#cloudcloudservicenetworkassignmentspartialupdate) | **Patch** /cloud/cloud-service-network-assignments/{id}/ | *CloudAPI* | [**CloudCloudServiceNetworkAssignmentsRetrieve**](CloudAPI.md#cloudcloudservicenetworkassignmentsretrieve) | **Get** /cloud/cloud-service-network-assignments/{id}/ | *CloudAPI* | [**CloudCloudServiceNetworkAssignmentsUpdate**](CloudAPI.md#cloudcloudservicenetworkassignmentsupdate) | **Put** /cloud/cloud-service-network-assignments/{id}/ | @@ -200,6 +196,7 @@ Class | Method | HTTP request | Description *CloudAPI* | [**CloudCloudServicesPartialUpdate**](CloudAPI.md#cloudcloudservicespartialupdate) | **Patch** /cloud/cloud-services/{id}/ | *CloudAPI* | [**CloudCloudServicesRetrieve**](CloudAPI.md#cloudcloudservicesretrieve) | **Get** /cloud/cloud-services/{id}/ | *CloudAPI* | [**CloudCloudServicesUpdate**](CloudAPI.md#cloudcloudservicesupdate) | **Put** /cloud/cloud-services/{id}/ | +*CoreAPI* | [**CoreRenderJinjaTemplateCreate**](CoreAPI.md#corerenderjinjatemplatecreate) | **Post** /core/render-jinja-template/ | *DcimAPI* | [**DcimCablesBulkDestroy**](DcimAPI.md#dcimcablesbulkdestroy) | **Delete** /dcim/cables/ | *DcimAPI* | [**DcimCablesBulkPartialUpdate**](DcimAPI.md#dcimcablesbulkpartialupdate) | **Patch** /dcim/cables/ | *DcimAPI* | [**DcimCablesBulkUpdate**](DcimAPI.md#dcimcablesbulkupdate) | **Put** /dcim/cables/ | @@ -219,8 +216,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimConsolePortTemplatesCreate**](DcimAPI.md#dcimconsoleporttemplatescreate) | **Post** /dcim/console-port-templates/ | *DcimAPI* | [**DcimConsolePortTemplatesDestroy**](DcimAPI.md#dcimconsoleporttemplatesdestroy) | **Delete** /dcim/console-port-templates/{id}/ | *DcimAPI* | [**DcimConsolePortTemplatesList**](DcimAPI.md#dcimconsoleporttemplateslist) | **Get** /dcim/console-port-templates/ | -*DcimAPI* | [**DcimConsolePortTemplatesNotesCreate**](DcimAPI.md#dcimconsoleporttemplatesnotescreate) | **Post** /dcim/console-port-templates/{id}/notes/ | -*DcimAPI* | [**DcimConsolePortTemplatesNotesList**](DcimAPI.md#dcimconsoleporttemplatesnoteslist) | **Get** /dcim/console-port-templates/{id}/notes/ | *DcimAPI* | [**DcimConsolePortTemplatesPartialUpdate**](DcimAPI.md#dcimconsoleporttemplatespartialupdate) | **Patch** /dcim/console-port-templates/{id}/ | *DcimAPI* | [**DcimConsolePortTemplatesRetrieve**](DcimAPI.md#dcimconsoleporttemplatesretrieve) | **Get** /dcim/console-port-templates/{id}/ | *DcimAPI* | [**DcimConsolePortTemplatesUpdate**](DcimAPI.md#dcimconsoleporttemplatesupdate) | **Put** /dcim/console-port-templates/{id}/ | @@ -242,8 +237,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimConsoleServerPortTemplatesCreate**](DcimAPI.md#dcimconsoleserverporttemplatescreate) | **Post** /dcim/console-server-port-templates/ | *DcimAPI* | [**DcimConsoleServerPortTemplatesDestroy**](DcimAPI.md#dcimconsoleserverporttemplatesdestroy) | **Delete** /dcim/console-server-port-templates/{id}/ | *DcimAPI* | [**DcimConsoleServerPortTemplatesList**](DcimAPI.md#dcimconsoleserverporttemplateslist) | **Get** /dcim/console-server-port-templates/ | -*DcimAPI* | [**DcimConsoleServerPortTemplatesNotesCreate**](DcimAPI.md#dcimconsoleserverporttemplatesnotescreate) | **Post** /dcim/console-server-port-templates/{id}/notes/ | -*DcimAPI* | [**DcimConsoleServerPortTemplatesNotesList**](DcimAPI.md#dcimconsoleserverporttemplatesnoteslist) | **Get** /dcim/console-server-port-templates/{id}/notes/ | *DcimAPI* | [**DcimConsoleServerPortTemplatesPartialUpdate**](DcimAPI.md#dcimconsoleserverporttemplatespartialupdate) | **Patch** /dcim/console-server-port-templates/{id}/ | *DcimAPI* | [**DcimConsoleServerPortTemplatesRetrieve**](DcimAPI.md#dcimconsoleserverporttemplatesretrieve) | **Get** /dcim/console-server-port-templates/{id}/ | *DcimAPI* | [**DcimConsoleServerPortTemplatesUpdate**](DcimAPI.md#dcimconsoleserverporttemplatesupdate) | **Put** /dcim/console-server-port-templates/{id}/ | @@ -287,8 +280,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimDeviceBayTemplatesCreate**](DcimAPI.md#dcimdevicebaytemplatescreate) | **Post** /dcim/device-bay-templates/ | *DcimAPI* | [**DcimDeviceBayTemplatesDestroy**](DcimAPI.md#dcimdevicebaytemplatesdestroy) | **Delete** /dcim/device-bay-templates/{id}/ | *DcimAPI* | [**DcimDeviceBayTemplatesList**](DcimAPI.md#dcimdevicebaytemplateslist) | **Get** /dcim/device-bay-templates/ | -*DcimAPI* | [**DcimDeviceBayTemplatesNotesCreate**](DcimAPI.md#dcimdevicebaytemplatesnotescreate) | **Post** /dcim/device-bay-templates/{id}/notes/ | -*DcimAPI* | [**DcimDeviceBayTemplatesNotesList**](DcimAPI.md#dcimdevicebaytemplatesnoteslist) | **Get** /dcim/device-bay-templates/{id}/notes/ | *DcimAPI* | [**DcimDeviceBayTemplatesPartialUpdate**](DcimAPI.md#dcimdevicebaytemplatespartialupdate) | **Patch** /dcim/device-bay-templates/{id}/ | *DcimAPI* | [**DcimDeviceBayTemplatesRetrieve**](DcimAPI.md#dcimdevicebaytemplatesretrieve) | **Get** /dcim/device-bay-templates/{id}/ | *DcimAPI* | [**DcimDeviceBayTemplatesUpdate**](DcimAPI.md#dcimdevicebaytemplatesupdate) | **Put** /dcim/device-bay-templates/{id}/ | @@ -363,8 +354,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimFrontPortTemplatesCreate**](DcimAPI.md#dcimfrontporttemplatescreate) | **Post** /dcim/front-port-templates/ | *DcimAPI* | [**DcimFrontPortTemplatesDestroy**](DcimAPI.md#dcimfrontporttemplatesdestroy) | **Delete** /dcim/front-port-templates/{id}/ | *DcimAPI* | [**DcimFrontPortTemplatesList**](DcimAPI.md#dcimfrontporttemplateslist) | **Get** /dcim/front-port-templates/ | -*DcimAPI* | [**DcimFrontPortTemplatesNotesCreate**](DcimAPI.md#dcimfrontporttemplatesnotescreate) | **Post** /dcim/front-port-templates/{id}/notes/ | -*DcimAPI* | [**DcimFrontPortTemplatesNotesList**](DcimAPI.md#dcimfrontporttemplatesnoteslist) | **Get** /dcim/front-port-templates/{id}/notes/ | *DcimAPI* | [**DcimFrontPortTemplatesPartialUpdate**](DcimAPI.md#dcimfrontporttemplatespartialupdate) | **Patch** /dcim/front-port-templates/{id}/ | *DcimAPI* | [**DcimFrontPortTemplatesRetrieve**](DcimAPI.md#dcimfrontporttemplatesretrieve) | **Get** /dcim/front-port-templates/{id}/ | *DcimAPI* | [**DcimFrontPortTemplatesUpdate**](DcimAPI.md#dcimfrontporttemplatesupdate) | **Put** /dcim/front-port-templates/{id}/ | @@ -409,11 +398,18 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimInterfaceTemplatesCreate**](DcimAPI.md#dciminterfacetemplatescreate) | **Post** /dcim/interface-templates/ | *DcimAPI* | [**DcimInterfaceTemplatesDestroy**](DcimAPI.md#dciminterfacetemplatesdestroy) | **Delete** /dcim/interface-templates/{id}/ | *DcimAPI* | [**DcimInterfaceTemplatesList**](DcimAPI.md#dciminterfacetemplateslist) | **Get** /dcim/interface-templates/ | -*DcimAPI* | [**DcimInterfaceTemplatesNotesCreate**](DcimAPI.md#dciminterfacetemplatesnotescreate) | **Post** /dcim/interface-templates/{id}/notes/ | -*DcimAPI* | [**DcimInterfaceTemplatesNotesList**](DcimAPI.md#dciminterfacetemplatesnoteslist) | **Get** /dcim/interface-templates/{id}/notes/ | *DcimAPI* | [**DcimInterfaceTemplatesPartialUpdate**](DcimAPI.md#dciminterfacetemplatespartialupdate) | **Patch** /dcim/interface-templates/{id}/ | *DcimAPI* | [**DcimInterfaceTemplatesRetrieve**](DcimAPI.md#dciminterfacetemplatesretrieve) | **Get** /dcim/interface-templates/{id}/ | *DcimAPI* | [**DcimInterfaceTemplatesUpdate**](DcimAPI.md#dciminterfacetemplatesupdate) | **Put** /dcim/interface-templates/{id}/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsBulkDestroy**](DcimAPI.md#dciminterfacevdcassignmentsbulkdestroy) | **Delete** /dcim/interface-vdc-assignments/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsBulkPartialUpdate**](DcimAPI.md#dciminterfacevdcassignmentsbulkpartialupdate) | **Patch** /dcim/interface-vdc-assignments/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsBulkUpdate**](DcimAPI.md#dciminterfacevdcassignmentsbulkupdate) | **Put** /dcim/interface-vdc-assignments/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsCreate**](DcimAPI.md#dciminterfacevdcassignmentscreate) | **Post** /dcim/interface-vdc-assignments/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsDestroy**](DcimAPI.md#dciminterfacevdcassignmentsdestroy) | **Delete** /dcim/interface-vdc-assignments/{id}/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsList**](DcimAPI.md#dciminterfacevdcassignmentslist) | **Get** /dcim/interface-vdc-assignments/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsPartialUpdate**](DcimAPI.md#dciminterfacevdcassignmentspartialupdate) | **Patch** /dcim/interface-vdc-assignments/{id}/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsRetrieve**](DcimAPI.md#dciminterfacevdcassignmentsretrieve) | **Get** /dcim/interface-vdc-assignments/{id}/ | +*DcimAPI* | [**DcimInterfaceVdcAssignmentsUpdate**](DcimAPI.md#dciminterfacevdcassignmentsupdate) | **Put** /dcim/interface-vdc-assignments/{id}/ | *DcimAPI* | [**DcimInterfacesBulkDestroy**](DcimAPI.md#dciminterfacesbulkdestroy) | **Delete** /dcim/interfaces/ | *DcimAPI* | [**DcimInterfacesBulkPartialUpdate**](DcimAPI.md#dciminterfacesbulkpartialupdate) | **Patch** /dcim/interfaces/ | *DcimAPI* | [**DcimInterfacesBulkUpdate**](DcimAPI.md#dciminterfacesbulkupdate) | **Put** /dcim/interfaces/ | @@ -476,8 +472,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimModuleBayTemplatesCreate**](DcimAPI.md#dcimmodulebaytemplatescreate) | **Post** /dcim/module-bay-templates/ | *DcimAPI* | [**DcimModuleBayTemplatesDestroy**](DcimAPI.md#dcimmodulebaytemplatesdestroy) | **Delete** /dcim/module-bay-templates/{id}/ | *DcimAPI* | [**DcimModuleBayTemplatesList**](DcimAPI.md#dcimmodulebaytemplateslist) | **Get** /dcim/module-bay-templates/ | -*DcimAPI* | [**DcimModuleBayTemplatesNotesCreate**](DcimAPI.md#dcimmodulebaytemplatesnotescreate) | **Post** /dcim/module-bay-templates/{id}/notes/ | -*DcimAPI* | [**DcimModuleBayTemplatesNotesList**](DcimAPI.md#dcimmodulebaytemplatesnoteslist) | **Get** /dcim/module-bay-templates/{id}/notes/ | *DcimAPI* | [**DcimModuleBayTemplatesPartialUpdate**](DcimAPI.md#dcimmodulebaytemplatespartialupdate) | **Patch** /dcim/module-bay-templates/{id}/ | *DcimAPI* | [**DcimModuleBayTemplatesRetrieve**](DcimAPI.md#dcimmodulebaytemplatesretrieve) | **Get** /dcim/module-bay-templates/{id}/ | *DcimAPI* | [**DcimModuleBayTemplatesUpdate**](DcimAPI.md#dcimmodulebaytemplatesupdate) | **Put** /dcim/module-bay-templates/{id}/ | @@ -492,6 +486,17 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimModuleBaysPartialUpdate**](DcimAPI.md#dcimmodulebayspartialupdate) | **Patch** /dcim/module-bays/{id}/ | *DcimAPI* | [**DcimModuleBaysRetrieve**](DcimAPI.md#dcimmodulebaysretrieve) | **Get** /dcim/module-bays/{id}/ | *DcimAPI* | [**DcimModuleBaysUpdate**](DcimAPI.md#dcimmodulebaysupdate) | **Put** /dcim/module-bays/{id}/ | +*DcimAPI* | [**DcimModuleFamiliesBulkDestroy**](DcimAPI.md#dcimmodulefamiliesbulkdestroy) | **Delete** /dcim/module-families/ | +*DcimAPI* | [**DcimModuleFamiliesBulkPartialUpdate**](DcimAPI.md#dcimmodulefamiliesbulkpartialupdate) | **Patch** /dcim/module-families/ | +*DcimAPI* | [**DcimModuleFamiliesBulkUpdate**](DcimAPI.md#dcimmodulefamiliesbulkupdate) | **Put** /dcim/module-families/ | +*DcimAPI* | [**DcimModuleFamiliesCreate**](DcimAPI.md#dcimmodulefamiliescreate) | **Post** /dcim/module-families/ | +*DcimAPI* | [**DcimModuleFamiliesDestroy**](DcimAPI.md#dcimmodulefamiliesdestroy) | **Delete** /dcim/module-families/{id}/ | +*DcimAPI* | [**DcimModuleFamiliesList**](DcimAPI.md#dcimmodulefamilieslist) | **Get** /dcim/module-families/ | +*DcimAPI* | [**DcimModuleFamiliesNotesCreate**](DcimAPI.md#dcimmodulefamiliesnotescreate) | **Post** /dcim/module-families/{id}/notes/ | +*DcimAPI* | [**DcimModuleFamiliesNotesList**](DcimAPI.md#dcimmodulefamiliesnoteslist) | **Get** /dcim/module-families/{id}/notes/ | +*DcimAPI* | [**DcimModuleFamiliesPartialUpdate**](DcimAPI.md#dcimmodulefamiliespartialupdate) | **Patch** /dcim/module-families/{id}/ | +*DcimAPI* | [**DcimModuleFamiliesRetrieve**](DcimAPI.md#dcimmodulefamiliesretrieve) | **Get** /dcim/module-families/{id}/ | +*DcimAPI* | [**DcimModuleFamiliesUpdate**](DcimAPI.md#dcimmodulefamiliesupdate) | **Put** /dcim/module-families/{id}/ | *DcimAPI* | [**DcimModuleTypesBulkDestroy**](DcimAPI.md#dcimmoduletypesbulkdestroy) | **Delete** /dcim/module-types/ | *DcimAPI* | [**DcimModuleTypesBulkPartialUpdate**](DcimAPI.md#dcimmoduletypesbulkpartialupdate) | **Patch** /dcim/module-types/ | *DcimAPI* | [**DcimModuleTypesBulkUpdate**](DcimAPI.md#dcimmoduletypesbulkupdate) | **Put** /dcim/module-types/ | @@ -544,8 +549,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimPowerOutletTemplatesCreate**](DcimAPI.md#dcimpoweroutlettemplatescreate) | **Post** /dcim/power-outlet-templates/ | *DcimAPI* | [**DcimPowerOutletTemplatesDestroy**](DcimAPI.md#dcimpoweroutlettemplatesdestroy) | **Delete** /dcim/power-outlet-templates/{id}/ | *DcimAPI* | [**DcimPowerOutletTemplatesList**](DcimAPI.md#dcimpoweroutlettemplateslist) | **Get** /dcim/power-outlet-templates/ | -*DcimAPI* | [**DcimPowerOutletTemplatesNotesCreate**](DcimAPI.md#dcimpoweroutlettemplatesnotescreate) | **Post** /dcim/power-outlet-templates/{id}/notes/ | -*DcimAPI* | [**DcimPowerOutletTemplatesNotesList**](DcimAPI.md#dcimpoweroutlettemplatesnoteslist) | **Get** /dcim/power-outlet-templates/{id}/notes/ | *DcimAPI* | [**DcimPowerOutletTemplatesPartialUpdate**](DcimAPI.md#dcimpoweroutlettemplatespartialupdate) | **Patch** /dcim/power-outlet-templates/{id}/ | *DcimAPI* | [**DcimPowerOutletTemplatesRetrieve**](DcimAPI.md#dcimpoweroutlettemplatesretrieve) | **Get** /dcim/power-outlet-templates/{id}/ | *DcimAPI* | [**DcimPowerOutletTemplatesUpdate**](DcimAPI.md#dcimpoweroutlettemplatesupdate) | **Put** /dcim/power-outlet-templates/{id}/ | @@ -578,8 +581,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimPowerPortTemplatesCreate**](DcimAPI.md#dcimpowerporttemplatescreate) | **Post** /dcim/power-port-templates/ | *DcimAPI* | [**DcimPowerPortTemplatesDestroy**](DcimAPI.md#dcimpowerporttemplatesdestroy) | **Delete** /dcim/power-port-templates/{id}/ | *DcimAPI* | [**DcimPowerPortTemplatesList**](DcimAPI.md#dcimpowerporttemplateslist) | **Get** /dcim/power-port-templates/ | -*DcimAPI* | [**DcimPowerPortTemplatesNotesCreate**](DcimAPI.md#dcimpowerporttemplatesnotescreate) | **Post** /dcim/power-port-templates/{id}/notes/ | -*DcimAPI* | [**DcimPowerPortTemplatesNotesList**](DcimAPI.md#dcimpowerporttemplatesnoteslist) | **Get** /dcim/power-port-templates/{id}/notes/ | *DcimAPI* | [**DcimPowerPortTemplatesPartialUpdate**](DcimAPI.md#dcimpowerporttemplatespartialupdate) | **Patch** /dcim/power-port-templates/{id}/ | *DcimAPI* | [**DcimPowerPortTemplatesRetrieve**](DcimAPI.md#dcimpowerporttemplatesretrieve) | **Get** /dcim/power-port-templates/{id}/ | *DcimAPI* | [**DcimPowerPortTemplatesUpdate**](DcimAPI.md#dcimpowerporttemplatesupdate) | **Put** /dcim/power-port-templates/{id}/ | @@ -635,8 +636,6 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimRearPortTemplatesCreate**](DcimAPI.md#dcimrearporttemplatescreate) | **Post** /dcim/rear-port-templates/ | *DcimAPI* | [**DcimRearPortTemplatesDestroy**](DcimAPI.md#dcimrearporttemplatesdestroy) | **Delete** /dcim/rear-port-templates/{id}/ | *DcimAPI* | [**DcimRearPortTemplatesList**](DcimAPI.md#dcimrearporttemplateslist) | **Get** /dcim/rear-port-templates/ | -*DcimAPI* | [**DcimRearPortTemplatesNotesCreate**](DcimAPI.md#dcimrearporttemplatesnotescreate) | **Post** /dcim/rear-port-templates/{id}/notes/ | -*DcimAPI* | [**DcimRearPortTemplatesNotesList**](DcimAPI.md#dcimrearporttemplatesnoteslist) | **Get** /dcim/rear-port-templates/{id}/notes/ | *DcimAPI* | [**DcimRearPortTemplatesPartialUpdate**](DcimAPI.md#dcimrearporttemplatespartialupdate) | **Patch** /dcim/rear-port-templates/{id}/ | *DcimAPI* | [**DcimRearPortTemplatesRetrieve**](DcimAPI.md#dcimrearporttemplatesretrieve) | **Get** /dcim/rear-port-templates/{id}/ | *DcimAPI* | [**DcimRearPortTemplatesUpdate**](DcimAPI.md#dcimrearporttemplatesupdate) | **Put** /dcim/rear-port-templates/{id}/ | @@ -685,6 +684,17 @@ Class | Method | HTTP request | Description *DcimAPI* | [**DcimVirtualChassisPartialUpdate**](DcimAPI.md#dcimvirtualchassispartialupdate) | **Patch** /dcim/virtual-chassis/{id}/ | *DcimAPI* | [**DcimVirtualChassisRetrieve**](DcimAPI.md#dcimvirtualchassisretrieve) | **Get** /dcim/virtual-chassis/{id}/ | *DcimAPI* | [**DcimVirtualChassisUpdate**](DcimAPI.md#dcimvirtualchassisupdate) | **Put** /dcim/virtual-chassis/{id}/ | +*DcimAPI* | [**DcimVirtualDeviceContextsBulkDestroy**](DcimAPI.md#dcimvirtualdevicecontextsbulkdestroy) | **Delete** /dcim/virtual-device-contexts/ | +*DcimAPI* | [**DcimVirtualDeviceContextsBulkPartialUpdate**](DcimAPI.md#dcimvirtualdevicecontextsbulkpartialupdate) | **Patch** /dcim/virtual-device-contexts/ | +*DcimAPI* | [**DcimVirtualDeviceContextsBulkUpdate**](DcimAPI.md#dcimvirtualdevicecontextsbulkupdate) | **Put** /dcim/virtual-device-contexts/ | +*DcimAPI* | [**DcimVirtualDeviceContextsCreate**](DcimAPI.md#dcimvirtualdevicecontextscreate) | **Post** /dcim/virtual-device-contexts/ | +*DcimAPI* | [**DcimVirtualDeviceContextsDestroy**](DcimAPI.md#dcimvirtualdevicecontextsdestroy) | **Delete** /dcim/virtual-device-contexts/{id}/ | +*DcimAPI* | [**DcimVirtualDeviceContextsList**](DcimAPI.md#dcimvirtualdevicecontextslist) | **Get** /dcim/virtual-device-contexts/ | +*DcimAPI* | [**DcimVirtualDeviceContextsNotesCreate**](DcimAPI.md#dcimvirtualdevicecontextsnotescreate) | **Post** /dcim/virtual-device-contexts/{id}/notes/ | +*DcimAPI* | [**DcimVirtualDeviceContextsNotesList**](DcimAPI.md#dcimvirtualdevicecontextsnoteslist) | **Get** /dcim/virtual-device-contexts/{id}/notes/ | +*DcimAPI* | [**DcimVirtualDeviceContextsPartialUpdate**](DcimAPI.md#dcimvirtualdevicecontextspartialupdate) | **Patch** /dcim/virtual-device-contexts/{id}/ | +*DcimAPI* | [**DcimVirtualDeviceContextsRetrieve**](DcimAPI.md#dcimvirtualdevicecontextsretrieve) | **Get** /dcim/virtual-device-contexts/{id}/ | +*DcimAPI* | [**DcimVirtualDeviceContextsUpdate**](DcimAPI.md#dcimvirtualdevicecontextsupdate) | **Put** /dcim/virtual-device-contexts/{id}/ | *ExtrasAPI* | [**ExtrasComputedFieldsBulkDestroy**](ExtrasAPI.md#extrascomputedfieldsbulkdestroy) | **Delete** /extras/computed-fields/ | *ExtrasAPI* | [**ExtrasComputedFieldsBulkPartialUpdate**](ExtrasAPI.md#extrascomputedfieldsbulkpartialupdate) | **Patch** /extras/computed-fields/ | *ExtrasAPI* | [**ExtrasComputedFieldsBulkUpdate**](ExtrasAPI.md#extrascomputedfieldsbulkupdate) | **Put** /extras/computed-fields/ | @@ -876,6 +886,26 @@ Class | Method | HTTP request | Description *ExtrasAPI* | [**ExtrasJobHooksUpdate**](ExtrasAPI.md#extrasjobhooksupdate) | **Put** /extras/job-hooks/{id}/ | *ExtrasAPI* | [**ExtrasJobLogsList**](ExtrasAPI.md#extrasjoblogslist) | **Get** /extras/job-logs/ | *ExtrasAPI* | [**ExtrasJobLogsRetrieve**](ExtrasAPI.md#extrasjoblogsretrieve) | **Get** /extras/job-logs/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsBulkDestroy**](ExtrasAPI.md#extrasjobqueueassignmentsbulkdestroy) | **Delete** /extras/job-queue-assignments/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsBulkPartialUpdate**](ExtrasAPI.md#extrasjobqueueassignmentsbulkpartialupdate) | **Patch** /extras/job-queue-assignments/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsBulkUpdate**](ExtrasAPI.md#extrasjobqueueassignmentsbulkupdate) | **Put** /extras/job-queue-assignments/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsCreate**](ExtrasAPI.md#extrasjobqueueassignmentscreate) | **Post** /extras/job-queue-assignments/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsDestroy**](ExtrasAPI.md#extrasjobqueueassignmentsdestroy) | **Delete** /extras/job-queue-assignments/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsList**](ExtrasAPI.md#extrasjobqueueassignmentslist) | **Get** /extras/job-queue-assignments/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsPartialUpdate**](ExtrasAPI.md#extrasjobqueueassignmentspartialupdate) | **Patch** /extras/job-queue-assignments/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsRetrieve**](ExtrasAPI.md#extrasjobqueueassignmentsretrieve) | **Get** /extras/job-queue-assignments/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueueAssignmentsUpdate**](ExtrasAPI.md#extrasjobqueueassignmentsupdate) | **Put** /extras/job-queue-assignments/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueuesBulkDestroy**](ExtrasAPI.md#extrasjobqueuesbulkdestroy) | **Delete** /extras/job-queues/ | +*ExtrasAPI* | [**ExtrasJobQueuesBulkPartialUpdate**](ExtrasAPI.md#extrasjobqueuesbulkpartialupdate) | **Patch** /extras/job-queues/ | +*ExtrasAPI* | [**ExtrasJobQueuesBulkUpdate**](ExtrasAPI.md#extrasjobqueuesbulkupdate) | **Put** /extras/job-queues/ | +*ExtrasAPI* | [**ExtrasJobQueuesCreate**](ExtrasAPI.md#extrasjobqueuescreate) | **Post** /extras/job-queues/ | +*ExtrasAPI* | [**ExtrasJobQueuesDestroy**](ExtrasAPI.md#extrasjobqueuesdestroy) | **Delete** /extras/job-queues/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueuesList**](ExtrasAPI.md#extrasjobqueueslist) | **Get** /extras/job-queues/ | +*ExtrasAPI* | [**ExtrasJobQueuesNotesCreate**](ExtrasAPI.md#extrasjobqueuesnotescreate) | **Post** /extras/job-queues/{id}/notes/ | +*ExtrasAPI* | [**ExtrasJobQueuesNotesList**](ExtrasAPI.md#extrasjobqueuesnoteslist) | **Get** /extras/job-queues/{id}/notes/ | +*ExtrasAPI* | [**ExtrasJobQueuesPartialUpdate**](ExtrasAPI.md#extrasjobqueuespartialupdate) | **Patch** /extras/job-queues/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueuesRetrieve**](ExtrasAPI.md#extrasjobqueuesretrieve) | **Get** /extras/job-queues/{id}/ | +*ExtrasAPI* | [**ExtrasJobQueuesUpdate**](ExtrasAPI.md#extrasjobqueuesupdate) | **Put** /extras/job-queues/{id}/ | *ExtrasAPI* | [**ExtrasJobResultsBulkDestroy**](ExtrasAPI.md#extrasjobresultsbulkdestroy) | **Delete** /extras/job-results/ | *ExtrasAPI* | [**ExtrasJobResultsDestroy**](ExtrasAPI.md#extrasjobresultsdestroy) | **Delete** /extras/job-results/{id}/ | *ExtrasAPI* | [**ExtrasJobResultsList**](ExtrasAPI.md#extrasjobresultslist) | **Get** /extras/job-results/ | @@ -938,8 +968,6 @@ Class | Method | HTTP request | Description *ExtrasAPI* | [**ExtrasObjectMetadataCreate**](ExtrasAPI.md#extrasobjectmetadatacreate) | **Post** /extras/object-metadata/ | *ExtrasAPI* | [**ExtrasObjectMetadataDestroy**](ExtrasAPI.md#extrasobjectmetadatadestroy) | **Delete** /extras/object-metadata/{id}/ | *ExtrasAPI* | [**ExtrasObjectMetadataList**](ExtrasAPI.md#extrasobjectmetadatalist) | **Get** /extras/object-metadata/ | -*ExtrasAPI* | [**ExtrasObjectMetadataNotesCreate**](ExtrasAPI.md#extrasobjectmetadatanotescreate) | **Post** /extras/object-metadata/{id}/notes/ | -*ExtrasAPI* | [**ExtrasObjectMetadataNotesList**](ExtrasAPI.md#extrasobjectmetadatanoteslist) | **Get** /extras/object-metadata/{id}/notes/ | *ExtrasAPI* | [**ExtrasObjectMetadataPartialUpdate**](ExtrasAPI.md#extrasobjectmetadatapartialupdate) | **Patch** /extras/object-metadata/{id}/ | *ExtrasAPI* | [**ExtrasObjectMetadataRetrieve**](ExtrasAPI.md#extrasobjectmetadataretrieve) | **Get** /extras/object-metadata/{id}/ | *ExtrasAPI* | [**ExtrasObjectMetadataUpdate**](ExtrasAPI.md#extrasobjectmetadataupdate) | **Put** /extras/object-metadata/{id}/ | @@ -984,7 +1012,9 @@ Class | Method | HTTP request | Description *ExtrasAPI* | [**ExtrasSavedViewsRetrieve**](ExtrasAPI.md#extrassavedviewsretrieve) | **Get** /extras/saved-views/{id}/ | *ExtrasAPI* | [**ExtrasSavedViewsUpdate**](ExtrasAPI.md#extrassavedviewsupdate) | **Put** /extras/saved-views/{id}/ | *ExtrasAPI* | [**ExtrasScheduledJobsApproveCreate**](ExtrasAPI.md#extrasscheduledjobsapprovecreate) | **Post** /extras/scheduled-jobs/{id}/approve/ | +*ExtrasAPI* | [**ExtrasScheduledJobsBulkDestroy**](ExtrasAPI.md#extrasscheduledjobsbulkdestroy) | **Delete** /extras/scheduled-jobs/ | *ExtrasAPI* | [**ExtrasScheduledJobsDenyCreate**](ExtrasAPI.md#extrasscheduledjobsdenycreate) | **Post** /extras/scheduled-jobs/{id}/deny/ | +*ExtrasAPI* | [**ExtrasScheduledJobsDestroy**](ExtrasAPI.md#extrasscheduledjobsdestroy) | **Delete** /extras/scheduled-jobs/{id}/ | *ExtrasAPI* | [**ExtrasScheduledJobsDryRunCreate**](ExtrasAPI.md#extrasscheduledjobsdryruncreate) | **Post** /extras/scheduled-jobs/{id}/dry-run/ | *ExtrasAPI* | [**ExtrasScheduledJobsList**](ExtrasAPI.md#extrasscheduledjobslist) | **Get** /extras/scheduled-jobs/ | *ExtrasAPI* | [**ExtrasScheduledJobsRetrieve**](ExtrasAPI.md#extrasscheduledjobsretrieve) | **Get** /extras/scheduled-jobs/{id}/ | @@ -1124,8 +1154,6 @@ Class | Method | HTTP request | Description *IpamAPI* | [**IpamPrefixLocationAssignmentsCreate**](IpamAPI.md#ipamprefixlocationassignmentscreate) | **Post** /ipam/prefix-location-assignments/ | *IpamAPI* | [**IpamPrefixLocationAssignmentsDestroy**](IpamAPI.md#ipamprefixlocationassignmentsdestroy) | **Delete** /ipam/prefix-location-assignments/{id}/ | *IpamAPI* | [**IpamPrefixLocationAssignmentsList**](IpamAPI.md#ipamprefixlocationassignmentslist) | **Get** /ipam/prefix-location-assignments/ | -*IpamAPI* | [**IpamPrefixLocationAssignmentsNotesCreate**](IpamAPI.md#ipamprefixlocationassignmentsnotescreate) | **Post** /ipam/prefix-location-assignments/{id}/notes/ | -*IpamAPI* | [**IpamPrefixLocationAssignmentsNotesList**](IpamAPI.md#ipamprefixlocationassignmentsnoteslist) | **Get** /ipam/prefix-location-assignments/{id}/notes/ | *IpamAPI* | [**IpamPrefixLocationAssignmentsPartialUpdate**](IpamAPI.md#ipamprefixlocationassignmentspartialupdate) | **Patch** /ipam/prefix-location-assignments/{id}/ | *IpamAPI* | [**IpamPrefixLocationAssignmentsRetrieve**](IpamAPI.md#ipamprefixlocationassignmentsretrieve) | **Get** /ipam/prefix-location-assignments/{id}/ | *IpamAPI* | [**IpamPrefixLocationAssignmentsUpdate**](IpamAPI.md#ipamprefixlocationassignmentsupdate) | **Put** /ipam/prefix-location-assignments/{id}/ | @@ -1177,6 +1205,8 @@ Class | Method | HTTP request | Description *IpamAPI* | [**IpamServicesPartialUpdate**](IpamAPI.md#ipamservicespartialupdate) | **Patch** /ipam/services/{id}/ | *IpamAPI* | [**IpamServicesRetrieve**](IpamAPI.md#ipamservicesretrieve) | **Get** /ipam/services/{id}/ | *IpamAPI* | [**IpamServicesUpdate**](IpamAPI.md#ipamservicesupdate) | **Put** /ipam/services/{id}/ | +*IpamAPI* | [**IpamVlanGroupsAvailableVlansCreate**](IpamAPI.md#ipamvlangroupsavailablevlanscreate) | **Post** /ipam/vlan-groups/{id}/available-vlans/ | +*IpamAPI* | [**IpamVlanGroupsAvailableVlansList**](IpamAPI.md#ipamvlangroupsavailablevlanslist) | **Get** /ipam/vlan-groups/{id}/available-vlans/ | *IpamAPI* | [**IpamVlanGroupsBulkDestroy**](IpamAPI.md#ipamvlangroupsbulkdestroy) | **Delete** /ipam/vlan-groups/ | *IpamAPI* | [**IpamVlanGroupsBulkPartialUpdate**](IpamAPI.md#ipamvlangroupsbulkpartialupdate) | **Patch** /ipam/vlan-groups/ | *IpamAPI* | [**IpamVlanGroupsBulkUpdate**](IpamAPI.md#ipamvlangroupsbulkupdate) | **Put** /ipam/vlan-groups/ | @@ -1194,8 +1224,6 @@ Class | Method | HTTP request | Description *IpamAPI* | [**IpamVlanLocationAssignmentsCreate**](IpamAPI.md#ipamvlanlocationassignmentscreate) | **Post** /ipam/vlan-location-assignments/ | *IpamAPI* | [**IpamVlanLocationAssignmentsDestroy**](IpamAPI.md#ipamvlanlocationassignmentsdestroy) | **Delete** /ipam/vlan-location-assignments/{id}/ | *IpamAPI* | [**IpamVlanLocationAssignmentsList**](IpamAPI.md#ipamvlanlocationassignmentslist) | **Get** /ipam/vlan-location-assignments/ | -*IpamAPI* | [**IpamVlanLocationAssignmentsNotesCreate**](IpamAPI.md#ipamvlanlocationassignmentsnotescreate) | **Post** /ipam/vlan-location-assignments/{id}/notes/ | -*IpamAPI* | [**IpamVlanLocationAssignmentsNotesList**](IpamAPI.md#ipamvlanlocationassignmentsnoteslist) | **Get** /ipam/vlan-location-assignments/{id}/notes/ | *IpamAPI* | [**IpamVlanLocationAssignmentsPartialUpdate**](IpamAPI.md#ipamvlanlocationassignmentspartialupdate) | **Patch** /ipam/vlan-location-assignments/{id}/ | *IpamAPI* | [**IpamVlanLocationAssignmentsRetrieve**](IpamAPI.md#ipamvlanlocationassignmentsretrieve) | **Get** /ipam/vlan-location-assignments/{id}/ | *IpamAPI* | [**IpamVlanLocationAssignmentsUpdate**](IpamAPI.md#ipamvlanlocationassignmentsupdate) | **Put** /ipam/vlan-location-assignments/{id}/ | @@ -1216,8 +1244,6 @@ Class | Method | HTTP request | Description *IpamAPI* | [**IpamVrfDeviceAssignmentsCreate**](IpamAPI.md#ipamvrfdeviceassignmentscreate) | **Post** /ipam/vrf-device-assignments/ | *IpamAPI* | [**IpamVrfDeviceAssignmentsDestroy**](IpamAPI.md#ipamvrfdeviceassignmentsdestroy) | **Delete** /ipam/vrf-device-assignments/{id}/ | *IpamAPI* | [**IpamVrfDeviceAssignmentsList**](IpamAPI.md#ipamvrfdeviceassignmentslist) | **Get** /ipam/vrf-device-assignments/ | -*IpamAPI* | [**IpamVrfDeviceAssignmentsNotesCreate**](IpamAPI.md#ipamvrfdeviceassignmentsnotescreate) | **Post** /ipam/vrf-device-assignments/{id}/notes/ | -*IpamAPI* | [**IpamVrfDeviceAssignmentsNotesList**](IpamAPI.md#ipamvrfdeviceassignmentsnoteslist) | **Get** /ipam/vrf-device-assignments/{id}/notes/ | *IpamAPI* | [**IpamVrfDeviceAssignmentsPartialUpdate**](IpamAPI.md#ipamvrfdeviceassignmentspartialupdate) | **Patch** /ipam/vrf-device-assignments/{id}/ | *IpamAPI* | [**IpamVrfDeviceAssignmentsRetrieve**](IpamAPI.md#ipamvrfdeviceassignmentsretrieve) | **Get** /ipam/vrf-device-assignments/{id}/ | *IpamAPI* | [**IpamVrfDeviceAssignmentsUpdate**](IpamAPI.md#ipamvrfdeviceassignmentsupdate) | **Put** /ipam/vrf-device-assignments/{id}/ | @@ -1227,8 +1253,6 @@ Class | Method | HTTP request | Description *IpamAPI* | [**IpamVrfPrefixAssignmentsCreate**](IpamAPI.md#ipamvrfprefixassignmentscreate) | **Post** /ipam/vrf-prefix-assignments/ | *IpamAPI* | [**IpamVrfPrefixAssignmentsDestroy**](IpamAPI.md#ipamvrfprefixassignmentsdestroy) | **Delete** /ipam/vrf-prefix-assignments/{id}/ | *IpamAPI* | [**IpamVrfPrefixAssignmentsList**](IpamAPI.md#ipamvrfprefixassignmentslist) | **Get** /ipam/vrf-prefix-assignments/ | -*IpamAPI* | [**IpamVrfPrefixAssignmentsNotesCreate**](IpamAPI.md#ipamvrfprefixassignmentsnotescreate) | **Post** /ipam/vrf-prefix-assignments/{id}/notes/ | -*IpamAPI* | [**IpamVrfPrefixAssignmentsNotesList**](IpamAPI.md#ipamvrfprefixassignmentsnoteslist) | **Get** /ipam/vrf-prefix-assignments/{id}/notes/ | *IpamAPI* | [**IpamVrfPrefixAssignmentsPartialUpdate**](IpamAPI.md#ipamvrfprefixassignmentspartialupdate) | **Patch** /ipam/vrf-prefix-assignments/{id}/ | *IpamAPI* | [**IpamVrfPrefixAssignmentsRetrieve**](IpamAPI.md#ipamvrfprefixassignmentsretrieve) | **Get** /ipam/vrf-prefix-assignments/{id}/ | *IpamAPI* | [**IpamVrfPrefixAssignmentsUpdate**](IpamAPI.md#ipamvrfprefixassignmentsupdate) | **Put** /ipam/vrf-prefix-assignments/{id}/ | @@ -1269,6 +1293,7 @@ Class | Method | HTTP request | Description *TenancyAPI* | [**TenancyTenantsPartialUpdate**](TenancyAPI.md#tenancytenantspartialupdate) | **Patch** /tenancy/tenants/{id}/ | *TenancyAPI* | [**TenancyTenantsRetrieve**](TenancyAPI.md#tenancytenantsretrieve) | **Get** /tenancy/tenants/{id}/ | *TenancyAPI* | [**TenancyTenantsUpdate**](TenancyAPI.md#tenancytenantsupdate) | **Put** /tenancy/tenants/{id}/ | +*UiAPI* | [**UiCoreRenderJinjaTemplateCreate**](UiAPI.md#uicorerenderjinjatemplatecreate) | **Post** /ui/core/render-jinja-template/ | *UsersAPI* | [**UsersConfigRetrieve**](UsersAPI.md#usersconfigretrieve) | **Get** /users/config/ | *UsersAPI* | [**UsersGroupsBulkDestroy**](UsersAPI.md#usersgroupsbulkdestroy) | **Delete** /users/groups/ | *UsersAPI* | [**UsersGroupsBulkPartialUpdate**](UsersAPI.md#usersgroupsbulkpartialupdate) | **Patch** /users/groups/ | @@ -1361,14 +1386,67 @@ Class | Method | HTTP request | Description *VirtualizationAPI* | [**VirtualizationVirtualMachinesPartialUpdate**](VirtualizationAPI.md#virtualizationvirtualmachinespartialupdate) | **Patch** /virtualization/virtual-machines/{id}/ | *VirtualizationAPI* | [**VirtualizationVirtualMachinesRetrieve**](VirtualizationAPI.md#virtualizationvirtualmachinesretrieve) | **Get** /virtualization/virtual-machines/{id}/ | *VirtualizationAPI* | [**VirtualizationVirtualMachinesUpdate**](VirtualizationAPI.md#virtualizationvirtualmachinesupdate) | **Put** /virtualization/virtual-machines/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentsbulkdestroy) | **Delete** /wireless/controller-managed-device-group-radio-profile-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentsbulkpartialupdate) | **Patch** /wireless/controller-managed-device-group-radio-profile-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentsbulkupdate) | **Put** /wireless/controller-managed-device-group-radio-profile-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentscreate) | **Post** /wireless/controller-managed-device-group-radio-profile-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentsdestroy) | **Delete** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentslist) | **Get** /wireless/controller-managed-device-group-radio-profile-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentspartialupdate) | **Patch** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentsretrieve) | **Get** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupradioprofileassignmentsupdate) | **Put** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentsbulkdestroy) | **Delete** /wireless/controller-managed-device-group-wireless-network-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentsbulkpartialupdate) | **Patch** /wireless/controller-managed-device-group-wireless-network-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentsbulkupdate) | **Put** /wireless/controller-managed-device-group-wireless-network-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentscreate) | **Post** /wireless/controller-managed-device-group-wireless-network-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentsdestroy) | **Delete** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentslist) | **Get** /wireless/controller-managed-device-group-wireless-network-assignments/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentspartialupdate) | **Patch** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentsretrieve) | **Get** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +*WirelessAPI* | [**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate**](WirelessAPI.md#wirelesscontrollermanageddevicegroupwirelessnetworkassignmentsupdate) | **Put** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +*WirelessAPI* | [**WirelessRadioProfilesBulkDestroy**](WirelessAPI.md#wirelessradioprofilesbulkdestroy) | **Delete** /wireless/radio-profiles/ | +*WirelessAPI* | [**WirelessRadioProfilesBulkPartialUpdate**](WirelessAPI.md#wirelessradioprofilesbulkpartialupdate) | **Patch** /wireless/radio-profiles/ | +*WirelessAPI* | [**WirelessRadioProfilesBulkUpdate**](WirelessAPI.md#wirelessradioprofilesbulkupdate) | **Put** /wireless/radio-profiles/ | +*WirelessAPI* | [**WirelessRadioProfilesCreate**](WirelessAPI.md#wirelessradioprofilescreate) | **Post** /wireless/radio-profiles/ | +*WirelessAPI* | [**WirelessRadioProfilesDestroy**](WirelessAPI.md#wirelessradioprofilesdestroy) | **Delete** /wireless/radio-profiles/{id}/ | +*WirelessAPI* | [**WirelessRadioProfilesList**](WirelessAPI.md#wirelessradioprofileslist) | **Get** /wireless/radio-profiles/ | +*WirelessAPI* | [**WirelessRadioProfilesNotesCreate**](WirelessAPI.md#wirelessradioprofilesnotescreate) | **Post** /wireless/radio-profiles/{id}/notes/ | +*WirelessAPI* | [**WirelessRadioProfilesNotesList**](WirelessAPI.md#wirelessradioprofilesnoteslist) | **Get** /wireless/radio-profiles/{id}/notes/ | +*WirelessAPI* | [**WirelessRadioProfilesPartialUpdate**](WirelessAPI.md#wirelessradioprofilespartialupdate) | **Patch** /wireless/radio-profiles/{id}/ | +*WirelessAPI* | [**WirelessRadioProfilesRetrieve**](WirelessAPI.md#wirelessradioprofilesretrieve) | **Get** /wireless/radio-profiles/{id}/ | +*WirelessAPI* | [**WirelessRadioProfilesUpdate**](WirelessAPI.md#wirelessradioprofilesupdate) | **Put** /wireless/radio-profiles/{id}/ | +*WirelessAPI* | [**WirelessSupportedDataRatesBulkDestroy**](WirelessAPI.md#wirelesssupporteddataratesbulkdestroy) | **Delete** /wireless/supported-data-rates/ | +*WirelessAPI* | [**WirelessSupportedDataRatesBulkPartialUpdate**](WirelessAPI.md#wirelesssupporteddataratesbulkpartialupdate) | **Patch** /wireless/supported-data-rates/ | +*WirelessAPI* | [**WirelessSupportedDataRatesBulkUpdate**](WirelessAPI.md#wirelesssupporteddataratesbulkupdate) | **Put** /wireless/supported-data-rates/ | +*WirelessAPI* | [**WirelessSupportedDataRatesCreate**](WirelessAPI.md#wirelesssupporteddataratescreate) | **Post** /wireless/supported-data-rates/ | +*WirelessAPI* | [**WirelessSupportedDataRatesDestroy**](WirelessAPI.md#wirelesssupporteddataratesdestroy) | **Delete** /wireless/supported-data-rates/{id}/ | +*WirelessAPI* | [**WirelessSupportedDataRatesList**](WirelessAPI.md#wirelesssupporteddatarateslist) | **Get** /wireless/supported-data-rates/ | +*WirelessAPI* | [**WirelessSupportedDataRatesNotesCreate**](WirelessAPI.md#wirelesssupporteddataratesnotescreate) | **Post** /wireless/supported-data-rates/{id}/notes/ | +*WirelessAPI* | [**WirelessSupportedDataRatesNotesList**](WirelessAPI.md#wirelesssupporteddataratesnoteslist) | **Get** /wireless/supported-data-rates/{id}/notes/ | +*WirelessAPI* | [**WirelessSupportedDataRatesPartialUpdate**](WirelessAPI.md#wirelesssupporteddataratespartialupdate) | **Patch** /wireless/supported-data-rates/{id}/ | +*WirelessAPI* | [**WirelessSupportedDataRatesRetrieve**](WirelessAPI.md#wirelesssupporteddataratesretrieve) | **Get** /wireless/supported-data-rates/{id}/ | +*WirelessAPI* | [**WirelessSupportedDataRatesUpdate**](WirelessAPI.md#wirelesssupporteddataratesupdate) | **Put** /wireless/supported-data-rates/{id}/ | +*WirelessAPI* | [**WirelessWirelessNetworksBulkDestroy**](WirelessAPI.md#wirelesswirelessnetworksbulkdestroy) | **Delete** /wireless/wireless-networks/ | +*WirelessAPI* | [**WirelessWirelessNetworksBulkPartialUpdate**](WirelessAPI.md#wirelesswirelessnetworksbulkpartialupdate) | **Patch** /wireless/wireless-networks/ | +*WirelessAPI* | [**WirelessWirelessNetworksBulkUpdate**](WirelessAPI.md#wirelesswirelessnetworksbulkupdate) | **Put** /wireless/wireless-networks/ | +*WirelessAPI* | [**WirelessWirelessNetworksCreate**](WirelessAPI.md#wirelesswirelessnetworkscreate) | **Post** /wireless/wireless-networks/ | +*WirelessAPI* | [**WirelessWirelessNetworksDestroy**](WirelessAPI.md#wirelesswirelessnetworksdestroy) | **Delete** /wireless/wireless-networks/{id}/ | +*WirelessAPI* | [**WirelessWirelessNetworksList**](WirelessAPI.md#wirelesswirelessnetworkslist) | **Get** /wireless/wireless-networks/ | +*WirelessAPI* | [**WirelessWirelessNetworksNotesCreate**](WirelessAPI.md#wirelesswirelessnetworksnotescreate) | **Post** /wireless/wireless-networks/{id}/notes/ | +*WirelessAPI* | [**WirelessWirelessNetworksNotesList**](WirelessAPI.md#wirelesswirelessnetworksnoteslist) | **Get** /wireless/wireless-networks/{id}/notes/ | +*WirelessAPI* | [**WirelessWirelessNetworksPartialUpdate**](WirelessAPI.md#wirelesswirelessnetworkspartialupdate) | **Patch** /wireless/wireless-networks/{id}/ | +*WirelessAPI* | [**WirelessWirelessNetworksRetrieve**](WirelessAPI.md#wirelesswirelessnetworksretrieve) | **Get** /wireless/wireless-networks/{id}/ | +*WirelessAPI* | [**WirelessWirelessNetworksUpdate**](WirelessAPI.md#wirelesswirelessnetworksupdate) | **Put** /wireless/wireless-networks/{id}/ | ## Documentation For Models - [AccessTypeEnum](AccessTypeEnum.md) + - [AuthenticationEnum](AuthenticationEnum.md) - [AvailableIP](AvailableIP.md) - [AvailablePrefix](AvailablePrefix.md) - [BlankEnum](BlankEnum.md) + - [BreakerPoleCountEnum](BreakerPoleCountEnum.md) - [BridgeInterface](BridgeInterface.md) - [BulkOperationIntegerIDRequest](BulkOperationIntegerIDRequest.md) - [BulkOperationRequest](BulkOperationRequest.md) @@ -1402,8 +1480,10 @@ Class | Method | HTTP request | Description - [BulkWritableConsoleServerPortTemplateRequest](BulkWritableConsoleServerPortTemplateRequest.md) - [BulkWritableContactAssociationRequest](BulkWritableContactAssociationRequest.md) - [BulkWritableContactRequest](BulkWritableContactRequest.md) + - [BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest](BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) - [BulkWritableControllerManagedDeviceGroupRequest](BulkWritableControllerManagedDeviceGroupRequest.md) - [BulkWritableControllerManagedDeviceGroupRequestController](BulkWritableControllerManagedDeviceGroupRequestController.md) + - [BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest](BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) - [BulkWritableControllerRequest](BulkWritableControllerRequest.md) - [BulkWritableCustomFieldChoiceRequest](BulkWritableCustomFieldChoiceRequest.md) - [BulkWritableCustomFieldRequest](BulkWritableCustomFieldRequest.md) @@ -1439,12 +1519,15 @@ Class | Method | HTTP request | Description - [BulkWritableInterfaceRequest](BulkWritableInterfaceRequest.md) - [BulkWritableInterfaceRequestParentInterface](BulkWritableInterfaceRequestParentInterface.md) - [BulkWritableInterfaceTemplateRequest](BulkWritableInterfaceTemplateRequest.md) + - [BulkWritableInterfaceVDCAssignmentRequest](BulkWritableInterfaceVDCAssignmentRequest.md) - [BulkWritableInventoryItemRequest](BulkWritableInventoryItemRequest.md) - [BulkWritableInventoryItemRequestSoftwareVersion](BulkWritableInventoryItemRequestSoftwareVersion.md) - [BulkWritableJobButtonRequest](BulkWritableJobButtonRequest.md) - [BulkWritableJobButtonRequestJob](BulkWritableJobButtonRequestJob.md) - [BulkWritableJobHookRequest](BulkWritableJobHookRequest.md) - [BulkWritableJobHookRequestJob](BulkWritableJobHookRequestJob.md) + - [BulkWritableJobQueueAssignmentRequest](BulkWritableJobQueueAssignmentRequest.md) + - [BulkWritableJobQueueRequest](BulkWritableJobQueueRequest.md) - [BulkWritableJobRequest](BulkWritableJobRequest.md) - [BulkWritableLocationRequest](BulkWritableLocationRequest.md) - [BulkWritableLocationTypeRequest](BulkWritableLocationTypeRequest.md) @@ -1452,7 +1535,10 @@ Class | Method | HTTP request | Description - [BulkWritableMetadataChoiceRequest](BulkWritableMetadataChoiceRequest.md) - [BulkWritableMetadataTypeRequest](BulkWritableMetadataTypeRequest.md) - [BulkWritableModuleBayRequest](BulkWritableModuleBayRequest.md) + - [BulkWritableModuleBayRequestModuleFamily](BulkWritableModuleBayRequestModuleFamily.md) - [BulkWritableModuleBayTemplateRequest](BulkWritableModuleBayTemplateRequest.md) + - [BulkWritableModuleBayTemplateRequestModuleFamily](BulkWritableModuleBayTemplateRequestModuleFamily.md) + - [BulkWritableModuleFamilyRequest](BulkWritableModuleFamilyRequest.md) - [BulkWritableModuleRequest](BulkWritableModuleRequest.md) - [BulkWritableModuleTypeRequest](BulkWritableModuleTypeRequest.md) - [BulkWritableNamespaceRequest](BulkWritableNamespaceRequest.md) @@ -1462,6 +1548,8 @@ Class | Method | HTTP request | Description - [BulkWritablePlatformRequest](BulkWritablePlatformRequest.md) - [BulkWritablePlatformRequestManufacturer](BulkWritablePlatformRequestManufacturer.md) - [BulkWritablePowerFeedRequest](BulkWritablePowerFeedRequest.md) + - [BulkWritablePowerFeedRequestDestinationPanel](BulkWritablePowerFeedRequestDestinationPanel.md) + - [BulkWritablePowerFeedRequestPowerPanel](BulkWritablePowerFeedRequestPowerPanel.md) - [BulkWritablePowerOutletRequest](BulkWritablePowerOutletRequest.md) - [BulkWritablePowerOutletTemplateRequest](BulkWritablePowerOutletTemplateRequest.md) - [BulkWritablePowerPanelRequest](BulkWritablePowerPanelRequest.md) @@ -1480,6 +1568,8 @@ Class | Method | HTTP request | Description - [BulkWritableRackRequestRackGroup](BulkWritableRackRequestRackGroup.md) - [BulkWritableRackReservationRequest](BulkWritableRackReservationRequest.md) - [BulkWritableRackReservationRequestUser](BulkWritableRackReservationRequestUser.md) + - [BulkWritableRadioProfileRequest](BulkWritableRadioProfileRequest.md) + - [BulkWritableRadioProfileRequestFrequency](BulkWritableRadioProfileRequestFrequency.md) - [BulkWritableRearPortRequest](BulkWritableRearPortRequest.md) - [BulkWritableRearPortTemplateRequest](BulkWritableRearPortTemplateRequest.md) - [BulkWritableRelationshipAssociationRequest](BulkWritableRelationshipAssociationRequest.md) @@ -1500,6 +1590,7 @@ Class | Method | HTTP request | Description - [BulkWritableSoftwareVersionRequest](BulkWritableSoftwareVersionRequest.md) - [BulkWritableStaticGroupAssociationRequest](BulkWritableStaticGroupAssociationRequest.md) - [BulkWritableStatusRequest](BulkWritableStatusRequest.md) + - [BulkWritableSupportedDataRateRequest](BulkWritableSupportedDataRateRequest.md) - [BulkWritableTagRequest](BulkWritableTagRequest.md) - [BulkWritableTeamRequest](BulkWritableTeamRequest.md) - [BulkWritableTenantGroupRequest](BulkWritableTenantGroupRequest.md) @@ -1515,9 +1606,11 @@ Class | Method | HTTP request | Description - [BulkWritableVRFPrefixAssignmentRequest](BulkWritableVRFPrefixAssignmentRequest.md) - [BulkWritableVRFRequest](BulkWritableVRFRequest.md) - [BulkWritableVirtualChassisRequest](BulkWritableVirtualChassisRequest.md) + - [BulkWritableVirtualDeviceContextRequest](BulkWritableVirtualDeviceContextRequest.md) - [BulkWritableVirtualMachineRequest](BulkWritableVirtualMachineRequest.md) - [BulkWritableVirtualMachineRequestSoftwareVersion](BulkWritableVirtualMachineRequestSoftwareVersion.md) - [BulkWritableWebhookRequest](BulkWritableWebhookRequest.md) + - [BulkWritableWirelessNetworkRequest](BulkWritableWirelessNetworkRequest.md) - [ButtonClassEnum](ButtonClassEnum.md) - [Cable](Cable.md) - [CableLengthUnit](CableLengthUnit.md) @@ -1529,6 +1622,8 @@ Class | Method | HTTP request | Description - [CableTypeChoices](CableTypeChoices.md) - [CableTypeLabel](CableTypeLabel.md) - [CableTypeValue](CableTypeValue.md) + - [CapabilitiesEnum](CapabilitiesEnum.md) + - [ChannelWidthEnum](ChannelWidthEnum.md) - [Circuit](Circuit.md) - [CircuitCircuitTerminationA](CircuitCircuitTerminationA.md) - [CircuitRequest](CircuitRequest.md) @@ -1558,10 +1653,8 @@ Class | Method | HTTP request | Description - [ComputedField](ComputedField.md) - [ComputedFieldRequest](ComputedFieldRequest.md) - [ConfigContext](ConfigContext.md) - - [ConfigContextOwner](ConfigContextOwner.md) - [ConfigContextRequest](ConfigContextRequest.md) - [ConfigContextSchema](ConfigContextSchema.md) - - [ConfigContextSchemaOwner](ConfigContextSchemaOwner.md) - [ConfigContextSchemaRequest](ConfigContextSchemaRequest.md) - [ConsolePort](ConsolePort.md) - [ConsolePortTemplate](ConsolePortTemplate.md) @@ -1577,8 +1670,15 @@ Class | Method | HTTP request | Description - [ContactRequest](ContactRequest.md) - [ContentType](ContentType.md) - [Controller](Controller.md) + - [ControllerCapabilitiesInner](ControllerCapabilitiesInner.md) + - [ControllerCapabilitiesInnerLabel](ControllerCapabilitiesInnerLabel.md) + - [ControllerCapabilitiesInnerValue](ControllerCapabilitiesInnerValue.md) - [ControllerManagedDeviceGroup](ControllerManagedDeviceGroup.md) + - [ControllerManagedDeviceGroupRadioProfileAssignment](ControllerManagedDeviceGroupRadioProfileAssignment.md) + - [ControllerManagedDeviceGroupRadioProfileAssignmentRequest](ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) - [ControllerManagedDeviceGroupRequest](ControllerManagedDeviceGroupRequest.md) + - [ControllerManagedDeviceGroupWirelessNetworkAssignment](ControllerManagedDeviceGroupWirelessNetworkAssignment.md) + - [ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest](ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) - [ControllerRequest](ControllerRequest.md) - [CustomField](CustomField.md) - [CustomFieldChoice](CustomFieldChoice.md) @@ -1623,7 +1723,6 @@ Class | Method | HTTP request | Description - [DynamicGroupMembershipRequest](DynamicGroupMembershipRequest.md) - [DynamicGroupRequest](DynamicGroupRequest.md) - [ExportTemplate](ExportTemplate.md) - - [ExportTemplateOwner](ExportTemplateOwner.md) - [ExportTemplateRequest](ExportTemplateRequest.md) - [ExternalIntegration](ExternalIntegration.md) - [ExternalIntegrationRequest](ExternalIntegrationRequest.md) @@ -1635,6 +1734,7 @@ Class | Method | HTTP request | Description - [FeedLegEnum](FeedLegEnum.md) - [FileProxy](FileProxy.md) - [FilterLogicEnum](FilterLogicEnum.md) + - [FrequencyEnum](FrequencyEnum.md) - [FrontPort](FrontPort.md) - [FrontPortTemplate](FrontPortTemplate.md) - [FrontPortType](FrontPortType.md) @@ -1642,6 +1742,7 @@ Class | Method | HTTP request | Description - [FrontPortTypeValue](FrontPortTypeValue.md) - [GitRepository](GitRepository.md) - [GitRepositoryRequest](GitRepositoryRequest.md) + - [GitRepositorySyncResponse](GitRepositorySyncResponse.md) - [GraphQLAPIRequest](GraphQLAPIRequest.md) - [GraphQLQuery](GraphQLQuery.md) - [GraphQLQueryInputRequest](GraphQLQueryInputRequest.md) @@ -1666,6 +1767,7 @@ Class | Method | HTTP request | Description - [Interface](Interface.md) - [InterfaceConnection](InterfaceConnection.md) - [InterfaceMode](InterfaceMode.md) + - [InterfaceModeChoices](InterfaceModeChoices.md) - [InterfaceModeLabel](InterfaceModeLabel.md) - [InterfaceModeValue](InterfaceModeValue.md) - [InterfaceRedundancyGroup](InterfaceRedundancyGroup.md) @@ -1680,8 +1782,12 @@ Class | Method | HTTP request | Description - [InterfaceTypeChoices](InterfaceTypeChoices.md) - [InterfaceTypeLabel](InterfaceTypeLabel.md) - [InterfaceTypeValue](InterfaceTypeValue.md) + - [InterfaceVDCAssignment](InterfaceVDCAssignment.md) + - [InterfaceVDCAssignmentRequest](InterfaceVDCAssignmentRequest.md) - [InventoryItem](InventoryItem.md) - [InventoryItemRequest](InventoryItemRequest.md) + - [IpamPrefixesAvailableIpsListRangeEndParameter](IpamPrefixesAvailableIpsListRangeEndParameter.md) + - [IpamVlanGroupsAvailableVlansList200Response](IpamVlanGroupsAvailableVlansList200Response.md) - [Job](Job.md) - [JobButton](JobButton.md) - [JobButtonRequest](JobButtonRequest.md) @@ -1691,6 +1797,12 @@ Class | Method | HTTP request | Description - [JobHookRequest](JobHookRequest.md) - [JobInputRequest](JobInputRequest.md) - [JobLogEntry](JobLogEntry.md) + - [JobQueue](JobQueue.md) + - [JobQueueAssignment](JobQueueAssignment.md) + - [JobQueueAssignmentRequest](JobQueueAssignmentRequest.md) + - [JobQueueOverride](JobQueueOverride.md) + - [JobQueueRequest](JobQueueRequest.md) + - [JobQueues](JobQueues.md) - [JobRequest](JobRequest.md) - [JobResult](JobResult.md) - [JobResultStatus](JobResultStatus.md) @@ -1709,12 +1821,13 @@ Class | Method | HTTP request | Description - [MetadataChoiceRequest](MetadataChoiceRequest.md) - [MetadataType](MetadataType.md) - [MetadataTypeRequest](MetadataTypeRequest.md) - - [ModeEnum](ModeEnum.md) - [Module](Module.md) - [ModuleBay](ModuleBay.md) - [ModuleBayRequest](ModuleBayRequest.md) - [ModuleBayTemplate](ModuleBayTemplate.md) - [ModuleBayTemplateRequest](ModuleBayTemplateRequest.md) + - [ModuleFamily](ModuleFamily.md) + - [ModuleFamilyRequest](ModuleFamilyRequest.md) - [ModuleRequest](ModuleRequest.md) - [ModuleType](ModuleType.md) - [ModuleTypeRequest](ModuleTypeRequest.md) @@ -1767,10 +1880,12 @@ Class | Method | HTTP request | Description - [NestedInterfaceRedundancyGroup](NestedInterfaceRedundancyGroup.md) - [NestedInterfaceRedundancyGroupAssociation](NestedInterfaceRedundancyGroupAssociation.md) - [NestedInterfaceTemplate](NestedInterfaceTemplate.md) + - [NestedInterfaceVDCAssignment](NestedInterfaceVDCAssignment.md) - [NestedInventoryItem](NestedInventoryItem.md) - [NestedJob](NestedJob.md) - [NestedJobButton](NestedJobButton.md) - [NestedJobHook](NestedJobHook.md) + - [NestedJobQueue](NestedJobQueue.md) - [NestedJobResult](NestedJobResult.md) - [NestedLocation](NestedLocation.md) - [NestedLocationType](NestedLocationType.md) @@ -1780,6 +1895,7 @@ Class | Method | HTTP request | Description - [NestedModule](NestedModule.md) - [NestedModuleBay](NestedModuleBay.md) - [NestedModuleBayTemplate](NestedModuleBayTemplate.md) + - [NestedModuleFamily](NestedModuleFamily.md) - [NestedModuleType](NestedModuleType.md) - [NestedNamespace](NestedNamespace.md) - [NestedNote](NestedNote.md) @@ -1800,6 +1916,7 @@ Class | Method | HTTP request | Description - [NestedRack](NestedRack.md) - [NestedRackGroup](NestedRackGroup.md) - [NestedRackReservation](NestedRackReservation.md) + - [NestedRadioProfile](NestedRadioProfile.md) - [NestedRearPort](NestedRearPort.md) - [NestedRearPortTemplate](NestedRearPortTemplate.md) - [NestedRelationship](NestedRelationship.md) @@ -1816,6 +1933,7 @@ Class | Method | HTTP request | Description - [NestedSoftwareVersion](NestedSoftwareVersion.md) - [NestedStaticGroupAssociation](NestedStaticGroupAssociation.md) - [NestedStatus](NestedStatus.md) + - [NestedSupportedDataRate](NestedSupportedDataRate.md) - [NestedTag](NestedTag.md) - [NestedTeam](NestedTeam.md) - [NestedTenant](NestedTenant.md) @@ -1825,12 +1943,15 @@ Class | Method | HTTP request | Description - [NestedVMInterface](NestedVMInterface.md) - [NestedVRF](NestedVRF.md) - [NestedVirtualChassis](NestedVirtualChassis.md) + - [NestedVirtualDeviceContext](NestedVirtualDeviceContext.md) - [NestedVirtualMachine](NestedVirtualMachine.md) - [NestedWebhook](NestedWebhook.md) + - [NestedWirelessNetwork](NestedWirelessNetwork.md) - [Note](Note.md) - [NoteAssignedObject](NoteAssignedObject.md) - [NoteInputRequest](NoteInputRequest.md) - [NoteRequest](NoteRequest.md) + - [NullEnum](NullEnum.md) - [ObjectChange](ObjectChange.md) - [ObjectChangeAction](ObjectChangeAction.md) - [ObjectChangeActionLabel](ObjectChangeActionLabel.md) @@ -1871,6 +1992,8 @@ Class | Method | HTTP request | Description - [PaginatedContentTypeList](PaginatedContentTypeList.md) - [PaginatedControllerList](PaginatedControllerList.md) - [PaginatedControllerManagedDeviceGroupList](PaginatedControllerManagedDeviceGroupList.md) + - [PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList](PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList.md) + - [PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList](PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList.md) - [PaginatedCustomFieldChoiceList](PaginatedCustomFieldChoiceList.md) - [PaginatedCustomFieldList](PaginatedCustomFieldList.md) - [PaginatedCustomLinkList](PaginatedCustomLinkList.md) @@ -1899,11 +2022,14 @@ Class | Method | HTTP request | Description - [PaginatedInterfaceRedundancyGroupAssociationList](PaginatedInterfaceRedundancyGroupAssociationList.md) - [PaginatedInterfaceRedundancyGroupList](PaginatedInterfaceRedundancyGroupList.md) - [PaginatedInterfaceTemplateList](PaginatedInterfaceTemplateList.md) + - [PaginatedInterfaceVDCAssignmentList](PaginatedInterfaceVDCAssignmentList.md) - [PaginatedInventoryItemList](PaginatedInventoryItemList.md) - [PaginatedJobButtonList](PaginatedJobButtonList.md) - [PaginatedJobHookList](PaginatedJobHookList.md) - [PaginatedJobList](PaginatedJobList.md) - [PaginatedJobLogEntryList](PaginatedJobLogEntryList.md) + - [PaginatedJobQueueAssignmentList](PaginatedJobQueueAssignmentList.md) + - [PaginatedJobQueueList](PaginatedJobQueueList.md) - [PaginatedJobResultList](PaginatedJobResultList.md) - [PaginatedJobVariableList](PaginatedJobVariableList.md) - [PaginatedLocationList](PaginatedLocationList.md) @@ -1913,6 +2039,7 @@ Class | Method | HTTP request | Description - [PaginatedMetadataTypeList](PaginatedMetadataTypeList.md) - [PaginatedModuleBayList](PaginatedModuleBayList.md) - [PaginatedModuleBayTemplateList](PaginatedModuleBayTemplateList.md) + - [PaginatedModuleFamilyList](PaginatedModuleFamilyList.md) - [PaginatedModuleList](PaginatedModuleList.md) - [PaginatedModuleTypeList](PaginatedModuleTypeList.md) - [PaginatedNamespaceList](PaginatedNamespaceList.md) @@ -1936,6 +2063,7 @@ Class | Method | HTTP request | Description - [PaginatedRackList](PaginatedRackList.md) - [PaginatedRackReservationList](PaginatedRackReservationList.md) - [PaginatedRackUnitList](PaginatedRackUnitList.md) + - [PaginatedRadioProfileList](PaginatedRadioProfileList.md) - [PaginatedRearPortList](PaginatedRearPortList.md) - [PaginatedRearPortTemplateList](PaginatedRearPortTemplateList.md) - [PaginatedRelationshipAssociationList](PaginatedRelationshipAssociationList.md) @@ -1952,6 +2080,7 @@ Class | Method | HTTP request | Description - [PaginatedSoftwareVersionList](PaginatedSoftwareVersionList.md) - [PaginatedStaticGroupAssociationList](PaginatedStaticGroupAssociationList.md) - [PaginatedStatusList](PaginatedStatusList.md) + - [PaginatedSupportedDataRateList](PaginatedSupportedDataRateList.md) - [PaginatedTagList](PaginatedTagList.md) - [PaginatedTeamList](PaginatedTeamList.md) - [PaginatedTenantGroupList](PaginatedTenantGroupList.md) @@ -1967,8 +2096,11 @@ Class | Method | HTTP request | Description - [PaginatedVRFList](PaginatedVRFList.md) - [PaginatedVRFPrefixAssignmentList](PaginatedVRFPrefixAssignmentList.md) - [PaginatedVirtualChassisList](PaginatedVirtualChassisList.md) + - [PaginatedVirtualDeviceContextList](PaginatedVirtualDeviceContextList.md) - [PaginatedVirtualMachineList](PaginatedVirtualMachineList.md) - [PaginatedWebhookList](PaginatedWebhookList.md) + - [PaginatedWirelessNetworkList](PaginatedWirelessNetworkList.md) + - [PanelTypeEnum](PanelTypeEnum.md) - [ParentChildStatus](ParentChildStatus.md) - [ParentLAG](ParentLAG.md) - [PatchedBulkWritableCableRequest](PatchedBulkWritableCableRequest.md) @@ -1993,7 +2125,9 @@ Class | Method | HTTP request | Description - [PatchedBulkWritableConsoleServerPortTemplateRequest](PatchedBulkWritableConsoleServerPortTemplateRequest.md) - [PatchedBulkWritableContactAssociationRequest](PatchedBulkWritableContactAssociationRequest.md) - [PatchedBulkWritableContactRequest](PatchedBulkWritableContactRequest.md) + - [PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest](PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) - [PatchedBulkWritableControllerManagedDeviceGroupRequest](PatchedBulkWritableControllerManagedDeviceGroupRequest.md) + - [PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest](PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) - [PatchedBulkWritableControllerRequest](PatchedBulkWritableControllerRequest.md) - [PatchedBulkWritableCustomFieldChoiceRequest](PatchedBulkWritableCustomFieldChoiceRequest.md) - [PatchedBulkWritableCustomFieldRequest](PatchedBulkWritableCustomFieldRequest.md) @@ -2021,9 +2155,12 @@ Class | Method | HTTP request | Description - [PatchedBulkWritableInterfaceRedundancyGroupRequest](PatchedBulkWritableInterfaceRedundancyGroupRequest.md) - [PatchedBulkWritableInterfaceRequest](PatchedBulkWritableInterfaceRequest.md) - [PatchedBulkWritableInterfaceTemplateRequest](PatchedBulkWritableInterfaceTemplateRequest.md) + - [PatchedBulkWritableInterfaceVDCAssignmentRequest](PatchedBulkWritableInterfaceVDCAssignmentRequest.md) - [PatchedBulkWritableInventoryItemRequest](PatchedBulkWritableInventoryItemRequest.md) - [PatchedBulkWritableJobButtonRequest](PatchedBulkWritableJobButtonRequest.md) - [PatchedBulkWritableJobHookRequest](PatchedBulkWritableJobHookRequest.md) + - [PatchedBulkWritableJobQueueAssignmentRequest](PatchedBulkWritableJobQueueAssignmentRequest.md) + - [PatchedBulkWritableJobQueueRequest](PatchedBulkWritableJobQueueRequest.md) - [PatchedBulkWritableJobRequest](PatchedBulkWritableJobRequest.md) - [PatchedBulkWritableLocationRequest](PatchedBulkWritableLocationRequest.md) - [PatchedBulkWritableLocationTypeRequest](PatchedBulkWritableLocationTypeRequest.md) @@ -2032,6 +2169,7 @@ Class | Method | HTTP request | Description - [PatchedBulkWritableMetadataTypeRequest](PatchedBulkWritableMetadataTypeRequest.md) - [PatchedBulkWritableModuleBayRequest](PatchedBulkWritableModuleBayRequest.md) - [PatchedBulkWritableModuleBayTemplateRequest](PatchedBulkWritableModuleBayTemplateRequest.md) + - [PatchedBulkWritableModuleFamilyRequest](PatchedBulkWritableModuleFamilyRequest.md) - [PatchedBulkWritableModuleRequest](PatchedBulkWritableModuleRequest.md) - [PatchedBulkWritableModuleTypeRequest](PatchedBulkWritableModuleTypeRequest.md) - [PatchedBulkWritableNamespaceRequest](PatchedBulkWritableNamespaceRequest.md) @@ -2053,6 +2191,7 @@ Class | Method | HTTP request | Description - [PatchedBulkWritableRackGroupRequest](PatchedBulkWritableRackGroupRequest.md) - [PatchedBulkWritableRackRequest](PatchedBulkWritableRackRequest.md) - [PatchedBulkWritableRackReservationRequest](PatchedBulkWritableRackReservationRequest.md) + - [PatchedBulkWritableRadioProfileRequest](PatchedBulkWritableRadioProfileRequest.md) - [PatchedBulkWritableRearPortRequest](PatchedBulkWritableRearPortRequest.md) - [PatchedBulkWritableRearPortTemplateRequest](PatchedBulkWritableRearPortTemplateRequest.md) - [PatchedBulkWritableRelationshipAssociationRequest](PatchedBulkWritableRelationshipAssociationRequest.md) @@ -2068,6 +2207,7 @@ Class | Method | HTTP request | Description - [PatchedBulkWritableSoftwareVersionRequest](PatchedBulkWritableSoftwareVersionRequest.md) - [PatchedBulkWritableStaticGroupAssociationRequest](PatchedBulkWritableStaticGroupAssociationRequest.md) - [PatchedBulkWritableStatusRequest](PatchedBulkWritableStatusRequest.md) + - [PatchedBulkWritableSupportedDataRateRequest](PatchedBulkWritableSupportedDataRateRequest.md) - [PatchedBulkWritableTagRequest](PatchedBulkWritableTagRequest.md) - [PatchedBulkWritableTeamRequest](PatchedBulkWritableTeamRequest.md) - [PatchedBulkWritableTenantGroupRequest](PatchedBulkWritableTenantGroupRequest.md) @@ -2083,8 +2223,10 @@ Class | Method | HTTP request | Description - [PatchedBulkWritableVRFPrefixAssignmentRequest](PatchedBulkWritableVRFPrefixAssignmentRequest.md) - [PatchedBulkWritableVRFRequest](PatchedBulkWritableVRFRequest.md) - [PatchedBulkWritableVirtualChassisRequest](PatchedBulkWritableVirtualChassisRequest.md) + - [PatchedBulkWritableVirtualDeviceContextRequest](PatchedBulkWritableVirtualDeviceContextRequest.md) - [PatchedBulkWritableVirtualMachineRequest](PatchedBulkWritableVirtualMachineRequest.md) - [PatchedBulkWritableWebhookRequest](PatchedBulkWritableWebhookRequest.md) + - [PatchedBulkWritableWirelessNetworkRequest](PatchedBulkWritableWirelessNetworkRequest.md) - [PatchedCircuitRequest](PatchedCircuitRequest.md) - [PatchedCircuitTerminationRequest](PatchedCircuitTerminationRequest.md) - [PatchedCircuitTypeRequest](PatchedCircuitTypeRequest.md) @@ -2102,7 +2244,9 @@ Class | Method | HTTP request | Description - [PatchedConfigContextSchemaRequest](PatchedConfigContextSchemaRequest.md) - [PatchedContactAssociationRequest](PatchedContactAssociationRequest.md) - [PatchedContactRequest](PatchedContactRequest.md) + - [PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest](PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) - [PatchedControllerManagedDeviceGroupRequest](PatchedControllerManagedDeviceGroupRequest.md) + - [PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest](PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) - [PatchedControllerRequest](PatchedControllerRequest.md) - [PatchedCustomFieldChoiceRequest](PatchedCustomFieldChoiceRequest.md) - [PatchedCustomLinkRequest](PatchedCustomLinkRequest.md) @@ -2121,9 +2265,12 @@ Class | Method | HTTP request | Description - [PatchedIPAddressToInterfaceRequest](PatchedIPAddressToInterfaceRequest.md) - [PatchedImageAttachmentRequest](PatchedImageAttachmentRequest.md) - [PatchedInterfaceRedundancyGroupAssociationRequest](PatchedInterfaceRedundancyGroupAssociationRequest.md) + - [PatchedInterfaceVDCAssignmentRequest](PatchedInterfaceVDCAssignmentRequest.md) - [PatchedInventoryItemRequest](PatchedInventoryItemRequest.md) - [PatchedJobButtonRequest](PatchedJobButtonRequest.md) - [PatchedJobHookRequest](PatchedJobHookRequest.md) + - [PatchedJobQueueAssignmentRequest](PatchedJobQueueAssignmentRequest.md) + - [PatchedJobQueueRequest](PatchedJobQueueRequest.md) - [PatchedJobRequest](PatchedJobRequest.md) - [PatchedLocationRequest](PatchedLocationRequest.md) - [PatchedLocationTypeRequest](PatchedLocationTypeRequest.md) @@ -2132,6 +2279,7 @@ Class | Method | HTTP request | Description - [PatchedMetadataTypeRequest](PatchedMetadataTypeRequest.md) - [PatchedModuleBayRequest](PatchedModuleBayRequest.md) - [PatchedModuleBayTemplateRequest](PatchedModuleBayTemplateRequest.md) + - [PatchedModuleFamilyRequest](PatchedModuleFamilyRequest.md) - [PatchedModuleRequest](PatchedModuleRequest.md) - [PatchedModuleTypeRequest](PatchedModuleTypeRequest.md) - [PatchedNamespaceRequest](PatchedNamespaceRequest.md) @@ -2139,13 +2287,13 @@ Class | Method | HTTP request | Description - [PatchedObjectMetadataRequest](PatchedObjectMetadataRequest.md) - [PatchedObjectPermissionRequest](PatchedObjectPermissionRequest.md) - [PatchedPlatformRequest](PatchedPlatformRequest.md) - - [PatchedPowerPanelRequest](PatchedPowerPanelRequest.md) - [PatchedPrefixLocationAssignmentRequest](PatchedPrefixLocationAssignmentRequest.md) - [PatchedProviderNetworkRequest](PatchedProviderNetworkRequest.md) - [PatchedProviderRequest](PatchedProviderRequest.md) - [PatchedRIRRequest](PatchedRIRRequest.md) - [PatchedRackGroupRequest](PatchedRackGroupRequest.md) - [PatchedRackReservationRequest](PatchedRackReservationRequest.md) + - [PatchedRadioProfileRequest](PatchedRadioProfileRequest.md) - [PatchedRelationshipAssociationRequest](PatchedRelationshipAssociationRequest.md) - [PatchedRelationshipRequest](PatchedRelationshipRequest.md) - [PatchedRoleRequest](PatchedRoleRequest.md) @@ -2158,6 +2306,7 @@ Class | Method | HTTP request | Description - [PatchedSoftwareVersionRequest](PatchedSoftwareVersionRequest.md) - [PatchedStaticGroupAssociationRequest](PatchedStaticGroupAssociationRequest.md) - [PatchedStatusRequest](PatchedStatusRequest.md) + - [PatchedSupportedDataRateRequest](PatchedSupportedDataRateRequest.md) - [PatchedTagRequest](PatchedTagRequest.md) - [PatchedTeamRequest](PatchedTeamRequest.md) - [PatchedTenantGroupRequest](PatchedTenantGroupRequest.md) @@ -2172,8 +2321,10 @@ Class | Method | HTTP request | Description - [PatchedVRFPrefixAssignmentRequest](PatchedVRFPrefixAssignmentRequest.md) - [PatchedVRFRequest](PatchedVRFRequest.md) - [PatchedVirtualChassisRequest](PatchedVirtualChassisRequest.md) + - [PatchedVirtualDeviceContextRequest](PatchedVirtualDeviceContextRequest.md) - [PatchedVirtualMachineRequest](PatchedVirtualMachineRequest.md) - [PatchedWebhookRequest](PatchedWebhookRequest.md) + - [PatchedWirelessNetworkRequest](PatchedWirelessNetworkRequest.md) - [PatchedWritableCableRequest](PatchedWritableCableRequest.md) - [PatchedWritableCableRequestLengthUnit](PatchedWritableCableRequestLengthUnit.md) - [PatchedWritableCableRequestType](PatchedWritableCableRequestType.md) @@ -2194,11 +2345,14 @@ Class | Method | HTTP request | Description - [PatchedWritableInterfaceRequestMode](PatchedWritableInterfaceRequestMode.md) - [PatchedWritableInterfaceTemplateRequest](PatchedWritableInterfaceTemplateRequest.md) - [PatchedWritablePowerFeedRequest](PatchedWritablePowerFeedRequest.md) + - [PatchedWritablePowerFeedRequestPowerPath](PatchedWritablePowerFeedRequestPowerPath.md) - [PatchedWritablePowerOutletRequest](PatchedWritablePowerOutletRequest.md) - [PatchedWritablePowerOutletRequestFeedLeg](PatchedWritablePowerOutletRequestFeedLeg.md) - [PatchedWritablePowerOutletRequestType](PatchedWritablePowerOutletRequestType.md) - [PatchedWritablePowerOutletTemplateRequest](PatchedWritablePowerOutletTemplateRequest.md) - [PatchedWritablePowerOutletTemplateRequestType](PatchedWritablePowerOutletTemplateRequestType.md) + - [PatchedWritablePowerPanelRequest](PatchedWritablePowerPanelRequest.md) + - [PatchedWritablePowerPanelRequestPanelType](PatchedWritablePowerPanelRequestPanelType.md) - [PatchedWritablePowerPortRequest](PatchedWritablePowerPortRequest.md) - [PatchedWritablePowerPortRequestType](PatchedWritablePowerPortRequestType.md) - [PatchedWritablePowerPortTemplateRequest](PatchedWritablePowerPortTemplateRequest.md) @@ -2217,9 +2371,15 @@ Class | Method | HTTP request | Description - [PlatformRequest](PlatformRequest.md) - [PortTypeChoices](PortTypeChoices.md) - [PowerFeed](PowerFeed.md) + - [PowerFeedBreakerPoleCount](PowerFeedBreakerPoleCount.md) + - [PowerFeedBreakerPoleCountLabel](PowerFeedBreakerPoleCountLabel.md) + - [PowerFeedBreakerPoleCountValue](PowerFeedBreakerPoleCountValue.md) - [PowerFeedPhase](PowerFeedPhase.md) - [PowerFeedPhaseLabel](PowerFeedPhaseLabel.md) - [PowerFeedPhaseValue](PowerFeedPhaseValue.md) + - [PowerFeedPowerPath](PowerFeedPowerPath.md) + - [PowerFeedPowerPathLabel](PowerFeedPowerPathLabel.md) + - [PowerFeedPowerPathValue](PowerFeedPowerPathValue.md) - [PowerFeedSupply](PowerFeedSupply.md) - [PowerFeedSupplyLabel](PowerFeedSupplyLabel.md) - [PowerFeedSupplyValue](PowerFeedSupplyValue.md) @@ -2236,7 +2396,10 @@ Class | Method | HTTP request | Description - [PowerOutletTypeLabel](PowerOutletTypeLabel.md) - [PowerOutletTypeValue](PowerOutletTypeValue.md) - [PowerPanel](PowerPanel.md) - - [PowerPanelRequest](PowerPanelRequest.md) + - [PowerPanelPanelType](PowerPanelPanelType.md) + - [PowerPanelPanelTypeLabel](PowerPanelPanelTypeLabel.md) + - [PowerPanelPanelTypeValue](PowerPanelPanelTypeValue.md) + - [PowerPathEnum](PowerPathEnum.md) - [PowerPort](PowerPort.md) - [PowerPortTemplate](PowerPortTemplate.md) - [PowerPortType](PowerPortType.md) @@ -2258,6 +2421,7 @@ Class | Method | HTTP request | Description - [ProviderNetwork](ProviderNetwork.md) - [ProviderNetworkRequest](ProviderNetworkRequest.md) - [ProviderRequest](ProviderRequest.md) + - [QueueTypeEnum](QueueTypeEnum.md) - [RIR](RIR.md) - [RIRRequest](RIRRequest.md) - [Rack](Rack.md) @@ -2278,14 +2442,22 @@ Class | Method | HTTP request | Description - [RackWidth](RackWidth.md) - [RackWidthLabel](RackWidthLabel.md) - [RackWidthValue](RackWidthValue.md) + - [RadioProfile](RadioProfile.md) + - [RadioProfileChannelWidthInner](RadioProfileChannelWidthInner.md) + - [RadioProfileChannelWidthInnerLabel](RadioProfileChannelWidthInnerLabel.md) + - [RadioProfileChannelWidthInnerValue](RadioProfileChannelWidthInnerValue.md) + - [RadioProfileRequest](RadioProfileRequest.md) - [RearPort](RearPort.md) - [RearPortTemplate](RearPortTemplate.md) - [RedundancyProtocol](RedundancyProtocol.md) + - [RegulatoryDomainEnum](RegulatoryDomainEnum.md) - [Relationship](Relationship.md) - [RelationshipAssociation](RelationshipAssociation.md) - [RelationshipAssociationRequest](RelationshipAssociationRequest.md) - [RelationshipRequest](RelationshipRequest.md) - [RelationshipTypeChoices](RelationshipTypeChoices.md) + - [RenderJinja](RenderJinja.md) + - [RenderJinjaRequest](RenderJinjaRequest.md) - [RequiredOnEnum](RequiredOnEnum.md) - [Role](Role.md) - [RoleRequest](RoleRequest.md) @@ -2313,6 +2485,7 @@ Class | Method | HTTP request | Description - [SoftwareImageFiles](SoftwareImageFiles.md) - [SoftwareVersion](SoftwareVersion.md) - [SoftwareVersionRequest](SoftwareVersionRequest.md) + - [StandardEnum](StandardEnum.md) - [StaticGroupAssociation](StaticGroupAssociation.md) - [StaticGroupAssociationRequest](StaticGroupAssociationRequest.md) - [Status](Status.md) @@ -2320,6 +2493,8 @@ Class | Method | HTTP request | Description - [StatusRetrieve200Response](StatusRetrieve200Response.md) - [SubdeviceRoleEnum](SubdeviceRoleEnum.md) - [SupplyEnum](SupplyEnum.md) + - [SupportedDataRate](SupportedDataRate.md) + - [SupportedDataRateRequest](SupportedDataRateRequest.md) - [SwaggerRetrieveFormatParameter](SwaggerRetrieveFormatParameter.md) - [SwaggerRetrieveLangParameter](SwaggerRetrieveLangParameter.md) - [Tag](Tag.md) @@ -2340,6 +2515,7 @@ Class | Method | HTTP request | Description - [UserSavedViewAssociationRequest](UserSavedViewAssociationRequest.md) - [UserSpecificDefaultSavedViews](UserSpecificDefaultSavedViews.md) - [VLAN](VLAN.md) + - [VLANAllocationRequest](VLANAllocationRequest.md) - [VLANGroup](VLANGroup.md) - [VLANGroupRequest](VLANGroupRequest.md) - [VLANLocationAssignment](VLANLocationAssignment.md) @@ -2354,11 +2530,16 @@ Class | Method | HTTP request | Description - [VRFRequest](VRFRequest.md) - [VirtualChassis](VirtualChassis.md) - [VirtualChassisRequest](VirtualChassisRequest.md) + - [VirtualDeviceContext](VirtualDeviceContext.md) + - [VirtualDeviceContextRequest](VirtualDeviceContextRequest.md) - [VirtualMachine](VirtualMachine.md) - [VirtualMachineRequest](VirtualMachineRequest.md) - [Webhook](Webhook.md) - [WebhookRequest](WebhookRequest.md) - [WidthEnum](WidthEnum.md) + - [WirelessNetwork](WirelessNetwork.md) + - [WirelessNetworkModeChoices](WirelessNetworkModeChoices.md) + - [WirelessNetworkRequest](WirelessNetworkRequest.md) - [WritableCableRequest](WritableCableRequest.md) - [WritableConsolePortRequest](WritableConsolePortRequest.md) - [WritableConsolePortTemplateRequest](WritableConsolePortTemplateRequest.md) @@ -2376,6 +2557,7 @@ Class | Method | HTTP request | Description - [WritablePowerFeedRequest](WritablePowerFeedRequest.md) - [WritablePowerOutletRequest](WritablePowerOutletRequest.md) - [WritablePowerOutletTemplateRequest](WritablePowerOutletTemplateRequest.md) + - [WritablePowerPanelRequest](WritablePowerPanelRequest.md) - [WritablePowerPortRequest](WritablePowerPortRequest.md) - [WritablePowerPortTemplateRequest](WritablePowerPortTemplateRequest.md) - [WritablePrefixRequest](WritablePrefixRequest.md) @@ -2410,7 +2592,7 @@ r, err := client.Service.Operation(auth, args) - **API key parameter name**: sessionid - **Location**: -Note, each API key must be added to a map of `map[string]APIKey` where the key is: sessionid and passed in as the auth context for each request. +Note, each API key must be added to a map of `map[string]APIKey` where the key is: cookieAuth and passed in as the auth context for each request. Example @@ -2419,7 +2601,7 @@ auth := context.WithValue( context.Background(), nautobot.ContextAPIKeys, map[string]nautobot.APIKey{ - "sessionid": {Key: "API_KEY_STRING"}, + "cookieAuth": {Key: "API_KEY_STRING"}, }, ) r, err := client.Service.Operation(auth, args) @@ -2431,7 +2613,7 @@ r, err := client.Service.Operation(auth, args) - **API key parameter name**: Authorization - **Location**: HTTP header -Note, each API key must be added to a map of `map[string]APIKey` where the key is: Authorization and passed in as the auth context for each request. +Note, each API key must be added to a map of `map[string]APIKey` where the key is: tokenAuth and passed in as the auth context for each request. Example @@ -2440,7 +2622,7 @@ auth := context.WithValue( context.Background(), nautobot.ContextAPIKeys, map[string]nautobot.APIKey{ - "Authorization": {Key: "API_KEY_STRING"}, + "tokenAuth": {Key: "API_KEY_STRING"}, }, ) r, err := client.Service.Operation(auth, args) diff --git a/docs/RIR.md b/docs/RIR.md index 8216d356..4d9eb671 100644 --- a/docs/RIR.md +++ b/docs/RIR.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 ### NewRIR -`func NewRIR(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RIR` +`func NewRIR(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RIR` NewRIR instantiates a new RIR 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 *RIR) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RIRRequest.md b/docs/RIRRequest.md index 89f1a19f..b6b02dbf 100644 --- a/docs/RIRRequest.md +++ b/docs/RIRRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **IsPrivate** | Pointer to **bool** | IP space managed by this RIR is considered private | [optional] **Description** | Pointer to **string** | | [optional] @@ -29,6 +30,31 @@ NewRIRRequestWithDefaults instantiates a new RIRRequest 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 *RIRRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RIRRequest) 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 *RIRRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RIRRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *RIRRequest) GetName() string` diff --git a/docs/Rack.md b/docs/Rack.md index 1f6a4289..230472ff 100644 --- a/docs/Rack.md +++ b/docs/Rack.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] @@ -38,7 +38,7 @@ Name | Type | Description | Notes ### NewRack -`func NewRack(id string, objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Rack` +`func NewRack(objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Rack` NewRack instantiates a new Rack object This constructor will assign default values to properties that have it defined, @@ -72,6 +72,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *Rack) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RackGroup.md b/docs/RackGroup.md index daac62d0..2277442c 100644 --- a/docs/RackGroup.md +++ b/docs/RackGroup.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 ### NewRackGroup -`func NewRackGroup(id string, objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RackGroup` +`func NewRackGroup(objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RackGroup` NewRackGroup instantiates a new RackGroup 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 *RackGroup) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RackGroupRequest.md b/docs/RackGroupRequest.md index dcb9a2c0..50defa18 100644 --- a/docs/RackGroupRequest.md +++ b/docs/RackGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -30,6 +31,31 @@ NewRackGroupRequestWithDefaults instantiates a new RackGroupRequest 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 *RackGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RackGroupRequest) 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 *RackGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RackGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *RackGroupRequest) GetName() string` diff --git a/docs/RackReservation.md b/docs/RackReservation.md index 5095929b..3e5f42b8 100644 --- a/docs/RackReservation.md +++ b/docs/RackReservation.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 ### NewRackReservation -`func NewRackReservation(id string, objectType string, display string, url string, naturalSlug string, units interface{}, description string, rack BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RackReservation` +`func NewRackReservation(objectType string, display string, url string, naturalSlug string, units interface{}, description string, rack BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RackReservation` NewRackReservation instantiates a new RackReservation 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 *RackReservation) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RackReservationRequest.md b/docs/RackReservationRequest.md index 5cb75f2a..9037760a 100644 --- a/docs/RackReservationRequest.md +++ b/docs/RackReservationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Units** | **interface{}** | List of rack unit numbers to reserve | **Description** | **string** | | **Rack** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | @@ -32,6 +33,31 @@ NewRackReservationRequestWithDefaults instantiates a new RackReservationRequest 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 *RackReservationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RackReservationRequest) 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 *RackReservationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RackReservationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetUnits `func (o *RackReservationRequest) GetUnits() interface{}` diff --git a/docs/RadioProfile.md b/docs/RadioProfile.md new file mode 100644 index 00000000..85317f5f --- /dev/null +++ b/docs/RadioProfile.md @@ -0,0 +1,529 @@ +# RadioProfile + +## 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] +**ChannelWidth** | Pointer to [**[]RadioProfileChannelWidthInner**](RadioProfileChannelWidthInner.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] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**NotesUrl** | **string** | | [readonly] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] + +## Methods + +### NewRadioProfile + +`func NewRadioProfile(objectType string, display string, url string, naturalSlug string, name string, regulatoryDomain RegulatoryDomainEnum, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RadioProfile` + +NewRadioProfile instantiates a new RadioProfile 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 + +### NewRadioProfileWithDefaults + +`func NewRadioProfileWithDefaults() *RadioProfile` + +NewRadioProfileWithDefaults instantiates a new RadioProfile 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 *RadioProfile) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RadioProfile) 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 *RadioProfile) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RadioProfile) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetObjectType + +`func (o *RadioProfile) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *RadioProfile) 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 *RadioProfile) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetDisplay + +`func (o *RadioProfile) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *RadioProfile) 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 *RadioProfile) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetUrl + +`func (o *RadioProfile) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *RadioProfile) 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 *RadioProfile) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetNaturalSlug + +`func (o *RadioProfile) GetNaturalSlug() string` + +GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise. + +### GetNaturalSlugOk + +`func (o *RadioProfile) 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 *RadioProfile) SetNaturalSlug(v string)` + +SetNaturalSlug sets NaturalSlug field to given value. + + +### GetChannelWidth + +`func (o *RadioProfile) GetChannelWidth() []RadioProfileChannelWidthInner` + +GetChannelWidth returns the ChannelWidth field if non-nil, zero value otherwise. + +### GetChannelWidthOk + +`func (o *RadioProfile) GetChannelWidthOk() (*[]RadioProfileChannelWidthInner, 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 *RadioProfile) SetChannelWidth(v []RadioProfileChannelWidthInner)` + +SetChannelWidth sets ChannelWidth field to given value. + +### HasChannelWidth + +`func (o *RadioProfile) HasChannelWidth() bool` + +HasChannelWidth returns a boolean if a field has been set. + +### GetAllowedChannelList + +`func (o *RadioProfile) GetAllowedChannelList() []int32` + +GetAllowedChannelList returns the AllowedChannelList field if non-nil, zero value otherwise. + +### GetAllowedChannelListOk + +`func (o *RadioProfile) 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 *RadioProfile) SetAllowedChannelList(v []int32)` + +SetAllowedChannelList sets AllowedChannelList field to given value. + +### HasAllowedChannelList + +`func (o *RadioProfile) HasAllowedChannelList() bool` + +HasAllowedChannelList returns a boolean if a field has been set. + +### GetName + +`func (o *RadioProfile) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RadioProfile) 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 *RadioProfile) SetName(v string)` + +SetName sets Name field to given value. + + +### GetFrequency + +`func (o *RadioProfile) GetFrequency() BulkWritableRadioProfileRequestFrequency` + +GetFrequency returns the Frequency field if non-nil, zero value otherwise. + +### GetFrequencyOk + +`func (o *RadioProfile) 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 *RadioProfile) SetFrequency(v BulkWritableRadioProfileRequestFrequency)` + +SetFrequency sets Frequency field to given value. + +### HasFrequency + +`func (o *RadioProfile) HasFrequency() bool` + +HasFrequency returns a boolean if a field has been set. + +### GetTxPowerMin + +`func (o *RadioProfile) GetTxPowerMin() int32` + +GetTxPowerMin returns the TxPowerMin field if non-nil, zero value otherwise. + +### GetTxPowerMinOk + +`func (o *RadioProfile) 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 *RadioProfile) SetTxPowerMin(v int32)` + +SetTxPowerMin sets TxPowerMin field to given value. + +### HasTxPowerMin + +`func (o *RadioProfile) HasTxPowerMin() bool` + +HasTxPowerMin returns a boolean if a field has been set. + +### SetTxPowerMinNil + +`func (o *RadioProfile) SetTxPowerMinNil(b bool)` + + SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil + +### UnsetTxPowerMin +`func (o *RadioProfile) UnsetTxPowerMin()` + +UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +### GetTxPowerMax + +`func (o *RadioProfile) GetTxPowerMax() int32` + +GetTxPowerMax returns the TxPowerMax field if non-nil, zero value otherwise. + +### GetTxPowerMaxOk + +`func (o *RadioProfile) 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 *RadioProfile) SetTxPowerMax(v int32)` + +SetTxPowerMax sets TxPowerMax field to given value. + +### HasTxPowerMax + +`func (o *RadioProfile) HasTxPowerMax() bool` + +HasTxPowerMax returns a boolean if a field has been set. + +### SetTxPowerMaxNil + +`func (o *RadioProfile) SetTxPowerMaxNil(b bool)` + + SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil + +### UnsetTxPowerMax +`func (o *RadioProfile) UnsetTxPowerMax()` + +UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +### GetRegulatoryDomain + +`func (o *RadioProfile) GetRegulatoryDomain() RegulatoryDomainEnum` + +GetRegulatoryDomain returns the RegulatoryDomain field if non-nil, zero value otherwise. + +### GetRegulatoryDomainOk + +`func (o *RadioProfile) 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 *RadioProfile) SetRegulatoryDomain(v RegulatoryDomainEnum)` + +SetRegulatoryDomain sets RegulatoryDomain field to given value. + + +### GetRxPowerMin + +`func (o *RadioProfile) GetRxPowerMin() int32` + +GetRxPowerMin returns the RxPowerMin field if non-nil, zero value otherwise. + +### GetRxPowerMinOk + +`func (o *RadioProfile) 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 *RadioProfile) SetRxPowerMin(v int32)` + +SetRxPowerMin sets RxPowerMin field to given value. + +### HasRxPowerMin + +`func (o *RadioProfile) HasRxPowerMin() bool` + +HasRxPowerMin returns a boolean if a field has been set. + +### SetRxPowerMinNil + +`func (o *RadioProfile) SetRxPowerMinNil(b bool)` + + SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil + +### UnsetRxPowerMin +`func (o *RadioProfile) UnsetRxPowerMin()` + +UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +### GetSupportedDataRates + +`func (o *RadioProfile) GetSupportedDataRates() []BulkWritableCableRequestStatus` + +GetSupportedDataRates returns the SupportedDataRates field if non-nil, zero value otherwise. + +### GetSupportedDataRatesOk + +`func (o *RadioProfile) 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 *RadioProfile) SetSupportedDataRates(v []BulkWritableCableRequestStatus)` + +SetSupportedDataRates sets SupportedDataRates field to given value. + +### HasSupportedDataRates + +`func (o *RadioProfile) HasSupportedDataRates() bool` + +HasSupportedDataRates returns a boolean if a field has been set. + +### GetCreated + +`func (o *RadioProfile) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *RadioProfile) 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 *RadioProfile) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *RadioProfile) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *RadioProfile) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *RadioProfile) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *RadioProfile) 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 *RadioProfile) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *RadioProfile) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *RadioProfile) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetNotesUrl + +`func (o *RadioProfile) GetNotesUrl() string` + +GetNotesUrl returns the NotesUrl field if non-nil, zero value otherwise. + +### GetNotesUrlOk + +`func (o *RadioProfile) 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 *RadioProfile) SetNotesUrl(v string)` + +SetNotesUrl sets NotesUrl field to given value. + + +### GetCustomFields + +`func (o *RadioProfile) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RadioProfile) 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 *RadioProfile) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RadioProfile) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetTags + +`func (o *RadioProfile) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RadioProfile) 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 *RadioProfile) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RadioProfile) 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/RadioProfileChannelWidthInner.md b/docs/RadioProfileChannelWidthInner.md new file mode 100644 index 00000000..5d6490c9 --- /dev/null +++ b/docs/RadioProfileChannelWidthInner.md @@ -0,0 +1,82 @@ +# RadioProfileChannelWidthInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**RadioProfileChannelWidthInnerValue**](RadioProfileChannelWidthInnerValue.md) | | [optional] +**Label** | Pointer to [**RadioProfileChannelWidthInnerLabel**](RadioProfileChannelWidthInnerLabel.md) | | [optional] + +## Methods + +### NewRadioProfileChannelWidthInner + +`func NewRadioProfileChannelWidthInner() *RadioProfileChannelWidthInner` + +NewRadioProfileChannelWidthInner instantiates a new RadioProfileChannelWidthInner 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 + +### NewRadioProfileChannelWidthInnerWithDefaults + +`func NewRadioProfileChannelWidthInnerWithDefaults() *RadioProfileChannelWidthInner` + +NewRadioProfileChannelWidthInnerWithDefaults instantiates a new RadioProfileChannelWidthInner 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 *RadioProfileChannelWidthInner) GetValue() RadioProfileChannelWidthInnerValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *RadioProfileChannelWidthInner) GetValueOk() (*RadioProfileChannelWidthInnerValue, 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 *RadioProfileChannelWidthInner) SetValue(v RadioProfileChannelWidthInnerValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *RadioProfileChannelWidthInner) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *RadioProfileChannelWidthInner) GetLabel() RadioProfileChannelWidthInnerLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RadioProfileChannelWidthInner) GetLabelOk() (*RadioProfileChannelWidthInnerLabel, 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 *RadioProfileChannelWidthInner) SetLabel(v RadioProfileChannelWidthInnerLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RadioProfileChannelWidthInner) 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/RadioProfileChannelWidthInnerLabel.md b/docs/RadioProfileChannelWidthInnerLabel.md new file mode 100644 index 00000000..e2c66b6b --- /dev/null +++ b/docs/RadioProfileChannelWidthInnerLabel.md @@ -0,0 +1,17 @@ +# RadioProfileChannelWidthInnerLabel + +## Enum + + +* `_20_MHZ` (value: `"20 MHz"`) + +* `_40_MHZ` (value: `"40 MHz"`) + +* `_80_MHZ` (value: `"80 MHz"`) + +* `_160_MHZ` (value: `"160 MHz"`) + + +[[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/RadioProfileChannelWidthInnerValue.md b/docs/RadioProfileChannelWidthInnerValue.md new file mode 100644 index 00000000..556af64d --- /dev/null +++ b/docs/RadioProfileChannelWidthInnerValue.md @@ -0,0 +1,17 @@ +# RadioProfileChannelWidthInnerValue + +## 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/RadioProfileRequest.md b/docs/RadioProfileRequest.md new file mode 100644 index 00000000..fbc02060 --- /dev/null +++ b/docs/RadioProfileRequest.md @@ -0,0 +1,388 @@ +# RadioProfileRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**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 + +### NewRadioProfileRequest + +`func NewRadioProfileRequest(name string, regulatoryDomain RegulatoryDomainEnum, ) *RadioProfileRequest` + +NewRadioProfileRequest instantiates a new RadioProfileRequest 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 + +### NewRadioProfileRequestWithDefaults + +`func NewRadioProfileRequestWithDefaults() *RadioProfileRequest` + +NewRadioProfileRequestWithDefaults instantiates a new RadioProfileRequest 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 *RadioProfileRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RadioProfileRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetChannelWidth + +`func (o *RadioProfileRequest) GetChannelWidth() []ChannelWidthEnum` + +GetChannelWidth returns the ChannelWidth field if non-nil, zero value otherwise. + +### GetChannelWidthOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum)` + +SetChannelWidth sets ChannelWidth field to given value. + +### HasChannelWidth + +`func (o *RadioProfileRequest) HasChannelWidth() bool` + +HasChannelWidth returns a boolean if a field has been set. + +### GetAllowedChannelList + +`func (o *RadioProfileRequest) GetAllowedChannelList() []int32` + +GetAllowedChannelList returns the AllowedChannelList field if non-nil, zero value otherwise. + +### GetAllowedChannelListOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetAllowedChannelList(v []int32)` + +SetAllowedChannelList sets AllowedChannelList field to given value. + +### HasAllowedChannelList + +`func (o *RadioProfileRequest) HasAllowedChannelList() bool` + +HasAllowedChannelList returns a boolean if a field has been set. + +### GetName + +`func (o *RadioProfileRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetFrequency + +`func (o *RadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency` + +GetFrequency returns the Frequency field if non-nil, zero value otherwise. + +### GetFrequencyOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency)` + +SetFrequency sets Frequency field to given value. + +### HasFrequency + +`func (o *RadioProfileRequest) HasFrequency() bool` + +HasFrequency returns a boolean if a field has been set. + +### GetTxPowerMin + +`func (o *RadioProfileRequest) GetTxPowerMin() int32` + +GetTxPowerMin returns the TxPowerMin field if non-nil, zero value otherwise. + +### GetTxPowerMinOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetTxPowerMin(v int32)` + +SetTxPowerMin sets TxPowerMin field to given value. + +### HasTxPowerMin + +`func (o *RadioProfileRequest) HasTxPowerMin() bool` + +HasTxPowerMin returns a boolean if a field has been set. + +### SetTxPowerMinNil + +`func (o *RadioProfileRequest) SetTxPowerMinNil(b bool)` + + SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil + +### UnsetTxPowerMin +`func (o *RadioProfileRequest) UnsetTxPowerMin()` + +UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +### GetTxPowerMax + +`func (o *RadioProfileRequest) GetTxPowerMax() int32` + +GetTxPowerMax returns the TxPowerMax field if non-nil, zero value otherwise. + +### GetTxPowerMaxOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetTxPowerMax(v int32)` + +SetTxPowerMax sets TxPowerMax field to given value. + +### HasTxPowerMax + +`func (o *RadioProfileRequest) HasTxPowerMax() bool` + +HasTxPowerMax returns a boolean if a field has been set. + +### SetTxPowerMaxNil + +`func (o *RadioProfileRequest) SetTxPowerMaxNil(b bool)` + + SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil + +### UnsetTxPowerMax +`func (o *RadioProfileRequest) UnsetTxPowerMax()` + +UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +### GetRegulatoryDomain + +`func (o *RadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum` + +GetRegulatoryDomain returns the RegulatoryDomain field if non-nil, zero value otherwise. + +### GetRegulatoryDomainOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum)` + +SetRegulatoryDomain sets RegulatoryDomain field to given value. + + +### GetRxPowerMin + +`func (o *RadioProfileRequest) GetRxPowerMin() int32` + +GetRxPowerMin returns the RxPowerMin field if non-nil, zero value otherwise. + +### GetRxPowerMinOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetRxPowerMin(v int32)` + +SetRxPowerMin sets RxPowerMin field to given value. + +### HasRxPowerMin + +`func (o *RadioProfileRequest) HasRxPowerMin() bool` + +HasRxPowerMin returns a boolean if a field has been set. + +### SetRxPowerMinNil + +`func (o *RadioProfileRequest) SetRxPowerMinNil(b bool)` + + SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil + +### UnsetRxPowerMin +`func (o *RadioProfileRequest) UnsetRxPowerMin()` + +UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +### GetSupportedDataRates + +`func (o *RadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus` + +GetSupportedDataRates returns the SupportedDataRates field if non-nil, zero value otherwise. + +### GetSupportedDataRatesOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus)` + +SetSupportedDataRates sets SupportedDataRates field to given value. + +### HasSupportedDataRates + +`func (o *RadioProfileRequest) HasSupportedDataRates() bool` + +HasSupportedDataRates returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *RadioProfileRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RadioProfileRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *RadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *RadioProfileRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *RadioProfileRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RadioProfileRequest) 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 *RadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RadioProfileRequest) 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/RearPort.md b/docs/RearPort.md index b7581a46..9e7e4401 100644 --- a/docs/RearPort.md +++ b/docs/RearPort.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 ### NewRearPort -`func NewRearPort(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, type_ FrontPortType, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RearPort` +`func NewRearPort(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, type_ FrontPortType, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RearPort` NewRearPort instantiates a new RearPort 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 *RearPort) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RearPortTemplate.md b/docs/RearPortTemplate.md index 4551c664..48a219f9 100644 --- a/docs/RearPortTemplate.md +++ b/docs/RearPortTemplate.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 ### NewRearPortTemplate -`func NewRearPortTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, type_ FrontPortType, name string, created NullableTime, lastUpdated NullableTime, ) *RearPortTemplate` +`func NewRearPortTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, type_ FrontPortType, name string, created NullableTime, lastUpdated NullableTime, ) *RearPortTemplate` NewRearPortTemplate instantiates a new RearPortTemplate 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 *RearPortTemplate) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RegulatoryDomainEnum.md b/docs/RegulatoryDomainEnum.md new file mode 100644 index 00000000..a54eeac5 --- /dev/null +++ b/docs/RegulatoryDomainEnum.md @@ -0,0 +1,261 @@ +# RegulatoryDomainEnum + +## Enum + + +* `AD` (value: `"AD"`) + +* `AE` (value: `"AE"`) + +* `AL` (value: `"AL"`) + +* `AM` (value: `"AM"`) + +* `AU` (value: `"AU"`) + +* `AR` (value: `"AR"`) + +* `AT` (value: `"AT"`) + +* `AZ` (value: `"AZ"`) + +* `BA` (value: `"BA"`) + +* `BE` (value: `"BE"`) + +* `BG` (value: `"BG"`) + +* `BH` (value: `"BH"`) + +* `BN` (value: `"BN"`) + +* `BO` (value: `"BO"`) + +* `BR` (value: `"BR"`) + +* `BS` (value: `"BS"`) + +* `BY` (value: `"BY"`) + +* `BZ` (value: `"BZ"`) + +* `CA` (value: `"CA"`) + +* `CH` (value: `"CH"`) + +* `CI` (value: `"CI"`) + +* `CL` (value: `"CL"`) + +* `CN` (value: `"CN"`) + +* `CO` (value: `"CO"`) + +* `CR` (value: `"CR"`) + +* `RS` (value: `"RS"`) + +* `CY` (value: `"CY"`) + +* `CZ` (value: `"CZ"`) + +* `DE` (value: `"DE"`) + +* `DK` (value: `"DK"`) + +* `DO` (value: `"DO"`) + +* `DZ` (value: `"DZ"`) + +* `EC` (value: `"EC"`) + +* `EE` (value: `"EE"`) + +* `EG` (value: `"EG"`) + +* `ES` (value: `"ES"`) + +* `FO` (value: `"FO"`) + +* `FI` (value: `"FI"`) + +* `FR` (value: `"FR"`) + +* `GB` (value: `"GB"`) + +* `GE` (value: `"GE"`) + +* `GI` (value: `"GI"`) + +* `GL` (value: `"GL"`) + +* `GP` (value: `"GP"`) + +* `GR` (value: `"GR"`) + +* `GT` (value: `"GT"`) + +* `GY` (value: `"GY"`) + +* `HN` (value: `"HN"`) + +* `HK` (value: `"HK"`) + +* `HR` (value: `"HR"`) + +* `HU` (value: `"HU"`) + +* `IS` (value: `"IS"`) + +* `IN` (value: `"IN"`) + +* `ID` (value: `"ID"`) + +* `IE` (value: `"IE"`) + +* `IL` (value: `"IL"`) + +* `IQ` (value: `"IQ"`) + +* `IT` (value: `"IT"`) + +* `IR` (value: `"IR"`) + +* `JM` (value: `"JM"`) + +* `JO` (value: `"JO"`) + +* `JP` (value: `"JP"`) + +* `KP` (value: `"KP"`) + +* `KR` (value: `"KR"`) + +* `KE` (value: `"KE"`) + +* `KW` (value: `"KW"`) + +* `KZ` (value: `"KZ"`) + +* `LB` (value: `"LB"`) + +* `LI` (value: `"LI"`) + +* `LK` (value: `"LK"`) + +* `LT` (value: `"LT"`) + +* `LU` (value: `"LU"`) + +* `LV` (value: `"LV"`) + +* `LY` (value: `"LY"`) + +* `MA` (value: `"MA"`) + +* `MC` (value: `"MC"`) + +* `MD` (value: `"MD"`) + +* `MK` (value: `"MK"`) + +* `MO` (value: `"MO"`) + +* `MQ` (value: `"MQ"`) + +* `MT` (value: `"MT"`) + +* `MU` (value: `"MU"`) + +* `MX` (value: `"MX"`) + +* `MY` (value: `"MY"`) + +* `NA` (value: `"NA"`) + +* `NG` (value: `"NG"`) + +* `NI` (value: `"NI"`) + +* `NL` (value: `"NL"`) + +* `NO` (value: `"NO"`) + +* `NZ` (value: `"NZ"`) + +* `OM` (value: `"OM"`) + +* `PA` (value: `"PA"`) + +* `PE` (value: `"PE"`) + +* `PL` (value: `"PL"`) + +* `PH` (value: `"PH"`) + +* `PK` (value: `"PK"`) + +* `PR` (value: `"PR"`) + +* `PT` (value: `"PT"`) + +* `PY` (value: `"PY"`) + +* `QA` (value: `"QA"`) + +* `RO` (value: `"RO"`) + +* `RU` (value: `"RU"`) + +* `SA` (value: `"SA"`) + +* `SE` (value: `"SE"`) + +* `SG` (value: `"SG"`) + +* `SI` (value: `"SI"`) + +* `SK` (value: `"SK"`) + +* `SM` (value: `"SM"`) + +* `SV` (value: `"SV"`) + +* `SY` (value: `"SY"`) + +* `TH` (value: `"TH"`) + +* `TN` (value: `"TN"`) + +* `TR` (value: `"TR"`) + +* `TT` (value: `"TT"`) + +* `TW` (value: `"TW"`) + +* `UA` (value: `"UA"`) + +* `US` (value: `"US"`) + +* `UY` (value: `"UY"`) + +* `UZ` (value: `"UZ"`) + +* `VA` (value: `"VA"`) + +* `VE` (value: `"VE"`) + +* `VI` (value: `"VI"`) + +* `VN` (value: `"VN"`) + +* `YE` (value: `"YE"`) + +* `ZA` (value: `"ZA"`) + +* `ZW` (value: `"ZW"`) + + +[[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/Relationship.md b/docs/Relationship.md index 26c36190..f1090d81 100644 --- a/docs/Relationship.md +++ b/docs/Relationship.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 ### NewRelationship -`func NewRelationship(id string, objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, label string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Relationship` +`func NewRelationship(objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, label string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Relationship` NewRelationship instantiates a new Relationship 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 *Relationship) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RelationshipAssociation.md b/docs/RelationshipAssociation.md index 352beb3e..1c163462 100644 --- a/docs/RelationshipAssociation.md +++ b/docs/RelationshipAssociation.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 ### NewRelationshipAssociation -`func NewRelationshipAssociation(id string, objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, sourceId string, destinationId string, relationship BulkWritableCableRequestStatus, ) *RelationshipAssociation` +`func NewRelationshipAssociation(objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, sourceId string, destinationId string, relationship BulkWritableCableRequestStatus, ) *RelationshipAssociation` NewRelationshipAssociation instantiates a new RelationshipAssociation 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 *RelationshipAssociation) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RelationshipAssociationRequest.md b/docs/RelationshipAssociationRequest.md index c8a5df78..4c67644c 100644 --- a/docs/RelationshipAssociationRequest.md +++ b/docs/RelationshipAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **SourceType** | **string** | | **DestinationType** | **string** | | **SourceId** | **string** | | @@ -29,6 +30,31 @@ NewRelationshipAssociationRequestWithDefaults instantiates a new RelationshipAss 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 *RelationshipAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RelationshipAssociationRequest) 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 *RelationshipAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RelationshipAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetSourceType `func (o *RelationshipAssociationRequest) GetSourceType() string` diff --git a/docs/RelationshipRequest.md b/docs/RelationshipRequest.md index b6318677..d8a5551b 100644 --- a/docs/RelationshipRequest.md +++ b/docs/RelationshipRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **SourceType** | **string** | | **DestinationType** | **string** | | **Label** | **string** | Label of the relationship as displayed to users | @@ -38,6 +39,31 @@ NewRelationshipRequestWithDefaults instantiates a new RelationshipRequest 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 *RelationshipRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RelationshipRequest) 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 *RelationshipRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RelationshipRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetSourceType `func (o *RelationshipRequest) GetSourceType() string` diff --git a/docs/RenderJinja.md b/docs/RenderJinja.md new file mode 100644 index 00000000..90f87c9a --- /dev/null +++ b/docs/RenderJinja.md @@ -0,0 +1,119 @@ +# RenderJinja + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateCode** | **string** | | +**Context** | Pointer to **map[string]interface{}** | | [optional] +**RenderedTemplate** | **string** | | [readonly] +**RenderedTemplateLines** | **[]string** | | [readonly] + +## Methods + +### NewRenderJinja + +`func NewRenderJinja(templateCode string, renderedTemplate string, renderedTemplateLines []string, ) *RenderJinja` + +NewRenderJinja instantiates a new RenderJinja 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 + +### NewRenderJinjaWithDefaults + +`func NewRenderJinjaWithDefaults() *RenderJinja` + +NewRenderJinjaWithDefaults instantiates a new RenderJinja 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 + +### GetTemplateCode + +`func (o *RenderJinja) GetTemplateCode() string` + +GetTemplateCode returns the TemplateCode field if non-nil, zero value otherwise. + +### GetTemplateCodeOk + +`func (o *RenderJinja) GetTemplateCodeOk() (*string, bool)` + +GetTemplateCodeOk returns a tuple with the TemplateCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTemplateCode + +`func (o *RenderJinja) SetTemplateCode(v string)` + +SetTemplateCode sets TemplateCode field to given value. + + +### GetContext + +`func (o *RenderJinja) GetContext() map[string]interface{}` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *RenderJinja) GetContextOk() (*map[string]interface{}, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *RenderJinja) SetContext(v map[string]interface{})` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *RenderJinja) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetRenderedTemplate + +`func (o *RenderJinja) GetRenderedTemplate() string` + +GetRenderedTemplate returns the RenderedTemplate field if non-nil, zero value otherwise. + +### GetRenderedTemplateOk + +`func (o *RenderJinja) GetRenderedTemplateOk() (*string, bool)` + +GetRenderedTemplateOk returns a tuple with the RenderedTemplate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRenderedTemplate + +`func (o *RenderJinja) SetRenderedTemplate(v string)` + +SetRenderedTemplate sets RenderedTemplate field to given value. + + +### GetRenderedTemplateLines + +`func (o *RenderJinja) GetRenderedTemplateLines() []string` + +GetRenderedTemplateLines returns the RenderedTemplateLines field if non-nil, zero value otherwise. + +### GetRenderedTemplateLinesOk + +`func (o *RenderJinja) GetRenderedTemplateLinesOk() (*[]string, bool)` + +GetRenderedTemplateLinesOk returns a tuple with the RenderedTemplateLines field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRenderedTemplateLines + +`func (o *RenderJinja) SetRenderedTemplateLines(v []string)` + +SetRenderedTemplateLines sets RenderedTemplateLines 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/RenderJinjaRequest.md b/docs/RenderJinjaRequest.md new file mode 100644 index 00000000..d306b7a9 --- /dev/null +++ b/docs/RenderJinjaRequest.md @@ -0,0 +1,77 @@ +# RenderJinjaRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateCode** | **string** | | +**Context** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewRenderJinjaRequest + +`func NewRenderJinjaRequest(templateCode string, ) *RenderJinjaRequest` + +NewRenderJinjaRequest instantiates a new RenderJinjaRequest 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 + +### NewRenderJinjaRequestWithDefaults + +`func NewRenderJinjaRequestWithDefaults() *RenderJinjaRequest` + +NewRenderJinjaRequestWithDefaults instantiates a new RenderJinjaRequest 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 + +### GetTemplateCode + +`func (o *RenderJinjaRequest) GetTemplateCode() string` + +GetTemplateCode returns the TemplateCode field if non-nil, zero value otherwise. + +### GetTemplateCodeOk + +`func (o *RenderJinjaRequest) GetTemplateCodeOk() (*string, bool)` + +GetTemplateCodeOk returns a tuple with the TemplateCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTemplateCode + +`func (o *RenderJinjaRequest) SetTemplateCode(v string)` + +SetTemplateCode sets TemplateCode field to given value. + + +### GetContext + +`func (o *RenderJinjaRequest) GetContext() map[string]interface{}` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *RenderJinjaRequest) GetContextOk() (*map[string]interface{}, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *RenderJinjaRequest) SetContext(v map[string]interface{})` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *RenderJinjaRequest) HasContext() bool` + +HasContext 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/Role.md b/docs/Role.md index 3a2b17a9..8a25d6cd 100644 --- a/docs/Role.md +++ b/docs/Role.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] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewRole -`func NewRole(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Role` +`func NewRole(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Role` NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, @@ -57,6 +57,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *Role) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RoleRequest.md b/docs/RoleRequest.md index 38d1f919..2d6d6ec5 100644 --- a/docs/RoleRequest.md +++ b/docs/RoleRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | **[]string** | | **Name** | **string** | | **Color** | Pointer to **string** | RGB color in hexadecimal (e.g. 00ff00) | [optional] @@ -31,6 +32,31 @@ NewRoleRequestWithDefaults instantiates a new RoleRequest 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 *RoleRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RoleRequest) 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 *RoleRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RoleRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *RoleRequest) GetContentTypes() []string` diff --git a/docs/RouteTarget.md b/docs/RouteTarget.md index d0e4f6b2..91bc2f4f 100644 --- a/docs/RouteTarget.md +++ b/docs/RouteTarget.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 ### NewRouteTarget -`func NewRouteTarget(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RouteTarget` +`func NewRouteTarget(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *RouteTarget` NewRouteTarget instantiates a new RouteTarget 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 *RouteTarget) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/RouteTargetRequest.md b/docs/RouteTargetRequest.md index 60323502..330fd69d 100644 --- a/docs/RouteTargetRequest.md +++ b/docs/RouteTargetRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | Route target value (formatted in accordance with RFC 4360) | **Description** | Pointer to **string** | | [optional] **Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -30,6 +31,31 @@ NewRouteTargetRequestWithDefaults instantiates a new RouteTargetRequest 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 *RouteTargetRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RouteTargetRequest) 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 *RouteTargetRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RouteTargetRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *RouteTargetRequest) GetName() string` diff --git a/docs/SavedView.md b/docs/SavedView.md index 02266e91..6618a5c4 100644 --- a/docs/SavedView.md +++ b/docs/SavedView.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 ### NewSavedView -`func NewSavedView(id string, objectType string, display string, url string, naturalSlug string, name string, view string, owner BulkWritableSavedViewRequestOwner, created NullableTime, lastUpdated NullableTime, ) *SavedView` +`func NewSavedView(objectType string, display string, url string, naturalSlug string, name string, view string, owner BulkWritableSavedViewRequestOwner, created NullableTime, lastUpdated NullableTime, ) *SavedView` NewSavedView instantiates a new SavedView 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 *SavedView) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/SavedViewRequest.md b/docs/SavedViewRequest.md index 01124329..557adc77 100644 --- a/docs/SavedViewRequest.md +++ b/docs/SavedViewRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | The name of this view | **View** | **string** | The name of the list view that the saved view is derived from, e.g. dcim:device_list | **Config** | Pointer to **interface{}** | Saved Configuration on this view | [optional] @@ -30,6 +31,31 @@ NewSavedViewRequestWithDefaults instantiates a new SavedViewRequest 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 *SavedViewRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SavedViewRequest) 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 *SavedViewRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SavedViewRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *SavedViewRequest) GetName() string` diff --git a/docs/ScheduledJob.md b/docs/ScheduledJob.md index 3b71dc32..8899b812 100644 --- a/docs/ScheduledJob.md +++ b/docs/ScheduledJob.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] +**Queue** | **string** | | [readonly] **TimeZone** | Pointer to **string** | | [optional] **Name** | **string** | Human-readable description of this scheduled task | **Task** | **string** | The name of the Celery task that should be run. (Example: \"proj.tasks.import_contacts\") | @@ -16,7 +17,6 @@ Name | Type | Description | Notes **Args** | Pointer to **interface{}** | | [optional] **Kwargs** | Pointer to **interface{}** | | [optional] **CeleryKwargs** | Pointer to **interface{}** | | [optional] -**Queue** | Pointer to **string** | Queue defined in CELERY_TASK_QUEUES. Leave empty for default queuing. | [optional] **OneOff** | Pointer to **bool** | If True, the schedule will only run the task a single time | [optional] **StartTime** | **time.Time** | Datetime when the schedule should begin triggering the task to run | **Enabled** | Pointer to **bool** | Set to False to disable the schedule | [optional] @@ -28,6 +28,7 @@ Name | Type | Description | Notes **ApprovedAt** | **NullableTime** | Datetime that the schedule was approved | [readonly] **Crontab** | Pointer to **string** | Cronjob syntax string for custom scheduling | [optional] **JobModel** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] +**JobQueue** | Pointer to [**NullableJobQueueOverride**](JobQueueOverride.md) | | [optional] **User** | Pointer to [**NullableScheduledJobUser**](ScheduledJobUser.md) | | [optional] **ApprovedByUser** | Pointer to [**NullableScheduledJobApprovedByUser**](ScheduledJobApprovedByUser.md) | | [optional] @@ -35,7 +36,7 @@ Name | Type | Description | Notes ### NewScheduledJob -`func NewScheduledJob(id string, objectType string, display string, url string, naturalSlug string, name string, task string, interval JobExecutionTypeIntervalChoices, startTime time.Time, lastRunAt NullableTime, dateChanged time.Time, approvedAt NullableTime, ) *ScheduledJob` +`func NewScheduledJob(objectType string, display string, url string, naturalSlug string, queue string, name string, task string, interval JobExecutionTypeIntervalChoices, startTime time.Time, lastRunAt NullableTime, dateChanged time.Time, approvedAt NullableTime, ) *ScheduledJob` NewScheduledJob instantiates a new ScheduledJob object This constructor will assign default values to properties that have it defined, @@ -69,6 +70,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *ScheduledJob) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -150,6 +156,26 @@ and a boolean to check if the value has been set. SetNaturalSlug sets NaturalSlug field to given value. +### GetQueue + +`func (o *ScheduledJob) GetQueue() string` + +GetQueue returns the Queue field if non-nil, zero value otherwise. + +### GetQueueOk + +`func (o *ScheduledJob) GetQueueOk() (*string, bool)` + +GetQueueOk returns a tuple with the Queue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQueue + +`func (o *ScheduledJob) SetQueue(v string)` + +SetQueue sets Queue field to given value. + + ### GetTimeZone `func (o *ScheduledJob) GetTimeZone() string` @@ -340,31 +366,6 @@ HasCeleryKwargs returns a boolean if a field has been set. `func (o *ScheduledJob) UnsetCeleryKwargs()` UnsetCeleryKwargs ensures that no value is present for CeleryKwargs, not even an explicit nil -### GetQueue - -`func (o *ScheduledJob) GetQueue() string` - -GetQueue returns the Queue field if non-nil, zero value otherwise. - -### GetQueueOk - -`func (o *ScheduledJob) GetQueueOk() (*string, bool)` - -GetQueueOk returns a tuple with the Queue field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQueue - -`func (o *ScheduledJob) SetQueue(v string)` - -SetQueue sets Queue field to given value. - -### HasQueue - -`func (o *ScheduledJob) HasQueue() bool` - -HasQueue returns a boolean if a field has been set. - ### GetOneOff `func (o *ScheduledJob) GetOneOff() bool` @@ -650,6 +651,41 @@ HasJobModel returns a boolean if a field has been set. `func (o *ScheduledJob) UnsetJobModel()` UnsetJobModel ensures that no value is present for JobModel, not even an explicit nil +### GetJobQueue + +`func (o *ScheduledJob) GetJobQueue() JobQueueOverride` + +GetJobQueue returns the JobQueue field if non-nil, zero value otherwise. + +### GetJobQueueOk + +`func (o *ScheduledJob) GetJobQueueOk() (*JobQueueOverride, 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 *ScheduledJob) SetJobQueue(v JobQueueOverride)` + +SetJobQueue sets JobQueue field to given value. + +### HasJobQueue + +`func (o *ScheduledJob) HasJobQueue() bool` + +HasJobQueue returns a boolean if a field has been set. + +### SetJobQueueNil + +`func (o *ScheduledJob) SetJobQueueNil(b bool)` + + SetJobQueueNil sets the value for JobQueue to be an explicit nil + +### UnsetJobQueue +`func (o *ScheduledJob) UnsetJobQueue()` + +UnsetJobQueue ensures that no value is present for JobQueue, not even an explicit nil ### GetUser `func (o *ScheduledJob) GetUser() ScheduledJobUser` diff --git a/docs/Secret.md b/docs/Secret.md index b47c70bb..9197c7e6 100644 --- a/docs/Secret.md +++ b/docs/Secret.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] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewSecret -`func NewSecret(id string, objectType string, display string, url string, naturalSlug string, name string, provider string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Secret` +`func NewSecret(objectType string, display string, url string, naturalSlug string, name string, provider string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Secret` NewSecret instantiates a new Secret object This constructor will assign default values to properties that have it defined, @@ -57,6 +57,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *Secret) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/SecretRequest.md b/docs/SecretRequest.md index c3d606ba..0d32c9b1 100644 --- a/docs/SecretRequest.md +++ b/docs/SecretRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Provider** | **string** | | @@ -31,6 +32,31 @@ NewSecretRequestWithDefaults instantiates a new SecretRequest 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 *SecretRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SecretRequest) 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 *SecretRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SecretRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *SecretRequest) GetName() string` diff --git a/docs/SecretTypeEnum.md b/docs/SecretTypeEnum.md index 556b8f71..99f033f9 100644 --- a/docs/SecretTypeEnum.md +++ b/docs/SecretTypeEnum.md @@ -3,14 +3,26 @@ ## Enum +* `AUTHENTICATION_KEY` (value: `"authentication-key"`) + +* `AUTHENTICATION_PROTOCOL` (value: `"authentication-protocol"`) + * `KEY` (value: `"key"`) +* `NOTES` (value: `"notes"`) + * `PASSWORD` (value: `"password"`) +* `PRIVATE_ALGORITHM` (value: `"private-algorithm"`) + +* `PRIVATE_KEY` (value: `"private-key"`) + * `SECRET` (value: `"secret"`) * `TOKEN` (value: `"token"`) +* `URL` (value: `"url"`) + * `USERNAME` (value: `"username"`) diff --git a/docs/SecretsGroup.md b/docs/SecretsGroup.md index a4fc7cb7..aa5054ab 100644 --- a/docs/SecretsGroup.md +++ b/docs/SecretsGroup.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 ### NewSecretsGroup -`func NewSecretsGroup(id string, objectType string, display string, url string, naturalSlug string, name string, secrets []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *SecretsGroup` +`func NewSecretsGroup(objectType string, display string, url string, naturalSlug string, name string, secrets []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *SecretsGroup` NewSecretsGroup instantiates a new SecretsGroup 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 *SecretsGroup) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/SecretsGroupAssociation.md b/docs/SecretsGroupAssociation.md index 43532cc2..e1418eed 100644 --- a/docs/SecretsGroupAssociation.md +++ b/docs/SecretsGroupAssociation.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 ### NewSecretsGroupAssociation -`func NewSecretsGroupAssociation(id string, objectType string, display string, url string, naturalSlug string, accessType AccessTypeEnum, secretType SecretTypeEnum, secretsGroup BulkWritableCableRequestStatus, secret BulkWritableCableRequestStatus, ) *SecretsGroupAssociation` +`func NewSecretsGroupAssociation(objectType string, display string, url string, naturalSlug string, accessType AccessTypeEnum, secretType SecretTypeEnum, secretsGroup BulkWritableCableRequestStatus, secret BulkWritableCableRequestStatus, ) *SecretsGroupAssociation` NewSecretsGroupAssociation instantiates a new SecretsGroupAssociation 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 *SecretsGroupAssociation) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/SecretsGroupAssociationRequest.md b/docs/SecretsGroupAssociationRequest.md index 6dcb9e97..a45368d1 100644 --- a/docs/SecretsGroupAssociationRequest.md +++ b/docs/SecretsGroupAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **AccessType** | [**AccessTypeEnum**](AccessTypeEnum.md) | | **SecretType** | [**SecretTypeEnum**](SecretTypeEnum.md) | | **SecretsGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | @@ -28,6 +29,31 @@ NewSecretsGroupAssociationRequestWithDefaults instantiates a new SecretsGroupAss 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 *SecretsGroupAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SecretsGroupAssociationRequest) 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 *SecretsGroupAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SecretsGroupAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAccessType `func (o *SecretsGroupAssociationRequest) GetAccessType() AccessTypeEnum` diff --git a/docs/SecretsGroupRequest.md b/docs/SecretsGroupRequest.md index 2bb2f257..087ce704 100644 --- a/docs/SecretsGroupRequest.md +++ b/docs/SecretsGroupRequest.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 @@ NewSecretsGroupRequestWithDefaults instantiates a new SecretsGroupRequest 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 *SecretsGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SecretsGroupRequest) 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 *SecretsGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SecretsGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *SecretsGroupRequest) GetName() string` diff --git a/docs/Service.md b/docs/Service.md index 8ad7cd35..2b786f13 100644 --- a/docs/Service.md +++ b/docs/Service.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 ### NewService -`func NewService(id string, objectType string, display string, url string, naturalSlug string, ports []int32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Service` +`func NewService(objectType string, display string, url string, naturalSlug string, ports []int32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Service` NewService instantiates a new Service 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 *Service) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/SoftwareImageFile.md b/docs/SoftwareImageFile.md index 2c4098d6..5773e46c 100644 --- a/docs/SoftwareImageFile.md +++ b/docs/SoftwareImageFile.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,6 +16,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) | | **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] @@ -27,7 +28,7 @@ Name | Type | Description | Notes ### NewSoftwareImageFile -`func NewSoftwareImageFile(id string, objectType string, display string, url string, naturalSlug string, imageFileName string, softwareVersion BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *SoftwareImageFile` +`func NewSoftwareImageFile(objectType string, display string, url string, naturalSlug string, imageFileName string, softwareVersion BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *SoftwareImageFile` NewSoftwareImageFile instantiates a new SoftwareImageFile 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 *SoftwareImageFile) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -317,6 +323,41 @@ and a boolean to check if the value has been set. SetSoftwareVersion sets SoftwareVersion field to given value. +### GetExternalIntegration + +`func (o *SoftwareImageFile) GetExternalIntegration() BulkWritableCircuitRequestTenant` + +GetExternalIntegration returns the ExternalIntegration field if non-nil, zero value otherwise. + +### GetExternalIntegrationOk + +`func (o *SoftwareImageFile) 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 *SoftwareImageFile) SetExternalIntegration(v BulkWritableCircuitRequestTenant)` + +SetExternalIntegration sets ExternalIntegration field to given value. + +### HasExternalIntegration + +`func (o *SoftwareImageFile) HasExternalIntegration() bool` + +HasExternalIntegration returns a boolean if a field has been set. + +### SetExternalIntegrationNil + +`func (o *SoftwareImageFile) SetExternalIntegrationNil(b bool)` + + SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil + +### UnsetExternalIntegration +`func (o *SoftwareImageFile) UnsetExternalIntegration()` + +UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil ### GetStatus `func (o *SoftwareImageFile) GetStatus() BulkWritableCableRequestStatus` diff --git a/docs/SoftwareImageFileRequest.md b/docs/SoftwareImageFileRequest.md index be539d99..b6e4fc42 100644 --- a/docs/SoftwareImageFileRequest.md +++ b/docs/SoftwareImageFileRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ImageFileName** | **string** | | **ImageFileChecksum** | Pointer to **string** | | [optional] **HashingAlgorithm** | Pointer to [**BulkWritableSoftwareImageFileRequestHashingAlgorithm**](BulkWritableSoftwareImageFileRequestHashingAlgorithm.md) | | [optional] @@ -11,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] @@ -35,6 +37,31 @@ NewSoftwareImageFileRequestWithDefaults instantiates a new SoftwareImageFileRequ 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 *SoftwareImageFileRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SoftwareImageFileRequest) 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 *SoftwareImageFileRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SoftwareImageFileRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetImageFileName `func (o *SoftwareImageFileRequest) GetImageFileName() string` @@ -210,6 +237,41 @@ and a boolean to check if the value has been set. SetSoftwareVersion sets SoftwareVersion field to given value. +### GetExternalIntegration + +`func (o *SoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant` + +GetExternalIntegration returns the ExternalIntegration field if non-nil, zero value otherwise. + +### GetExternalIntegrationOk + +`func (o *SoftwareImageFileRequest) 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 *SoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant)` + +SetExternalIntegration sets ExternalIntegration field to given value. + +### HasExternalIntegration + +`func (o *SoftwareImageFileRequest) HasExternalIntegration() bool` + +HasExternalIntegration returns a boolean if a field has been set. + +### SetExternalIntegrationNil + +`func (o *SoftwareImageFileRequest) SetExternalIntegrationNil(b bool)` + + SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil + +### UnsetExternalIntegration +`func (o *SoftwareImageFileRequest) UnsetExternalIntegration()` + +UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil ### GetStatus `func (o *SoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus` diff --git a/docs/SoftwareVersion.md b/docs/SoftwareVersion.md index 402093ad..4248f46f 100644 --- a/docs/SoftwareVersion.md +++ b/docs/SoftwareVersion.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] @@ -28,7 +28,7 @@ Name | Type | Description | Notes ### NewSoftwareVersion -`func NewSoftwareVersion(id string, objectType string, display string, url string, naturalSlug string, version string, platform BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *SoftwareVersion` +`func NewSoftwareVersion(objectType string, display string, url string, naturalSlug string, version string, platform BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *SoftwareVersion` NewSoftwareVersion instantiates a new SoftwareVersion object This constructor will assign default values to properties that have it defined, @@ -62,6 +62,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *SoftwareVersion) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/SoftwareVersionRequest.md b/docs/SoftwareVersionRequest.md index dd9e8eee..01d77915 100644 --- a/docs/SoftwareVersionRequest.md +++ b/docs/SoftwareVersionRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Version** | **string** | | **Alias** | Pointer to **string** | Optional alternative label for this version | [optional] **ReleaseDate** | Pointer to **NullableString** | | [optional] @@ -36,6 +37,31 @@ NewSoftwareVersionRequestWithDefaults instantiates a new SoftwareVersionRequest 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 *SoftwareVersionRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SoftwareVersionRequest) 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 *SoftwareVersionRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SoftwareVersionRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetVersion `func (o *SoftwareVersionRequest) GetVersion() string` diff --git a/docs/StandardEnum.md b/docs/StandardEnum.md new file mode 100644 index 00000000..5021ca9d --- /dev/null +++ b/docs/StandardEnum.md @@ -0,0 +1,23 @@ +# StandardEnum + +## Enum + + +* `_802_11A` (value: `"802.11a"`) + +* `_802_11B` (value: `"802.11b"`) + +* `_802_11G` (value: `"802.11g"`) + +* `_802_11N` (value: `"802.11n"`) + +* `_802_11AC` (value: `"802.11ac"`) + +* `_802_11AX` (value: `"802.11ax"`) + +* `_802_11BE` (value: `"802.11be"`) + + +[[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/StaticGroupAssociation.md b/docs/StaticGroupAssociation.md index 7cff3970..3b6c07e5 100644 --- a/docs/StaticGroupAssociation.md +++ b/docs/StaticGroupAssociation.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 ### NewStaticGroupAssociation -`func NewStaticGroupAssociation(id string, objectType string, display string, url string, naturalSlug string, associatedObjectType string, associatedObject DynamicGroupAssociatedObject, associatedObjectId string, dynamicGroup BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *StaticGroupAssociation` +`func NewStaticGroupAssociation(objectType string, display string, url string, naturalSlug string, associatedObjectType string, associatedObject DynamicGroupAssociatedObject, associatedObjectId string, dynamicGroup BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *StaticGroupAssociation` NewStaticGroupAssociation instantiates a new StaticGroupAssociation 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 *StaticGroupAssociation) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/StaticGroupAssociationRequest.md b/docs/StaticGroupAssociationRequest.md index fbd1abec..435db68e 100644 --- a/docs/StaticGroupAssociationRequest.md +++ b/docs/StaticGroupAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **AssociatedObjectType** | **string** | | **AssociatedObjectId** | **string** | | **DynamicGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | @@ -29,6 +30,31 @@ NewStaticGroupAssociationRequestWithDefaults instantiates a new StaticGroupAssoc 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 *StaticGroupAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *StaticGroupAssociationRequest) 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 *StaticGroupAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *StaticGroupAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetAssociatedObjectType `func (o *StaticGroupAssociationRequest) GetAssociatedObjectType() string` diff --git a/docs/Status.md b/docs/Status.md index e5f1525f..76a759f5 100644 --- a/docs/Status.md +++ b/docs/Status.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 ### NewStatus -`func NewStatus(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Status` +`func NewStatus(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Status` NewStatus instantiates a new Status 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 *Status) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/StatusAPI.md b/docs/StatusAPI.md index aa8eb33b..d19c2b60 100644 --- a/docs/StatusAPI.md +++ b/docs/StatusAPI.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## StatusRetrieve -> StatusRetrieve200Response StatusRetrieve(ctx).Format(format).Depth(depth).Execute() +> StatusRetrieve200Response StatusRetrieve(ctx).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -31,10 +31,11 @@ import ( func main() { 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.StatusAPI.StatusRetrieve(context.Background()).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.StatusAPI.StatusRetrieve(context.Background()).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `StatusAPI.StatusRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -57,6 +58,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/StatusRequest.md b/docs/StatusRequest.md index b17f87d5..9b21d6ce 100644 --- a/docs/StatusRequest.md +++ b/docs/StatusRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | **[]string** | | **Name** | **string** | | **Color** | Pointer to **string** | RGB color in hexadecimal (e.g. 00ff00) | [optional] @@ -30,6 +31,31 @@ NewStatusRequestWithDefaults instantiates a new StatusRequest 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 *StatusRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *StatusRequest) 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 *StatusRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *StatusRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *StatusRequest) GetContentTypes() []string` diff --git a/docs/SupportedDataRate.md b/docs/SupportedDataRate.md new file mode 100644 index 00000000..da124b3c --- /dev/null +++ b/docs/SupportedDataRate.md @@ -0,0 +1,353 @@ +# SupportedDataRate + +## 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] +**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] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**NotesUrl** | **string** | | [readonly] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] + +## Methods + +### NewSupportedDataRate + +`func NewSupportedDataRate(objectType string, display string, url string, naturalSlug string, standard StandardEnum, rate int32, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *SupportedDataRate` + +NewSupportedDataRate instantiates a new SupportedDataRate 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 + +### NewSupportedDataRateWithDefaults + +`func NewSupportedDataRateWithDefaults() *SupportedDataRate` + +NewSupportedDataRateWithDefaults instantiates a new SupportedDataRate 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 *SupportedDataRate) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SupportedDataRate) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetObjectType + +`func (o *SupportedDataRate) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetDisplay + +`func (o *SupportedDataRate) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetUrl + +`func (o *SupportedDataRate) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetNaturalSlug + +`func (o *SupportedDataRate) GetNaturalSlug() string` + +GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise. + +### GetNaturalSlugOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetNaturalSlug(v string)` + +SetNaturalSlug sets NaturalSlug field to given value. + + +### GetStandard + +`func (o *SupportedDataRate) GetStandard() StandardEnum` + +GetStandard returns the Standard field if non-nil, zero value otherwise. + +### GetStandardOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetStandard(v StandardEnum)` + +SetStandard sets Standard field to given value. + + +### GetRate + +`func (o *SupportedDataRate) GetRate() int32` + +GetRate returns the Rate field if non-nil, zero value otherwise. + +### GetRateOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetRate(v int32)` + +SetRate sets Rate field to given value. + + +### GetMcsIndex + +`func (o *SupportedDataRate) GetMcsIndex() int32` + +GetMcsIndex returns the McsIndex field if non-nil, zero value otherwise. + +### GetMcsIndexOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetMcsIndex(v int32)` + +SetMcsIndex sets McsIndex field to given value. + +### HasMcsIndex + +`func (o *SupportedDataRate) HasMcsIndex() bool` + +HasMcsIndex returns a boolean if a field has been set. + +### SetMcsIndexNil + +`func (o *SupportedDataRate) SetMcsIndexNil(b bool)` + + SetMcsIndexNil sets the value for McsIndex to be an explicit nil + +### UnsetMcsIndex +`func (o *SupportedDataRate) UnsetMcsIndex()` + +UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +### GetCreated + +`func (o *SupportedDataRate) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *SupportedDataRate) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *SupportedDataRate) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *SupportedDataRate) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *SupportedDataRate) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *SupportedDataRate) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetNotesUrl + +`func (o *SupportedDataRate) GetNotesUrl() string` + +GetNotesUrl returns the NotesUrl field if non-nil, zero value otherwise. + +### GetNotesUrlOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetNotesUrl(v string)` + +SetNotesUrl sets NotesUrl field to given value. + + +### GetCustomFields + +`func (o *SupportedDataRate) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *SupportedDataRate) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetTags + +`func (o *SupportedDataRate) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *SupportedDataRate) 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 *SupportedDataRate) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *SupportedDataRate) 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/SupportedDataRateRequest.md b/docs/SupportedDataRateRequest.md new file mode 100644 index 00000000..e94bcf4e --- /dev/null +++ b/docs/SupportedDataRateRequest.md @@ -0,0 +1,212 @@ +# SupportedDataRateRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**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 + +### NewSupportedDataRateRequest + +`func NewSupportedDataRateRequest(standard StandardEnum, rate int32, ) *SupportedDataRateRequest` + +NewSupportedDataRateRequest instantiates a new SupportedDataRateRequest 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 + +### NewSupportedDataRateRequestWithDefaults + +`func NewSupportedDataRateRequestWithDefaults() *SupportedDataRateRequest` + +NewSupportedDataRateRequestWithDefaults instantiates a new SupportedDataRateRequest 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 *SupportedDataRateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SupportedDataRateRequest) 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 *SupportedDataRateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SupportedDataRateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetStandard + +`func (o *SupportedDataRateRequest) GetStandard() StandardEnum` + +GetStandard returns the Standard field if non-nil, zero value otherwise. + +### GetStandardOk + +`func (o *SupportedDataRateRequest) 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 *SupportedDataRateRequest) SetStandard(v StandardEnum)` + +SetStandard sets Standard field to given value. + + +### GetRate + +`func (o *SupportedDataRateRequest) GetRate() int32` + +GetRate returns the Rate field if non-nil, zero value otherwise. + +### GetRateOk + +`func (o *SupportedDataRateRequest) 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 *SupportedDataRateRequest) SetRate(v int32)` + +SetRate sets Rate field to given value. + + +### GetMcsIndex + +`func (o *SupportedDataRateRequest) GetMcsIndex() int32` + +GetMcsIndex returns the McsIndex field if non-nil, zero value otherwise. + +### GetMcsIndexOk + +`func (o *SupportedDataRateRequest) 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 *SupportedDataRateRequest) SetMcsIndex(v int32)` + +SetMcsIndex sets McsIndex field to given value. + +### HasMcsIndex + +`func (o *SupportedDataRateRequest) HasMcsIndex() bool` + +HasMcsIndex returns a boolean if a field has been set. + +### SetMcsIndexNil + +`func (o *SupportedDataRateRequest) SetMcsIndexNil(b bool)` + + SetMcsIndexNil sets the value for McsIndex to be an explicit nil + +### UnsetMcsIndex +`func (o *SupportedDataRateRequest) UnsetMcsIndex()` + +UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +### GetCustomFields + +`func (o *SupportedDataRateRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *SupportedDataRateRequest) 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 *SupportedDataRateRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *SupportedDataRateRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *SupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *SupportedDataRateRequest) 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 *SupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *SupportedDataRateRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *SupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *SupportedDataRateRequest) 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 *SupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *SupportedDataRateRequest) 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/SwaggerAPI.md b/docs/SwaggerAPI.md index 0efd8a3b..7d39c350 100644 --- a/docs/SwaggerAPI.md +++ b/docs/SwaggerAPI.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## SwaggerRetrieve -> map[string]interface{} SwaggerRetrieve(ctx).Format(format).Lang(lang).Depth(depth).Execute() +> map[string]interface{} SwaggerRetrieve(ctx).Format(format).Lang(lang).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -32,10 +32,11 @@ func main() { format := openapiclient.swagger_retrieve_format_parameter("json") // SwaggerRetrieveFormatParameter | (optional) lang := openapiclient.swagger_retrieve_lang_parameter("af") // SwaggerRetrieveLangParameter | (optional) depth := int32(56) // int32 | Serializer Depth (optional) (default to 1) + excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.SwaggerAPI.SwaggerRetrieve(context.Background()).Format(format).Lang(lang).Depth(depth).Execute() + resp, r, err := apiClient.SwaggerAPI.SwaggerRetrieve(context.Background()).Format(format).Lang(lang).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `SwaggerAPI.SwaggerRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -59,6 +60,7 @@ Name | Type | Description | Notes **format** | [**SwaggerRetrieveFormatParameter**](SwaggerRetrieveFormatParameter.md) | | **lang** | [**SwaggerRetrieveLangParameter**](SwaggerRetrieveLangParameter.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/SwaggerJsonAPI.md b/docs/SwaggerJsonAPI.md index cd8a2400..3da17e83 100644 --- a/docs/SwaggerJsonAPI.md +++ b/docs/SwaggerJsonAPI.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## SwaggerJsonRetrieve -> map[string]interface{} SwaggerJsonRetrieve(ctx).Lang(lang).Depth(depth).Execute() +> map[string]interface{} SwaggerJsonRetrieve(ctx).Lang(lang).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -31,10 +31,11 @@ import ( func main() { lang := openapiclient.swagger_retrieve_lang_parameter("af") // SwaggerRetrieveLangParameter | (optional) depth := int32(56) // int32 | Serializer Depth (optional) (default to 1) + excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.SwaggerJsonAPI.SwaggerJsonRetrieve(context.Background()).Lang(lang).Depth(depth).Execute() + resp, r, err := apiClient.SwaggerJsonAPI.SwaggerJsonRetrieve(context.Background()).Lang(lang).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `SwaggerJsonAPI.SwaggerJsonRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -57,6 +58,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **lang** | [**SwaggerRetrieveLangParameter**](SwaggerRetrieveLangParameter.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/SwaggerYamlAPI.md b/docs/SwaggerYamlAPI.md index 4f31b909..e2e9f8dd 100644 --- a/docs/SwaggerYamlAPI.md +++ b/docs/SwaggerYamlAPI.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## SwaggerYamlRetrieve -> map[string]interface{} SwaggerYamlRetrieve(ctx).Lang(lang).Depth(depth).Execute() +> map[string]interface{} SwaggerYamlRetrieve(ctx).Lang(lang).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -31,10 +31,11 @@ import ( func main() { lang := openapiclient.swagger_retrieve_lang_parameter("af") // SwaggerRetrieveLangParameter | (optional) depth := int32(56) // int32 | Serializer Depth (optional) (default to 1) + excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.SwaggerYamlAPI.SwaggerYamlRetrieve(context.Background()).Lang(lang).Depth(depth).Execute() + resp, r, err := apiClient.SwaggerYamlAPI.SwaggerYamlRetrieve(context.Background()).Lang(lang).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `SwaggerYamlAPI.SwaggerYamlRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -57,6 +58,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **lang** | [**SwaggerRetrieveLangParameter**](SwaggerRetrieveLangParameter.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/Tag.md b/docs/Tag.md index 44740ba4..f4724cd1 100644 --- a/docs/Tag.md +++ b/docs/Tag.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] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewTag -`func NewTag(id string, objectType string, display string, url string, naturalSlug string, taggedItems int32, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Tag` +`func NewTag(objectType string, display string, url string, naturalSlug string, taggedItems int32, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Tag` NewTag instantiates a new Tag object This constructor will assign default values to properties that have it defined, @@ -57,6 +57,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *Tag) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/TagRequest.md b/docs/TagRequest.md index 00b886ef..f25e20b5 100644 --- a/docs/TagRequest.md +++ b/docs/TagRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | **[]string** | | **Name** | **string** | | **Color** | Pointer to **string** | RGB color in hexadecimal (e.g. 00ff00) | [optional] @@ -30,6 +31,31 @@ NewTagRequestWithDefaults instantiates a new TagRequest 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 *TagRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TagRequest) 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 *TagRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TagRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *TagRequest) GetContentTypes() []string` diff --git a/docs/Team.md b/docs/Team.md index 1a842b69..5806cd52 100644 --- a/docs/Team.md +++ b/docs/Team.md @@ -4,27 +4,28 @@ 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] -**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] **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] **NotesUrl** | **string** | | [readonly] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] ## Methods ### NewTeam -`func NewTeam(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Team` +`func NewTeam(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Team` NewTeam instantiates a new Team 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 *Team) 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. -### GetContacts - -`func (o *Team) GetContacts() []BulkWritableCableRequestStatus` - -GetContacts returns the Contacts field if non-nil, zero value otherwise. - -### GetContactsOk - -`func (o *Team) 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 *Team) SetContacts(v []BulkWritableCableRequestStatus)` - -SetContacts sets Contacts field to given value. - -### HasContacts - -`func (o *Team) HasContacts() bool` - -HasContacts returns a boolean if a field has been set. - ### GetName `func (o *Team) GetName() string` @@ -284,6 +265,31 @@ SetComments sets Comments field to given value. HasComments returns a boolean if a field has been set. +### GetContacts + +`func (o *Team) GetContacts() []BulkWritableCableRequestStatus` + +GetContacts returns the Contacts field if non-nil, zero value otherwise. + +### GetContactsOk + +`func (o *Team) 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 *Team) SetContacts(v []BulkWritableCableRequestStatus)` + +SetContacts sets Contacts field to given value. + +### HasContacts + +`func (o *Team) HasContacts() bool` + +HasContacts returns a boolean if a field has been set. + ### GetCreated `func (o *Team) GetCreated() time.Time` @@ -389,6 +395,31 @@ SetCustomFields sets CustomFields field to given value. HasCustomFields returns a boolean if a field has been set. +### GetTags + +`func (o *Team) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Team) 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 *Team) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Team) 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/TeamRequest.md b/docs/TeamRequest.md index 8377bbad..1bf1686f 100644 --- a/docs/TeamRequest.md +++ b/docs/TeamRequest.md @@ -4,14 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Contacts** | 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 ""] **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 @@ -32,30 +34,30 @@ NewTeamRequestWithDefaults instantiates a new TeamRequest 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 -### GetContacts +### GetId -`func (o *TeamRequest) GetContacts() []BulkWritableCableRequestStatus` +`func (o *TeamRequest) GetId() string` -GetContacts returns the Contacts field if non-nil, zero value otherwise. +GetId returns the Id field if non-nil, zero value otherwise. -### GetContactsOk +### GetIdOk -`func (o *TeamRequest) GetContactsOk() (*[]BulkWritableCableRequestStatus, bool)` +`func (o *TeamRequest) GetIdOk() (*string, bool)` -GetContactsOk returns a tuple with the Contacts 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. -### SetContacts +### SetId -`func (o *TeamRequest) SetContacts(v []BulkWritableCableRequestStatus)` +`func (o *TeamRequest) SetId(v string)` -SetContacts sets Contacts field to given value. +SetId sets Id field to given value. -### HasContacts +### HasId -`func (o *TeamRequest) HasContacts() bool` +`func (o *TeamRequest) HasId() bool` -HasContacts returns a boolean if a field has been set. +HasId returns a boolean if a field has been set. ### GetName @@ -177,6 +179,31 @@ SetComments sets Comments field to given value. HasComments returns a boolean if a field has been set. +### GetContacts + +`func (o *TeamRequest) GetContacts() []BulkWritableCableRequestStatus` + +GetContacts returns the Contacts field if non-nil, zero value otherwise. + +### GetContactsOk + +`func (o *TeamRequest) 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 *TeamRequest) SetContacts(v []BulkWritableCableRequestStatus)` + +SetContacts sets Contacts field to given value. + +### HasContacts + +`func (o *TeamRequest) HasContacts() bool` + +HasContacts returns a boolean if a field has been set. + ### GetCustomFields `func (o *TeamRequest) GetCustomFields() map[string]interface{}` @@ -227,6 +254,31 @@ SetRelationships sets Relationships field to given value. HasRelationships returns a boolean if a field has been set. +### GetTags + +`func (o *TeamRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *TeamRequest) 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 *TeamRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *TeamRequest) 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/TenancyAPI.md b/docs/TenancyAPI.md index 9bc91b1c..f390b823 100644 --- a/docs/TenancyAPI.md +++ b/docs/TenancyAPI.md @@ -371,7 +371,7 @@ Name | Type | Description | Notes ## TenancyTenantGroupsList -> PaginatedTenantGroupList TenancyTenantGroupsList(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).HasTenants(hasTenants).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).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenants(tenants).TenantsIsnull(tenantsIsnull).TenantsN(tenantsN).Depth(depth).Execute() +> PaginatedTenantGroupList TenancyTenantGroupsList(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).HasTenants(hasTenants).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).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenants(tenants).TenantsIsnull(tenantsIsnull).TenantsN(tenantsN).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -396,7 +396,7 @@ func main() { 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) @@ -419,24 +419,12 @@ 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) hasTenants := true // bool | Has tenants (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) @@ -467,15 +455,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) tenants := []string{"Inner_example"} // []string | (optional) tenantsIsnull := true // bool | Tenants (name or ID) is null (optional) tenantsN := []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.TenancyAPI.TenancyTenantGroupsList(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).HasTenants(hasTenants).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).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenants(tenants).TenantsIsnull(tenantsIsnull).TenantsN(tenantsN).Depth(depth).Execute() + resp, r, err := apiClient.TenancyAPI.TenancyTenantGroupsList(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).HasTenants(hasTenants).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).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenants(tenants).TenantsIsnull(tenantsIsnull).TenantsN(tenantsN).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TenancyAPI.TenancyTenantGroupsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -501,7 +490,7 @@ Name | Type | Description | Notes **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) | | @@ -524,24 +513,12 @@ 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 | **hasTenants** | **bool** | Has tenants | **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) | | @@ -572,11 +549,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** | | **tenants** | **[]string** | | **tenantsIsnull** | **bool** | Tenants (name or ID) is null | **tenantsN** | **[]string** | | **depth** | **int32** | Serializer Depth | [default to 1] + **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false] ### Return type @@ -672,7 +650,7 @@ Name | Type | Description | Notes ## TenancyTenantGroupsNotesList -> PaginatedNoteList TenancyTenantGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() +> PaginatedNoteList TenancyTenantGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -696,10 +674,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.TenancyAPI.TenancyTenantGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() + resp, r, err := apiClient.TenancyAPI.TenancyTenantGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TenancyAPI.TenancyTenantGroupsNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -729,6 +708,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 @@ -824,7 +804,7 @@ Name | Type | Description | Notes ## TenancyTenantGroupsRetrieve -> TenantGroup TenancyTenantGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> TenantGroup TenancyTenantGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -846,10 +826,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this tenant 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.TenancyAPI.TenancyTenantGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.TenancyAPI.TenancyTenantGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TenancyAPI.TenancyTenantGroupsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -877,6 +858,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 @@ -1312,7 +1294,7 @@ Name | Type | Description | Notes ## TenancyTenantsList -> PaginatedTenantList TenancyTenantsList(ctx).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).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).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).HasCircuits(hasCircuits).HasClusters(hasClusters).HasDevices(hasDevices).HasIpAddresses(hasIpAddresses).HasLocations(hasLocations).HasPrefixes(hasPrefixes).HasRackReservations(hasRackReservations).HasRacks(hasRacks).HasRouteTargets(hasRouteTargets).HasVirtualMachines(hasVirtualMachines).HasVlans(hasVlans).HasVrfs(hasVrfs).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).IpAddresses(ipAddresses).IpAddressesIsnull(ipAddressesIsnull).IpAddressesN(ipAddressesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Locations(locations).LocationsIsnull(locationsIsnull).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).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).RouteTargets(routeTargets).RouteTargetsIsnull(routeTargetsIsnull).RouteTargetsN(routeTargetsN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).Execute() +> PaginatedTenantList TenancyTenantsList(ctx).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).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).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).HasCircuits(hasCircuits).HasClusters(hasClusters).HasDevices(hasDevices).HasIpAddresses(hasIpAddresses).HasLocations(hasLocations).HasPrefixes(hasPrefixes).HasRackReservations(hasRackReservations).HasRacks(hasRacks).HasRouteTargets(hasRouteTargets).HasVirtualMachines(hasVirtualMachines).HasVlans(hasVlans).HasVrfs(hasVrfs).Id(id).IdN(idN).IpAddresses(ipAddresses).IpAddressesIsnull(ipAddressesIsnull).IpAddressesN(ipAddressesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Locations(locations).LocationsIsnull(locationsIsnull).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).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).RouteTargets(routeTargets).RouteTargetsIsnull(routeTargetsIsnull).RouteTargetsN(routeTargetsN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1354,7 +1336,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) @@ -1380,7 +1362,7 @@ func main() { 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) + dynamicGroupsN := []string{"Inner_example"} // []string | (optional) format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) hasCircuits := true // bool | Has circuits (optional) hasClusters := true // bool | Has clusters (optional) @@ -1395,19 +1377,7 @@ func main() { hasVlans := true // bool | Has VLANs (optional) hasVrfs := true // bool | Has VRFs (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) ipAddresses := []string{"Inner_example"} // []string | IP addresses (ID) (optional) ipAddressesIsnull := true // bool | IP addresses (ID) is null (optional) ipAddressesN := []string{"Inner_example"} // []string | Exclude IP addresses (ID) (optional) @@ -1437,9 +1407,9 @@ 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) - prefixes := []string{"Inner_example"} // []string | Prefixes (ID) (optional) - prefixesIsnull := true // bool | Prefixes (ID) is null (optional) - prefixesN := []string{"Inner_example"} // []string | Exclude Prefixes (ID) (optional) + prefixes := []string{"Inner_example"} // []string | (optional) + prefixesIsnull := true // bool | Prefix (ID or prefix string) is null (optional) + prefixesN := []string{"Inner_example"} // []string | (optional) q := "q_example" // string | Search (optional) rackReservations := []string{"Inner_example"} // []string | Rack reservations (ID) (optional) rackReservationsIsnull := true // bool | Rack reservations (ID) is null (optional) @@ -1456,7 +1426,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) tenantGroup := []string{"Inner_example"} // []string | (optional) tenantGroupIsnull := true // bool | Tenant group (name or ID) is null (optional) tenantGroupN := []string{"Inner_example"} // []string | (optional) @@ -1470,10 +1440,11 @@ func main() { vrfsIsnull := true // bool | VRFs (name or ID) 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.TenancyAPI.TenancyTenantsList(context.Background()).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).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).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).HasCircuits(hasCircuits).HasClusters(hasClusters).HasDevices(hasDevices).HasIpAddresses(hasIpAddresses).HasLocations(hasLocations).HasPrefixes(hasPrefixes).HasRackReservations(hasRackReservations).HasRacks(hasRacks).HasRouteTargets(hasRouteTargets).HasVirtualMachines(hasVirtualMachines).HasVlans(hasVlans).HasVrfs(hasVrfs).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).IpAddresses(ipAddresses).IpAddressesIsnull(ipAddressesIsnull).IpAddressesN(ipAddressesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Locations(locations).LocationsIsnull(locationsIsnull).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).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).RouteTargets(routeTargets).RouteTargetsIsnull(routeTargetsIsnull).RouteTargetsN(routeTargetsN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).Execute() + resp, r, err := apiClient.TenancyAPI.TenancyTenantsList(context.Background()).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).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).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).HasCircuits(hasCircuits).HasClusters(hasClusters).HasDevices(hasDevices).HasIpAddresses(hasIpAddresses).HasLocations(hasLocations).HasPrefixes(hasPrefixes).HasRackReservations(hasRackReservations).HasRacks(hasRacks).HasRouteTargets(hasRouteTargets).HasVirtualMachines(hasVirtualMachines).HasVlans(hasVlans).HasVrfs(hasVrfs).Id(id).IdN(idN).IpAddresses(ipAddresses).IpAddressesIsnull(ipAddressesIsnull).IpAddressesN(ipAddressesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Locations(locations).LocationsIsnull(locationsIsnull).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).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).RouteTargets(routeTargets).RouteTargetsIsnull(routeTargetsIsnull).RouteTargetsN(routeTargetsN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TenancyAPI.TenancyTenantsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1516,7 +1487,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) | | @@ -1542,7 +1513,7 @@ Name | Type | Description | Notes **devicesIsnull** | **bool** | Devices (name or ID) is null | **devicesN** | **[]string** | | **dynamicGroups** | **[]string** | | - **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) | + **dynamicGroupsN** | **[]string** | | **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | **hasCircuits** | **bool** | Has circuits | **hasClusters** | **bool** | Has clusters | @@ -1557,19 +1528,7 @@ Name | Type | Description | Notes **hasVlans** | **bool** | Has VLANs | **hasVrfs** | **bool** | Has VRFs | **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** | | **ipAddresses** | **[]string** | IP addresses (ID) | **ipAddressesIsnull** | **bool** | IP addresses (ID) is null | **ipAddressesN** | **[]string** | Exclude IP addresses (ID) | @@ -1599,9 +1558,9 @@ Name | Type | Description | Notes **nameNre** | **[]string** | | **nameRe** | **[]string** | | **offset** | **int32** | The initial index from which to return the results. | - **prefixes** | **[]string** | Prefixes (ID) | - **prefixesIsnull** | **bool** | Prefixes (ID) is null | - **prefixesN** | **[]string** | Exclude Prefixes (ID) | + **prefixes** | **[]string** | | + **prefixesIsnull** | **bool** | Prefix (ID or prefix string) is null | + **prefixesN** | **[]string** | | **q** | **string** | Search | **rackReservations** | **[]string** | Rack reservations (ID) | **rackReservationsIsnull** | **bool** | Rack reservations (ID) is null | @@ -1618,7 +1577,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** | | **tenantGroup** | **[]string** | | **tenantGroupIsnull** | **bool** | Tenant group (name or ID) is null | **tenantGroupN** | **[]string** | | @@ -1632,6 +1591,7 @@ Name | Type | Description | Notes **vrfsIsnull** | **bool** | VRFs (name or ID) 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 @@ -1727,7 +1687,7 @@ Name | Type | Description | Notes ## TenancyTenantsNotesList -> PaginatedNoteList TenancyTenantsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() +> PaginatedNoteList TenancyTenantsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1751,10 +1711,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.TenancyAPI.TenancyTenantsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() + resp, r, err := apiClient.TenancyAPI.TenancyTenantsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TenancyAPI.TenancyTenantsNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1784,6 +1745,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 @@ -1879,7 +1841,7 @@ Name | Type | Description | Notes ## TenancyTenantsRetrieve -> Tenant TenancyTenantsRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> Tenant TenancyTenantsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1901,10 +1863,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this tenant. 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.TenancyAPI.TenancyTenantsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.TenancyAPI.TenancyTenantsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TenancyAPI.TenancyTenantsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1932,6 +1895,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/Tenant.md b/docs/Tenant.md index 9dabd963..5bd87a49 100644 --- a/docs/Tenant.md +++ b/docs/Tenant.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 ### NewTenant -`func NewTenant(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Tenant` +`func NewTenant(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Tenant` NewTenant instantiates a new Tenant 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 *Tenant) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/TenantGroup.md b/docs/TenantGroup.md index 083749e2..132ab477 100644 --- a/docs/TenantGroup.md +++ b/docs/TenantGroup.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] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewTenantGroup -`func NewTenantGroup(id string, objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *TenantGroup` +`func NewTenantGroup(objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *TenantGroup` NewTenantGroup instantiates a new TenantGroup object This constructor will assign default values to properties that have it defined, @@ -57,6 +57,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *TenantGroup) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/TenantGroupRequest.md b/docs/TenantGroupRequest.md index 87b197c8..0e7c32ff 100644 --- a/docs/TenantGroupRequest.md +++ b/docs/TenantGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -29,6 +30,31 @@ NewTenantGroupRequestWithDefaults instantiates a new TenantGroupRequest 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 *TenantGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TenantGroupRequest) 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 *TenantGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TenantGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *TenantGroupRequest) GetName() string` diff --git a/docs/TenantRequest.md b/docs/TenantRequest.md index 611f7aa2..5a15dcc6 100644 --- a/docs/TenantRequest.md +++ b/docs/TenantRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -31,6 +32,31 @@ NewTenantRequestWithDefaults instantiates a new TenantRequest 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 *TenantRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TenantRequest) 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 *TenantRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TenantRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *TenantRequest) GetName() string` diff --git a/docs/Token.md b/docs/Token.md index 2b4e66da..17cc4c95 100644 --- a/docs/Token.md +++ b/docs/Token.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 ### NewToken -`func NewToken(id string, objectType string, display string, url string, naturalSlug string, created time.Time, ) *Token` +`func NewToken(objectType string, display string, url string, naturalSlug string, created time.Time, ) *Token` NewToken instantiates a new Token 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 *Token) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/TokenRequest.md b/docs/TokenRequest.md index 5c3d7197..f210d99c 100644 --- a/docs/TokenRequest.md +++ b/docs/TokenRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Key** | Pointer to **string** | | [optional] **Expires** | Pointer to **NullableTime** | | [optional] **WriteEnabled** | Pointer to **bool** | Permit create/update/delete operations using this key | [optional] @@ -28,6 +29,31 @@ NewTokenRequestWithDefaults instantiates a new TokenRequest 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 *TokenRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TokenRequest) 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 *TokenRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TokenRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetKey `func (o *TokenRequest) GetKey() string` diff --git a/docs/UiAPI.md b/docs/UiAPI.md new file mode 100644 index 00000000..19b1291a --- /dev/null +++ b/docs/UiAPI.md @@ -0,0 +1,77 @@ +# \UiAPI + +All URIs are relative to */api* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**UiCoreRenderJinjaTemplateCreate**](UiAPI.md#UiCoreRenderJinjaTemplateCreate) | **Post** /ui/core/render-jinja-template/ | + + + +## UiCoreRenderJinjaTemplateCreate + +> RenderJinja UiCoreRenderJinjaTemplateCreate(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.UiAPI.UiCoreRenderJinjaTemplateCreate(context.Background()).RenderJinjaRequest(renderJinjaRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UiAPI.UiCoreRenderJinjaTemplateCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UiCoreRenderJinjaTemplateCreate`: RenderJinja + fmt.Fprintf(os.Stdout, "Response from `UiAPI.UiCoreRenderJinjaTemplateCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiUiCoreRenderJinjaTemplateCreateRequest 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/User.md b/docs/User.md index fe0d4431..25c089d9 100644 --- a/docs/User.md +++ b/docs/User.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 ### NewUser -`func NewUser(id string, objectType string, display string, url string, naturalSlug string, username string, defaultSavedViews []UserSpecificDefaultSavedViews, ) *User` +`func NewUser(objectType string, display string, url string, naturalSlug string, username string, defaultSavedViews []UserSpecificDefaultSavedViews, ) *User` NewUser instantiates a new User 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 *User) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/UserRequest.md b/docs/UserRequest.md index 212b671b..5051fb15 100644 --- a/docs/UserRequest.md +++ b/docs/UserRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Password** | Pointer to **NullableString** | | [optional] **LastLogin** | Pointer to **NullableTime** | | [optional] **IsSuperuser** | Pointer to **bool** | Designates that this user has all permissions without explicitly assigning them. | [optional] @@ -36,6 +37,31 @@ NewUserRequestWithDefaults instantiates a new UserRequest 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 *UserRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *UserRequest) 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 *UserRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *UserRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPassword `func (o *UserRequest) GetPassword() string` diff --git a/docs/UserSavedViewAssociation.md b/docs/UserSavedViewAssociation.md index 3b875008..e1099003 100644 --- a/docs/UserSavedViewAssociation.md +++ b/docs/UserSavedViewAssociation.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 ### NewUserSavedViewAssociation -`func NewUserSavedViewAssociation(id string, objectType string, display string, url string, naturalSlug string, viewName string, savedView BulkWritableCableRequestStatus, user BulkWritableCableRequestStatus, ) *UserSavedViewAssociation` +`func NewUserSavedViewAssociation(objectType string, display string, url string, naturalSlug string, viewName string, savedView BulkWritableCableRequestStatus, user BulkWritableCableRequestStatus, ) *UserSavedViewAssociation` NewUserSavedViewAssociation instantiates a new UserSavedViewAssociation 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 *UserSavedViewAssociation) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/UserSavedViewAssociationRequest.md b/docs/UserSavedViewAssociationRequest.md index 9cdbb0b0..b3d85354 100644 --- a/docs/UserSavedViewAssociationRequest.md +++ b/docs/UserSavedViewAssociationRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ViewName** | **string** | | **SavedView** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | **User** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | @@ -27,6 +28,31 @@ NewUserSavedViewAssociationRequestWithDefaults instantiates a new UserSavedViewA 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 *UserSavedViewAssociationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *UserSavedViewAssociationRequest) 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 *UserSavedViewAssociationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *UserSavedViewAssociationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetViewName `func (o *UserSavedViewAssociationRequest) GetViewName() string` diff --git a/docs/UsersAPI.md b/docs/UsersAPI.md index b9253e81..405ef5fa 100644 --- a/docs/UsersAPI.md +++ b/docs/UsersAPI.md @@ -46,7 +46,7 @@ Method | HTTP request | Description ## UsersConfigRetrieve -> map[string]interface{} UsersConfigRetrieve(ctx).Format(format).Depth(depth).Execute() +> map[string]interface{} UsersConfigRetrieve(ctx).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -67,10 +67,11 @@ import ( func main() { 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.UsersAPI.UsersConfigRetrieve(context.Background()).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersConfigRetrieve(context.Background()).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersConfigRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -93,6 +94,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 @@ -454,7 +456,7 @@ Name | Type | Description | Notes ## UsersGroupsList -> PaginatedGroupList UsersGroupsList(ctx).Format(format).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).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).Depth(depth).Execute() +> PaginatedGroupList UsersGroupsList(ctx).Format(format).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).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).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -499,10 +501,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.UsersAPI.UsersGroupsList(context.Background()).Format(format).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).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).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersGroupsList(context.Background()).Format(format).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).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).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersGroupsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -549,6 +552,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 @@ -644,7 +648,7 @@ Name | Type | Description | Notes ## UsersGroupsRetrieve -> Group UsersGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> Group UsersGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -666,10 +670,11 @@ func main() { id := int32(56) // int32 | A unique integer value identifying this 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.UsersAPI.UsersGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersGroupsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -697,6 +702,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 @@ -1132,7 +1138,7 @@ Name | Type | Description | Notes ## UsersPermissionsList -> PaginatedObjectPermissionList UsersPermissionsList(ctx).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).Enabled(enabled).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).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).ObjectTypes(objectTypes).ObjectTypesN(objectTypesN).Offset(offset).Q(q).Sort(sort).Users(users).UsersN(usersN).Depth(depth).Execute() +> PaginatedObjectPermissionList UsersPermissionsList(ctx).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).Enabled(enabled).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).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).ObjectTypes(objectTypes).ObjectTypesN(objectTypesN).Offset(offset).Q(q).Sort(sort).Users(users).UsersN(usersN).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1172,19 +1178,7 @@ func main() { groupsId := []int32{int32(123)} // []int32 | Group (ID) (optional) groupsIdN := []int32{int32(123)} // []int32 | Exclude Group (ID) (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) @@ -1208,10 +1202,11 @@ func main() { users := []string{"Inner_example"} // []string | (optional) usersN := []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.UsersAPI.UsersPermissionsList(context.Background()).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).Enabled(enabled).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).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).ObjectTypes(objectTypes).ObjectTypesN(objectTypesN).Offset(offset).Q(q).Sort(sort).Users(users).UsersN(usersN).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersPermissionsList(context.Background()).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).Enabled(enabled).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).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).ObjectTypes(objectTypes).ObjectTypesN(objectTypesN).Offset(offset).Q(q).Sort(sort).Users(users).UsersN(usersN).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersPermissionsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1253,19 +1248,7 @@ Name | Type | Description | Notes **groupsId** | **[]int32** | Group (ID) | **groupsIdN** | **[]int32** | Exclude Group (ID) | **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** | | @@ -1289,6 +1272,7 @@ Name | Type | Description | Notes **users** | **[]string** | | **usersN** | **[]string** | | **depth** | **int32** | Serializer Depth | [default to 1] + **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false] ### Return type @@ -1384,7 +1368,7 @@ Name | Type | Description | Notes ## UsersPermissionsRetrieve -> ObjectPermission UsersPermissionsRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> ObjectPermission UsersPermissionsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1406,10 +1390,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this permission. 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.UsersAPI.UsersPermissionsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersPermissionsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersPermissionsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1437,6 +1422,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 @@ -1872,7 +1858,7 @@ Name | Type | Description | Notes ## UsersTokensList -> PaginatedTokenList UsersTokensList(ctx).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).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).Expires(expires).ExpiresGt(expiresGt).ExpiresGte(expiresGte).ExpiresIsnull(expiresIsnull).ExpiresLt(expiresLt).ExpiresLte(expiresLte).ExpiresN(expiresN).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).Limit(limit).Offset(offset).Q(q).Sort(sort).WriteEnabled(writeEnabled).Depth(depth).Execute() +> PaginatedTokenList UsersTokensList(ctx).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).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).Expires(expires).ExpiresGt(expiresGt).ExpiresGte(expiresGte).ExpiresIsnull(expiresIsnull).ExpiresLt(expiresLt).ExpiresLte(expiresLte).ExpiresN(expiresN).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).Limit(limit).Offset(offset).Q(q).Sort(sort).WriteEnabled(writeEnabled).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1921,19 +1907,7 @@ func main() { expiresN := []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) key := []string{"Inner_example"} // []string | (optional) keyIc := []string{"Inner_example"} // []string | (optional) keyIe := []string{"Inner_example"} // []string | (optional) @@ -1954,10 +1928,11 @@ func main() { sort := "sort_example" // string | Which field to use when ordering the results. (optional) writeEnabled := 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.UsersAPI.UsersTokensList(context.Background()).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).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).Expires(expires).ExpiresGt(expiresGt).ExpiresGte(expiresGte).ExpiresIsnull(expiresIsnull).ExpiresLt(expiresLt).ExpiresLte(expiresLte).ExpiresN(expiresN).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).Limit(limit).Offset(offset).Q(q).Sort(sort).WriteEnabled(writeEnabled).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersTokensList(context.Background()).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).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).Expires(expires).ExpiresGt(expiresGt).ExpiresGte(expiresGte).ExpiresIsnull(expiresIsnull).ExpiresLt(expiresLt).ExpiresLte(expiresLte).ExpiresN(expiresN).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).Limit(limit).Offset(offset).Q(q).Sort(sort).WriteEnabled(writeEnabled).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersTokensList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2007,19 +1982,7 @@ Name | Type | Description | Notes **expiresN** | [**[]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** | | **key** | **[]string** | | **keyIc** | **[]string** | | **keyIe** | **[]string** | | @@ -2040,6 +2003,7 @@ Name | Type | Description | Notes **sort** | **string** | Which field to use when ordering the results. | **writeEnabled** | **bool** | | **depth** | **int32** | Serializer Depth | [default to 1] + **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false] ### Return type @@ -2135,7 +2099,7 @@ Name | Type | Description | Notes ## UsersTokensRetrieve -> Token UsersTokensRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> Token UsersTokensRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -2157,10 +2121,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this token. 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.UsersAPI.UsersTokensRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersTokensRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersTokensRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2188,6 +2153,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 @@ -2623,7 +2589,7 @@ Name | Type | Description | Notes ## UsersUsersList -> PaginatedUserList UsersUsersList(ctx).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).FirstName(firstName).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIre(firstNameIre).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNire(firstNameNire).FirstNameNisw(firstNameNisw).FirstNameNre(firstNameNre).FirstNameRe(firstNameRe).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).HasObjectChanges(hasObjectChanges).HasObjectPermissions(hasObjectPermissions).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).IsActive(isActive).IsStaff(isStaff).LastName(lastName).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIre(lastNameIre).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNire(lastNameNire).LastNameNisw(lastNameNisw).LastNameNre(lastNameNre).LastNameRe(lastNameRe).Limit(limit).ObjectChanges(objectChanges).ObjectChangesIsnull(objectChangesIsnull).ObjectChangesN(objectChangesN).ObjectPermissions(objectPermissions).ObjectPermissionsIsnull(objectPermissionsIsnull).ObjectPermissionsN(objectPermissionsN).Offset(offset).Q(q).RackReservationsId(rackReservationsId).RackReservationsIdIsnull(rackReservationsIdIsnull).RackReservationsIdN(rackReservationsIdN).Sort(sort).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() +> PaginatedUserList UsersUsersList(ctx).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).FirstName(firstName).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIre(firstNameIre).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNire(firstNameNire).FirstNameNisw(firstNameNisw).FirstNameNre(firstNameNre).FirstNameRe(firstNameRe).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).HasObjectChanges(hasObjectChanges).HasObjectPermissions(hasObjectPermissions).HasRackReservations(hasRackReservations).Id(id).IdN(idN).IsActive(isActive).IsStaff(isStaff).LastName(lastName).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIre(lastNameIre).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNire(lastNameNire).LastNameNisw(lastNameNisw).LastNameNre(lastNameNre).LastNameRe(lastNameRe).Limit(limit).ObjectChanges(objectChanges).ObjectChangesIsnull(objectChangesIsnull).ObjectChangesN(objectChangesN).ObjectPermissions(objectPermissions).ObjectPermissionsIsnull(objectPermissionsIsnull).ObjectPermissionsN(objectPermissionsN).Offset(offset).Q(q).RackReservationsId(rackReservationsId).RackReservationsIdIsnull(rackReservationsIdIsnull).RackReservationsIdN(rackReservationsIdN).Sort(sort).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() @@ -2679,19 +2645,7 @@ func main() { hasObjectPermissions := true // bool | Has object permissions (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) isActive := true // bool | (optional) isStaff := true // bool | (optional) lastName := []string{"Inner_example"} // []string | (optional) @@ -2736,10 +2690,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.UsersAPI.UsersUsersList(context.Background()).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).FirstName(firstName).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIre(firstNameIre).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNire(firstNameNire).FirstNameNisw(firstNameNisw).FirstNameNre(firstNameNre).FirstNameRe(firstNameRe).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).HasObjectChanges(hasObjectChanges).HasObjectPermissions(hasObjectPermissions).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).IsActive(isActive).IsStaff(isStaff).LastName(lastName).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIre(lastNameIre).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNire(lastNameNire).LastNameNisw(lastNameNisw).LastNameNre(lastNameNre).LastNameRe(lastNameRe).Limit(limit).ObjectChanges(objectChanges).ObjectChangesIsnull(objectChangesIsnull).ObjectChangesN(objectChangesN).ObjectPermissions(objectPermissions).ObjectPermissionsIsnull(objectPermissionsIsnull).ObjectPermissionsN(objectPermissionsN).Offset(offset).Q(q).RackReservationsId(rackReservationsId).RackReservationsIdIsnull(rackReservationsIdIsnull).RackReservationsIdN(rackReservationsIdN).Sort(sort).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.UsersAPI.UsersUsersList(context.Background()).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).FirstName(firstName).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIre(firstNameIre).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNire(firstNameNire).FirstNameNisw(firstNameNisw).FirstNameNre(firstNameNre).FirstNameRe(firstNameRe).Format(format).Groups(groups).GroupsN(groupsN).GroupsId(groupsId).GroupsIdN(groupsIdN).HasObjectChanges(hasObjectChanges).HasObjectPermissions(hasObjectPermissions).HasRackReservations(hasRackReservations).Id(id).IdN(idN).IsActive(isActive).IsStaff(isStaff).LastName(lastName).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIre(lastNameIre).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNire(lastNameNire).LastNameNisw(lastNameNisw).LastNameNre(lastNameNre).LastNameRe(lastNameRe).Limit(limit).ObjectChanges(objectChanges).ObjectChangesIsnull(objectChangesIsnull).ObjectChangesN(objectChangesN).ObjectPermissions(objectPermissions).ObjectPermissionsIsnull(objectPermissionsIsnull).ObjectPermissionsN(objectPermissionsN).Offset(offset).Q(q).RackReservationsId(rackReservationsId).RackReservationsIdIsnull(rackReservationsIdIsnull).RackReservationsIdN(rackReservationsIdN).Sort(sort).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 `UsersAPI.UsersUsersList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2797,19 +2752,7 @@ Name | Type | Description | Notes **hasObjectPermissions** | **bool** | Has object permissions | **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** | | **isActive** | **bool** | | **isStaff** | **bool** | | **lastName** | **[]string** | | @@ -2854,6 +2797,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 @@ -2949,7 +2893,7 @@ Name | Type | Description | Notes ## UsersUsersRetrieve -> User UsersUsersRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> User UsersUsersRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -2971,10 +2915,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this user. 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.UsersAPI.UsersUsersRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.UsersAPI.UsersUsersRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UsersUsersRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3002,6 +2947,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/VLAN.md b/docs/VLAN.md index 7508994c..9a9c22bf 100644 --- a/docs/VLAN.md +++ b/docs/VLAN.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] @@ -23,12 +23,14 @@ Name | Type | Description | Notes **Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **NotesUrl** | **string** | | [readonly] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**ComputedFields** | **map[string]interface{}** | | [readonly] +**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional] ## Methods ### NewVLAN -`func NewVLAN(id string, objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VLAN` +`func NewVLAN(objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, computedFields map[string]interface{}, ) *VLAN` NewVLAN instantiates a new VLAN object This constructor will assign default values to properties that have it defined, @@ -62,6 +64,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *VLAN) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -508,6 +515,51 @@ SetCustomFields sets CustomFields field to given value. HasCustomFields returns a boolean if a field has been set. +### GetComputedFields + +`func (o *VLAN) GetComputedFields() map[string]interface{}` + +GetComputedFields returns the ComputedFields field if non-nil, zero value otherwise. + +### GetComputedFieldsOk + +`func (o *VLAN) 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 *VLAN) SetComputedFields(v map[string]interface{})` + +SetComputedFields sets ComputedFields field to given value. + + +### GetRelationships + +`func (o *VLAN) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *VLAN) 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 *VLAN) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *VLAN) 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/VLANAllocationRequest.md b/docs/VLANAllocationRequest.md new file mode 100644 index 00000000..de4a1714 --- /dev/null +++ b/docs/VLANAllocationRequest.md @@ -0,0 +1,336 @@ +# VLANAllocationRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Vid** | Pointer to **int32** | | [optional] +**VlanGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] +**Name** | **string** | | +**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | +**Role** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] +**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] +**Description** | Pointer to **string** | | [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 + +### NewVLANAllocationRequest + +`func NewVLANAllocationRequest(name string, status BulkWritableCableRequestStatus, ) *VLANAllocationRequest` + +NewVLANAllocationRequest instantiates a new VLANAllocationRequest 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 + +### NewVLANAllocationRequestWithDefaults + +`func NewVLANAllocationRequestWithDefaults() *VLANAllocationRequest` + +NewVLANAllocationRequestWithDefaults instantiates a new VLANAllocationRequest 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 *VLANAllocationRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VLANAllocationRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetVid + +`func (o *VLANAllocationRequest) GetVid() int32` + +GetVid returns the Vid field if non-nil, zero value otherwise. + +### GetVidOk + +`func (o *VLANAllocationRequest) GetVidOk() (*int32, bool)` + +GetVidOk returns a tuple with the Vid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVid + +`func (o *VLANAllocationRequest) SetVid(v int32)` + +SetVid sets Vid field to given value. + +### HasVid + +`func (o *VLANAllocationRequest) HasVid() bool` + +HasVid returns a boolean if a field has been set. + +### GetVlanGroup + +`func (o *VLANAllocationRequest) GetVlanGroup() BulkWritableCircuitRequestTenant` + +GetVlanGroup returns the VlanGroup field if non-nil, zero value otherwise. + +### GetVlanGroupOk + +`func (o *VLANAllocationRequest) GetVlanGroupOk() (*BulkWritableCircuitRequestTenant, bool)` + +GetVlanGroupOk returns a tuple with the VlanGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVlanGroup + +`func (o *VLANAllocationRequest) SetVlanGroup(v BulkWritableCircuitRequestTenant)` + +SetVlanGroup sets VlanGroup field to given value. + +### HasVlanGroup + +`func (o *VLANAllocationRequest) HasVlanGroup() bool` + +HasVlanGroup returns a boolean if a field has been set. + +### SetVlanGroupNil + +`func (o *VLANAllocationRequest) SetVlanGroupNil(b bool)` + + SetVlanGroupNil sets the value for VlanGroup to be an explicit nil + +### UnsetVlanGroup +`func (o *VLANAllocationRequest) UnsetVlanGroup()` + +UnsetVlanGroup ensures that no value is present for VlanGroup, not even an explicit nil +### GetName + +`func (o *VLANAllocationRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetStatus + +`func (o *VLANAllocationRequest) GetStatus() BulkWritableCableRequestStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetStatus(v BulkWritableCableRequestStatus)` + +SetStatus sets Status field to given value. + + +### GetRole + +`func (o *VLANAllocationRequest) GetRole() BulkWritableCircuitRequestTenant` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetRole(v BulkWritableCircuitRequestTenant)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *VLANAllocationRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *VLANAllocationRequest) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *VLANAllocationRequest) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil +### GetTenant + +`func (o *VLANAllocationRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *VLANAllocationRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *VLANAllocationRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *VLANAllocationRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetDescription + +`func (o *VLANAllocationRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *VLANAllocationRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetTags + +`func (o *VLANAllocationRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VLANAllocationRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *VLANAllocationRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VLANAllocationRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *VLANAllocationRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *VLANAllocationRequest) 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 *VLANAllocationRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *VLANAllocationRequest) 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/VLANGroup.md b/docs/VLANGroup.md index 98be45fd..0d2326cf 100644 --- a/docs/VLANGroup.md +++ b/docs/VLANGroup.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] @@ -12,9 +12,11 @@ Name | Type | Description | Notes **VlanCount** | Pointer to **int32** | | [optional] [readonly] **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] **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] +**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **NotesUrl** | **string** | | [readonly] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -22,7 +24,7 @@ Name | Type | Description | Notes ### NewVLANGroup -`func NewVLANGroup(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VLANGroup` +`func NewVLANGroup(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VLANGroup` NewVLANGroup instantiates a new VLANGroup object This constructor will assign default values to properties that have it defined, @@ -56,6 +58,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *VLANGroup) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -207,6 +214,31 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetRange + +`func (o *VLANGroup) GetRange() string` + +GetRange returns the Range field if non-nil, zero value otherwise. + +### GetRangeOk + +`func (o *VLANGroup) 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 *VLANGroup) SetRange(v string)` + +SetRange sets Range field to given value. + +### HasRange + +`func (o *VLANGroup) HasRange() bool` + +HasRange returns a boolean if a field has been set. + ### GetLocation `func (o *VLANGroup) GetLocation() BulkWritableCircuitRequestTenant` @@ -302,6 +334,31 @@ SetLastUpdated sets LastUpdated field to given value. `func (o *VLANGroup) UnsetLastUpdated()` UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetTags + +`func (o *VLANGroup) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VLANGroup) 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 *VLANGroup) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VLANGroup) HasTags() bool` + +HasTags returns a boolean if a field has been set. + ### GetNotesUrl `func (o *VLANGroup) GetNotesUrl() string` diff --git a/docs/VLANGroupRequest.md b/docs/VLANGroupRequest.md index 20d62c1d..dcb963ad 100644 --- a/docs/VLANGroupRequest.md +++ b/docs/VLANGroupRequest.md @@ -4,9 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **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] @@ -29,6 +32,31 @@ NewVLANGroupRequestWithDefaults instantiates a new VLANGroupRequest 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 *VLANGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VLANGroupRequest) 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 *VLANGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VLANGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *VLANGroupRequest) GetName() string` @@ -74,6 +102,31 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetRange + +`func (o *VLANGroupRequest) GetRange() string` + +GetRange returns the Range field if non-nil, zero value otherwise. + +### GetRangeOk + +`func (o *VLANGroupRequest) 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 *VLANGroupRequest) SetRange(v string)` + +SetRange sets Range field to given value. + +### HasRange + +`func (o *VLANGroupRequest) HasRange() bool` + +HasRange returns a boolean if a field has been set. + ### GetLocation `func (o *VLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant` @@ -109,6 +162,31 @@ HasLocation returns a boolean if a field has been set. `func (o *VLANGroupRequest) UnsetLocation()` UnsetLocation ensures that no value is present for Location, not even an explicit nil +### GetTags + +`func (o *VLANGroupRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VLANGroupRequest) 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 *VLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VLANGroupRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + ### GetCustomFields `func (o *VLANGroupRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/VLANLocationAssignment.md b/docs/VLANLocationAssignment.md index cb882877..6e439819 100644 --- a/docs/VLANLocationAssignment.md +++ b/docs/VLANLocationAssignment.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 ### NewVLANLocationAssignment -`func NewVLANLocationAssignment(id string, objectType string, display string, url string, naturalSlug string, vlan BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, ) *VLANLocationAssignment` +`func NewVLANLocationAssignment(objectType string, display string, url string, naturalSlug string, vlan BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, ) *VLANLocationAssignment` NewVLANLocationAssignment instantiates a new VLANLocationAssignment 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 *VLANLocationAssignment) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/VLANLocationAssignmentRequest.md b/docs/VLANLocationAssignmentRequest.md index 05412d1a..c9848e55 100644 --- a/docs/VLANLocationAssignmentRequest.md +++ b/docs/VLANLocationAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Vlan** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | **Location** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | @@ -26,6 +27,31 @@ NewVLANLocationAssignmentRequestWithDefaults instantiates a new VLANLocationAssi 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 *VLANLocationAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VLANLocationAssignmentRequest) 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 *VLANLocationAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VLANLocationAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetVlan `func (o *VLANLocationAssignmentRequest) GetVlan() BulkWritableCableRequestStatus` diff --git a/docs/VLANRequest.md b/docs/VLANRequest.md index db3f84a6..e23e6d91 100644 --- a/docs/VLANRequest.md +++ b/docs/VLANRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Location** | Pointer to [**NullableBulkWritablePrefixRequestLocation**](BulkWritablePrefixRequestLocation.md) | | [optional] **Vid** | **int32** | | **Name** | **string** | | @@ -35,6 +36,31 @@ NewVLANRequestWithDefaults instantiates a new VLANRequest 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 *VLANRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VLANRequest) 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 *VLANRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VLANRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetLocation `func (o *VLANRequest) GetLocation() BulkWritablePrefixRequestLocation` diff --git a/docs/VMInterface.md b/docs/VMInterface.md index 6a2058ef..f8ff5a1c 100644 --- a/docs/VMInterface.md +++ b/docs/VMInterface.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 ### NewVMInterface -`func NewVMInterface(id string, objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, virtualMachine BulkWritableCableRequestStatus, ipAddresses []IPAddresses, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VMInterface` +`func NewVMInterface(objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, virtualMachine BulkWritableCableRequestStatus, ipAddresses []IPAddresses, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VMInterface` NewVMInterface instantiates a new VMInterface 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 *VMInterface) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/VRF.md b/docs/VRF.md index 7dd03caf..ce1fba55 100644 --- a/docs/VRF.md +++ b/docs/VRF.md @@ -4,19 +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] **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] **Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] **Devices** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly] **VirtualMachines** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly] +**VirtualDeviceContexts** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly] **Prefixes** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly] **ImportTargets** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **ExportTargets** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] @@ -30,7 +31,7 @@ Name | Type | Description | Notes ### NewVRF -`func NewVRF(id string, objectType string, display string, url string, naturalSlug string, name string, rd NullableString, devices []BulkWritableCableRequestStatus, virtualMachines []BulkWritableCableRequestStatus, prefixes []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VRF` +`func NewVRF(objectType string, display string, url string, naturalSlug string, name string, devices []BulkWritableCableRequestStatus, virtualMachines []BulkWritableCableRequestStatus, virtualDeviceContexts []BulkWritableCableRequestStatus, prefixes []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VRF` NewVRF instantiates a new VRF object This constructor will assign default values to properties that have it defined, @@ -64,6 +65,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *VRF) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -184,6 +190,11 @@ and a boolean to check if the value has been set. SetRd sets Rd field to given value. +### HasRd + +`func (o *VRF) HasRd() bool` + +HasRd returns a boolean if a field has been set. ### SetRdNil @@ -355,6 +366,26 @@ and a boolean to check if the value has been set. SetVirtualMachines sets VirtualMachines field to given value. +### GetVirtualDeviceContexts + +`func (o *VRF) GetVirtualDeviceContexts() []BulkWritableCableRequestStatus` + +GetVirtualDeviceContexts returns the VirtualDeviceContexts field if non-nil, zero value otherwise. + +### GetVirtualDeviceContextsOk + +`func (o *VRF) GetVirtualDeviceContextsOk() (*[]BulkWritableCableRequestStatus, bool)` + +GetVirtualDeviceContextsOk returns a tuple with the VirtualDeviceContexts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVirtualDeviceContexts + +`func (o *VRF) SetVirtualDeviceContexts(v []BulkWritableCableRequestStatus)` + +SetVirtualDeviceContexts sets VirtualDeviceContexts field to given value. + + ### GetPrefixes `func (o *VRF) GetPrefixes() []BulkWritableCableRequestStatus` diff --git a/docs/VRFDeviceAssignment.md b/docs/VRFDeviceAssignment.md index f99ba8d1..6346cf38 100644 --- a/docs/VRFDeviceAssignment.md +++ b/docs/VRFDeviceAssignment.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,12 +14,13 @@ 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 ### NewVRFDeviceAssignment -`func NewVRFDeviceAssignment(id string, objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus, ) *VRFDeviceAssignment` +`func NewVRFDeviceAssignment(objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus, ) *VRFDeviceAssignment` NewVRFDeviceAssignment instantiates a new VRFDeviceAssignment object This constructor will assign default values to properties that have it defined, @@ -53,6 +54,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *VRFDeviceAssignment) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType @@ -284,6 +290,41 @@ HasVirtualMachine returns a boolean if a field has been set. `func (o *VRFDeviceAssignment) UnsetVirtualMachine()` UnsetVirtualMachine ensures that no value is present for VirtualMachine, not even an explicit nil +### GetVirtualDeviceContext + +`func (o *VRFDeviceAssignment) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant` + +GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise. + +### GetVirtualDeviceContextOk + +`func (o *VRFDeviceAssignment) 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 *VRFDeviceAssignment) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant)` + +SetVirtualDeviceContext sets VirtualDeviceContext field to given value. + +### HasVirtualDeviceContext + +`func (o *VRFDeviceAssignment) HasVirtualDeviceContext() bool` + +HasVirtualDeviceContext returns a boolean if a field has been set. + +### SetVirtualDeviceContextNil + +`func (o *VRFDeviceAssignment) SetVirtualDeviceContextNil(b bool)` + + SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil + +### UnsetVirtualDeviceContext +`func (o *VRFDeviceAssignment) 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/VRFDeviceAssignmentRequest.md b/docs/VRFDeviceAssignmentRequest.md index 6fb6aaf9..a07650fd 100644 --- a/docs/VRFDeviceAssignmentRequest.md +++ b/docs/VRFDeviceAssignmentRequest.md @@ -4,11 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] **Name** | Pointer to **string** | | [optional] **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 @@ -29,6 +31,31 @@ NewVRFDeviceAssignmentRequestWithDefaults instantiates a new VRFDeviceAssignment 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 *VRFDeviceAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VRFDeviceAssignmentRequest) 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 *VRFDeviceAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VRFDeviceAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetRd `func (o *VRFDeviceAssignmentRequest) GetRd() string` @@ -179,6 +206,41 @@ HasVirtualMachine returns a boolean if a field has been set. `func (o *VRFDeviceAssignmentRequest) UnsetVirtualMachine()` UnsetVirtualMachine ensures that no value is present for VirtualMachine, not even an explicit nil +### GetVirtualDeviceContext + +`func (o *VRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant` + +GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise. + +### GetVirtualDeviceContextOk + +`func (o *VRFDeviceAssignmentRequest) 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 *VRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant)` + +SetVirtualDeviceContext sets VirtualDeviceContext field to given value. + +### HasVirtualDeviceContext + +`func (o *VRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool` + +HasVirtualDeviceContext returns a boolean if a field has been set. + +### SetVirtualDeviceContextNil + +`func (o *VRFDeviceAssignmentRequest) SetVirtualDeviceContextNil(b bool)` + + SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil + +### UnsetVirtualDeviceContext +`func (o *VRFDeviceAssignmentRequest) 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/VRFPrefixAssignment.md b/docs/VRFPrefixAssignment.md index 46b2e976..c17b29a8 100644 --- a/docs/VRFPrefixAssignment.md +++ b/docs/VRFPrefixAssignment.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 ### NewVRFPrefixAssignment -`func NewVRFPrefixAssignment(id string, objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus, prefix BulkWritableCableRequestStatus, ) *VRFPrefixAssignment` +`func NewVRFPrefixAssignment(objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus, prefix BulkWritableCableRequestStatus, ) *VRFPrefixAssignment` NewVRFPrefixAssignment instantiates a new VRFPrefixAssignment 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 *VRFPrefixAssignment) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/VRFPrefixAssignmentRequest.md b/docs/VRFPrefixAssignmentRequest.md index 6c3abb0a..e14d6972 100644 --- a/docs/VRFPrefixAssignmentRequest.md +++ b/docs/VRFPrefixAssignmentRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Vrf** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | **Prefix** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | @@ -26,6 +27,31 @@ NewVRFPrefixAssignmentRequestWithDefaults instantiates a new VRFPrefixAssignment 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 *VRFPrefixAssignmentRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VRFPrefixAssignmentRequest) 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 *VRFPrefixAssignmentRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VRFPrefixAssignmentRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetVrf `func (o *VRFPrefixAssignmentRequest) GetVrf() BulkWritableCableRequestStatus` diff --git a/docs/VRFRequest.md b/docs/VRFRequest.md index 3f1f816e..5fecc443 100644 --- a/docs/VRFRequest.md +++ b/docs/VRFRequest.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **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] @@ -20,7 +21,7 @@ Name | Type | Description | Notes ### NewVRFRequest -`func NewVRFRequest(name string, rd NullableString, ) *VRFRequest` +`func NewVRFRequest(name string, ) *VRFRequest` NewVRFRequest instantiates a new VRFRequest object This constructor will assign default values to properties that have it defined, @@ -35,6 +36,31 @@ NewVRFRequestWithDefaults instantiates a new VRFRequest 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 *VRFRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VRFRequest) 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 *VRFRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VRFRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *VRFRequest) GetName() string` @@ -74,6 +100,11 @@ and a boolean to check if the value has been set. SetRd sets Rd field to given value. +### HasRd + +`func (o *VRFRequest) HasRd() bool` + +HasRd returns a boolean if a field has been set. ### SetRdNil diff --git a/docs/VirtualChassis.md b/docs/VirtualChassis.md index b0182a36..c4f014b3 100644 --- a/docs/VirtualChassis.md +++ b/docs/VirtualChassis.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] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewVirtualChassis -`func NewVirtualChassis(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VirtualChassis` +`func NewVirtualChassis(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VirtualChassis` NewVirtualChassis instantiates a new VirtualChassis object This constructor will assign default values to properties that have it defined, @@ -57,6 +57,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *VirtualChassis) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/VirtualChassisRequest.md b/docs/VirtualChassisRequest.md index a65c1fdb..baa93a69 100644 --- a/docs/VirtualChassisRequest.md +++ b/docs/VirtualChassisRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Domain** | Pointer to **string** | | [optional] **Master** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -30,6 +31,31 @@ NewVirtualChassisRequestWithDefaults instantiates a new VirtualChassisRequest 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 *VirtualChassisRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VirtualChassisRequest) 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 *VirtualChassisRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VirtualChassisRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *VirtualChassisRequest) GetName() string` diff --git a/docs/VirtualDeviceContext.md b/docs/VirtualDeviceContext.md new file mode 100644 index 00000000..855e89ac --- /dev/null +++ b/docs/VirtualDeviceContext.md @@ -0,0 +1,565 @@ +# VirtualDeviceContext + +## 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** | | +**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] +**Interfaces** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**NotesUrl** | **string** | | [readonly] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] + +## Methods + +### NewVirtualDeviceContext + +`func NewVirtualDeviceContext(objectType string, display string, url string, naturalSlug string, name string, device BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, interfaces []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VirtualDeviceContext` + +NewVirtualDeviceContext instantiates a new VirtualDeviceContext 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 + +### NewVirtualDeviceContextWithDefaults + +`func NewVirtualDeviceContextWithDefaults() *VirtualDeviceContext` + +NewVirtualDeviceContextWithDefaults instantiates a new VirtualDeviceContext 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 *VirtualDeviceContext) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VirtualDeviceContext) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetObjectType + +`func (o *VirtualDeviceContext) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetDisplay + +`func (o *VirtualDeviceContext) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetUrl + +`func (o *VirtualDeviceContext) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetNaturalSlug + +`func (o *VirtualDeviceContext) GetNaturalSlug() string` + +GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise. + +### GetNaturalSlugOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetNaturalSlug(v string)` + +SetNaturalSlug sets NaturalSlug field to given value. + + +### GetName + +`func (o *VirtualDeviceContext) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetName(v string)` + +SetName sets Name field to given value. + + +### GetIdentifier + +`func (o *VirtualDeviceContext) GetIdentifier() int32` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetIdentifier(v int32)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *VirtualDeviceContext) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### SetIdentifierNil + +`func (o *VirtualDeviceContext) SetIdentifierNil(b bool)` + + SetIdentifierNil sets the value for Identifier to be an explicit nil + +### UnsetIdentifier +`func (o *VirtualDeviceContext) UnsetIdentifier()` + +UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +### GetDescription + +`func (o *VirtualDeviceContext) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *VirtualDeviceContext) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDevice + +`func (o *VirtualDeviceContext) GetDevice() BulkWritableCableRequestStatus` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetDevice(v BulkWritableCableRequestStatus)` + +SetDevice sets Device field to given value. + + +### GetStatus + +`func (o *VirtualDeviceContext) GetStatus() BulkWritableCableRequestStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetStatus(v BulkWritableCableRequestStatus)` + +SetStatus sets Status field to given value. + + +### GetRole + +`func (o *VirtualDeviceContext) GetRole() BulkWritableCircuitRequestTenant` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetRole(v BulkWritableCircuitRequestTenant)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *VirtualDeviceContext) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *VirtualDeviceContext) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *VirtualDeviceContext) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil +### GetPrimaryIp4 + +`func (o *VirtualDeviceContext) GetPrimaryIp4() PrimaryIPv4` + +GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. + +### GetPrimaryIp4Ok + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetPrimaryIp4(v PrimaryIPv4)` + +SetPrimaryIp4 sets PrimaryIp4 field to given value. + +### HasPrimaryIp4 + +`func (o *VirtualDeviceContext) HasPrimaryIp4() bool` + +HasPrimaryIp4 returns a boolean if a field has been set. + +### SetPrimaryIp4Nil + +`func (o *VirtualDeviceContext) SetPrimaryIp4Nil(b bool)` + + SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil + +### UnsetPrimaryIp4 +`func (o *VirtualDeviceContext) UnsetPrimaryIp4()` + +UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +### GetPrimaryIp6 + +`func (o *VirtualDeviceContext) GetPrimaryIp6() PrimaryIPv6` + +GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. + +### GetPrimaryIp6Ok + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetPrimaryIp6(v PrimaryIPv6)` + +SetPrimaryIp6 sets PrimaryIp6 field to given value. + +### HasPrimaryIp6 + +`func (o *VirtualDeviceContext) HasPrimaryIp6() bool` + +HasPrimaryIp6 returns a boolean if a field has been set. + +### SetPrimaryIp6Nil + +`func (o *VirtualDeviceContext) SetPrimaryIp6Nil(b bool)` + + SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil + +### UnsetPrimaryIp6 +`func (o *VirtualDeviceContext) UnsetPrimaryIp6()` + +UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +### GetTenant + +`func (o *VirtualDeviceContext) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *VirtualDeviceContext) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *VirtualDeviceContext) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *VirtualDeviceContext) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetInterfaces + +`func (o *VirtualDeviceContext) GetInterfaces() []BulkWritableCableRequestStatus` + +GetInterfaces returns the Interfaces field if non-nil, zero value otherwise. + +### GetInterfacesOk + +`func (o *VirtualDeviceContext) GetInterfacesOk() (*[]BulkWritableCableRequestStatus, bool)` + +GetInterfacesOk returns a tuple with the Interfaces field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterfaces + +`func (o *VirtualDeviceContext) SetInterfaces(v []BulkWritableCableRequestStatus)` + +SetInterfaces sets Interfaces field to given value. + + +### GetCreated + +`func (o *VirtualDeviceContext) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *VirtualDeviceContext) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *VirtualDeviceContext) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *VirtualDeviceContext) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *VirtualDeviceContext) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *VirtualDeviceContext) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetNotesUrl + +`func (o *VirtualDeviceContext) GetNotesUrl() string` + +GetNotesUrl returns the NotesUrl field if non-nil, zero value otherwise. + +### GetNotesUrlOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetNotesUrl(v string)` + +SetNotesUrl sets NotesUrl field to given value. + + +### GetCustomFields + +`func (o *VirtualDeviceContext) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VirtualDeviceContext) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetTags + +`func (o *VirtualDeviceContext) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VirtualDeviceContext) 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 *VirtualDeviceContext) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VirtualDeviceContext) 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/VirtualDeviceContextRequest.md b/docs/VirtualDeviceContextRequest.md new file mode 100644 index 00000000..26d33527 --- /dev/null +++ b/docs/VirtualDeviceContextRequest.md @@ -0,0 +1,403 @@ +# VirtualDeviceContextRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**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 + +### NewVirtualDeviceContextRequest + +`func NewVirtualDeviceContextRequest(name string, device BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, ) *VirtualDeviceContextRequest` + +NewVirtualDeviceContextRequest instantiates a new VirtualDeviceContextRequest 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 + +### NewVirtualDeviceContextRequestWithDefaults + +`func NewVirtualDeviceContextRequestWithDefaults() *VirtualDeviceContextRequest` + +NewVirtualDeviceContextRequestWithDefaults instantiates a new VirtualDeviceContextRequest 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 *VirtualDeviceContextRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VirtualDeviceContextRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *VirtualDeviceContextRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetIdentifier + +`func (o *VirtualDeviceContextRequest) GetIdentifier() int32` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetIdentifier(v int32)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *VirtualDeviceContextRequest) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### SetIdentifierNil + +`func (o *VirtualDeviceContextRequest) SetIdentifierNil(b bool)` + + SetIdentifierNil sets the value for Identifier to be an explicit nil + +### UnsetIdentifier +`func (o *VirtualDeviceContextRequest) UnsetIdentifier()` + +UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +### GetDescription + +`func (o *VirtualDeviceContextRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *VirtualDeviceContextRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDevice + +`func (o *VirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus)` + +SetDevice sets Device field to given value. + + +### GetStatus + +`func (o *VirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus)` + +SetStatus sets Status field to given value. + + +### GetRole + +`func (o *VirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *VirtualDeviceContextRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *VirtualDeviceContextRequest) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *VirtualDeviceContextRequest) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil +### GetPrimaryIp4 + +`func (o *VirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4` + +GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. + +### GetPrimaryIp4Ok + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4)` + +SetPrimaryIp4 sets PrimaryIp4 field to given value. + +### HasPrimaryIp4 + +`func (o *VirtualDeviceContextRequest) HasPrimaryIp4() bool` + +HasPrimaryIp4 returns a boolean if a field has been set. + +### SetPrimaryIp4Nil + +`func (o *VirtualDeviceContextRequest) SetPrimaryIp4Nil(b bool)` + + SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil + +### UnsetPrimaryIp4 +`func (o *VirtualDeviceContextRequest) UnsetPrimaryIp4()` + +UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +### GetPrimaryIp6 + +`func (o *VirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6` + +GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. + +### GetPrimaryIp6Ok + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6)` + +SetPrimaryIp6 sets PrimaryIp6 field to given value. + +### HasPrimaryIp6 + +`func (o *VirtualDeviceContextRequest) HasPrimaryIp6() bool` + +HasPrimaryIp6 returns a boolean if a field has been set. + +### SetPrimaryIp6Nil + +`func (o *VirtualDeviceContextRequest) SetPrimaryIp6Nil(b bool)` + + SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil + +### UnsetPrimaryIp6 +`func (o *VirtualDeviceContextRequest) UnsetPrimaryIp6()` + +UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +### GetTenant + +`func (o *VirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *VirtualDeviceContextRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *VirtualDeviceContextRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *VirtualDeviceContextRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetCustomFields + +`func (o *VirtualDeviceContextRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VirtualDeviceContextRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *VirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *VirtualDeviceContextRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *VirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VirtualDeviceContextRequest) 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 *VirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VirtualDeviceContextRequest) 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/VirtualMachine.md b/docs/VirtualMachine.md index 96ad56ee..a066fc9d 100644 --- a/docs/VirtualMachine.md +++ b/docs/VirtualMachine.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] @@ -37,7 +37,7 @@ Name | Type | Description | Notes ### NewVirtualMachine -`func NewVirtualMachine(id string, objectType string, display string, url string, naturalSlug string, name string, cluster BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VirtualMachine` +`func NewVirtualMachine(objectType string, display string, url string, naturalSlug string, name string, cluster BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VirtualMachine` NewVirtualMachine instantiates a new VirtualMachine object This constructor will assign default values to properties that have it defined, @@ -71,6 +71,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *VirtualMachine) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/VirtualMachineRequest.md b/docs/VirtualMachineRequest.md index d4c500b8..a250da07 100644 --- a/docs/VirtualMachineRequest.md +++ b/docs/VirtualMachineRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **LocalConfigContextData** | Pointer to **interface{}** | | [optional] **LocalConfigContextDataOwnerObjectId** | Pointer to **NullableString** | | [optional] **Name** | **string** | | @@ -45,6 +46,31 @@ NewVirtualMachineRequestWithDefaults instantiates a new VirtualMachineRequest 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 *VirtualMachineRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *VirtualMachineRequest) 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 *VirtualMachineRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *VirtualMachineRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetLocalConfigContextData `func (o *VirtualMachineRequest) GetLocalConfigContextData() interface{}` diff --git a/docs/VirtualizationAPI.md b/docs/VirtualizationAPI.md index 4aad4a4c..d25f9a3f 100644 --- a/docs/VirtualizationAPI.md +++ b/docs/VirtualizationAPI.md @@ -404,7 +404,7 @@ Name | Type | Description | Notes ## VirtualizationClusterGroupsList -> PaginatedClusterGroupList VirtualizationClusterGroupsList(ctx).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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() +> PaginatedClusterGroupList VirtualizationClusterGroupsList(ctx).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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() @@ -429,7 +429,7 @@ func main() { clustersN := []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) @@ -452,23 +452,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) hasClusters := true // bool | Has clusters (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) @@ -496,12 +484,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.VirtualizationAPI.VirtualizationClusterGroupsList(context.Background()).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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.VirtualizationAPI.VirtualizationClusterGroupsList(context.Background()).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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 `VirtualizationAPI.VirtualizationClusterGroupsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -527,7 +516,7 @@ Name | Type | Description | Notes **clustersN** | **[]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) | | @@ -550,23 +539,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) | | **hasClusters** | **bool** | Has clusters | **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) | | @@ -594,8 +571,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 @@ -691,7 +669,7 @@ Name | Type | Description | Notes ## VirtualizationClusterGroupsNotesList -> PaginatedNoteList VirtualizationClusterGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() +> PaginatedNoteList VirtualizationClusterGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -715,10 +693,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.VirtualizationAPI.VirtualizationClusterGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClusterGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationClusterGroupsNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -748,6 +727,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 @@ -843,7 +823,7 @@ Name | Type | Description | Notes ## VirtualizationClusterGroupsRetrieve -> ClusterGroup VirtualizationClusterGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> ClusterGroup VirtualizationClusterGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -865,10 +845,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cluster 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.VirtualizationAPI.VirtualizationClusterGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClusterGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationClusterGroupsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -896,6 +877,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 @@ -1331,7 +1313,7 @@ Name | Type | Description | Notes ## VirtualizationClusterTypesList -> PaginatedClusterTypeList VirtualizationClusterTypesList(ctx).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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() +> PaginatedClusterTypeList VirtualizationClusterTypesList(ctx).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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() @@ -1356,7 +1338,7 @@ func main() { clustersN := []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) @@ -1379,23 +1361,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) hasClusters := true // bool | Has clusters (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) @@ -1423,12 +1393,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.VirtualizationAPI.VirtualizationClusterTypesList(context.Background()).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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.VirtualizationAPI.VirtualizationClusterTypesList(context.Background()).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).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).HasClusters(hasClusters).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 `VirtualizationAPI.VirtualizationClusterTypesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1454,7 +1425,7 @@ Name | Type | Description | Notes **clustersN** | **[]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) | | @@ -1477,23 +1448,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) | | **hasClusters** | **bool** | Has clusters | **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) | | @@ -1521,8 +1480,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 @@ -1618,7 +1578,7 @@ Name | Type | Description | Notes ## VirtualizationClusterTypesNotesList -> PaginatedNoteList VirtualizationClusterTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() +> PaginatedNoteList VirtualizationClusterTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1642,10 +1602,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.VirtualizationAPI.VirtualizationClusterTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClusterTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationClusterTypesNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1675,6 +1636,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 @@ -1770,7 +1732,7 @@ Name | Type | Description | Notes ## VirtualizationClusterTypesRetrieve -> ClusterType VirtualizationClusterTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> ClusterType VirtualizationClusterTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -1792,10 +1754,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cluster 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.VirtualizationAPI.VirtualizationClusterTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClusterTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationClusterTypesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1823,6 +1786,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 @@ -2258,7 +2222,7 @@ Name | Type | Description | Notes ## VirtualizationClustersList -> PaginatedClusterList VirtualizationClustersList(ctx).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).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).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).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).Execute() +> PaginatedClusterList VirtualizationClustersList(ctx).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).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).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).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -2304,7 +2268,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) @@ -2316,24 +2280,12 @@ func main() { 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) + 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) lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional) @@ -2367,7 +2319,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) @@ -2381,10 +2333,11 @@ func main() { 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.VirtualizationAPI.VirtualizationClustersList(context.Background()).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).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).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).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClustersList(context.Background()).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).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).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).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationClustersList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2431,7 +2384,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) | | @@ -2443,24 +2396,12 @@ Name | Type | Description | Notes **devicesIsnull** | **bool** | Devices (name or ID) is null | **devicesN** | **[]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 | **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) | | @@ -2494,7 +2435,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** | | @@ -2508,6 +2449,7 @@ Name | Type | Description | Notes **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 @@ -2603,7 +2545,7 @@ Name | Type | Description | Notes ## VirtualizationClustersNotesList -> PaginatedNoteList VirtualizationClustersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() +> PaginatedNoteList VirtualizationClustersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -2627,10 +2569,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.VirtualizationAPI.VirtualizationClustersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClustersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationClustersNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2660,6 +2603,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 @@ -2755,7 +2699,7 @@ Name | Type | Description | Notes ## VirtualizationClustersRetrieve -> Cluster VirtualizationClustersRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> Cluster VirtualizationClustersRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -2777,10 +2721,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cluster. 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.VirtualizationAPI.VirtualizationClustersRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClustersRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationClustersRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2808,6 +2753,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 @@ -3243,7 +3189,7 @@ Name | Type | Description | Notes ## VirtualizationInterfacesList -> PaginatedVMInterfaceList VirtualizationInterfacesList(ctx).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).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).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasChildInterfaces(hasChildInterfaces).HasIpAddresses(hasIpAddresses).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).IpAddresses(ipAddresses).Limit(limit).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).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).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).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Depth(depth).Execute() +> PaginatedVMInterfaceList VirtualizationInterfacesList(ctx).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).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).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasChildInterfaces(hasChildInterfaces).HasIpAddresses(hasIpAddresses).HasTaggedVlans(hasTaggedVlans).Id(id).IdN(idN).IpAddresses(ipAddresses).Limit(limit).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).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).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).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).VlanId(vlanId).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -3277,7 +3223,7 @@ func main() { clusterIdN := []string{"Inner_example"} // []string | Exclude Cluster (ID) - Deprecated (use cluster filter) (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) @@ -3293,7 +3239,7 @@ 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) enabled := true // bool | (optional) format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) hasBridgedInterfaces := true // bool | Has Bridged Interfaces (optional) @@ -3301,19 +3247,7 @@ func main() { hasIpAddresses := true // bool | Has IP addresses (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) ipAddresses := []string{"Inner_example"} // []string | IP addresses (address or ID) (optional) limit := int32(56) // int32 | Number of results to return per page. (optional) macAddress := []string{"Inner_example"} // []string | MAC address (optional) @@ -3372,10 +3306,10 @@ 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) taggedVlans := []string{"Inner_example"} // []string | (optional) taggedVlansN := []string{"Inner_example"} // []string | (optional) tags := []string{"Inner_example"} // []string | (optional) @@ -3383,7 +3317,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) untaggedVlan := []string{"Inner_example"} // []string | (optional) untaggedVlanIsnull := true // bool | Untagged VLAN (VID or ID) is null (optional) untaggedVlanN := []string{"Inner_example"} // []string | (optional) @@ -3391,11 +3325,13 @@ func main() { virtualMachineN := []string{"Inner_example"} // []string | (optional) virtualMachineId := []string{"Inner_example"} // []string | Virtual machine (ID) - Deprecated (use virtual_machine filter) (optional) virtualMachineIdN := []string{"Inner_example"} // []string | Exclude Virtual machine (ID) - Deprecated (use virtual_machine filter) (optional) + vlanId := "vlanId_example" // string | Any assigned VLAN (tagged or untagged) (optional) depth := int32(56) // int32 | Serializer Depth (optional) (default to 1) + excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualizationAPI.VirtualizationInterfacesList(context.Background()).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).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).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasChildInterfaces(hasChildInterfaces).HasIpAddresses(hasIpAddresses).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).IpAddresses(ipAddresses).Limit(limit).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).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).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).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationInterfacesList(context.Background()).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).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).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasChildInterfaces(hasChildInterfaces).HasIpAddresses(hasIpAddresses).HasTaggedVlans(hasTaggedVlans).Id(id).IdN(idN).IpAddresses(ipAddresses).Limit(limit).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).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).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).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).VlanId(vlanId).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationInterfacesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3431,7 +3367,7 @@ Name | Type | Description | Notes **clusterIdN** | **[]string** | Exclude Cluster (ID) - Deprecated (use cluster filter) | **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** | | @@ -3447,7 +3383,7 @@ Name | Type | Description | Notes **descriptionNre** | **[]string** | | **descriptionRe** | **[]string** | | **dynamicGroups** | **[]string** | | - **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) | + **dynamicGroupsN** | **[]string** | | **enabled** | **bool** | | **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | **hasBridgedInterfaces** | **bool** | Has Bridged Interfaces | @@ -3455,19 +3391,7 @@ Name | Type | Description | Notes **hasIpAddresses** | **bool** | Has IP addresses | **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** | | **ipAddresses** | **[]string** | IP addresses (address or ID) | **limit** | **int32** | Number of results to return per page. | **macAddress** | **[]string** | MAC address | @@ -3526,10 +3450,10 @@ 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** | | **taggedVlans** | **[]string** | | **taggedVlansN** | **[]string** | | **tags** | **[]string** | | @@ -3537,7 +3461,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** | | **untaggedVlan** | **[]string** | | **untaggedVlanIsnull** | **bool** | Untagged VLAN (VID or ID) is null | **untaggedVlanN** | **[]string** | | @@ -3545,7 +3469,9 @@ Name | Type | Description | Notes **virtualMachineN** | **[]string** | | **virtualMachineId** | **[]string** | Virtual machine (ID) - Deprecated (use virtual_machine filter) | **virtualMachineIdN** | **[]string** | Exclude Virtual machine (ID) - Deprecated (use virtual_machine filter) | + **vlanId** | **string** | Any assigned VLAN (tagged or untagged) | **depth** | **int32** | Serializer Depth | [default to 1] + **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false] ### Return type @@ -3641,7 +3567,7 @@ Name | Type | Description | Notes ## VirtualizationInterfacesNotesList -> PaginatedNoteList VirtualizationInterfacesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() +> PaginatedNoteList VirtualizationInterfacesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -3665,10 +3591,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.VirtualizationAPI.VirtualizationInterfacesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationInterfacesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationInterfacesNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3698,6 +3625,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 @@ -3793,7 +3721,7 @@ Name | Type | Description | Notes ## VirtualizationInterfacesRetrieve -> VMInterface VirtualizationInterfacesRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> VMInterface VirtualizationInterfacesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -3815,10 +3743,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VM 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.VirtualizationAPI.VirtualizationInterfacesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationInterfacesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationInterfacesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3846,6 +3775,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 @@ -4281,7 +4211,7 @@ Name | Type | Description | Notes ## VirtualizationVirtualMachinesList -> PaginatedVirtualMachineList VirtualizationVirtualMachinesList(ctx).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).Disk(disk).DiskGt(diskGt).DiskGte(diskGte).DiskIsnull(diskIsnull).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaces(hasInterfaces).HasPrimaryIp(hasPrimaryIp).HasServices(hasServices).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).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).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).Memory(memory).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryIsnull(memoryIsnull).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).Name(name).NameIc(nameIc).NameIe(nameIe).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).PlatformId(platformId).PlatformIdIsnull(platformIdIsnull).PlatformIdN(platformIdN).PrimaryIp4(primaryIp4).PrimaryIp6(primaryIp6).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Services(services).ServicesIsnull(servicesIsnull).ServicesN(servicesN).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).Vcpus(vcpus).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusIsnull(vcpusIsnull).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).Depth(depth).Execute() +> PaginatedVirtualMachineList VirtualizationVirtualMachinesList(ctx).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).Disk(disk).DiskGt(diskGt).DiskGte(diskGte).DiskIsnull(diskIsnull).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaces(hasInterfaces).HasIpAddresses(hasIpAddresses).HasPrimaryIp(hasPrimaryIp).HasServices(hasServices).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpAddresses(ipAddresses).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).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).Memory(memory).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryIsnull(memoryIsnull).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).Name(name).NameIc(nameIc).NameIe(nameIe).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).PlatformId(platformId).PlatformIdIsnull(platformIdIsnull).PlatformIdN(platformIdN).PrimaryIp4(primaryIp4).PrimaryIp6(primaryIp6).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Services(services).ServicesIsnull(servicesIsnull).ServicesN(servicesN).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).Vcpus(vcpus).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusIsnull(vcpusIsnull).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -4331,7 +4261,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) @@ -4347,30 +4277,20 @@ func main() { diskLte := []int32{int32(123)} // []int32 | (optional) diskN := []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) hasInterfaces := true // bool | Has interfaces (optional) + hasIpAddresses := true // bool | Has IP addresses (optional) hasPrimaryIp := true // bool | Has a primary IP (optional) hasServices := true // bool | Has services (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) 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) lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional) @@ -4436,7 +4356,7 @@ 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) services := []string{"Inner_example"} // []string | (optional) servicesIsnull := true // bool | Services (name or ID) is null (optional) servicesN := []string{"Inner_example"} // []string | (optional) @@ -4447,13 +4367,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) @@ -4471,10 +4391,11 @@ func main() { vcpusLte := []int32{int32(123)} // []int32 | (optional) vcpusN := []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.VirtualizationAPI.VirtualizationVirtualMachinesList(context.Background()).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).Disk(disk).DiskGt(diskGt).DiskGte(diskGte).DiskIsnull(diskIsnull).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaces(hasInterfaces).HasPrimaryIp(hasPrimaryIp).HasServices(hasServices).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).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).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).Memory(memory).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryIsnull(memoryIsnull).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).Name(name).NameIc(nameIc).NameIe(nameIe).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).PlatformId(platformId).PlatformIdIsnull(platformIdIsnull).PlatformIdN(platformIdN).PrimaryIp4(primaryIp4).PrimaryIp6(primaryIp6).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Services(services).ServicesIsnull(servicesIsnull).ServicesN(servicesN).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).Vcpus(vcpus).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusIsnull(vcpusIsnull).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationVirtualMachinesList(context.Background()).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupIsnull(clusterGroupIsnull).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdIsnull(clusterGroupIdIsnull).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).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).Disk(disk).DiskGt(diskGt).DiskGte(diskGte).DiskIsnull(diskIsnull).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaces(hasInterfaces).HasIpAddresses(hasIpAddresses).HasPrimaryIp(hasPrimaryIp).HasServices(hasServices).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpAddresses(ipAddresses).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).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).Memory(memory).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryIsnull(memoryIsnull).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).Name(name).NameIc(nameIc).NameIe(nameIe).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).PlatformId(platformId).PlatformIdIsnull(platformIdIsnull).PlatformIdN(platformIdN).PrimaryIp4(primaryIp4).PrimaryIp6(primaryIp6).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Services(services).ServicesIsnull(servicesIsnull).ServicesN(servicesN).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).Vcpus(vcpus).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusIsnull(vcpusIsnull).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationVirtualMachinesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -4525,7 +4446,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) | | @@ -4541,30 +4462,20 @@ Name | Type | Description | Notes **diskLte** | **[]int32** | | **diskN** | **[]int32** | | **dynamicGroups** | **[]string** | | - **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) | + **dynamicGroupsN** | **[]string** | | **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | **hasInterfaces** | **bool** | Has interfaces | + **hasIpAddresses** | **bool** | Has IP addresses | **hasPrimaryIp** | **bool** | Has a primary IP | **hasServices** | **bool** | Has services | **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** | | **interfaces** | **[]string** | | **interfacesIsnull** | **bool** | Interfaces (name or ID) is null | **interfacesN** | **[]string** | | + **ipAddresses** | **[]string** | IP addresses (address or ID) | **lastUpdated** | [**[]time.Time**](time.Time.md) | | **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | | @@ -4630,7 +4541,7 @@ 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** | | **services** | **[]string** | | **servicesIsnull** | **bool** | Services (name or ID) is null | **servicesN** | **[]string** | | @@ -4641,13 +4552,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** | | @@ -4665,6 +4576,7 @@ Name | Type | Description | Notes **vcpusLte** | **[]int32** | | **vcpusN** | **[]int32** | | **depth** | **int32** | Serializer Depth | [default to 1] + **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false] ### Return type @@ -4760,7 +4672,7 @@ Name | Type | Description | Notes ## VirtualizationVirtualMachinesNotesList -> PaginatedNoteList VirtualizationVirtualMachinesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() +> PaginatedNoteList VirtualizationVirtualMachinesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -4784,10 +4696,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.VirtualizationAPI.VirtualizationVirtualMachinesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationVirtualMachinesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationVirtualMachinesNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -4817,6 +4730,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 @@ -4912,7 +4826,7 @@ Name | Type | Description | Notes ## VirtualizationVirtualMachinesRetrieve -> VirtualMachine VirtualizationVirtualMachinesRetrieve(ctx, id).Format(format).Depth(depth).Execute() +> VirtualMachine VirtualizationVirtualMachinesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() @@ -4934,10 +4848,11 @@ func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual machine. 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.VirtualizationAPI.VirtualizationVirtualMachinesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationVirtualMachinesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VirtualizationAPI.VirtualizationVirtualMachinesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -4965,6 +4880,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/Webhook.md b/docs/Webhook.md index ccbba3e1..7c10f12e 100644 --- a/docs/Webhook.md +++ b/docs/Webhook.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 ### NewWebhook -`func NewWebhook(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, payloadUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Webhook` +`func NewWebhook(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, payloadUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Webhook` NewWebhook instantiates a new Webhook 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 *Webhook) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetObjectType diff --git a/docs/WebhookRequest.md b/docs/WebhookRequest.md index d301f8ff..66e21e4f 100644 --- a/docs/WebhookRequest.md +++ b/docs/WebhookRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | **[]string** | | **Name** | **string** | | **TypeCreate** | Pointer to **bool** | Call this webhook when a matching object is created. | [optional] @@ -38,6 +39,31 @@ NewWebhookRequestWithDefaults instantiates a new WebhookRequest 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 *WebhookRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WebhookRequest) 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 *WebhookRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WebhookRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *WebhookRequest) GetContentTypes() []string` diff --git a/docs/WirelessAPI.md b/docs/WirelessAPI.md new file mode 100644 index 00000000..208e3a8e --- /dev/null +++ b/docs/WirelessAPI.md @@ -0,0 +1,4306 @@ +# \WirelessAPI + +All URIs are relative to */api* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy) | **Delete** /wireless/controller-managed-device-group-radio-profile-assignments/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate) | **Patch** /wireless/controller-managed-device-group-radio-profile-assignments/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate) | **Put** /wireless/controller-managed-device-group-radio-profile-assignments/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate) | **Post** /wireless/controller-managed-device-group-radio-profile-assignments/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy) | **Delete** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList) | **Get** /wireless/controller-managed-device-group-radio-profile-assignments/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate) | **Patch** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve) | **Get** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +[**WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate) | **Put** /wireless/controller-managed-device-group-radio-profile-assignments/{id}/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy) | **Delete** /wireless/controller-managed-device-group-wireless-network-assignments/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate) | **Patch** /wireless/controller-managed-device-group-wireless-network-assignments/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate) | **Put** /wireless/controller-managed-device-group-wireless-network-assignments/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate) | **Post** /wireless/controller-managed-device-group-wireless-network-assignments/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy) | **Delete** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList) | **Get** /wireless/controller-managed-device-group-wireless-network-assignments/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate) | **Patch** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve) | **Get** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +[**WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate**](WirelessAPI.md#WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate) | **Put** /wireless/controller-managed-device-group-wireless-network-assignments/{id}/ | +[**WirelessRadioProfilesBulkDestroy**](WirelessAPI.md#WirelessRadioProfilesBulkDestroy) | **Delete** /wireless/radio-profiles/ | +[**WirelessRadioProfilesBulkPartialUpdate**](WirelessAPI.md#WirelessRadioProfilesBulkPartialUpdate) | **Patch** /wireless/radio-profiles/ | +[**WirelessRadioProfilesBulkUpdate**](WirelessAPI.md#WirelessRadioProfilesBulkUpdate) | **Put** /wireless/radio-profiles/ | +[**WirelessRadioProfilesCreate**](WirelessAPI.md#WirelessRadioProfilesCreate) | **Post** /wireless/radio-profiles/ | +[**WirelessRadioProfilesDestroy**](WirelessAPI.md#WirelessRadioProfilesDestroy) | **Delete** /wireless/radio-profiles/{id}/ | +[**WirelessRadioProfilesList**](WirelessAPI.md#WirelessRadioProfilesList) | **Get** /wireless/radio-profiles/ | +[**WirelessRadioProfilesNotesCreate**](WirelessAPI.md#WirelessRadioProfilesNotesCreate) | **Post** /wireless/radio-profiles/{id}/notes/ | +[**WirelessRadioProfilesNotesList**](WirelessAPI.md#WirelessRadioProfilesNotesList) | **Get** /wireless/radio-profiles/{id}/notes/ | +[**WirelessRadioProfilesPartialUpdate**](WirelessAPI.md#WirelessRadioProfilesPartialUpdate) | **Patch** /wireless/radio-profiles/{id}/ | +[**WirelessRadioProfilesRetrieve**](WirelessAPI.md#WirelessRadioProfilesRetrieve) | **Get** /wireless/radio-profiles/{id}/ | +[**WirelessRadioProfilesUpdate**](WirelessAPI.md#WirelessRadioProfilesUpdate) | **Put** /wireless/radio-profiles/{id}/ | +[**WirelessSupportedDataRatesBulkDestroy**](WirelessAPI.md#WirelessSupportedDataRatesBulkDestroy) | **Delete** /wireless/supported-data-rates/ | +[**WirelessSupportedDataRatesBulkPartialUpdate**](WirelessAPI.md#WirelessSupportedDataRatesBulkPartialUpdate) | **Patch** /wireless/supported-data-rates/ | +[**WirelessSupportedDataRatesBulkUpdate**](WirelessAPI.md#WirelessSupportedDataRatesBulkUpdate) | **Put** /wireless/supported-data-rates/ | +[**WirelessSupportedDataRatesCreate**](WirelessAPI.md#WirelessSupportedDataRatesCreate) | **Post** /wireless/supported-data-rates/ | +[**WirelessSupportedDataRatesDestroy**](WirelessAPI.md#WirelessSupportedDataRatesDestroy) | **Delete** /wireless/supported-data-rates/{id}/ | +[**WirelessSupportedDataRatesList**](WirelessAPI.md#WirelessSupportedDataRatesList) | **Get** /wireless/supported-data-rates/ | +[**WirelessSupportedDataRatesNotesCreate**](WirelessAPI.md#WirelessSupportedDataRatesNotesCreate) | **Post** /wireless/supported-data-rates/{id}/notes/ | +[**WirelessSupportedDataRatesNotesList**](WirelessAPI.md#WirelessSupportedDataRatesNotesList) | **Get** /wireless/supported-data-rates/{id}/notes/ | +[**WirelessSupportedDataRatesPartialUpdate**](WirelessAPI.md#WirelessSupportedDataRatesPartialUpdate) | **Patch** /wireless/supported-data-rates/{id}/ | +[**WirelessSupportedDataRatesRetrieve**](WirelessAPI.md#WirelessSupportedDataRatesRetrieve) | **Get** /wireless/supported-data-rates/{id}/ | +[**WirelessSupportedDataRatesUpdate**](WirelessAPI.md#WirelessSupportedDataRatesUpdate) | **Put** /wireless/supported-data-rates/{id}/ | +[**WirelessWirelessNetworksBulkDestroy**](WirelessAPI.md#WirelessWirelessNetworksBulkDestroy) | **Delete** /wireless/wireless-networks/ | +[**WirelessWirelessNetworksBulkPartialUpdate**](WirelessAPI.md#WirelessWirelessNetworksBulkPartialUpdate) | **Patch** /wireless/wireless-networks/ | +[**WirelessWirelessNetworksBulkUpdate**](WirelessAPI.md#WirelessWirelessNetworksBulkUpdate) | **Put** /wireless/wireless-networks/ | +[**WirelessWirelessNetworksCreate**](WirelessAPI.md#WirelessWirelessNetworksCreate) | **Post** /wireless/wireless-networks/ | +[**WirelessWirelessNetworksDestroy**](WirelessAPI.md#WirelessWirelessNetworksDestroy) | **Delete** /wireless/wireless-networks/{id}/ | +[**WirelessWirelessNetworksList**](WirelessAPI.md#WirelessWirelessNetworksList) | **Get** /wireless/wireless-networks/ | +[**WirelessWirelessNetworksNotesCreate**](WirelessAPI.md#WirelessWirelessNetworksNotesCreate) | **Post** /wireless/wireless-networks/{id}/notes/ | +[**WirelessWirelessNetworksNotesList**](WirelessAPI.md#WirelessWirelessNetworksNotesList) | **Get** /wireless/wireless-networks/{id}/notes/ | +[**WirelessWirelessNetworksPartialUpdate**](WirelessAPI.md#WirelessWirelessNetworksPartialUpdate) | **Patch** /wireless/wireless-networks/{id}/ | +[**WirelessWirelessNetworksRetrieve**](WirelessAPI.md#WirelessWirelessNetworksRetrieve) | **Get** /wireless/wireless-networks/{id}/ | +[**WirelessWirelessNetworksUpdate**](WirelessAPI.md#WirelessWirelessNetworksUpdate) | **Put** /wireless/wireless-networks/{id}/ | + + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy + +> WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy(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.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy``: %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 apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest 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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate + +> []ControllerManagedDeviceGroupRadioProfileAssignment WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate(ctx).PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest := []openapiclient.PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{*openapiclient.NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest("Id_example")} // []PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate(context.Background()).PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate`: []ControllerManagedDeviceGroupRadioProfileAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest** | [**[]PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest**](PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]ControllerManagedDeviceGroupRadioProfileAssignment**](ControllerManagedDeviceGroupRadioProfileAssignment.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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate + +> []ControllerManagedDeviceGroupRadioProfileAssignment WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate(ctx).BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest := []openapiclient.BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{*openapiclient.NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest("Id_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate(context.Background()).BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate`: []ControllerManagedDeviceGroupRadioProfileAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest** | [**[]BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest**](BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]ControllerManagedDeviceGroupRadioProfileAssignment**](ControllerManagedDeviceGroupRadioProfileAssignment.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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate + +> ControllerManagedDeviceGroupRadioProfileAssignment WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate(ctx).ControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroupRadioProfileAssignmentRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + controllerManagedDeviceGroupRadioProfileAssignmentRequest := *openapiclient.NewControllerManagedDeviceGroupRadioProfileAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ControllerManagedDeviceGroupRadioProfileAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate(context.Background()).ControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroupRadioProfileAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate`: ControllerManagedDeviceGroupRadioProfileAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **controllerManagedDeviceGroupRadioProfileAssignmentRequest** | [**ControllerManagedDeviceGroupRadioProfileAssignmentRequest**](ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**ControllerManagedDeviceGroupRadioProfileAssignment**](ControllerManagedDeviceGroupRadioProfileAssignment.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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy + +> WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy(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 controller managed device group radio profile assignment. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy(context.Background(), id).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy``: %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 controller managed device group radio profile assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest 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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList + +> PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList(ctx).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).RadioProfile(radioProfile).RadioProfileN(radioProfileN).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + controllerManagedDeviceGroup := []string{"Inner_example"} // []string | (optional) + controllerManagedDeviceGroupN := []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) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + q := "q_example" // string | Search (optional) + radioProfile := []string{"Inner_example"} // []string | (optional) + radioProfileN := []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.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList(context.Background()).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).RadioProfile(radioProfile).RadioProfileN(radioProfileN).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList`: PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **controllerManagedDeviceGroup** | **[]string** | | + **controllerManagedDeviceGroupN** | **[]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. | + **offset** | **int32** | The initial index from which to return the results. | + **q** | **string** | Search | + **radioProfile** | **[]string** | | + **radioProfileN** | **[]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 + +[**PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList**](PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList.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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate + +> ControllerManagedDeviceGroupRadioProfileAssignment WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate(ctx, id).Format(format).PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest(patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest).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 controller managed device group radio profile assignment. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest := *openapiclient.NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest() // PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate(context.Background(), id).Format(format).PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest(patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate`: ControllerManagedDeviceGroupRadioProfileAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate`: %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 controller managed device group radio profile assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest** | [**PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest**](PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) | | + +### Return type + +[**ControllerManagedDeviceGroupRadioProfileAssignment**](ControllerManagedDeviceGroupRadioProfileAssignment.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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve + +> ControllerManagedDeviceGroupRadioProfileAssignment WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve(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 controller managed device group radio profile 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.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve`: ControllerManagedDeviceGroupRadioProfileAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve`: %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 controller managed device group radio profile assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest 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 + +[**ControllerManagedDeviceGroupRadioProfileAssignment**](ControllerManagedDeviceGroupRadioProfileAssignment.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) + + +## WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate + +> ControllerManagedDeviceGroupRadioProfileAssignment WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate(ctx, id).ControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroupRadioProfileAssignmentRequest).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 controller managed device group radio profile assignment. + controllerManagedDeviceGroupRadioProfileAssignmentRequest := *openapiclient.NewControllerManagedDeviceGroupRadioProfileAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ControllerManagedDeviceGroupRadioProfileAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate(context.Background(), id).ControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroupRadioProfileAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate`: ControllerManagedDeviceGroupRadioProfileAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate`: %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 controller managed device group radio profile assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **controllerManagedDeviceGroupRadioProfileAssignmentRequest** | [**ControllerManagedDeviceGroupRadioProfileAssignmentRequest**](ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**ControllerManagedDeviceGroupRadioProfileAssignment**](ControllerManagedDeviceGroupRadioProfileAssignment.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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy + +> WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy(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.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy``: %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 apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest 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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate + +> []ControllerManagedDeviceGroupWirelessNetworkAssignment WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate(ctx).PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest := []openapiclient.PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{*openapiclient.NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest("Id_example")} // []PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate(context.Background()).PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate`: []ControllerManagedDeviceGroupWirelessNetworkAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest** | [**[]PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest**](PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]ControllerManagedDeviceGroupWirelessNetworkAssignment**](ControllerManagedDeviceGroupWirelessNetworkAssignment.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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate + +> []ControllerManagedDeviceGroupWirelessNetworkAssignment WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate(ctx).BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest := []openapiclient.BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{*openapiclient.NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest("Id_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate(context.Background()).BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate`: []ControllerManagedDeviceGroupWirelessNetworkAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest** | [**[]BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest**](BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]ControllerManagedDeviceGroupWirelessNetworkAssignment**](ControllerManagedDeviceGroupWirelessNetworkAssignment.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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate + +> ControllerManagedDeviceGroupWirelessNetworkAssignment WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate(ctx).ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + controllerManagedDeviceGroupWirelessNetworkAssignmentRequest := *openapiclient.NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate(context.Background()).ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate`: ControllerManagedDeviceGroupWirelessNetworkAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **controllerManagedDeviceGroupWirelessNetworkAssignmentRequest** | [**ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest**](ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**ControllerManagedDeviceGroupWirelessNetworkAssignment**](ControllerManagedDeviceGroupWirelessNetworkAssignment.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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy + +> WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy(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 controller managed device group wireless network assignment. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy(context.Background(), id).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy``: %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 controller managed device group wireless network assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest 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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList + +> PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList(ctx).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Sort(sort).Vlan(vlan).VlanIsnull(vlanIsnull).VlanN(vlanN).WirelessNetwork(wirelessNetwork).WirelessNetworkN(wirelessNetworkN).Depth(depth).ExcludeM2m(excludeM2m).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + controllerManagedDeviceGroup := []string{"Inner_example"} // []string | (optional) + controllerManagedDeviceGroupN := []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) + 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) + vlan := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + vlanIsnull := true // bool | (optional) + vlanN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + wirelessNetwork := []string{"Inner_example"} // []string | (optional) + wirelessNetworkN := []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.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList(context.Background()).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Sort(sort).Vlan(vlan).VlanIsnull(vlanIsnull).VlanN(vlanN).WirelessNetwork(wirelessNetwork).WirelessNetworkN(wirelessNetworkN).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList`: PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **controllerManagedDeviceGroup** | **[]string** | | + **controllerManagedDeviceGroupN** | **[]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. | + **offset** | **int32** | The initial index from which to return the results. | + **q** | **string** | Search | + **sort** | **string** | Which field to use when ordering the results. | + **vlan** | **string** | | + **vlanIsnull** | **bool** | | + **vlanN** | **string** | | + **wirelessNetwork** | **[]string** | | + **wirelessNetworkN** | **[]string** | | + **depth** | **int32** | Serializer Depth | [default to 1] + **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false] + +### Return type + +[**PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList**](PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList.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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate + +> ControllerManagedDeviceGroupWirelessNetworkAssignment WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate(ctx, id).Format(format).PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest).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 controller managed device group wireless network assignment. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest := *openapiclient.NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest() // PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate(context.Background(), id).Format(format).PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate`: ControllerManagedDeviceGroupWirelessNetworkAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate`: %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 controller managed device group wireless network assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest** | [**PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest**](PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) | | + +### Return type + +[**ControllerManagedDeviceGroupWirelessNetworkAssignment**](ControllerManagedDeviceGroupWirelessNetworkAssignment.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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve + +> ControllerManagedDeviceGroupWirelessNetworkAssignment WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve(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 controller managed device group wireless 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.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve`: ControllerManagedDeviceGroupWirelessNetworkAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve`: %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 controller managed device group wireless network assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest 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 + +[**ControllerManagedDeviceGroupWirelessNetworkAssignment**](ControllerManagedDeviceGroupWirelessNetworkAssignment.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) + + +## WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate + +> ControllerManagedDeviceGroupWirelessNetworkAssignment WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate(ctx, id).ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroupWirelessNetworkAssignmentRequest).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 controller managed device group wireless network assignment. + controllerManagedDeviceGroupWirelessNetworkAssignmentRequest := *openapiclient.NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate(context.Background(), id).ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroupWirelessNetworkAssignmentRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate`: ControllerManagedDeviceGroupWirelessNetworkAssignment + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate`: %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 controller managed device group wireless network assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **controllerManagedDeviceGroupWirelessNetworkAssignmentRequest** | [**ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest**](ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**ControllerManagedDeviceGroupWirelessNetworkAssignment**](ControllerManagedDeviceGroupWirelessNetworkAssignment.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) + + +## WirelessRadioProfilesBulkDestroy + +> WirelessRadioProfilesBulkDestroy(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.WirelessAPI.WirelessRadioProfilesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesBulkDestroy``: %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 apiWirelessRadioProfilesBulkDestroyRequest 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) + + +## WirelessRadioProfilesBulkPartialUpdate + +> []RadioProfile WirelessRadioProfilesBulkPartialUpdate(ctx).PatchedBulkWritableRadioProfileRequest(patchedBulkWritableRadioProfileRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + patchedBulkWritableRadioProfileRequest := []openapiclient.PatchedBulkWritableRadioProfileRequest{*openapiclient.NewPatchedBulkWritableRadioProfileRequest("Id_example")} // []PatchedBulkWritableRadioProfileRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessRadioProfilesBulkPartialUpdate(context.Background()).PatchedBulkWritableRadioProfileRequest(patchedBulkWritableRadioProfileRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesBulkPartialUpdate`: []RadioProfile + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **patchedBulkWritableRadioProfileRequest** | [**[]PatchedBulkWritableRadioProfileRequest**](PatchedBulkWritableRadioProfileRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]RadioProfile**](RadioProfile.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) + + +## WirelessRadioProfilesBulkUpdate + +> []RadioProfile WirelessRadioProfilesBulkUpdate(ctx).BulkWritableRadioProfileRequest(bulkWritableRadioProfileRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + bulkWritableRadioProfileRequest := []openapiclient.BulkWritableRadioProfileRequest{*openapiclient.NewBulkWritableRadioProfileRequest("Id_example", "Name_example", openapiclient.RegulatoryDomainEnum("AD"))} // []BulkWritableRadioProfileRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessRadioProfilesBulkUpdate(context.Background()).BulkWritableRadioProfileRequest(bulkWritableRadioProfileRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesBulkUpdate`: []RadioProfile + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bulkWritableRadioProfileRequest** | [**[]BulkWritableRadioProfileRequest**](BulkWritableRadioProfileRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]RadioProfile**](RadioProfile.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) + + +## WirelessRadioProfilesCreate + +> RadioProfile WirelessRadioProfilesCreate(ctx).RadioProfileRequest(radioProfileRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + radioProfileRequest := *openapiclient.NewRadioProfileRequest("Name_example", openapiclient.RegulatoryDomainEnum("AD")) // RadioProfileRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessRadioProfilesCreate(context.Background()).RadioProfileRequest(radioProfileRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesCreate`: RadioProfile + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **radioProfileRequest** | [**RadioProfileRequest**](RadioProfileRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**RadioProfile**](RadioProfile.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) + + +## WirelessRadioProfilesDestroy + +> WirelessRadioProfilesDestroy(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 radio profile. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.WirelessAPI.WirelessRadioProfilesDestroy(context.Background(), id).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesDestroy``: %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 radio profile. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesDestroyRequest 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) + + +## WirelessRadioProfilesList + +> PaginatedRadioProfileList WirelessRadioProfilesList(ctx).AllowedChannelList(allowedChannelList).ChannelWidth(channelWidth).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerManagedDeviceGroups(controllerManagedDeviceGroups).ControllerManagedDeviceGroupsIsnull(controllerManagedDeviceGroupsIsnull).ControllerManagedDeviceGroupsN(controllerManagedDeviceGroupsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Frequency(frequency).FrequencyIc(frequencyIc).FrequencyIe(frequencyIe).FrequencyIew(frequencyIew).FrequencyIre(frequencyIre).FrequencyIsw(frequencyIsw).FrequencyN(frequencyN).FrequencyNic(frequencyNic).FrequencyNie(frequencyNie).FrequencyNiew(frequencyNiew).FrequencyNire(frequencyNire).FrequencyNisw(frequencyNisw).FrequencyNre(frequencyNre).FrequencyRe(frequencyRe).HasControllerManagedDeviceGroups(hasControllerManagedDeviceGroups).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).RegulatoryDomain(regulatoryDomain).RegulatoryDomainIc(regulatoryDomainIc).RegulatoryDomainIe(regulatoryDomainIe).RegulatoryDomainIew(regulatoryDomainIew).RegulatoryDomainIre(regulatoryDomainIre).RegulatoryDomainIsw(regulatoryDomainIsw).RegulatoryDomainN(regulatoryDomainN).RegulatoryDomainNic(regulatoryDomainNic).RegulatoryDomainNie(regulatoryDomainNie).RegulatoryDomainNiew(regulatoryDomainNiew).RegulatoryDomainNire(regulatoryDomainNire).RegulatoryDomainNisw(regulatoryDomainNisw).RegulatoryDomainNre(regulatoryDomainNre).RegulatoryDomainRe(regulatoryDomainRe).RxPowerMin(rxPowerMin).RxPowerMinGt(rxPowerMinGt).RxPowerMinGte(rxPowerMinGte).RxPowerMinIsnull(rxPowerMinIsnull).RxPowerMinLt(rxPowerMinLt).RxPowerMinLte(rxPowerMinLte).RxPowerMinN(rxPowerMinN).Sort(sort).SupportedDataRates(supportedDataRates).SupportedDataRatesN(supportedDataRatesN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TxPowerMax(txPowerMax).TxPowerMaxGt(txPowerMaxGt).TxPowerMaxGte(txPowerMaxGte).TxPowerMaxIsnull(txPowerMaxIsnull).TxPowerMaxLt(txPowerMaxLt).TxPowerMaxLte(txPowerMaxLte).TxPowerMaxN(txPowerMaxN).TxPowerMin(txPowerMin).TxPowerMinGt(txPowerMinGt).TxPowerMinGte(txPowerMinGte).TxPowerMinIsnull(txPowerMinIsnull).TxPowerMinLt(txPowerMinLt).TxPowerMinLte(txPowerMinLte).TxPowerMinN(txPowerMinN).Depth(depth).ExcludeM2m(excludeM2m).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + allowedChannelList := []string{"Inner_example"} // []string | (optional) + channelWidth := float32(8.14) // float32 | (optional) + contacts := []string{"Inner_example"} // []string | (optional) + contactsIsnull := true // bool | Contacts (name or ID) is null (optional) + contactsN := []string{"Inner_example"} // []string | (optional) + controllerManagedDeviceGroups := []string{"Inner_example"} // []string | (optional) + controllerManagedDeviceGroupsIsnull := true // bool | Controller Managed Device Groups (name or ID) is null (optional) + controllerManagedDeviceGroupsN := []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 := []string{"Inner_example"} // []string | (optional) + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + frequency := []string{"Inner_example"} // []string | (optional) + frequencyIc := []string{"Inner_example"} // []string | (optional) + frequencyIe := []string{"Inner_example"} // []string | (optional) + frequencyIew := []string{"Inner_example"} // []string | (optional) + frequencyIre := []string{"Inner_example"} // []string | (optional) + frequencyIsw := []string{"Inner_example"} // []string | (optional) + frequencyN := []string{"Inner_example"} // []string | (optional) + frequencyNic := []string{"Inner_example"} // []string | (optional) + frequencyNie := []string{"Inner_example"} // []string | (optional) + frequencyNiew := []string{"Inner_example"} // []string | (optional) + frequencyNire := []string{"Inner_example"} // []string | (optional) + frequencyNisw := []string{"Inner_example"} // []string | (optional) + frequencyNre := []string{"Inner_example"} // []string | (optional) + frequencyRe := []string{"Inner_example"} // []string | (optional) + hasControllerManagedDeviceGroups := true // bool | Has controller managed device groups (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) + 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) + regulatoryDomain := []string{"Inner_example"} // []string | (optional) + regulatoryDomainIc := []string{"Inner_example"} // []string | (optional) + regulatoryDomainIe := []string{"Inner_example"} // []string | (optional) + regulatoryDomainIew := []string{"Inner_example"} // []string | (optional) + regulatoryDomainIre := []string{"Inner_example"} // []string | (optional) + regulatoryDomainIsw := []string{"Inner_example"} // []string | (optional) + regulatoryDomainN := []string{"Inner_example"} // []string | (optional) + regulatoryDomainNic := []string{"Inner_example"} // []string | (optional) + regulatoryDomainNie := []string{"Inner_example"} // []string | (optional) + regulatoryDomainNiew := []string{"Inner_example"} // []string | (optional) + regulatoryDomainNire := []string{"Inner_example"} // []string | (optional) + regulatoryDomainNisw := []string{"Inner_example"} // []string | (optional) + regulatoryDomainNre := []string{"Inner_example"} // []string | (optional) + regulatoryDomainRe := []string{"Inner_example"} // []string | (optional) + rxPowerMin := []int32{int32(123)} // []int32 | (optional) + rxPowerMinGt := []int32{int32(123)} // []int32 | (optional) + rxPowerMinGte := []int32{int32(123)} // []int32 | (optional) + rxPowerMinIsnull := true // bool | (optional) + rxPowerMinLt := []int32{int32(123)} // []int32 | (optional) + rxPowerMinLte := []int32{int32(123)} // []int32 | (optional) + rxPowerMinN := []int32{int32(123)} // []int32 | (optional) + sort := "sort_example" // string | Which field to use when ordering the results. (optional) + supportedDataRates := []string{"Inner_example"} // []string | (optional) + supportedDataRatesN := []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) + txPowerMax := []int32{int32(123)} // []int32 | (optional) + txPowerMaxGt := []int32{int32(123)} // []int32 | (optional) + txPowerMaxGte := []int32{int32(123)} // []int32 | (optional) + txPowerMaxIsnull := true // bool | (optional) + txPowerMaxLt := []int32{int32(123)} // []int32 | (optional) + txPowerMaxLte := []int32{int32(123)} // []int32 | (optional) + txPowerMaxN := []int32{int32(123)} // []int32 | (optional) + txPowerMin := []int32{int32(123)} // []int32 | (optional) + txPowerMinGt := []int32{int32(123)} // []int32 | (optional) + txPowerMinGte := []int32{int32(123)} // []int32 | (optional) + txPowerMinIsnull := true // bool | (optional) + txPowerMinLt := []int32{int32(123)} // []int32 | (optional) + txPowerMinLte := []int32{int32(123)} // []int32 | (optional) + txPowerMinN := []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.WirelessAPI.WirelessRadioProfilesList(context.Background()).AllowedChannelList(allowedChannelList).ChannelWidth(channelWidth).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerManagedDeviceGroups(controllerManagedDeviceGroups).ControllerManagedDeviceGroupsIsnull(controllerManagedDeviceGroupsIsnull).ControllerManagedDeviceGroupsN(controllerManagedDeviceGroupsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Frequency(frequency).FrequencyIc(frequencyIc).FrequencyIe(frequencyIe).FrequencyIew(frequencyIew).FrequencyIre(frequencyIre).FrequencyIsw(frequencyIsw).FrequencyN(frequencyN).FrequencyNic(frequencyNic).FrequencyNie(frequencyNie).FrequencyNiew(frequencyNiew).FrequencyNire(frequencyNire).FrequencyNisw(frequencyNisw).FrequencyNre(frequencyNre).FrequencyRe(frequencyRe).HasControllerManagedDeviceGroups(hasControllerManagedDeviceGroups).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).RegulatoryDomain(regulatoryDomain).RegulatoryDomainIc(regulatoryDomainIc).RegulatoryDomainIe(regulatoryDomainIe).RegulatoryDomainIew(regulatoryDomainIew).RegulatoryDomainIre(regulatoryDomainIre).RegulatoryDomainIsw(regulatoryDomainIsw).RegulatoryDomainN(regulatoryDomainN).RegulatoryDomainNic(regulatoryDomainNic).RegulatoryDomainNie(regulatoryDomainNie).RegulatoryDomainNiew(regulatoryDomainNiew).RegulatoryDomainNire(regulatoryDomainNire).RegulatoryDomainNisw(regulatoryDomainNisw).RegulatoryDomainNre(regulatoryDomainNre).RegulatoryDomainRe(regulatoryDomainRe).RxPowerMin(rxPowerMin).RxPowerMinGt(rxPowerMinGt).RxPowerMinGte(rxPowerMinGte).RxPowerMinIsnull(rxPowerMinIsnull).RxPowerMinLt(rxPowerMinLt).RxPowerMinLte(rxPowerMinLte).RxPowerMinN(rxPowerMinN).Sort(sort).SupportedDataRates(supportedDataRates).SupportedDataRatesN(supportedDataRatesN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TxPowerMax(txPowerMax).TxPowerMaxGt(txPowerMaxGt).TxPowerMaxGte(txPowerMaxGte).TxPowerMaxIsnull(txPowerMaxIsnull).TxPowerMaxLt(txPowerMaxLt).TxPowerMaxLte(txPowerMaxLte).TxPowerMaxN(txPowerMaxN).TxPowerMin(txPowerMin).TxPowerMinGt(txPowerMinGt).TxPowerMinGte(txPowerMinGte).TxPowerMinIsnull(txPowerMinIsnull).TxPowerMinLt(txPowerMinLt).TxPowerMinLte(txPowerMinLte).TxPowerMinN(txPowerMinN).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesList`: PaginatedRadioProfileList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **allowedChannelList** | **[]string** | | + **channelWidth** | **float32** | | + **contacts** | **[]string** | | + **contactsIsnull** | **bool** | Contacts (name or ID) is null | + **contactsN** | **[]string** | | + **controllerManagedDeviceGroups** | **[]string** | | + **controllerManagedDeviceGroupsIsnull** | **bool** | Controller Managed Device Groups (name or ID) is null | + **controllerManagedDeviceGroupsN** | **[]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** | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **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** | Has controller managed device groups | + **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) | | + **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 | + **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** | Which field to use when ordering the results. | + **supportedDataRates** | **[]string** | | + **supportedDataRatesN** | **[]string** | | + **tags** | **[]string** | | + **tagsIsnull** | **bool** | | + **tagsN** | **[]string** | | + **teams** | **[]string** | | + **teamsIsnull** | **bool** | Teams (name or ID) is null | + **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** | Serializer Depth | [default to 1] + **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false] + +### Return type + +[**PaginatedRadioProfileList**](PaginatedRadioProfileList.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) + + +## WirelessRadioProfilesNotesCreate + +> Note WirelessRadioProfilesNotesCreate(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 radio profile. + 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.WirelessAPI.WirelessRadioProfilesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesNotesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesNotesCreate`: Note + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesNotesCreate`: %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 radio profile. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesNotesCreateRequest 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) + + +## WirelessRadioProfilesNotesList + +> PaginatedNoteList WirelessRadioProfilesNotesList(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 radio profile. + 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.WirelessAPI.WirelessRadioProfilesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesNotesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesNotesList`: PaginatedNoteList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesNotesList`: %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 radio profile. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesNotesListRequest 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) + + +## WirelessRadioProfilesPartialUpdate + +> RadioProfile WirelessRadioProfilesPartialUpdate(ctx, id).Format(format).PatchedRadioProfileRequest(patchedRadioProfileRequest).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 radio profile. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + patchedRadioProfileRequest := *openapiclient.NewPatchedRadioProfileRequest() // PatchedRadioProfileRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessRadioProfilesPartialUpdate(context.Background(), id).Format(format).PatchedRadioProfileRequest(patchedRadioProfileRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesPartialUpdate`: RadioProfile + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesPartialUpdate`: %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 radio profile. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **patchedRadioProfileRequest** | [**PatchedRadioProfileRequest**](PatchedRadioProfileRequest.md) | | + +### Return type + +[**RadioProfile**](RadioProfile.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) + + +## WirelessRadioProfilesRetrieve + +> RadioProfile WirelessRadioProfilesRetrieve(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 radio profile. + 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.WirelessAPI.WirelessRadioProfilesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesRetrieve`: RadioProfile + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesRetrieve`: %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 radio profile. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesRetrieveRequest 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 + +[**RadioProfile**](RadioProfile.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) + + +## WirelessRadioProfilesUpdate + +> RadioProfile WirelessRadioProfilesUpdate(ctx, id).RadioProfileRequest(radioProfileRequest).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 radio profile. + radioProfileRequest := *openapiclient.NewRadioProfileRequest("Name_example", openapiclient.RegulatoryDomainEnum("AD")) // RadioProfileRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessRadioProfilesUpdate(context.Background(), id).RadioProfileRequest(radioProfileRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessRadioProfilesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessRadioProfilesUpdate`: RadioProfile + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessRadioProfilesUpdate`: %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 radio profile. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessRadioProfilesUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **radioProfileRequest** | [**RadioProfileRequest**](RadioProfileRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**RadioProfile**](RadioProfile.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) + + +## WirelessSupportedDataRatesBulkDestroy + +> WirelessSupportedDataRatesBulkDestroy(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.WirelessAPI.WirelessSupportedDataRatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesBulkDestroy``: %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 apiWirelessSupportedDataRatesBulkDestroyRequest 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) + + +## WirelessSupportedDataRatesBulkPartialUpdate + +> []SupportedDataRate WirelessSupportedDataRatesBulkPartialUpdate(ctx).PatchedBulkWritableSupportedDataRateRequest(patchedBulkWritableSupportedDataRateRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + patchedBulkWritableSupportedDataRateRequest := []openapiclient.PatchedBulkWritableSupportedDataRateRequest{*openapiclient.NewPatchedBulkWritableSupportedDataRateRequest("Id_example")} // []PatchedBulkWritableSupportedDataRateRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessSupportedDataRatesBulkPartialUpdate(context.Background()).PatchedBulkWritableSupportedDataRateRequest(patchedBulkWritableSupportedDataRateRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesBulkPartialUpdate`: []SupportedDataRate + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **patchedBulkWritableSupportedDataRateRequest** | [**[]PatchedBulkWritableSupportedDataRateRequest**](PatchedBulkWritableSupportedDataRateRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]SupportedDataRate**](SupportedDataRate.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) + + +## WirelessSupportedDataRatesBulkUpdate + +> []SupportedDataRate WirelessSupportedDataRatesBulkUpdate(ctx).BulkWritableSupportedDataRateRequest(bulkWritableSupportedDataRateRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + bulkWritableSupportedDataRateRequest := []openapiclient.BulkWritableSupportedDataRateRequest{*openapiclient.NewBulkWritableSupportedDataRateRequest("Id_example", openapiclient.StandardEnum("802.11a"), int32(123))} // []BulkWritableSupportedDataRateRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessSupportedDataRatesBulkUpdate(context.Background()).BulkWritableSupportedDataRateRequest(bulkWritableSupportedDataRateRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesBulkUpdate`: []SupportedDataRate + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bulkWritableSupportedDataRateRequest** | [**[]BulkWritableSupportedDataRateRequest**](BulkWritableSupportedDataRateRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]SupportedDataRate**](SupportedDataRate.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) + + +## WirelessSupportedDataRatesCreate + +> SupportedDataRate WirelessSupportedDataRatesCreate(ctx).SupportedDataRateRequest(supportedDataRateRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + supportedDataRateRequest := *openapiclient.NewSupportedDataRateRequest(openapiclient.StandardEnum("802.11a"), int32(123)) // SupportedDataRateRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessSupportedDataRatesCreate(context.Background()).SupportedDataRateRequest(supportedDataRateRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesCreate`: SupportedDataRate + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **supportedDataRateRequest** | [**SupportedDataRateRequest**](SupportedDataRateRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**SupportedDataRate**](SupportedDataRate.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) + + +## WirelessSupportedDataRatesDestroy + +> WirelessSupportedDataRatesDestroy(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 supported data rate. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.WirelessAPI.WirelessSupportedDataRatesDestroy(context.Background(), id).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesDestroy``: %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 supported data rate. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesDestroyRequest 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) + + +## WirelessSupportedDataRatesList + +> PaginatedSupportedDataRateList WirelessSupportedDataRatesList(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).HasRadioProfiles(hasRadioProfiles).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).McsIndex(mcsIndex).McsIndexGt(mcsIndexGt).McsIndexGte(mcsIndexGte).McsIndexIsnull(mcsIndexIsnull).McsIndexLt(mcsIndexLt).McsIndexLte(mcsIndexLte).McsIndexN(mcsIndexN).Offset(offset).Q(q).RadioProfiles(radioProfiles).RadioProfilesIsnull(radioProfilesIsnull).RadioProfilesN(radioProfilesN).Rate(rate).RateGt(rateGt).RateGte(rateGte).RateLt(rateLt).RateLte(rateLte).RateN(rateN).Sort(sort).Standard(standard).StandardIc(standardIc).StandardIe(standardIe).StandardIew(standardIew).StandardIre(standardIre).StandardIsw(standardIsw).StandardN(standardN).StandardNic(standardNic).StandardNie(standardNie).StandardNiew(standardNiew).StandardNire(standardNire).StandardNisw(standardNisw).StandardNre(standardNre).StandardRe(standardRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).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) + dynamicGroups := []string{"Inner_example"} // []string | (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) + 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) + limit := int32(56) // int32 | Number of results to return per page. (optional) + mcsIndex := []int32{int32(123)} // []int32 | (optional) + mcsIndexGt := []int32{int32(123)} // []int32 | (optional) + mcsIndexGte := []int32{int32(123)} // []int32 | (optional) + mcsIndexIsnull := true // bool | (optional) + mcsIndexLt := []int32{int32(123)} // []int32 | (optional) + mcsIndexLte := []int32{int32(123)} // []int32 | (optional) + mcsIndexN := []int32{int32(123)} // []int32 | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + q := "q_example" // string | Search (optional) + radioProfiles := []string{"Inner_example"} // []string | (optional) + radioProfilesIsnull := true // bool | Radio Profile (name or ID) is null (optional) + radioProfilesN := []string{"Inner_example"} // []string | (optional) + rate := []int32{int32(123)} // []int32 | (optional) + rateGt := []int32{int32(123)} // []int32 | (optional) + rateGte := []int32{int32(123)} // []int32 | (optional) + rateLt := []int32{int32(123)} // []int32 | (optional) + rateLte := []int32{int32(123)} // []int32 | (optional) + rateN := []int32{int32(123)} // []int32 | (optional) + sort := "sort_example" // string | Which field to use when ordering the results. (optional) + standard := []string{"Inner_example"} // []string | (optional) + standardIc := []string{"Inner_example"} // []string | (optional) + standardIe := []string{"Inner_example"} // []string | (optional) + standardIew := []string{"Inner_example"} // []string | (optional) + standardIre := []string{"Inner_example"} // []string | (optional) + standardIsw := []string{"Inner_example"} // []string | (optional) + standardN := []string{"Inner_example"} // []string | (optional) + standardNic := []string{"Inner_example"} // []string | (optional) + standardNie := []string{"Inner_example"} // []string | (optional) + standardNiew := []string{"Inner_example"} // []string | (optional) + standardNire := []string{"Inner_example"} // []string | (optional) + standardNisw := []string{"Inner_example"} // []string | (optional) + standardNre := []string{"Inner_example"} // []string | (optional) + standardRe := []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) + depth := int32(56) // int32 | Serializer Depth (optional) (default to 1) + excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessSupportedDataRatesList(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).HasRadioProfiles(hasRadioProfiles).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).McsIndex(mcsIndex).McsIndexGt(mcsIndexGt).McsIndexGte(mcsIndexGte).McsIndexIsnull(mcsIndexIsnull).McsIndexLt(mcsIndexLt).McsIndexLte(mcsIndexLte).McsIndexN(mcsIndexN).Offset(offset).Q(q).RadioProfiles(radioProfiles).RadioProfilesIsnull(radioProfilesIsnull).RadioProfilesN(radioProfilesN).Rate(rate).RateGt(rateGt).RateGte(rateGte).RateLt(rateLt).RateLte(rateLte).RateN(rateN).Sort(sort).Standard(standard).StandardIc(standardIc).StandardIe(standardIe).StandardIew(standardIew).StandardIre(standardIre).StandardIsw(standardIsw).StandardN(standardN).StandardNic(standardNic).StandardNie(standardNie).StandardNiew(standardNiew).StandardNire(standardNire).StandardNisw(standardNisw).StandardNre(standardNre).StandardRe(standardRe).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 `WirelessAPI.WirelessSupportedDataRatesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesList`: PaginatedSupportedDataRateList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesListRequest 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) | | + **dynamicGroups** | **[]string** | | + **dynamicGroupsN** | **[]string** | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **hasRadioProfiles** | **bool** | Has radio profiles | + **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) | | + **limit** | **int32** | Number of results to return per page. | + **mcsIndex** | **[]int32** | | + **mcsIndexGt** | **[]int32** | | + **mcsIndexGte** | **[]int32** | | + **mcsIndexIsnull** | **bool** | | + **mcsIndexLt** | **[]int32** | | + **mcsIndexLte** | **[]int32** | | + **mcsIndexN** | **[]int32** | | + **offset** | **int32** | The initial index from which to return the results. | + **q** | **string** | Search | + **radioProfiles** | **[]string** | | + **radioProfilesIsnull** | **bool** | Radio Profile (name or ID) is null | + **radioProfilesN** | **[]string** | | + **rate** | **[]int32** | | + **rateGt** | **[]int32** | | + **rateGte** | **[]int32** | | + **rateLt** | **[]int32** | | + **rateLte** | **[]int32** | | + **rateN** | **[]int32** | | + **sort** | **string** | Which field to use when ordering the results. | + **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** | 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 + +[**PaginatedSupportedDataRateList**](PaginatedSupportedDataRateList.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) + + +## WirelessSupportedDataRatesNotesCreate + +> Note WirelessSupportedDataRatesNotesCreate(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 supported data rate. + 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.WirelessAPI.WirelessSupportedDataRatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesNotesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesNotesCreate`: Note + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesNotesCreate`: %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 supported data rate. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesNotesCreateRequest 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) + + +## WirelessSupportedDataRatesNotesList + +> PaginatedNoteList WirelessSupportedDataRatesNotesList(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 supported data rate. + 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.WirelessAPI.WirelessSupportedDataRatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesNotesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesNotesList`: PaginatedNoteList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesNotesList`: %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 supported data rate. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesNotesListRequest 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) + + +## WirelessSupportedDataRatesPartialUpdate + +> SupportedDataRate WirelessSupportedDataRatesPartialUpdate(ctx, id).Format(format).PatchedSupportedDataRateRequest(patchedSupportedDataRateRequest).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 supported data rate. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + patchedSupportedDataRateRequest := *openapiclient.NewPatchedSupportedDataRateRequest() // PatchedSupportedDataRateRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessSupportedDataRatesPartialUpdate(context.Background(), id).Format(format).PatchedSupportedDataRateRequest(patchedSupportedDataRateRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesPartialUpdate`: SupportedDataRate + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesPartialUpdate`: %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 supported data rate. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **patchedSupportedDataRateRequest** | [**PatchedSupportedDataRateRequest**](PatchedSupportedDataRateRequest.md) | | + +### Return type + +[**SupportedDataRate**](SupportedDataRate.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) + + +## WirelessSupportedDataRatesRetrieve + +> SupportedDataRate WirelessSupportedDataRatesRetrieve(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 supported data rate. + 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.WirelessAPI.WirelessSupportedDataRatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesRetrieve`: SupportedDataRate + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesRetrieve`: %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 supported data rate. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesRetrieveRequest 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 + +[**SupportedDataRate**](SupportedDataRate.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) + + +## WirelessSupportedDataRatesUpdate + +> SupportedDataRate WirelessSupportedDataRatesUpdate(ctx, id).SupportedDataRateRequest(supportedDataRateRequest).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 supported data rate. + supportedDataRateRequest := *openapiclient.NewSupportedDataRateRequest(openapiclient.StandardEnum("802.11a"), int32(123)) // SupportedDataRateRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessSupportedDataRatesUpdate(context.Background(), id).SupportedDataRateRequest(supportedDataRateRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessSupportedDataRatesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessSupportedDataRatesUpdate`: SupportedDataRate + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessSupportedDataRatesUpdate`: %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 supported data rate. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessSupportedDataRatesUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **supportedDataRateRequest** | [**SupportedDataRateRequest**](SupportedDataRateRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**SupportedDataRate**](SupportedDataRate.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) + + +## WirelessWirelessNetworksBulkDestroy + +> WirelessWirelessNetworksBulkDestroy(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.WirelessAPI.WirelessWirelessNetworksBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksBulkDestroy``: %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 apiWirelessWirelessNetworksBulkDestroyRequest 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) + + +## WirelessWirelessNetworksBulkPartialUpdate + +> []WirelessNetwork WirelessWirelessNetworksBulkPartialUpdate(ctx).PatchedBulkWritableWirelessNetworkRequest(patchedBulkWritableWirelessNetworkRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + patchedBulkWritableWirelessNetworkRequest := []openapiclient.PatchedBulkWritableWirelessNetworkRequest{*openapiclient.NewPatchedBulkWritableWirelessNetworkRequest("Id_example")} // []PatchedBulkWritableWirelessNetworkRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessWirelessNetworksBulkPartialUpdate(context.Background()).PatchedBulkWritableWirelessNetworkRequest(patchedBulkWritableWirelessNetworkRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksBulkPartialUpdate`: []WirelessNetwork + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **patchedBulkWritableWirelessNetworkRequest** | [**[]PatchedBulkWritableWirelessNetworkRequest**](PatchedBulkWritableWirelessNetworkRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]WirelessNetwork**](WirelessNetwork.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) + + +## WirelessWirelessNetworksBulkUpdate + +> []WirelessNetwork WirelessWirelessNetworksBulkUpdate(ctx).BulkWritableWirelessNetworkRequest(bulkWritableWirelessNetworkRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + bulkWritableWirelessNetworkRequest := []openapiclient.BulkWritableWirelessNetworkRequest{*openapiclient.NewBulkWritableWirelessNetworkRequest("Id_example", "Name_example", "Ssid_example", openapiclient.WirelessNetworkModeChoices("Central"), openapiclient.AuthenticationEnum("Open"))} // []BulkWritableWirelessNetworkRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessWirelessNetworksBulkUpdate(context.Background()).BulkWritableWirelessNetworkRequest(bulkWritableWirelessNetworkRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksBulkUpdate`: []WirelessNetwork + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **bulkWritableWirelessNetworkRequest** | [**[]BulkWritableWirelessNetworkRequest**](BulkWritableWirelessNetworkRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**[]WirelessNetwork**](WirelessNetwork.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) + + +## WirelessWirelessNetworksCreate + +> WirelessNetwork WirelessWirelessNetworksCreate(ctx).WirelessNetworkRequest(wirelessNetworkRequest).Format(format).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func main() { + wirelessNetworkRequest := *openapiclient.NewWirelessNetworkRequest("Name_example", "Ssid_example", openapiclient.WirelessNetworkModeChoices("Central"), openapiclient.AuthenticationEnum("Open")) // WirelessNetworkRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessWirelessNetworksCreate(context.Background()).WirelessNetworkRequest(wirelessNetworkRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksCreate`: WirelessNetwork + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **wirelessNetworkRequest** | [**WirelessNetworkRequest**](WirelessNetworkRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**WirelessNetwork**](WirelessNetwork.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) + + +## WirelessWirelessNetworksDestroy + +> WirelessWirelessNetworksDestroy(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 wireless network. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.WirelessAPI.WirelessWirelessNetworksDestroy(context.Background(), id).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksDestroy``: %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 wireless network. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksDestroyRequest 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) + + +## WirelessWirelessNetworksList + +> PaginatedWirelessNetworkList WirelessWirelessNetworksList(ctx).Authentication(authentication).AuthenticationIc(authenticationIc).AuthenticationIe(authenticationIe).AuthenticationIew(authenticationIew).AuthenticationIre(authenticationIre).AuthenticationIsw(authenticationIsw).AuthenticationN(authenticationN).AuthenticationNic(authenticationNic).AuthenticationNie(authenticationNie).AuthenticationNiew(authenticationNiew).AuthenticationNire(authenticationNire).AuthenticationNisw(authenticationNisw).AuthenticationNre(authenticationNre).AuthenticationRe(authenticationRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerManagedDeviceGroups(controllerManagedDeviceGroups).ControllerManagedDeviceGroupsIsnull(controllerManagedDeviceGroupsIsnull).ControllerManagedDeviceGroupsN(controllerManagedDeviceGroupsN).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).Enabled(enabled).Format(format).HasControllerManagedDeviceGroups(hasControllerManagedDeviceGroups).Hidden(hidden).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).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).Name(name).NameIc(nameIc).NameIe(nameIe).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).Ssid(ssid).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIre(ssidIre).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNire(ssidNire).SsidNisw(ssidNisw).SsidNre(ssidNre).SsidRe(ssidRe).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() { + authentication := []string{"Inner_example"} // []string | (optional) + authenticationIc := []string{"Inner_example"} // []string | (optional) + authenticationIe := []string{"Inner_example"} // []string | (optional) + authenticationIew := []string{"Inner_example"} // []string | (optional) + authenticationIre := []string{"Inner_example"} // []string | (optional) + authenticationIsw := []string{"Inner_example"} // []string | (optional) + authenticationN := []string{"Inner_example"} // []string | (optional) + authenticationNic := []string{"Inner_example"} // []string | (optional) + authenticationNie := []string{"Inner_example"} // []string | (optional) + authenticationNiew := []string{"Inner_example"} // []string | (optional) + authenticationNire := []string{"Inner_example"} // []string | (optional) + authenticationNisw := []string{"Inner_example"} // []string | (optional) + authenticationNre := []string{"Inner_example"} // []string | (optional) + authenticationRe := []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) + controllerManagedDeviceGroups := []string{"Inner_example"} // []string | (optional) + controllerManagedDeviceGroupsIsnull := true // bool | Controller Managed Device Groups (name or ID) is null (optional) + controllerManagedDeviceGroupsN := []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) + enabled := true // bool | (optional) + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + hasControllerManagedDeviceGroups := true // bool | Has controller managed device groups (optional) + hidden := true // bool | (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) + limit := int32(56) // int32 | Number of results to return per page. (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) + 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) + secretsGroup := []string{"Inner_example"} // []string | (optional) + secretsGroupIsnull := true // bool | Secrets group (name or ID) is null (optional) + secretsGroupN := []string{"Inner_example"} // []string | (optional) + sort := "sort_example" // string | Which field to use when ordering the results. (optional) + ssid := []string{"Inner_example"} // []string | (optional) + ssidIc := []string{"Inner_example"} // []string | (optional) + ssidIe := []string{"Inner_example"} // []string | (optional) + ssidIew := []string{"Inner_example"} // []string | (optional) + ssidIre := []string{"Inner_example"} // []string | (optional) + ssidIsw := []string{"Inner_example"} // []string | (optional) + ssidN := []string{"Inner_example"} // []string | (optional) + ssidNic := []string{"Inner_example"} // []string | (optional) + ssidNie := []string{"Inner_example"} // []string | (optional) + ssidNiew := []string{"Inner_example"} // []string | (optional) + ssidNire := []string{"Inner_example"} // []string | (optional) + ssidNisw := []string{"Inner_example"} // []string | (optional) + ssidNre := []string{"Inner_example"} // []string | (optional) + ssidRe := []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) + depth := int32(56) // int32 | Serializer Depth (optional) (default to 1) + excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessWirelessNetworksList(context.Background()).Authentication(authentication).AuthenticationIc(authenticationIc).AuthenticationIe(authenticationIe).AuthenticationIew(authenticationIew).AuthenticationIre(authenticationIre).AuthenticationIsw(authenticationIsw).AuthenticationN(authenticationN).AuthenticationNic(authenticationNic).AuthenticationNie(authenticationNie).AuthenticationNiew(authenticationNiew).AuthenticationNire(authenticationNire).AuthenticationNisw(authenticationNisw).AuthenticationNre(authenticationNre).AuthenticationRe(authenticationRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerManagedDeviceGroups(controllerManagedDeviceGroups).ControllerManagedDeviceGroupsIsnull(controllerManagedDeviceGroupsIsnull).ControllerManagedDeviceGroupsN(controllerManagedDeviceGroupsN).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).Enabled(enabled).Format(format).HasControllerManagedDeviceGroups(hasControllerManagedDeviceGroups).Hidden(hidden).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).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).Name(name).NameIc(nameIc).NameIe(nameIe).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).Ssid(ssid).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIre(ssidIre).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNire(ssidNire).SsidNisw(ssidNisw).SsidNre(ssidNre).SsidRe(ssidRe).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 `WirelessAPI.WirelessWirelessNetworksList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksList`: PaginatedWirelessNetworkList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **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** | Contacts (name or ID) is null | + **contactsN** | **[]string** | | + **controllerManagedDeviceGroups** | **[]string** | | + **controllerManagedDeviceGroupsIsnull** | **bool** | Controller Managed Device Groups (name or ID) is null | + **controllerManagedDeviceGroupsN** | **[]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** | | + **enabled** | **bool** | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **hasControllerManagedDeviceGroups** | **bool** | Has controller managed device groups | + **hidden** | **bool** | | + **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) | | + **limit** | **int32** | Number of results to return per page. | + **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** | The initial index from which to return the results. | + **q** | **string** | Search | + **secretsGroup** | **[]string** | | + **secretsGroupIsnull** | **bool** | Secrets group (name or ID) is null | + **secretsGroupN** | **[]string** | | + **sort** | **string** | Which field to use when ordering the results. | + **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** | 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 + +[**PaginatedWirelessNetworkList**](PaginatedWirelessNetworkList.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) + + +## WirelessWirelessNetworksNotesCreate + +> Note WirelessWirelessNetworksNotesCreate(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 wireless network. + 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.WirelessAPI.WirelessWirelessNetworksNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksNotesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksNotesCreate`: Note + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksNotesCreate`: %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 wireless network. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksNotesCreateRequest 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) + + +## WirelessWirelessNetworksNotesList + +> PaginatedNoteList WirelessWirelessNetworksNotesList(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 wireless network. + 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.WirelessAPI.WirelessWirelessNetworksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksNotesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksNotesList`: PaginatedNoteList + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksNotesList`: %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 wireless network. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksNotesListRequest 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) + + +## WirelessWirelessNetworksPartialUpdate + +> WirelessNetwork WirelessWirelessNetworksPartialUpdate(ctx, id).Format(format).PatchedWirelessNetworkRequest(patchedWirelessNetworkRequest).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 wireless network. + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + patchedWirelessNetworkRequest := *openapiclient.NewPatchedWirelessNetworkRequest() // PatchedWirelessNetworkRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessWirelessNetworksPartialUpdate(context.Background(), id).Format(format).PatchedWirelessNetworkRequest(patchedWirelessNetworkRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksPartialUpdate`: WirelessNetwork + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksPartialUpdate`: %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 wireless network. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + **patchedWirelessNetworkRequest** | [**PatchedWirelessNetworkRequest**](PatchedWirelessNetworkRequest.md) | | + +### Return type + +[**WirelessNetwork**](WirelessNetwork.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) + + +## WirelessWirelessNetworksRetrieve + +> WirelessNetwork WirelessWirelessNetworksRetrieve(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 wireless 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.WirelessAPI.WirelessWirelessNetworksRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksRetrieve`: WirelessNetwork + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksRetrieve`: %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 wireless network. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksRetrieveRequest 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 + +[**WirelessNetwork**](WirelessNetwork.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) + + +## WirelessWirelessNetworksUpdate + +> WirelessNetwork WirelessWirelessNetworksUpdate(ctx, id).WirelessNetworkRequest(wirelessNetworkRequest).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 wireless network. + wirelessNetworkRequest := *openapiclient.NewWirelessNetworkRequest("Name_example", "Ssid_example", openapiclient.WirelessNetworkModeChoices("Central"), openapiclient.AuthenticationEnum("Open")) // WirelessNetworkRequest | + format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.WirelessAPI.WirelessWirelessNetworksUpdate(context.Background(), id).WirelessNetworkRequest(wirelessNetworkRequest).Format(format).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessNetworksUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `WirelessWirelessNetworksUpdate`: WirelessNetwork + fmt.Fprintf(os.Stdout, "Response from `WirelessAPI.WirelessWirelessNetworksUpdate`: %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 wireless network. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiWirelessWirelessNetworksUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **wirelessNetworkRequest** | [**WirelessNetworkRequest**](WirelessNetworkRequest.md) | | + **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | | + +### Return type + +[**WirelessNetwork**](WirelessNetwork.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/WirelessNetwork.md b/docs/WirelessNetwork.md new file mode 100644 index 00000000..414bec5d --- /dev/null +++ b/docs/WirelessNetwork.md @@ -0,0 +1,509 @@ +# WirelessNetwork + +## 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] +**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] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**NotesUrl** | **string** | | [readonly] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] + +## Methods + +### NewWirelessNetwork + +`func NewWirelessNetwork(objectType string, display string, url string, naturalSlug string, name string, ssid string, mode WirelessNetworkModeChoices, authentication AuthenticationEnum, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *WirelessNetwork` + +NewWirelessNetwork instantiates a new WirelessNetwork 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 + +### NewWirelessNetworkWithDefaults + +`func NewWirelessNetworkWithDefaults() *WirelessNetwork` + +NewWirelessNetworkWithDefaults instantiates a new WirelessNetwork 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 *WirelessNetwork) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WirelessNetwork) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetObjectType + +`func (o *WirelessNetwork) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetDisplay + +`func (o *WirelessNetwork) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetUrl + +`func (o *WirelessNetwork) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetNaturalSlug + +`func (o *WirelessNetwork) GetNaturalSlug() string` + +GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise. + +### GetNaturalSlugOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetNaturalSlug(v string)` + +SetNaturalSlug sets NaturalSlug field to given value. + + +### GetName + +`func (o *WirelessNetwork) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *WirelessNetwork) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *WirelessNetwork) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetSsid + +`func (o *WirelessNetwork) GetSsid() string` + +GetSsid returns the Ssid field if non-nil, zero value otherwise. + +### GetSsidOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetSsid(v string)` + +SetSsid sets Ssid field to given value. + + +### GetMode + +`func (o *WirelessNetwork) GetMode() WirelessNetworkModeChoices` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetMode(v WirelessNetworkModeChoices)` + +SetMode sets Mode field to given value. + + +### GetEnabled + +`func (o *WirelessNetwork) GetEnabled() bool` + +GetEnabled returns the Enabled field if non-nil, zero value otherwise. + +### GetEnabledOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetEnabled(v bool)` + +SetEnabled sets Enabled field to given value. + +### HasEnabled + +`func (o *WirelessNetwork) HasEnabled() bool` + +HasEnabled returns a boolean if a field has been set. + +### GetAuthentication + +`func (o *WirelessNetwork) GetAuthentication() AuthenticationEnum` + +GetAuthentication returns the Authentication field if non-nil, zero value otherwise. + +### GetAuthenticationOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetAuthentication(v AuthenticationEnum)` + +SetAuthentication sets Authentication field to given value. + + +### GetHidden + +`func (o *WirelessNetwork) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *WirelessNetwork) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + +### GetSecretsGroup + +`func (o *WirelessNetwork) GetSecretsGroup() BulkWritableCircuitRequestTenant` + +GetSecretsGroup returns the SecretsGroup field if non-nil, zero value otherwise. + +### GetSecretsGroupOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetSecretsGroup(v BulkWritableCircuitRequestTenant)` + +SetSecretsGroup sets SecretsGroup field to given value. + +### HasSecretsGroup + +`func (o *WirelessNetwork) HasSecretsGroup() bool` + +HasSecretsGroup returns a boolean if a field has been set. + +### SetSecretsGroupNil + +`func (o *WirelessNetwork) SetSecretsGroupNil(b bool)` + + SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil + +### UnsetSecretsGroup +`func (o *WirelessNetwork) UnsetSecretsGroup()` + +UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +### GetTenant + +`func (o *WirelessNetwork) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *WirelessNetwork) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *WirelessNetwork) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *WirelessNetwork) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetCreated + +`func (o *WirelessNetwork) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *WirelessNetwork) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *WirelessNetwork) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *WirelessNetwork) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *WirelessNetwork) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *WirelessNetwork) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetNotesUrl + +`func (o *WirelessNetwork) GetNotesUrl() string` + +GetNotesUrl returns the NotesUrl field if non-nil, zero value otherwise. + +### GetNotesUrlOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetNotesUrl(v string)` + +SetNotesUrl sets NotesUrl field to given value. + + +### GetCustomFields + +`func (o *WirelessNetwork) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *WirelessNetwork) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetTags + +`func (o *WirelessNetwork) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *WirelessNetwork) 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 *WirelessNetwork) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *WirelessNetwork) 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/WirelessNetworkModeChoices.md b/docs/WirelessNetworkModeChoices.md new file mode 100644 index 00000000..827e14a5 --- /dev/null +++ b/docs/WirelessNetworkModeChoices.md @@ -0,0 +1,21 @@ +# WirelessNetworkModeChoices + +## Enum + + +* `CENTRAL` (value: `"Central"`) + +* `FABRIC` (value: `"Fabric"`) + +* `STANDALONE__AUTONOMOUS` (value: `"Standalone (Autonomous)"`) + +* `LOCAL__FLEX` (value: `"Local (Flex)"`) + +* `MESH` (value: `"Mesh"`) + +* `BRIDGE` (value: `"Bridge"`) + + +[[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/WirelessNetworkRequest.md b/docs/WirelessNetworkRequest.md new file mode 100644 index 00000000..a0be8fed --- /dev/null +++ b/docs/WirelessNetworkRequest.md @@ -0,0 +1,368 @@ +# WirelessNetworkRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**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 + +### NewWirelessNetworkRequest + +`func NewWirelessNetworkRequest(name string, ssid string, mode WirelessNetworkModeChoices, authentication AuthenticationEnum, ) *WirelessNetworkRequest` + +NewWirelessNetworkRequest instantiates a new WirelessNetworkRequest 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 + +### NewWirelessNetworkRequestWithDefaults + +`func NewWirelessNetworkRequestWithDefaults() *WirelessNetworkRequest` + +NewWirelessNetworkRequestWithDefaults instantiates a new WirelessNetworkRequest 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 *WirelessNetworkRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WirelessNetworkRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *WirelessNetworkRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *WirelessNetworkRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *WirelessNetworkRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetSsid + +`func (o *WirelessNetworkRequest) GetSsid() string` + +GetSsid returns the Ssid field if non-nil, zero value otherwise. + +### GetSsidOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetSsid(v string)` + +SetSsid sets Ssid field to given value. + + +### GetMode + +`func (o *WirelessNetworkRequest) GetMode() WirelessNetworkModeChoices` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices)` + +SetMode sets Mode field to given value. + + +### GetEnabled + +`func (o *WirelessNetworkRequest) GetEnabled() bool` + +GetEnabled returns the Enabled field if non-nil, zero value otherwise. + +### GetEnabledOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetEnabled(v bool)` + +SetEnabled sets Enabled field to given value. + +### HasEnabled + +`func (o *WirelessNetworkRequest) HasEnabled() bool` + +HasEnabled returns a boolean if a field has been set. + +### GetAuthentication + +`func (o *WirelessNetworkRequest) GetAuthentication() AuthenticationEnum` + +GetAuthentication returns the Authentication field if non-nil, zero value otherwise. + +### GetAuthenticationOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetAuthentication(v AuthenticationEnum)` + +SetAuthentication sets Authentication field to given value. + + +### GetHidden + +`func (o *WirelessNetworkRequest) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *WirelessNetworkRequest) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + +### GetSecretsGroup + +`func (o *WirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant` + +GetSecretsGroup returns the SecretsGroup field if non-nil, zero value otherwise. + +### GetSecretsGroupOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant)` + +SetSecretsGroup sets SecretsGroup field to given value. + +### HasSecretsGroup + +`func (o *WirelessNetworkRequest) HasSecretsGroup() bool` + +HasSecretsGroup returns a boolean if a field has been set. + +### SetSecretsGroupNil + +`func (o *WirelessNetworkRequest) SetSecretsGroupNil(b bool)` + + SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil + +### UnsetSecretsGroup +`func (o *WirelessNetworkRequest) UnsetSecretsGroup()` + +UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +### GetTenant + +`func (o *WirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *WirelessNetworkRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *WirelessNetworkRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *WirelessNetworkRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetCustomFields + +`func (o *WirelessNetworkRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *WirelessNetworkRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *WirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *WirelessNetworkRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *WirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *WirelessNetworkRequest) 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 *WirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *WirelessNetworkRequest) 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/WritableCableRequest.md b/docs/WritableCableRequest.md index c8654502..c39b65ce 100644 --- a/docs/WritableCableRequest.md +++ b/docs/WritableCableRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **TerminationAType** | **string** | | **TerminationBType** | **string** | | **TerminationAId** | **string** | | @@ -37,6 +38,31 @@ NewWritableCableRequestWithDefaults instantiates a new WritableCableRequest 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 *WritableCableRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableCableRequest) 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 *WritableCableRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableCableRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetTerminationAType `func (o *WritableCableRequest) GetTerminationAType() string` diff --git a/docs/WritableConsolePortRequest.md b/docs/WritableConsolePortRequest.md index baa485cd..4b8de75e 100644 --- a/docs/WritableConsolePortRequest.md +++ b/docs/WritableConsolePortRequest.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] @@ -33,6 +34,31 @@ NewWritableConsolePortRequestWithDefaults instantiates a new WritableConsolePort 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 *WritableConsolePortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableConsolePortRequest) 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 *WritableConsolePortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableConsolePortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableConsolePortRequest) GetName() string` diff --git a/docs/WritableConsolePortTemplateRequest.md b/docs/WritableConsolePortTemplateRequest.md index bf17bf47..ea435b3b 100644 --- a/docs/WritableConsolePortTemplateRequest.md +++ b/docs/WritableConsolePortTemplateRequest.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 @@ NewWritableConsolePortTemplateRequestWithDefaults instantiates a new WritableCon 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 *WritableConsolePortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableConsolePortTemplateRequest) 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 *WritableConsolePortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableConsolePortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableConsolePortTemplateRequest) GetName() string` diff --git a/docs/WritableConsoleServerPortRequest.md b/docs/WritableConsoleServerPortRequest.md index 061310ce..0a3e4651 100644 --- a/docs/WritableConsoleServerPortRequest.md +++ b/docs/WritableConsoleServerPortRequest.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] @@ -33,6 +34,31 @@ NewWritableConsoleServerPortRequestWithDefaults instantiates a new WritableConso 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 *WritableConsoleServerPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableConsoleServerPortRequest) 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 *WritableConsoleServerPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableConsoleServerPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableConsoleServerPortRequest) GetName() string` diff --git a/docs/WritableConsoleServerPortTemplateRequest.md b/docs/WritableConsoleServerPortTemplateRequest.md index 7a20e735..271dd5db 100644 --- a/docs/WritableConsoleServerPortTemplateRequest.md +++ b/docs/WritableConsoleServerPortTemplateRequest.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 @@ NewWritableConsoleServerPortTemplateRequestWithDefaults instantiates a new Writa 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 *WritableConsoleServerPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableConsoleServerPortTemplateRequest) 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 *WritableConsoleServerPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableConsoleServerPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableConsoleServerPortTemplateRequest) GetName() string` diff --git a/docs/WritableCustomFieldRequest.md b/docs/WritableCustomFieldRequest.md index 60c3f09b..a1b178e2 100644 --- a/docs/WritableCustomFieldRequest.md +++ b/docs/WritableCustomFieldRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **ContentTypes** | **[]string** | | **Label** | **string** | | **Grouping** | Pointer to **string** | Human-readable grouping that this custom field belongs to. | [optional] @@ -38,6 +39,31 @@ NewWritableCustomFieldRequestWithDefaults instantiates a new WritableCustomField 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 *WritableCustomFieldRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableCustomFieldRequest) 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 *WritableCustomFieldRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableCustomFieldRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetContentTypes `func (o *WritableCustomFieldRequest) GetContentTypes() []string` diff --git a/docs/WritableDeviceRedundancyGroupRequest.md b/docs/WritableDeviceRedundancyGroupRequest.md index 0c9c3cad..50b659a0 100644 --- a/docs/WritableDeviceRedundancyGroupRequest.md +++ b/docs/WritableDeviceRedundancyGroupRequest.md @@ -4,9 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] -**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional] +**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional] [default to BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY] **Comments** | Pointer to **string** | | [optional] **Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | **SecretsGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional] @@ -33,6 +34,31 @@ NewWritableDeviceRedundancyGroupRequestWithDefaults instantiates a new WritableD 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 *WritableDeviceRedundancyGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableDeviceRedundancyGroupRequest) 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 *WritableDeviceRedundancyGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableDeviceRedundancyGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableDeviceRedundancyGroupRequest) GetName() string` diff --git a/docs/WritableDeviceRequest.md b/docs/WritableDeviceRequest.md index 7a69a6ad..10a1ca55 100644 --- a/docs/WritableDeviceRequest.md +++ b/docs/WritableDeviceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **LocalConfigContextData** | Pointer to **interface{}** | | [optional] **LocalConfigContextDataOwnerObjectId** | Pointer to **NullableString** | | [optional] **Name** | Pointer to **NullableString** | | [optional] @@ -57,6 +58,31 @@ NewWritableDeviceRequestWithDefaults instantiates a new WritableDeviceRequest 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 *WritableDeviceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableDeviceRequest) 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 *WritableDeviceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableDeviceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetLocalConfigContextData `func (o *WritableDeviceRequest) GetLocalConfigContextData() interface{}` diff --git a/docs/WritableDeviceTypeRequest.md b/docs/WritableDeviceTypeRequest.md index f554508b..6d62c8d2 100644 --- a/docs/WritableDeviceTypeRequest.md +++ b/docs/WritableDeviceTypeRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **FrontImage** | Pointer to ***os.File** | | [optional] **RearImage** | Pointer to ***os.File** | | [optional] **Model** | **string** | | @@ -37,6 +38,31 @@ NewWritableDeviceTypeRequestWithDefaults instantiates a new WritableDeviceTypeRe 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 *WritableDeviceTypeRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableDeviceTypeRequest) 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 *WritableDeviceTypeRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableDeviceTypeRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetFrontImage `func (o *WritableDeviceTypeRequest) GetFrontImage() *os.File` diff --git a/docs/WritableFrontPortRequest.md b/docs/WritableFrontPortRequest.md index a691cdf2..e024f273 100644 --- a/docs/WritableFrontPortRequest.md +++ b/docs/WritableFrontPortRequest.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] @@ -35,6 +36,31 @@ NewWritableFrontPortRequestWithDefaults instantiates a new WritableFrontPortRequ 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 *WritableFrontPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableFrontPortRequest) 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 *WritableFrontPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableFrontPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableFrontPortRequest) GetName() string` diff --git a/docs/WritableFrontPortTemplateRequest.md b/docs/WritableFrontPortTemplateRequest.md index 99a0ea4a..27452af6 100644 --- a/docs/WritableFrontPortTemplateRequest.md +++ b/docs/WritableFrontPortTemplateRequest.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] @@ -34,6 +35,31 @@ NewWritableFrontPortTemplateRequestWithDefaults instantiates a new WritableFront 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 *WritableFrontPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableFrontPortTemplateRequest) 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 *WritableFrontPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableFrontPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableFrontPortTemplateRequest) GetName() string` diff --git a/docs/WritableInterfaceRedundancyGroupRequest.md b/docs/WritableInterfaceRedundancyGroupRequest.md index 301562f1..9d2ba4cd 100644 --- a/docs/WritableInterfaceRedundancyGroupRequest.md +++ b/docs/WritableInterfaceRedundancyGroupRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Protocol** | Pointer to [**RedundancyProtocol**](RedundancyProtocol.md) | | [optional] @@ -34,6 +35,31 @@ NewWritableInterfaceRedundancyGroupRequestWithDefaults instantiates a new Writab 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 *WritableInterfaceRedundancyGroupRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableInterfaceRedundancyGroupRequest) 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 *WritableInterfaceRedundancyGroupRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableInterfaceRedundancyGroupRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableInterfaceRedundancyGroupRequest) GetName() string` diff --git a/docs/WritableInterfaceRequest.md b/docs/WritableInterfaceRequest.md index 9fe3fe25..9d10f161 100644 --- a/docs/WritableInterfaceRequest.md +++ b/docs/WritableInterfaceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **MacAddress** | Pointer to **NullableString** | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] @@ -46,6 +47,31 @@ NewWritableInterfaceRequestWithDefaults instantiates a new WritableInterfaceRequ 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 *WritableInterfaceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableInterfaceRequest) 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 *WritableInterfaceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableInterfaceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetMacAddress `func (o *WritableInterfaceRequest) GetMacAddress() string` diff --git a/docs/WritableInterfaceTemplateRequest.md b/docs/WritableInterfaceTemplateRequest.md index a00ccb59..f2d80566 100644 --- a/docs/WritableInterfaceTemplateRequest.md +++ b/docs/WritableInterfaceTemplateRequest.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] @@ -33,6 +34,31 @@ NewWritableInterfaceTemplateRequestWithDefaults instantiates a new WritableInter 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 *WritableInterfaceTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableInterfaceTemplateRequest) 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 *WritableInterfaceTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableInterfaceTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableInterfaceTemplateRequest) GetName() string` diff --git a/docs/WritablePowerFeedRequest.md b/docs/WritablePowerFeedRequest.md index a7c8c921..25a5c2ce 100644 --- a/docs/WritablePowerFeedRequest.md +++ b/docs/WritablePowerFeedRequest.md @@ -4,16 +4,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Type** | Pointer to [**PowerFeedTypeChoices**](PowerFeedTypeChoices.md) | | [optional] +**PowerPath** | Pointer to [**PatchedWritablePowerFeedRequestPowerPath**](PatchedWritablePowerFeedRequestPowerPath.md) | | [optional] **Supply** | Pointer to [**SupplyEnum**](SupplyEnum.md) | | [optional] **Phase** | Pointer to [**PhaseEnum**](PhaseEnum.md) | | [optional] **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] +**BreakerPoleCount** | Pointer to [**NullableBreakerPoleCountEnum**](BreakerPoleCountEnum.md) | | [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] @@ -24,7 +29,7 @@ Name | Type | Description | Notes ### NewWritablePowerFeedRequest -`func NewWritablePowerFeedRequest(name string, powerPanel BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, ) *WritablePowerFeedRequest` +`func NewWritablePowerFeedRequest(name string, powerPanel BulkWritablePowerFeedRequestPowerPanel, status BulkWritableCableRequestStatus, ) *WritablePowerFeedRequest` NewWritablePowerFeedRequest instantiates a new WritablePowerFeedRequest object This constructor will assign default values to properties that have it defined, @@ -39,6 +44,31 @@ NewWritablePowerFeedRequestWithDefaults instantiates a new WritablePowerFeedRequ 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 *WritablePowerFeedRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritablePowerFeedRequest) 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 *WritablePowerFeedRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritablePowerFeedRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritablePowerFeedRequest) GetName() string` @@ -84,6 +114,31 @@ SetType sets Type field to given value. HasType returns a boolean if a field has been set. +### GetPowerPath + +`func (o *WritablePowerFeedRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *WritablePowerFeedRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, 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 *WritablePowerFeedRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *WritablePowerFeedRequest) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + ### GetSupply `func (o *WritablePowerFeedRequest) GetSupply() SupplyEnum` @@ -209,6 +264,76 @@ SetMaxUtilization sets MaxUtilization field to given value. HasMaxUtilization returns a boolean if a field has been set. +### GetBreakerPosition + +`func (o *WritablePowerFeedRequest) GetBreakerPosition() int32` + +GetBreakerPosition returns the BreakerPosition field if non-nil, zero value otherwise. + +### GetBreakerPositionOk + +`func (o *WritablePowerFeedRequest) 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 *WritablePowerFeedRequest) SetBreakerPosition(v int32)` + +SetBreakerPosition sets BreakerPosition field to given value. + +### HasBreakerPosition + +`func (o *WritablePowerFeedRequest) HasBreakerPosition() bool` + +HasBreakerPosition returns a boolean if a field has been set. + +### SetBreakerPositionNil + +`func (o *WritablePowerFeedRequest) SetBreakerPositionNil(b bool)` + + SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil + +### UnsetBreakerPosition +`func (o *WritablePowerFeedRequest) UnsetBreakerPosition()` + +UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil +### GetBreakerPoleCount + +`func (o *WritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum` + +GetBreakerPoleCount returns the BreakerPoleCount field if non-nil, zero value otherwise. + +### GetBreakerPoleCountOk + +`func (o *WritablePowerFeedRequest) 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 *WritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum)` + +SetBreakerPoleCount sets BreakerPoleCount field to given value. + +### HasBreakerPoleCount + +`func (o *WritablePowerFeedRequest) HasBreakerPoleCount() bool` + +HasBreakerPoleCount returns a boolean if a field has been set. + +### SetBreakerPoleCountNil + +`func (o *WritablePowerFeedRequest) SetBreakerPoleCountNil(b bool)` + + SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil + +### UnsetBreakerPoleCount +`func (o *WritablePowerFeedRequest) UnsetBreakerPoleCount()` + +UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil ### GetComments `func (o *WritablePowerFeedRequest) GetComments() string` @@ -271,24 +396,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 *WritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus` +`func (o *WritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool)` +`func (o *WritablePowerFeedRequest) 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 *WritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus)` +`func (o *WritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel)` SetPowerPanel sets PowerPanel field to given value. +### GetDestinationPanel + +`func (o *WritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel` + +GetDestinationPanel returns the DestinationPanel field if non-nil, zero value otherwise. + +### GetDestinationPanelOk + +`func (o *WritablePowerFeedRequest) 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 *WritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel)` + +SetDestinationPanel sets DestinationPanel field to given value. + +### HasDestinationPanel + +`func (o *WritablePowerFeedRequest) HasDestinationPanel() bool` + +HasDestinationPanel returns a boolean if a field has been set. + +### SetDestinationPanelNil + +`func (o *WritablePowerFeedRequest) SetDestinationPanelNil(b bool)` + + SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil + +### UnsetDestinationPanel +`func (o *WritablePowerFeedRequest) UnsetDestinationPanel()` + +UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil ### GetRack `func (o *WritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant` diff --git a/docs/WritablePowerOutletRequest.md b/docs/WritablePowerOutletRequest.md index e45790a7..0fd9db03 100644 --- a/docs/WritablePowerOutletRequest.md +++ b/docs/WritablePowerOutletRequest.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] @@ -35,6 +36,31 @@ NewWritablePowerOutletRequestWithDefaults instantiates a new WritablePowerOutlet 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 *WritablePowerOutletRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritablePowerOutletRequest) 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 *WritablePowerOutletRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritablePowerOutletRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritablePowerOutletRequest) GetName() string` diff --git a/docs/WritablePowerOutletTemplateRequest.md b/docs/WritablePowerOutletTemplateRequest.md index 04eb733d..c7e456e3 100644 --- a/docs/WritablePowerOutletTemplateRequest.md +++ b/docs/WritablePowerOutletTemplateRequest.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] @@ -34,6 +35,31 @@ NewWritablePowerOutletTemplateRequestWithDefaults instantiates a new WritablePow 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 *WritablePowerOutletTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritablePowerOutletTemplateRequest) 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 *WritablePowerOutletTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritablePowerOutletTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritablePowerOutletTemplateRequest) GetName() string` diff --git a/docs/WritablePowerPanelRequest.md b/docs/WritablePowerPanelRequest.md new file mode 100644 index 00000000..ef11ee23 --- /dev/null +++ b/docs/WritablePowerPanelRequest.md @@ -0,0 +1,300 @@ +# WritablePowerPanelRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Name** | **string** | | +**PanelType** | Pointer to [**PatchedWritablePowerPanelRequestPanelType**](PatchedWritablePowerPanelRequestPanelType.md) | | [optional] +**BreakerPositionCount** | Pointer to **NullableInt32** | Total number of breaker positions in the panel (e.g., 42) | [optional] +**PowerPath** | Pointer to [**PatchedWritablePowerFeedRequestPowerPath**](PatchedWritablePowerFeedRequestPowerPath.md) | | [optional] +**Location** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | +**RackGroup** | 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 + +### NewWritablePowerPanelRequest + +`func NewWritablePowerPanelRequest(name string, location BulkWritableCableRequestStatus, ) *WritablePowerPanelRequest` + +NewWritablePowerPanelRequest instantiates a new WritablePowerPanelRequest 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 + +### NewWritablePowerPanelRequestWithDefaults + +`func NewWritablePowerPanelRequestWithDefaults() *WritablePowerPanelRequest` + +NewWritablePowerPanelRequestWithDefaults instantiates a new WritablePowerPanelRequest 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 *WritablePowerPanelRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritablePowerPanelRequest) 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 *WritablePowerPanelRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritablePowerPanelRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *WritablePowerPanelRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *WritablePowerPanelRequest) 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 *WritablePowerPanelRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPanelType + +`func (o *WritablePowerPanelRequest) GetPanelType() PatchedWritablePowerPanelRequestPanelType` + +GetPanelType returns the PanelType field if non-nil, zero value otherwise. + +### GetPanelTypeOk + +`func (o *WritablePowerPanelRequest) GetPanelTypeOk() (*PatchedWritablePowerPanelRequestPanelType, 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 *WritablePowerPanelRequest) SetPanelType(v PatchedWritablePowerPanelRequestPanelType)` + +SetPanelType sets PanelType field to given value. + +### HasPanelType + +`func (o *WritablePowerPanelRequest) HasPanelType() bool` + +HasPanelType returns a boolean if a field has been set. + +### GetBreakerPositionCount + +`func (o *WritablePowerPanelRequest) GetBreakerPositionCount() int32` + +GetBreakerPositionCount returns the BreakerPositionCount field if non-nil, zero value otherwise. + +### GetBreakerPositionCountOk + +`func (o *WritablePowerPanelRequest) 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 *WritablePowerPanelRequest) SetBreakerPositionCount(v int32)` + +SetBreakerPositionCount sets BreakerPositionCount field to given value. + +### HasBreakerPositionCount + +`func (o *WritablePowerPanelRequest) HasBreakerPositionCount() bool` + +HasBreakerPositionCount returns a boolean if a field has been set. + +### SetBreakerPositionCountNil + +`func (o *WritablePowerPanelRequest) SetBreakerPositionCountNil(b bool)` + + SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil + +### UnsetBreakerPositionCount +`func (o *WritablePowerPanelRequest) UnsetBreakerPositionCount()` + +UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil +### GetPowerPath + +`func (o *WritablePowerPanelRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath` + +GetPowerPath returns the PowerPath field if non-nil, zero value otherwise. + +### GetPowerPathOk + +`func (o *WritablePowerPanelRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, 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 *WritablePowerPanelRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath)` + +SetPowerPath sets PowerPath field to given value. + +### HasPowerPath + +`func (o *WritablePowerPanelRequest) HasPowerPath() bool` + +HasPowerPath returns a boolean if a field has been set. + +### GetLocation + +`func (o *WritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *WritablePowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool)` + +GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocation + +`func (o *WritablePowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus)` + +SetLocation sets Location field to given value. + + +### GetRackGroup + +`func (o *WritablePowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant` + +GetRackGroup returns the RackGroup field if non-nil, zero value otherwise. + +### GetRackGroupOk + +`func (o *WritablePowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool)` + +GetRackGroupOk returns a tuple with the RackGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackGroup + +`func (o *WritablePowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant)` + +SetRackGroup sets RackGroup field to given value. + +### HasRackGroup + +`func (o *WritablePowerPanelRequest) HasRackGroup() bool` + +HasRackGroup returns a boolean if a field has been set. + +### SetRackGroupNil + +`func (o *WritablePowerPanelRequest) SetRackGroupNil(b bool)` + + SetRackGroupNil sets the value for RackGroup to be an explicit nil + +### UnsetRackGroup +`func (o *WritablePowerPanelRequest) UnsetRackGroup()` + +UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil +### GetCustomFields + +`func (o *WritablePowerPanelRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *WritablePowerPanelRequest) 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 *WritablePowerPanelRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *WritablePowerPanelRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetRelationships + +`func (o *WritablePowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *WritablePowerPanelRequest) 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 *WritablePowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *WritablePowerPanelRequest) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + +### GetTags + +`func (o *WritablePowerPanelRequest) GetTags() []BulkWritableCableRequestStatus` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *WritablePowerPanelRequest) 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 *WritablePowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *WritablePowerPanelRequest) 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/WritablePowerPortRequest.md b/docs/WritablePowerPortRequest.md index c07d4900..cea4ad73 100644 --- a/docs/WritablePowerPortRequest.md +++ b/docs/WritablePowerPortRequest.md @@ -4,12 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] **Type** | Pointer to [**PatchedWritablePowerPortRequestType**](PatchedWritablePowerPortRequestType.md) | | [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] @@ -35,6 +37,31 @@ NewWritablePowerPortRequestWithDefaults instantiates a new WritablePowerPortRequ 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 *WritablePowerPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritablePowerPortRequest) 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 *WritablePowerPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritablePowerPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritablePowerPortRequest) GetName() string` @@ -200,6 +227,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *WritablePowerPortRequest) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *WritablePowerPortRequest) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *WritablePowerPortRequest) 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 *WritablePowerPortRequest) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *WritablePowerPortRequest) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDevice `func (o *WritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant` diff --git a/docs/WritablePowerPortTemplateRequest.md b/docs/WritablePowerPortTemplateRequest.md index 3e8b0276..d8d7e623 100644 --- a/docs/WritablePowerPortTemplateRequest.md +++ b/docs/WritablePowerPortTemplateRequest.md @@ -4,12 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] **Type** | Pointer to [**PatchedWritablePowerPortTemplateRequestType**](PatchedWritablePowerPortTemplateRequestType.md) | | [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] @@ -34,6 +36,31 @@ NewWritablePowerPortTemplateRequestWithDefaults instantiates a new WritablePower 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 *WritablePowerPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritablePowerPortTemplateRequest) 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 *WritablePowerPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritablePowerPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritablePowerPortTemplateRequest) GetName() string` @@ -199,6 +226,31 @@ HasAllocatedDraw returns a boolean if a field has been set. `func (o *WritablePowerPortTemplateRequest) UnsetAllocatedDraw()` UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +### GetPowerFactor + +`func (o *WritablePowerPortTemplateRequest) GetPowerFactor() float64` + +GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise. + +### GetPowerFactorOk + +`func (o *WritablePowerPortTemplateRequest) 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 *WritablePowerPortTemplateRequest) SetPowerFactor(v float64)` + +SetPowerFactor sets PowerFactor field to given value. + +### HasPowerFactor + +`func (o *WritablePowerPortTemplateRequest) HasPowerFactor() bool` + +HasPowerFactor returns a boolean if a field has been set. + ### GetDeviceType `func (o *WritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant` diff --git a/docs/WritablePrefixRequest.md b/docs/WritablePrefixRequest.md index b5b250b4..f2d0ffd1 100644 --- a/docs/WritablePrefixRequest.md +++ b/docs/WritablePrefixRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Prefix** | **string** | | **Location** | Pointer to [**NullableBulkWritablePrefixRequestLocation**](BulkWritablePrefixRequestLocation.md) | | [optional] **Type** | Pointer to [**PrefixTypeChoices**](PrefixTypeChoices.md) | | [optional] @@ -39,6 +40,31 @@ NewWritablePrefixRequestWithDefaults instantiates a new WritablePrefixRequest 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 *WritablePrefixRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritablePrefixRequest) 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 *WritablePrefixRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritablePrefixRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPrefix `func (o *WritablePrefixRequest) GetPrefix() string` diff --git a/docs/WritableRackRequest.md b/docs/WritableRackRequest.md index 638c5444..ba99ae89 100644 --- a/docs/WritableRackRequest.md +++ b/docs/WritableRackRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | **FacilityId** | Pointer to **NullableString** | Locally-assigned identifier | [optional] **Serial** | Pointer to **string** | | [optional] @@ -44,6 +45,31 @@ NewWritableRackRequestWithDefaults instantiates a new WritableRackRequest 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 *WritableRackRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableRackRequest) 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 *WritableRackRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableRackRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableRackRequest) GetName() string` diff --git a/docs/WritableRearPortRequest.md b/docs/WritableRearPortRequest.md index 5ffb4a24..b8c2770f 100644 --- a/docs/WritableRearPortRequest.md +++ b/docs/WritableRearPortRequest.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] @@ -34,6 +35,31 @@ NewWritableRearPortRequestWithDefaults instantiates a new WritableRearPortReques 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 *WritableRearPortRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableRearPortRequest) 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 *WritableRearPortRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableRearPortRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableRearPortRequest) GetName() string` diff --git a/docs/WritableRearPortTemplateRequest.md b/docs/WritableRearPortTemplateRequest.md index 1095ce55..9410e686 100644 --- a/docs/WritableRearPortTemplateRequest.md +++ b/docs/WritableRearPortTemplateRequest.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] @@ -33,6 +34,31 @@ NewWritableRearPortTemplateRequestWithDefaults instantiates a new WritableRearPo 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 *WritableRearPortTemplateRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableRearPortTemplateRequest) 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 *WritableRearPortTemplateRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableRearPortTemplateRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetName `func (o *WritableRearPortTemplateRequest) GetName() string` diff --git a/docs/WritableServiceRequest.md b/docs/WritableServiceRequest.md index f72bf0c9..e717b522 100644 --- a/docs/WritableServiceRequest.md +++ b/docs/WritableServiceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **Ports** | **[]int32** | | **Name** | **string** | | **Protocol** | [**ServiceProtocolChoices**](ServiceProtocolChoices.md) | | @@ -34,6 +35,31 @@ NewWritableServiceRequestWithDefaults instantiates a new WritableServiceRequest 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 *WritableServiceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableServiceRequest) 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 *WritableServiceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableServiceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetPorts `func (o *WritableServiceRequest) GetPorts() []int32` diff --git a/docs/WritableVMInterfaceRequest.md b/docs/WritableVMInterfaceRequest.md index 379c3177..c5f6103b 100644 --- a/docs/WritableVMInterfaceRequest.md +++ b/docs/WritableVMInterfaceRequest.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] **MacAddress** | Pointer to **NullableString** | | [optional] **Enabled** | Pointer to **bool** | | [optional] **Mtu** | Pointer to **NullableInt32** | | [optional] @@ -41,6 +42,31 @@ NewWritableVMInterfaceRequestWithDefaults instantiates a new WritableVMInterface 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 *WritableVMInterfaceRequest) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *WritableVMInterfaceRequest) 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 *WritableVMInterfaceRequest) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *WritableVMInterfaceRequest) HasId() bool` + +HasId returns a boolean if a field has been set. + ### GetMacAddress `func (o *WritableVMInterfaceRequest) GetMacAddress() string` diff --git a/go.mod b/go.mod index 1d9de8be..fa21b037 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/nautobot/go-nautobot/v2 go 1.18 require ( - github.com/stretchr/testify v1.9.0 + github.com/stretchr/testify v1.11.1 gopkg.in/validator.v2 v2.0.1 ) diff --git a/go.sum b/go.sum index 8edb9d22..266a1c61 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/validator.v2 v2.0.1 h1:xF0KWyGWXm/LM2G1TrEjqOu4pa6coO9AlWSf3msVfDY= diff --git a/model_access_type_enum.go b/model_access_type_enum.go index 0360f6ae..bfd9c9f5 100644 --- a/model_access_type_enum.go +++ b/model_access_type_enum.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/model_authentication_enum.go b/model_authentication_enum.go new file mode 100644 index 00000000..d8ddfc24 --- /dev/null +++ b/model_authentication_enum.go @@ -0,0 +1,123 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// AuthenticationEnum the model 'AuthenticationEnum' +type AuthenticationEnum string + +// List of AuthenticationEnum +const ( + AUTHENTICATIONENUM_OPEN AuthenticationEnum = "Open" + AUTHENTICATIONENUM_WPA2_PERSONAL AuthenticationEnum = "WPA2 Personal" + AUTHENTICATIONENUM_WPA2_ENTERPRISE AuthenticationEnum = "WPA2 Enterprise" + AUTHENTICATIONENUM_ENHANCED_OPEN AuthenticationEnum = "Enhanced Open" + AUTHENTICATIONENUM_WPA3_PERSONAL AuthenticationEnum = "WPA3 Personal" + AUTHENTICATIONENUM_WPA3_SAE AuthenticationEnum = "WPA3 SAE" + AUTHENTICATIONENUM_WPA3_ENTERPRISE AuthenticationEnum = "WPA3 Enterprise" + AUTHENTICATIONENUM_WPA3_ENTERPRISE_192_BIT AuthenticationEnum = "WPA3 Enterprise 192Bit" +) + +// All allowed values of AuthenticationEnum enum +var AllowedAuthenticationEnumEnumValues = []AuthenticationEnum{ + "Open", + "WPA2 Personal", + "WPA2 Enterprise", + "Enhanced Open", + "WPA3 Personal", + "WPA3 SAE", + "WPA3 Enterprise", + "WPA3 Enterprise 192Bit", +} + +func (v *AuthenticationEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := AuthenticationEnum(value) + for _, existing := range AllowedAuthenticationEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid AuthenticationEnum", value) +} + +// NewAuthenticationEnumFromValue returns a pointer to a valid AuthenticationEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAuthenticationEnumFromValue(v string) (*AuthenticationEnum, error) { + ev := AuthenticationEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for AuthenticationEnum: valid values are %v", v, AllowedAuthenticationEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v AuthenticationEnum) IsValid() bool { + for _, existing := range AllowedAuthenticationEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to AuthenticationEnum value +func (v AuthenticationEnum) Ptr() *AuthenticationEnum { + return &v +} + +type NullableAuthenticationEnum struct { + value *AuthenticationEnum + isSet bool +} + +func (v NullableAuthenticationEnum) Get() *AuthenticationEnum { + return v.value +} + +func (v *NullableAuthenticationEnum) Set(val *AuthenticationEnum) { + v.value = val + v.isSet = true +} + +func (v NullableAuthenticationEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthenticationEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthenticationEnum(val *AuthenticationEnum) *NullableAuthenticationEnum { + return &NullableAuthenticationEnum{value: val, isSet: true} +} + +func (v NullableAuthenticationEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthenticationEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_available_ip.go b/model_available_ip.go index e27bd5c5..cb8ed1f4 100644 --- a/model_available_ip.go +++ b/model_available_ip.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/model_available_prefix.go b/model_available_prefix.go index 4f2e2cd7..ea42835b 100644 --- a/model_available_prefix.go +++ b/model_available_prefix.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/model_blank_enum.go b/model_blank_enum.go index 4620c2b7..636371ab 100644 --- a/model_blank_enum.go +++ b/model_blank_enum.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/model_breaker_pole_count_enum.go b/model_breaker_pole_count_enum.go new file mode 100644 index 00000000..2f3c8906 --- /dev/null +++ b/model_breaker_pole_count_enum.go @@ -0,0 +1,113 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// BreakerPoleCountEnum the model 'BreakerPoleCountEnum' +type BreakerPoleCountEnum int32 + +// List of BreakerPoleCountEnum +const ( + BREAKERPOLECOUNTENUM__1 BreakerPoleCountEnum = 1 + BREAKERPOLECOUNTENUM__2 BreakerPoleCountEnum = 2 + BREAKERPOLECOUNTENUM__3 BreakerPoleCountEnum = 3 +) + +// All allowed values of BreakerPoleCountEnum enum +var AllowedBreakerPoleCountEnumEnumValues = []BreakerPoleCountEnum{ + 1, + 2, + 3, +} + +func (v *BreakerPoleCountEnum) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BreakerPoleCountEnum(value) + for _, existing := range AllowedBreakerPoleCountEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BreakerPoleCountEnum", value) +} + +// NewBreakerPoleCountEnumFromValue returns a pointer to a valid BreakerPoleCountEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBreakerPoleCountEnumFromValue(v int32) (*BreakerPoleCountEnum, error) { + ev := BreakerPoleCountEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BreakerPoleCountEnum: valid values are %v", v, AllowedBreakerPoleCountEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BreakerPoleCountEnum) IsValid() bool { + for _, existing := range AllowedBreakerPoleCountEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BreakerPoleCountEnum value +func (v BreakerPoleCountEnum) Ptr() *BreakerPoleCountEnum { + return &v +} + +type NullableBreakerPoleCountEnum struct { + value *BreakerPoleCountEnum + isSet bool +} + +func (v NullableBreakerPoleCountEnum) Get() *BreakerPoleCountEnum { + return v.value +} + +func (v *NullableBreakerPoleCountEnum) Set(val *BreakerPoleCountEnum) { + v.value = val + v.isSet = true +} + +func (v NullableBreakerPoleCountEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableBreakerPoleCountEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBreakerPoleCountEnum(val *BreakerPoleCountEnum) *NullableBreakerPoleCountEnum { + return &NullableBreakerPoleCountEnum{value: val, isSet: true} +} + +func (v NullableBreakerPoleCountEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBreakerPoleCountEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_bridge_interface.go b/model_bridge_interface.go index 172d6cc8..cbc3ef22 100644 --- a/model_bridge_interface.go +++ b/model_bridge_interface.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/model_bulk_operation_integer_id_request.go b/model_bulk_operation_integer_id_request.go index f95f4b7b..a484afa4 100644 --- a/model_bulk_operation_integer_id_request.go +++ b/model_bulk_operation_integer_id_request.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/model_bulk_operation_request.go b/model_bulk_operation_request.go index ed6c7e7f..aaa7c2b7 100644 --- a/model_bulk_operation_request.go +++ b/model_bulk_operation_request.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/model_bulk_writable_cable_request.go b/model_bulk_writable_cable_request.go index c40c9435..6a01d984 100644 --- a/model_bulk_writable_cable_request.go +++ b/model_bulk_writable_cable_request.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/model_bulk_writable_cable_request_relationships_value.go b/model_bulk_writable_cable_request_relationships_value.go index 0202b4fa..301d9924 100644 --- a/model_bulk_writable_cable_request_relationships_value.go +++ b/model_bulk_writable_cable_request_relationships_value.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/model_bulk_writable_cable_request_relationships_value_source.go b/model_bulk_writable_cable_request_relationships_value_source.go index a4215ba7..2ad1142c 100644 --- a/model_bulk_writable_cable_request_relationships_value_source.go +++ b/model_bulk_writable_cable_request_relationships_value_source.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/model_bulk_writable_cable_request_relationships_value_source_objects_inner.go b/model_bulk_writable_cable_request_relationships_value_source_objects_inner.go index 45bb229a..376d886f 100644 --- a/model_bulk_writable_cable_request_relationships_value_source_objects_inner.go +++ b/model_bulk_writable_cable_request_relationships_value_source_objects_inner.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/model_bulk_writable_cable_request_status.go b/model_bulk_writable_cable_request_status.go index a5032839..936344f5 100644 --- a/model_bulk_writable_cable_request_status.go +++ b/model_bulk_writable_cable_request_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. diff --git a/model_bulk_writable_cable_request_status_id.go b/model_bulk_writable_cable_request_status_id.go index 2b59344f..52246b6e 100644 --- a/model_bulk_writable_cable_request_status_id.go +++ b/model_bulk_writable_cable_request_status_id.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // BulkWritableCableRequestStatusId - struct for BulkWritableCableRequestStatusId @@ -118,6 +118,20 @@ func (obj *BulkWritableCableRequestStatusId) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj BulkWritableCableRequestStatusId) GetActualInstanceValue() (interface{}) { + if obj.Int32 != nil { + return *obj.Int32 + } + + if obj.String != nil { + return *obj.String + } + + // all schemas are nil + return nil +} + type NullableBulkWritableCableRequestStatusId struct { value *BulkWritableCableRequestStatusId isSet bool diff --git a/model_bulk_writable_circuit_request.go b/model_bulk_writable_circuit_request.go index 50e8928b..2f004d73 100644 --- a/model_bulk_writable_circuit_request.go +++ b/model_bulk_writable_circuit_request.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/model_bulk_writable_circuit_request_tenant.go b/model_bulk_writable_circuit_request_tenant.go index 91676485..a9804e66 100644 --- a/model_bulk_writable_circuit_request_tenant.go +++ b/model_bulk_writable_circuit_request_tenant.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/model_bulk_writable_circuit_termination_request.go b/model_bulk_writable_circuit_termination_request.go index 750883b1..79f2ecae 100644 --- a/model_bulk_writable_circuit_termination_request.go +++ b/model_bulk_writable_circuit_termination_request.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. @@ -32,6 +32,7 @@ type BulkWritableCircuitTerminationRequest struct { Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` ProviderNetwork NullableBulkWritableCircuitRequestTenant `json:"provider_network,omitempty"` CloudNetwork NullableBulkWritableCircuitRequestTenant `json:"cloud_network,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -437,6 +438,38 @@ func (o *BulkWritableCircuitTerminationRequest) UnsetCloudNetwork() { o.CloudNetwork.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableCircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableCircuitTerminationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableCircuitTerminationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableCircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *BulkWritableCircuitTerminationRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -538,6 +571,9 @@ func (o BulkWritableCircuitTerminationRequest) ToMap() (map[string]interface{}, if o.CloudNetwork.IsSet() { toSerialize["cloud_network"] = o.CloudNetwork.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -600,6 +636,7 @@ func (o *BulkWritableCircuitTerminationRequest) UnmarshalJSON(data []byte) (err delete(additionalProperties, "location") delete(additionalProperties, "provider_network") delete(additionalProperties, "cloud_network") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_bulk_writable_circuit_type_request.go b/model_bulk_writable_circuit_type_request.go index 2e248989..be1816f6 100644 --- a/model_bulk_writable_circuit_type_request.go +++ b/model_bulk_writable_circuit_type_request.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/model_bulk_writable_cloud_account_request.go b/model_bulk_writable_cloud_account_request.go index f228856e..3fd2e682 100644 --- a/model_bulk_writable_cloud_account_request.go +++ b/model_bulk_writable_cloud_account_request.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/model_bulk_writable_cloud_account_request_provider.go b/model_bulk_writable_cloud_account_request_provider.go index 20794bd6..07b93f2b 100644 --- a/model_bulk_writable_cloud_account_request_provider.go +++ b/model_bulk_writable_cloud_account_request_provider.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/model_bulk_writable_cloud_network_prefix_assignment_request.go b/model_bulk_writable_cloud_network_prefix_assignment_request.go index e053e9e2..584e7781 100644 --- a/model_bulk_writable_cloud_network_prefix_assignment_request.go +++ b/model_bulk_writable_cloud_network_prefix_assignment_request.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/model_bulk_writable_cloud_network_request.go b/model_bulk_writable_cloud_network_request.go index 7bea7aba..ae835c16 100644 --- a/model_bulk_writable_cloud_network_request.go +++ b/model_bulk_writable_cloud_network_request.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/model_bulk_writable_cloud_resource_type_request.go b/model_bulk_writable_cloud_resource_type_request.go index 27aa9fac..3e134466 100644 --- a/model_bulk_writable_cloud_resource_type_request.go +++ b/model_bulk_writable_cloud_resource_type_request.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/model_bulk_writable_cloud_service_network_assignment_request.go b/model_bulk_writable_cloud_service_network_assignment_request.go index 5123338c..ff8cb358 100644 --- a/model_bulk_writable_cloud_service_network_assignment_request.go +++ b/model_bulk_writable_cloud_service_network_assignment_request.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/model_bulk_writable_cloud_service_request.go b/model_bulk_writable_cloud_service_request.go index e7e7bc43..bb40f7ec 100644 --- a/model_bulk_writable_cloud_service_request.go +++ b/model_bulk_writable_cloud_service_request.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/model_bulk_writable_cluster_group_request.go b/model_bulk_writable_cluster_group_request.go index 477fc1a2..1ecf1308 100644 --- a/model_bulk_writable_cluster_group_request.go +++ b/model_bulk_writable_cluster_group_request.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/model_bulk_writable_cluster_request.go b/model_bulk_writable_cluster_request.go index 472705a8..7dbeb85c 100644 --- a/model_bulk_writable_cluster_request.go +++ b/model_bulk_writable_cluster_request.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/model_bulk_writable_cluster_type_request.go b/model_bulk_writable_cluster_type_request.go index 435672b8..867886f9 100644 --- a/model_bulk_writable_cluster_type_request.go +++ b/model_bulk_writable_cluster_type_request.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/model_bulk_writable_computed_field_request.go b/model_bulk_writable_computed_field_request.go index 32b0110d..448be002 100644 --- a/model_bulk_writable_computed_field_request.go +++ b/model_bulk_writable_computed_field_request.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/model_bulk_writable_config_context_request.go b/model_bulk_writable_config_context_request.go index 3bd1663f..80e25fec 100644 --- a/model_bulk_writable_config_context_request.go +++ b/model_bulk_writable_config_context_request.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/model_bulk_writable_config_context_request_config_context_schema.go b/model_bulk_writable_config_context_request_config_context_schema.go index a2ce266e..09ff5682 100644 --- a/model_bulk_writable_config_context_request_config_context_schema.go +++ b/model_bulk_writable_config_context_request_config_context_schema.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/model_bulk_writable_config_context_schema_request.go b/model_bulk_writable_config_context_schema_request.go index d052ce16..2f612e4c 100644 --- a/model_bulk_writable_config_context_schema_request.go +++ b/model_bulk_writable_config_context_schema_request.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/model_bulk_writable_console_port_request.go b/model_bulk_writable_console_port_request.go index 2625acec..65b311cc 100644 --- a/model_bulk_writable_console_port_request.go +++ b/model_bulk_writable_console_port_request.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/model_bulk_writable_console_port_template_request.go b/model_bulk_writable_console_port_template_request.go index 51ca0141..dbc3fe64 100644 --- a/model_bulk_writable_console_port_template_request.go +++ b/model_bulk_writable_console_port_template_request.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/model_bulk_writable_console_server_port_request.go b/model_bulk_writable_console_server_port_request.go index 81760d1d..26a9adc4 100644 --- a/model_bulk_writable_console_server_port_request.go +++ b/model_bulk_writable_console_server_port_request.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/model_bulk_writable_console_server_port_template_request.go b/model_bulk_writable_console_server_port_template_request.go index 8620c918..37da324e 100644 --- a/model_bulk_writable_console_server_port_template_request.go +++ b/model_bulk_writable_console_server_port_template_request.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/model_bulk_writable_contact_association_request.go b/model_bulk_writable_contact_association_request.go index eca6139a..8a29a367 100644 --- a/model_bulk_writable_contact_association_request.go +++ b/model_bulk_writable_contact_association_request.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/model_bulk_writable_contact_request.go b/model_bulk_writable_contact_request.go index f2892fb4..c85cec90 100644 --- a/model_bulk_writable_contact_request.go +++ b/model_bulk_writable_contact_request.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. @@ -21,7 +21,6 @@ var _ MappedNullable = &BulkWritableContactRequest{} // BulkWritableContactRequest 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. type BulkWritableContactRequest struct { Id string `json:"id"` - Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` Name string `json:"name"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` @@ -29,6 +28,8 @@ type BulkWritableContactRequest struct { Comments *string `json:"comments,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` AdditionalProperties map[string]interface{} } @@ -85,38 +86,6 @@ func (o *BulkWritableContactRequest) SetId(v string) { o.Id = v } -// GetTeams returns the Teams field value if set, zero value otherwise. -func (o *BulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Teams) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Teams -} - -// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BulkWritableContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Teams) { - return nil, false - } - return o.Teams, true -} - -// HasTeams returns a boolean if a field has been set. -func (o *BulkWritableContactRequest) HasTeams() bool { - if o != nil && !IsNil(o.Teams) { - return true - } - - return false -} - -// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. -func (o *BulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { - o.Teams = v -} - // GetName returns the Name field value func (o *BulkWritableContactRequest) GetName() string { if o == nil { @@ -333,6 +302,70 @@ func (o *BulkWritableContactRequest) SetRelationships(v map[string]BulkWritableC o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableContactRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableContactRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableContactRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableContactRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *BulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Teams) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *BulkWritableContactRequest) HasTeams() bool { + if o != nil && !IsNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. +func (o *BulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { + o.Teams = v +} + func (o BulkWritableContactRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -344,9 +377,6 @@ func (o BulkWritableContactRequest) MarshalJSON() ([]byte, error) { func (o BulkWritableContactRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id - if !IsNil(o.Teams) { - toSerialize["teams"] = o.Teams - } toSerialize["name"] = o.Name if !IsNil(o.Phone) { toSerialize["phone"] = o.Phone @@ -366,6 +396,12 @@ func (o BulkWritableContactRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.Teams) { + toSerialize["teams"] = o.Teams + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -411,7 +447,6 @@ func (o *BulkWritableContactRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") - delete(additionalProperties, "teams") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") @@ -419,6 +454,8 @@ func (o *BulkWritableContactRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "comments") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + delete(additionalProperties, "teams") o.AdditionalProperties = additionalProperties } diff --git a/model_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go b/model_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go new file mode 100644 index 00000000..ae5b79f2 --- /dev/null +++ b/model_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go @@ -0,0 +1,226 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + +// BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest 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) +type BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + Id string `json:"id"` + ControllerManagedDeviceGroup BulkWritableCableRequestStatus `json:"controller_managed_device_group"` + RadioProfile BulkWritableCableRequestStatus `json:"radio_profile"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest 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 +func NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(id string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, radioProfile BulkWritableCableRequestStatus) *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + this.Id = id + this.ControllerManagedDeviceGroup = controllerManagedDeviceGroup + this.RadioProfile = radioProfile + return &this +} + +// 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 +func NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value +// and a boolean to check if the value has been set. +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.ControllerManagedDeviceGroup, true +} + +// SetControllerManagedDeviceGroup sets field value +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = v +} + +// GetRadioProfile returns the RadioProfile field value +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.RadioProfile +} + +// GetRadioProfileOk returns a tuple with the RadioProfile field value +// and a boolean to check if the value has been set. +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.RadioProfile, true +} + +// SetRadioProfile sets field value +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus) { + o.RadioProfile = v +} + +func (o BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + toSerialize["radio_profile"] = o.RadioProfile + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "controller_managed_device_group", + "radio_profile", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest := _BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + + err = json.Unmarshal(data, &varBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + if err != nil { + return err + } + + *o = BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(varBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "radio_profile") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + value *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest + isSet bool +} + +func (v NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Get() *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return v.value +} + +func (v *NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Set(val *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(val *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) *NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return &NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_controller_managed_device_group_request.go b/model_bulk_writable_controller_managed_device_group_request.go index db10181a..f9d280f3 100644 --- a/model_bulk_writable_controller_managed_device_group_request.go +++ b/model_bulk_writable_controller_managed_device_group_request.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. @@ -21,12 +21,15 @@ var _ MappedNullable = &BulkWritableControllerManagedDeviceGroupRequest{} // BulkWritableControllerManagedDeviceGroupRequest 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. type BulkWritableControllerManagedDeviceGroupRequest struct { Id string `json:"id"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` // Name of the controller device group Name string `json:"name"` + Description *string `json:"description,omitempty"` // Weight of the controller device group, used to sort the groups within its parent group Weight *int32 `json:"weight,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` Controller BulkWritableControllerManagedDeviceGroupRequestController `json:"controller"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -79,6 +82,39 @@ func (o *BulkWritableControllerManagedDeviceGroupRequest) SetId(v string) { o.Id = v } +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableControllerManagedDeviceGroupRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *BulkWritableControllerManagedDeviceGroupRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *BulkWritableControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value func (o *BulkWritableControllerManagedDeviceGroupRequest) GetName() string { if o == nil { @@ -103,6 +139,38 @@ func (o *BulkWritableControllerManagedDeviceGroupRequest) SetName(v string) { o.Name = v } +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BulkWritableControllerManagedDeviceGroupRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableControllerManagedDeviceGroupRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *BulkWritableControllerManagedDeviceGroupRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *BulkWritableControllerManagedDeviceGroupRequest) SetDescription(v string) { + o.Description = &v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *BulkWritableControllerManagedDeviceGroupRequest) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -201,6 +269,48 @@ func (o *BulkWritableControllerManagedDeviceGroupRequest) SetController(v BulkWr o.Controller = v } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableControllerManagedDeviceGroupRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *BulkWritableControllerManagedDeviceGroupRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *BulkWritableControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *BulkWritableControllerManagedDeviceGroupRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *BulkWritableControllerManagedDeviceGroupRequest) UnsetTenant() { + o.Tenant.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *BulkWritableControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -308,7 +418,13 @@ func (o BulkWritableControllerManagedDeviceGroupRequest) MarshalJSON() ([]byte, func (o BulkWritableControllerManagedDeviceGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -316,6 +432,9 @@ func (o BulkWritableControllerManagedDeviceGroupRequest) ToMap() (map[string]int toSerialize["parent"] = o.Parent.Get() } toSerialize["controller"] = o.Controller + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -371,10 +490,13 @@ func (o *BulkWritableControllerManagedDeviceGroupRequest) UnmarshalJSON(data []b if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") + delete(additionalProperties, "description") delete(additionalProperties, "weight") delete(additionalProperties, "parent") delete(additionalProperties, "controller") + delete(additionalProperties, "tenant") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_bulk_writable_controller_managed_device_group_request_controller.go b/model_bulk_writable_controller_managed_device_group_request_controller.go index 469316b9..627c082d 100644 --- a/model_bulk_writable_controller_managed_device_group_request_controller.go +++ b/model_bulk_writable_controller_managed_device_group_request_controller.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/model_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go b/model_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go new file mode 100644 index 00000000..d9145c86 --- /dev/null +++ b/model_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go @@ -0,0 +1,273 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + +// BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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) +type BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + Id string `json:"id"` + ControllerManagedDeviceGroup BulkWritableCableRequestStatus `json:"controller_managed_device_group"` + WirelessNetwork BulkWritableCableRequestStatus `json:"wireless_network"` + Vlan NullableBulkWritableCircuitRequestTenant `json:"vlan,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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 +func NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(id string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, wirelessNetwork BulkWritableCableRequestStatus) *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + this.Id = id + this.ControllerManagedDeviceGroup = controllerManagedDeviceGroup + this.WirelessNetwork = wirelessNetwork + return &this +} + +// 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 +func NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value +// and a boolean to check if the value has been set. +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.ControllerManagedDeviceGroup, true +} + +// SetControllerManagedDeviceGroup sets field value +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = v +} + +// GetWirelessNetwork returns the WirelessNetwork field value +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.WirelessNetwork +} + +// GetWirelessNetworkOk returns a tuple with the WirelessNetwork field value +// and a boolean to check if the value has been set. +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.WirelessNetwork, true +} + +// SetWirelessNetwork sets field value +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus) { + o.WirelessNetwork = v +} + +// GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Vlan.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Vlan.Get() +} + +// GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Vlan.Get(), o.Vlan.IsSet() +} + +// HasVlan returns a boolean if a field has been set. +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool { + if o != nil && o.Vlan.IsSet() { + return true + } + + return false +} + +// SetVlan gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Vlan field. +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant) { + o.Vlan.Set(&v) +} +// SetVlanNil sets the value for Vlan to be an explicit nil +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil() { + o.Vlan.Set(nil) +} + +// UnsetVlan ensures that no value is present for Vlan, not even an explicit nil +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnsetVlan() { + o.Vlan.Unset() +} + +func (o BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + toSerialize["wireless_network"] = o.WirelessNetwork + if o.Vlan.IsSet() { + toSerialize["vlan"] = o.Vlan.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "controller_managed_device_group", + "wireless_network", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest := _BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + + err = json.Unmarshal(data, &varBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + if err != nil { + return err + } + + *o = BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(varBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "wireless_network") + delete(additionalProperties, "vlan") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + value *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest + isSet bool +} + +func (v NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Get() *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return v.value +} + +func (v *NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Set(val *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(val *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) *NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return &NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_controller_request.go b/model_bulk_writable_controller_request.go index 7f510869..d3bbb35a 100644 --- a/model_bulk_writable_controller_request.go +++ b/model_bulk_writable_controller_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &BulkWritableControllerRequest{} // BulkWritableControllerRequest 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. type BulkWritableControllerRequest struct { Id string `json:"id"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` @@ -84,6 +85,39 @@ func (o *BulkWritableControllerRequest) SetId(v string) { o.Id = v } +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableControllerRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableControllerRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *BulkWritableControllerRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *BulkWritableControllerRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value func (o *BulkWritableControllerRequest) GetName() string { if o == nil { @@ -547,6 +581,9 @@ func (o BulkWritableControllerRequest) MarshalJSON() ([]byte, error) { func (o BulkWritableControllerRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -627,6 +664,7 @@ func (o *BulkWritableControllerRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "status") diff --git a/model_bulk_writable_custom_field_choice_request.go b/model_bulk_writable_custom_field_choice_request.go index 08f1f78f..776e682d 100644 --- a/model_bulk_writable_custom_field_choice_request.go +++ b/model_bulk_writable_custom_field_choice_request.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/model_bulk_writable_custom_field_request.go b/model_bulk_writable_custom_field_request.go index 683ee82b..2e24fce6 100644 --- a/model_bulk_writable_custom_field_request.go +++ b/model_bulk_writable_custom_field_request.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/model_bulk_writable_custom_link_request.go b/model_bulk_writable_custom_link_request.go index ec98c616..01ff9f5c 100644 --- a/model_bulk_writable_custom_link_request.go +++ b/model_bulk_writable_custom_link_request.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/model_bulk_writable_device_bay_request.go b/model_bulk_writable_device_bay_request.go index a7f569ef..6e69247a 100644 --- a/model_bulk_writable_device_bay_request.go +++ b/model_bulk_writable_device_bay_request.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/model_bulk_writable_device_bay_template_request.go b/model_bulk_writable_device_bay_template_request.go index cef4cfe8..c4714e76 100644 --- a/model_bulk_writable_device_bay_template_request.go +++ b/model_bulk_writable_device_bay_template_request.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/model_bulk_writable_device_family_request.go b/model_bulk_writable_device_family_request.go index c4c18d10..25301b1f 100644 --- a/model_bulk_writable_device_family_request.go +++ b/model_bulk_writable_device_family_request.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. @@ -25,6 +25,7 @@ type BulkWritableDeviceFamilyRequest struct { Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -193,6 +194,38 @@ func (o *BulkWritableDeviceFamilyRequest) SetRelationships(v map[string]BulkWrit o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableDeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableDeviceFamilyRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableDeviceFamilyRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableDeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o BulkWritableDeviceFamilyRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -214,6 +247,9 @@ func (o BulkWritableDeviceFamilyRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -263,6 +299,7 @@ func (o *BulkWritableDeviceFamilyRequest) UnmarshalJSON(data []byte) (err error) delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_bulk_writable_device_redundancy_group_request.go b/model_bulk_writable_device_redundancy_group_request.go index 322b457d..5f1b83e9 100644 --- a/model_bulk_writable_device_redundancy_group_request.go +++ b/model_bulk_writable_device_redundancy_group_request.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. @@ -42,6 +42,8 @@ type _BulkWritableDeviceRedundancyGroupRequest BulkWritableDeviceRedundancyGroup func NewBulkWritableDeviceRedundancyGroupRequest(id string, name string, status BulkWritableCableRequestStatus) *BulkWritableDeviceRedundancyGroupRequest { this := BulkWritableDeviceRedundancyGroupRequest{} this.Id = id + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy this.Name = name this.Status = status return &this @@ -52,6 +54,8 @@ func NewBulkWritableDeviceRedundancyGroupRequest(id string, name string, status // but it doesn't guarantee that properties required by API are set func NewBulkWritableDeviceRedundancyGroupRequestWithDefaults() *BulkWritableDeviceRedundancyGroupRequest { this := BulkWritableDeviceRedundancyGroupRequest{} + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy return &this } diff --git a/model_bulk_writable_device_redundancy_group_request_failover_strategy.go b/model_bulk_writable_device_redundancy_group_request_failover_strategy.go index 03734fd6..56376fe4 100644 --- a/model_bulk_writable_device_redundancy_group_request_failover_strategy.go +++ b/model_bulk_writable_device_redundancy_group_request_failover_strategy.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. @@ -12,110 +12,67 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" ) -// BulkWritableDeviceRedundancyGroupRequestFailoverStrategy - struct for BulkWritableDeviceRedundancyGroupRequestFailoverStrategy -type BulkWritableDeviceRedundancyGroupRequestFailoverStrategy struct { - BlankEnum *BlankEnum - FailoverStrategyEnum *FailoverStrategyEnum -} +// BulkWritableDeviceRedundancyGroupRequestFailoverStrategy the model 'BulkWritableDeviceRedundancyGroupRequestFailoverStrategy' +type BulkWritableDeviceRedundancyGroupRequestFailoverStrategy string -// BlankEnumAsBulkWritableDeviceRedundancyGroupRequestFailoverStrategy is a convenience function that returns BlankEnum wrapped in BulkWritableDeviceRedundancyGroupRequestFailoverStrategy -func BlankEnumAsBulkWritableDeviceRedundancyGroupRequestFailoverStrategy(v *BlankEnum) BulkWritableDeviceRedundancyGroupRequestFailoverStrategy { - return BulkWritableDeviceRedundancyGroupRequestFailoverStrategy{ - BlankEnum: v, - } -} +// List of BulkWritableDeviceRedundancyGroupRequest_failover_strategy +const ( + BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_ACTIVE_ACTIVE BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = "active-active" + BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_ACTIVE_PASSIVE BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = "active-passive" + BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = "" +) -// FailoverStrategyEnumAsBulkWritableDeviceRedundancyGroupRequestFailoverStrategy is a convenience function that returns FailoverStrategyEnum wrapped in BulkWritableDeviceRedundancyGroupRequestFailoverStrategy -func FailoverStrategyEnumAsBulkWritableDeviceRedundancyGroupRequestFailoverStrategy(v *FailoverStrategyEnum) BulkWritableDeviceRedundancyGroupRequestFailoverStrategy { - return BulkWritableDeviceRedundancyGroupRequestFailoverStrategy{ - FailoverStrategyEnum: v, - } +// All allowed values of BulkWritableDeviceRedundancyGroupRequestFailoverStrategy enum +var AllowedBulkWritableDeviceRedundancyGroupRequestFailoverStrategyEnumValues = []BulkWritableDeviceRedundancyGroupRequestFailoverStrategy{ + "active-active", + "active-passive", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into FailoverStrategyEnum - err = newStrictDecoder(data).Decode(&dst.FailoverStrategyEnum) - if err == nil { - jsonFailoverStrategyEnum, _ := json.Marshal(dst.FailoverStrategyEnum) - if string(jsonFailoverStrategyEnum) == "{}" { // empty struct - dst.FailoverStrategyEnum = nil - } else { - if err = validator.Validate(dst.FailoverStrategyEnum); err != nil { - dst.FailoverStrategyEnum = nil - } else { - match++ - } + enumTypeValue := BulkWritableDeviceRedundancyGroupRequestFailoverStrategy(value) + for _, existing := range AllowedBulkWritableDeviceRedundancyGroupRequestFailoverStrategyEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.FailoverStrategyEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.FailoverStrategyEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(BulkWritableDeviceRedundancyGroupRequestFailoverStrategy)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(BulkWritableDeviceRedundancyGroupRequestFailoverStrategy)") - } + return fmt.Errorf("%+v is not a valid BulkWritableDeviceRedundancyGroupRequestFailoverStrategy", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BulkWritableDeviceRedundancyGroupRequestFailoverStrategy) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.FailoverStrategyEnum != nil { - return json.Marshal(&src.FailoverStrategyEnum) +// NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategyFromValue returns a pointer to a valid BulkWritableDeviceRedundancyGroupRequestFailoverStrategy +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategyFromValue(v string) (*BulkWritableDeviceRedundancyGroupRequestFailoverStrategy, error) { + ev := BulkWritableDeviceRedundancyGroupRequestFailoverStrategy(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BulkWritableDeviceRedundancyGroupRequestFailoverStrategy: valid values are %v", v, AllowedBulkWritableDeviceRedundancyGroupRequestFailoverStrategyEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.FailoverStrategyEnum != nil { - return obj.FailoverStrategyEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v BulkWritableDeviceRedundancyGroupRequestFailoverStrategy) IsValid() bool { + for _, existing := range AllowedBulkWritableDeviceRedundancyGroupRequestFailoverStrategyEnumValues { + if existing == v { + return true + } } + return false +} - // all schemas are nil - return nil +// Ptr returns reference to BulkWritableDeviceRedundancyGroupRequest_failover_strategy value +func (v BulkWritableDeviceRedundancyGroupRequestFailoverStrategy) Ptr() *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy { + return &v } type NullableBulkWritableDeviceRedundancyGroupRequestFailoverStrategy struct { @@ -154,4 +111,3 @@ func (v *NullableBulkWritableDeviceRedundancyGroupRequestFailoverStrategy) Unmar return json.Unmarshal(src, &v.value) } - diff --git a/model_bulk_writable_device_request.go b/model_bulk_writable_device_request.go index 3a88672e..12617565 100644 --- a/model_bulk_writable_device_request.go +++ b/model_bulk_writable_device_request.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/model_bulk_writable_device_request_software_version.go b/model_bulk_writable_device_request_software_version.go index dd70ed08..8d310c4f 100644 --- a/model_bulk_writable_device_request_software_version.go +++ b/model_bulk_writable_device_request_software_version.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/model_bulk_writable_device_type_request.go b/model_bulk_writable_device_type_request.go index 04c80e97..a993321c 100644 --- a/model_bulk_writable_device_type_request.go +++ b/model_bulk_writable_device_type_request.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/model_bulk_writable_device_type_to_software_image_file_request.go b/model_bulk_writable_device_type_to_software_image_file_request.go index 5407a0eb..0b11ae06 100644 --- a/model_bulk_writable_device_type_to_software_image_file_request.go +++ b/model_bulk_writable_device_type_to_software_image_file_request.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/model_bulk_writable_dynamic_group_membership_request.go b/model_bulk_writable_dynamic_group_membership_request.go index 73bf201b..407ebd15 100644 --- a/model_bulk_writable_dynamic_group_membership_request.go +++ b/model_bulk_writable_dynamic_group_membership_request.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/model_bulk_writable_dynamic_group_request.go b/model_bulk_writable_dynamic_group_request.go index 264235b0..69930451 100644 --- a/model_bulk_writable_dynamic_group_request.go +++ b/model_bulk_writable_dynamic_group_request.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/model_bulk_writable_export_template_request.go b/model_bulk_writable_export_template_request.go index e8395f89..a04e2387 100644 --- a/model_bulk_writable_export_template_request.go +++ b/model_bulk_writable_export_template_request.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/model_bulk_writable_external_integration_request.go b/model_bulk_writable_external_integration_request.go index 456f523a..3e5e8651 100644 --- a/model_bulk_writable_external_integration_request.go +++ b/model_bulk_writable_external_integration_request.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. @@ -36,6 +36,7 @@ type BulkWritableExternalIntegrationRequest struct { SecretsGroup NullableBulkWritableExternalIntegrationRequestSecretsGroup `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -433,6 +434,38 @@ func (o *BulkWritableExternalIntegrationRequest) SetRelationships(v map[string]B o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableExternalIntegrationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableExternalIntegrationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o BulkWritableExternalIntegrationRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -473,6 +506,9 @@ func (o BulkWritableExternalIntegrationRequest) ToMap() (map[string]interface{}, if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -530,6 +566,7 @@ func (o *BulkWritableExternalIntegrationRequest) UnmarshalJSON(data []byte) (err delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_bulk_writable_external_integration_request_http_method.go b/model_bulk_writable_external_integration_request_http_method.go index 324e4d03..500fc88d 100644 --- a/model_bulk_writable_external_integration_request_http_method.go +++ b/model_bulk_writable_external_integration_request_http_method.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // BulkWritableExternalIntegrationRequestHttpMethod - struct for BulkWritableExternalIntegrationRequestHttpMethod @@ -118,6 +118,20 @@ func (obj *BulkWritableExternalIntegrationRequestHttpMethod) GetActualInstance() return nil } +// Get the actual instance value +func (obj BulkWritableExternalIntegrationRequestHttpMethod) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.HttpMethodEnum != nil { + return *obj.HttpMethodEnum + } + + // all schemas are nil + return nil +} + type NullableBulkWritableExternalIntegrationRequestHttpMethod struct { value *BulkWritableExternalIntegrationRequestHttpMethod isSet bool diff --git a/model_bulk_writable_external_integration_request_secrets_group.go b/model_bulk_writable_external_integration_request_secrets_group.go index 4baab06b..755a7cc2 100644 --- a/model_bulk_writable_external_integration_request_secrets_group.go +++ b/model_bulk_writable_external_integration_request_secrets_group.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/model_bulk_writable_front_port_request.go b/model_bulk_writable_front_port_request.go index 4363252f..18ae3375 100644 --- a/model_bulk_writable_front_port_request.go +++ b/model_bulk_writable_front_port_request.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/model_bulk_writable_front_port_template_request.go b/model_bulk_writable_front_port_template_request.go index 55270f6f..691287a2 100644 --- a/model_bulk_writable_front_port_template_request.go +++ b/model_bulk_writable_front_port_template_request.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/model_bulk_writable_git_repository_request.go b/model_bulk_writable_git_repository_request.go index 6cf6c4da..4271ac43 100644 --- a/model_bulk_writable_git_repository_request.go +++ b/model_bulk_writable_git_repository_request.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. @@ -34,6 +34,7 @@ type BulkWritableGitRepositoryRequest struct { SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -365,6 +366,38 @@ func (o *BulkWritableGitRepositoryRequest) SetRelationships(v map[string]BulkWri o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableGitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableGitRepositoryRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableGitRepositoryRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableGitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o BulkWritableGitRepositoryRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -399,6 +432,9 @@ func (o BulkWritableGitRepositoryRequest) ToMap() (map[string]interface{}, error if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -454,6 +490,7 @@ func (o *BulkWritableGitRepositoryRequest) UnmarshalJSON(data []byte) (err error delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_bulk_writable_git_repository_request_provided_contents_inner.go b/model_bulk_writable_git_repository_request_provided_contents_inner.go index 00216c14..b5e22b51 100644 --- a/model_bulk_writable_git_repository_request_provided_contents_inner.go +++ b/model_bulk_writable_git_repository_request_provided_contents_inner.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // BulkWritableGitRepositoryRequestProvidedContentsInner - struct for BulkWritableGitRepositoryRequestProvidedContentsInner @@ -118,6 +118,20 @@ func (obj *BulkWritableGitRepositoryRequestProvidedContentsInner) GetActualInsta return nil } +// Get the actual instance value +func (obj BulkWritableGitRepositoryRequestProvidedContentsInner) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.ProvidedContentsEnum != nil { + return *obj.ProvidedContentsEnum + } + + // all schemas are nil + return nil +} + type NullableBulkWritableGitRepositoryRequestProvidedContentsInner struct { value *BulkWritableGitRepositoryRequestProvidedContentsInner isSet bool diff --git a/model_bulk_writable_graph_ql_query_request.go b/model_bulk_writable_graph_ql_query_request.go index 92ecc8fe..c99bc71c 100644 --- a/model_bulk_writable_graph_ql_query_request.go +++ b/model_bulk_writable_graph_ql_query_request.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. @@ -21,6 +21,8 @@ var _ MappedNullable = &BulkWritableGraphQLQueryRequest{} // BulkWritableGraphQLQueryRequest 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) type BulkWritableGraphQLQueryRequest struct { Id string `json:"id"` + OwnerContentType NullableString `json:"owner_content_type,omitempty"` + OwnerObjectId NullableString `json:"owner_object_id,omitempty"` Name string `json:"name"` Query string `json:"query"` AdditionalProperties map[string]interface{} @@ -72,6 +74,90 @@ func (o *BulkWritableGraphQLQueryRequest) SetId(v string) { o.Id = v } +// GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableGraphQLQueryRequest) GetOwnerContentType() string { + if o == nil || IsNil(o.OwnerContentType.Get()) { + var ret string + return ret + } + return *o.OwnerContentType.Get() +} + +// GetOwnerContentTypeOk returns a tuple with the OwnerContentType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableGraphQLQueryRequest) GetOwnerContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerContentType.Get(), o.OwnerContentType.IsSet() +} + +// HasOwnerContentType returns a boolean if a field has been set. +func (o *BulkWritableGraphQLQueryRequest) HasOwnerContentType() bool { + if o != nil && o.OwnerContentType.IsSet() { + return true + } + + return false +} + +// SetOwnerContentType gets a reference to the given NullableString and assigns it to the OwnerContentType field. +func (o *BulkWritableGraphQLQueryRequest) SetOwnerContentType(v string) { + o.OwnerContentType.Set(&v) +} +// SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil +func (o *BulkWritableGraphQLQueryRequest) SetOwnerContentTypeNil() { + o.OwnerContentType.Set(nil) +} + +// UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil +func (o *BulkWritableGraphQLQueryRequest) UnsetOwnerContentType() { + o.OwnerContentType.Unset() +} + +// GetOwnerObjectId returns the OwnerObjectId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableGraphQLQueryRequest) GetOwnerObjectId() string { + if o == nil || IsNil(o.OwnerObjectId.Get()) { + var ret string + return ret + } + return *o.OwnerObjectId.Get() +} + +// GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableGraphQLQueryRequest) GetOwnerObjectIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerObjectId.Get(), o.OwnerObjectId.IsSet() +} + +// HasOwnerObjectId returns a boolean if a field has been set. +func (o *BulkWritableGraphQLQueryRequest) HasOwnerObjectId() bool { + if o != nil && o.OwnerObjectId.IsSet() { + return true + } + + return false +} + +// SetOwnerObjectId gets a reference to the given NullableString and assigns it to the OwnerObjectId field. +func (o *BulkWritableGraphQLQueryRequest) SetOwnerObjectId(v string) { + o.OwnerObjectId.Set(&v) +} +// SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil +func (o *BulkWritableGraphQLQueryRequest) SetOwnerObjectIdNil() { + o.OwnerObjectId.Set(nil) +} + +// UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil +func (o *BulkWritableGraphQLQueryRequest) UnsetOwnerObjectId() { + o.OwnerObjectId.Unset() +} + // GetName returns the Name field value func (o *BulkWritableGraphQLQueryRequest) GetName() string { if o == nil { @@ -131,6 +217,12 @@ func (o BulkWritableGraphQLQueryRequest) MarshalJSON() ([]byte, error) { func (o BulkWritableGraphQLQueryRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if o.OwnerContentType.IsSet() { + toSerialize["owner_content_type"] = o.OwnerContentType.Get() + } + if o.OwnerObjectId.IsSet() { + toSerialize["owner_object_id"] = o.OwnerObjectId.Get() + } toSerialize["name"] = o.Name toSerialize["query"] = o.Query @@ -179,6 +271,8 @@ func (o *BulkWritableGraphQLQueryRequest) UnmarshalJSON(data []byte) (err error) if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "owner_content_type") + delete(additionalProperties, "owner_object_id") delete(additionalProperties, "name") delete(additionalProperties, "query") o.AdditionalProperties = additionalProperties diff --git a/model_bulk_writable_group_request.go b/model_bulk_writable_group_request.go index 4b6753f1..65b513a6 100644 --- a/model_bulk_writable_group_request.go +++ b/model_bulk_writable_group_request.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/model_bulk_writable_image_attachment_request.go b/model_bulk_writable_image_attachment_request.go index 235c1291..99f7dff3 100644 --- a/model_bulk_writable_image_attachment_request.go +++ b/model_bulk_writable_image_attachment_request.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/model_bulk_writable_interface_redundancy_group_association_request.go b/model_bulk_writable_interface_redundancy_group_association_request.go index 218a1751..85b95a0d 100644 --- a/model_bulk_writable_interface_redundancy_group_association_request.go +++ b/model_bulk_writable_interface_redundancy_group_association_request.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/model_bulk_writable_interface_redundancy_group_request.go b/model_bulk_writable_interface_redundancy_group_request.go index a2a1ce63..ff5bad39 100644 --- a/model_bulk_writable_interface_redundancy_group_request.go +++ b/model_bulk_writable_interface_redundancy_group_request.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/model_bulk_writable_interface_request.go b/model_bulk_writable_interface_request.go index 9b876db4..f375a0d1 100644 --- a/model_bulk_writable_interface_request.go +++ b/model_bulk_writable_interface_request.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. @@ -22,7 +22,7 @@ var _ MappedNullable = &BulkWritableInterfaceRequest{} type BulkWritableInterfaceRequest struct { Id string `json:"id"` Type InterfaceTypeChoices `json:"type"` - Mode *ModeEnum `json:"mode,omitempty"` + Mode *InterfaceModeChoices `json:"mode,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Name string `json:"name"` // Physical label @@ -120,9 +120,9 @@ func (o *BulkWritableInterfaceRequest) SetType(v InterfaceTypeChoices) { } // GetMode returns the Mode field value if set, zero value otherwise. -func (o *BulkWritableInterfaceRequest) GetMode() ModeEnum { +func (o *BulkWritableInterfaceRequest) GetMode() InterfaceModeChoices { if o == nil || IsNil(o.Mode) { - var ret ModeEnum + var ret InterfaceModeChoices return ret } return *o.Mode @@ -130,7 +130,7 @@ func (o *BulkWritableInterfaceRequest) GetMode() ModeEnum { // GetModeOk returns a tuple with the Mode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BulkWritableInterfaceRequest) GetModeOk() (*ModeEnum, bool) { +func (o *BulkWritableInterfaceRequest) GetModeOk() (*InterfaceModeChoices, bool) { if o == nil || IsNil(o.Mode) { return nil, false } @@ -146,8 +146,8 @@ func (o *BulkWritableInterfaceRequest) HasMode() bool { return false } -// SetMode gets a reference to the given ModeEnum and assigns it to the Mode field. -func (o *BulkWritableInterfaceRequest) SetMode(v ModeEnum) { +// SetMode gets a reference to the given InterfaceModeChoices and assigns it to the Mode field. +func (o *BulkWritableInterfaceRequest) SetMode(v InterfaceModeChoices) { o.Mode = &v } diff --git a/model_bulk_writable_interface_request_parent_interface.go b/model_bulk_writable_interface_request_parent_interface.go index b59b1130..ec720db4 100644 --- a/model_bulk_writable_interface_request_parent_interface.go +++ b/model_bulk_writable_interface_request_parent_interface.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/model_bulk_writable_interface_template_request.go b/model_bulk_writable_interface_template_request.go index a0e5f030..861339af 100644 --- a/model_bulk_writable_interface_template_request.go +++ b/model_bulk_writable_interface_template_request.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/model_bulk_writable_interface_vdc_assignment_request.go b/model_bulk_writable_interface_vdc_assignment_request.go new file mode 100644 index 00000000..c436c35f --- /dev/null +++ b/model_bulk_writable_interface_vdc_assignment_request.go @@ -0,0 +1,226 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableInterfaceVDCAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableInterfaceVDCAssignmentRequest{} + +// BulkWritableInterfaceVDCAssignmentRequest 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) +type BulkWritableInterfaceVDCAssignmentRequest struct { + Id string `json:"id"` + VirtualDeviceContext BulkWritableCableRequestStatus `json:"virtual_device_context"` + Interface BulkWritableCableRequestStatus `json:"interface"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableInterfaceVDCAssignmentRequest 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 +func NewBulkWritableInterfaceVDCAssignmentRequest(id string, virtualDeviceContext BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus) *BulkWritableInterfaceVDCAssignmentRequest { + this := BulkWritableInterfaceVDCAssignmentRequest{} + this.Id = id + this.VirtualDeviceContext = virtualDeviceContext + this.Interface = interface_ + return &this +} + +// 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 +func NewBulkWritableInterfaceVDCAssignmentRequestWithDefaults() *BulkWritableInterfaceVDCAssignmentRequest { + this := BulkWritableInterfaceVDCAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableInterfaceVDCAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableInterfaceVDCAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableInterfaceVDCAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetVirtualDeviceContext returns the VirtualDeviceContext field value +func (o *BulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.VirtualDeviceContext +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value +// and a boolean to check if the value has been set. +func (o *BulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.VirtualDeviceContext, true +} + +// SetVirtualDeviceContext sets field value +func (o *BulkWritableInterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus) { + o.VirtualDeviceContext = v +} + +// GetInterface returns the Interface field value +func (o *BulkWritableInterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Interface +} + +// GetInterfaceOk returns a tuple with the Interface field value +// and a boolean to check if the value has been set. +func (o *BulkWritableInterfaceVDCAssignmentRequest) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Interface, true +} + +// SetInterface sets field value +func (o *BulkWritableInterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus) { + o.Interface = v +} + +func (o BulkWritableInterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableInterfaceVDCAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["virtual_device_context"] = o.VirtualDeviceContext + toSerialize["interface"] = o.Interface + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableInterfaceVDCAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "virtual_device_context", + "interface", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableInterfaceVDCAssignmentRequest := _BulkWritableInterfaceVDCAssignmentRequest{} + + err = json.Unmarshal(data, &varBulkWritableInterfaceVDCAssignmentRequest) + + if err != nil { + return err + } + + *o = BulkWritableInterfaceVDCAssignmentRequest(varBulkWritableInterfaceVDCAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "virtual_device_context") + delete(additionalProperties, "interface") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableInterfaceVDCAssignmentRequest struct { + value *BulkWritableInterfaceVDCAssignmentRequest + isSet bool +} + +func (v NullableBulkWritableInterfaceVDCAssignmentRequest) Get() *BulkWritableInterfaceVDCAssignmentRequest { + return v.value +} + +func (v *NullableBulkWritableInterfaceVDCAssignmentRequest) Set(val *BulkWritableInterfaceVDCAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableInterfaceVDCAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableInterfaceVDCAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableInterfaceVDCAssignmentRequest(val *BulkWritableInterfaceVDCAssignmentRequest) *NullableBulkWritableInterfaceVDCAssignmentRequest { + return &NullableBulkWritableInterfaceVDCAssignmentRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableInterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableInterfaceVDCAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_inventory_item_request.go b/model_bulk_writable_inventory_item_request.go index 842f0629..b879cf3e 100644 --- a/model_bulk_writable_inventory_item_request.go +++ b/model_bulk_writable_inventory_item_request.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/model_bulk_writable_inventory_item_request_software_version.go b/model_bulk_writable_inventory_item_request_software_version.go index 7167cec9..78299247 100644 --- a/model_bulk_writable_inventory_item_request_software_version.go +++ b/model_bulk_writable_inventory_item_request_software_version.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/model_bulk_writable_ip_address_request.go b/model_bulk_writable_ip_address_request.go index bd0efadf..38747d37 100644 --- a/model_bulk_writable_ip_address_request.go +++ b/model_bulk_writable_ip_address_request.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/model_bulk_writable_ip_address_request_namespace.go b/model_bulk_writable_ip_address_request_namespace.go index 5ad3b951..150caa7d 100644 --- a/model_bulk_writable_ip_address_request_namespace.go +++ b/model_bulk_writable_ip_address_request_namespace.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/model_bulk_writable_ip_address_request_parent.go b/model_bulk_writable_ip_address_request_parent.go index 27bbd8c6..83324775 100644 --- a/model_bulk_writable_ip_address_request_parent.go +++ b/model_bulk_writable_ip_address_request_parent.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/model_bulk_writable_ip_address_to_interface_request.go b/model_bulk_writable_ip_address_to_interface_request.go index 1aa55ea1..cdbfbff9 100644 --- a/model_bulk_writable_ip_address_to_interface_request.go +++ b/model_bulk_writable_ip_address_to_interface_request.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/model_bulk_writable_job_button_request.go b/model_bulk_writable_job_button_request.go index c1f5931d..ea5f27ff 100644 --- a/model_bulk_writable_job_button_request.go +++ b/model_bulk_writable_job_button_request.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/model_bulk_writable_job_button_request_job.go b/model_bulk_writable_job_button_request_job.go index 6c94d0c1..757e0f16 100644 --- a/model_bulk_writable_job_button_request_job.go +++ b/model_bulk_writable_job_button_request_job.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/model_bulk_writable_job_hook_request.go b/model_bulk_writable_job_hook_request.go index 96cbd979..2b755f13 100644 --- a/model_bulk_writable_job_hook_request.go +++ b/model_bulk_writable_job_hook_request.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/model_bulk_writable_job_hook_request_job.go b/model_bulk_writable_job_hook_request_job.go index 60cc946c..db16571f 100644 --- a/model_bulk_writable_job_hook_request_job.go +++ b/model_bulk_writable_job_hook_request_job.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/model_bulk_writable_job_queue_assignment_request.go b/model_bulk_writable_job_queue_assignment_request.go new file mode 100644 index 00000000..fa5e3c98 --- /dev/null +++ b/model_bulk_writable_job_queue_assignment_request.go @@ -0,0 +1,226 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableJobQueueAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableJobQueueAssignmentRequest{} + +// BulkWritableJobQueueAssignmentRequest 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) +type BulkWritableJobQueueAssignmentRequest struct { + Id string `json:"id"` + Job BulkWritableCableRequestStatus `json:"job"` + JobQueue BulkWritableCableRequestStatus `json:"job_queue"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableJobQueueAssignmentRequest 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 +func NewBulkWritableJobQueueAssignmentRequest(id string, job BulkWritableCableRequestStatus, jobQueue BulkWritableCableRequestStatus) *BulkWritableJobQueueAssignmentRequest { + this := BulkWritableJobQueueAssignmentRequest{} + this.Id = id + this.Job = job + this.JobQueue = jobQueue + return &this +} + +// 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 +func NewBulkWritableJobQueueAssignmentRequestWithDefaults() *BulkWritableJobQueueAssignmentRequest { + this := BulkWritableJobQueueAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableJobQueueAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableJobQueueAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetJob returns the Job field value +func (o *BulkWritableJobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Job +} + +// GetJobOk returns a tuple with the Job field value +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueAssignmentRequest) GetJobOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Job, true +} + +// SetJob sets field value +func (o *BulkWritableJobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus) { + o.Job = v +} + +// GetJobQueue returns the JobQueue field value +func (o *BulkWritableJobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.JobQueue +} + +// GetJobQueueOk returns a tuple with the JobQueue field value +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueAssignmentRequest) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.JobQueue, true +} + +// SetJobQueue sets field value +func (o *BulkWritableJobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus) { + o.JobQueue = v +} + +func (o BulkWritableJobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableJobQueueAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["job"] = o.Job + toSerialize["job_queue"] = o.JobQueue + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableJobQueueAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "job", + "job_queue", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableJobQueueAssignmentRequest := _BulkWritableJobQueueAssignmentRequest{} + + err = json.Unmarshal(data, &varBulkWritableJobQueueAssignmentRequest) + + if err != nil { + return err + } + + *o = BulkWritableJobQueueAssignmentRequest(varBulkWritableJobQueueAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "job") + delete(additionalProperties, "job_queue") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableJobQueueAssignmentRequest struct { + value *BulkWritableJobQueueAssignmentRequest + isSet bool +} + +func (v NullableBulkWritableJobQueueAssignmentRequest) Get() *BulkWritableJobQueueAssignmentRequest { + return v.value +} + +func (v *NullableBulkWritableJobQueueAssignmentRequest) Set(val *BulkWritableJobQueueAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableJobQueueAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableJobQueueAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableJobQueueAssignmentRequest(val *BulkWritableJobQueueAssignmentRequest) *NullableBulkWritableJobQueueAssignmentRequest { + return &NullableBulkWritableJobQueueAssignmentRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableJobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableJobQueueAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_job_queue_request.go b/model_bulk_writable_job_queue_request.go new file mode 100644 index 00000000..09fc71e0 --- /dev/null +++ b/model_bulk_writable_job_queue_request.go @@ -0,0 +1,421 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableJobQueueRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableJobQueueRequest{} + +// BulkWritableJobQueueRequest 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. +type BulkWritableJobQueueRequest struct { + Id string `json:"id"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + QueueType QueueTypeEnum `json:"queue_type"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableJobQueueRequest 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 +func NewBulkWritableJobQueueRequest(id string, name string, queueType QueueTypeEnum) *BulkWritableJobQueueRequest { + this := BulkWritableJobQueueRequest{} + this.Id = id + this.Name = name + this.QueueType = queueType + return &this +} + +// 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 +func NewBulkWritableJobQueueRequestWithDefaults() *BulkWritableJobQueueRequest { + this := BulkWritableJobQueueRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableJobQueueRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableJobQueueRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value +func (o *BulkWritableJobQueueRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BulkWritableJobQueueRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BulkWritableJobQueueRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *BulkWritableJobQueueRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *BulkWritableJobQueueRequest) SetDescription(v string) { + o.Description = &v +} + +// GetQueueType returns the QueueType field value +func (o *BulkWritableJobQueueRequest) GetQueueType() QueueTypeEnum { + if o == nil { + var ret QueueTypeEnum + return ret + } + + return o.QueueType +} + +// GetQueueTypeOk returns a tuple with the QueueType field value +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueRequest) GetQueueTypeOk() (*QueueTypeEnum, bool) { + if o == nil { + return nil, false + } + return &o.QueueType, true +} + +// SetQueueType sets field value +func (o *BulkWritableJobQueueRequest) SetQueueType(v QueueTypeEnum) { + o.QueueType = v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableJobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableJobQueueRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *BulkWritableJobQueueRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *BulkWritableJobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *BulkWritableJobQueueRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *BulkWritableJobQueueRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableJobQueueRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableJobQueueRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableJobQueueRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *BulkWritableJobQueueRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *BulkWritableJobQueueRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *BulkWritableJobQueueRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *BulkWritableJobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableJobQueueRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *BulkWritableJobQueueRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *BulkWritableJobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o BulkWritableJobQueueRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableJobQueueRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["queue_type"] = o.QueueType + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableJobQueueRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "name", + "queue_type", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableJobQueueRequest := _BulkWritableJobQueueRequest{} + + err = json.Unmarshal(data, &varBulkWritableJobQueueRequest) + + if err != nil { + return err + } + + *o = BulkWritableJobQueueRequest(varBulkWritableJobQueueRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "queue_type") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableJobQueueRequest struct { + value *BulkWritableJobQueueRequest + isSet bool +} + +func (v NullableBulkWritableJobQueueRequest) Get() *BulkWritableJobQueueRequest { + return v.value +} + +func (v *NullableBulkWritableJobQueueRequest) Set(val *BulkWritableJobQueueRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableJobQueueRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableJobQueueRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableJobQueueRequest(val *BulkWritableJobQueueRequest) *NullableBulkWritableJobQueueRequest { + return &NullableBulkWritableJobQueueRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableJobQueueRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableJobQueueRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_job_request.go b/model_bulk_writable_job_request.go index 249f477a..721a7381 100644 --- a/model_bulk_writable_job_request.go +++ b/model_bulk_writable_job_request.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. @@ -31,6 +31,8 @@ type BulkWritableJobRequest struct { Enabled *bool `json:"enabled,omitempty"` // Whether this job contains sensitive variables HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + // Whether this job should fail to run if another instance of this job is already running + IsSingleton *bool `json:"is_singleton,omitempty"` // Whether the job requires approval from another user before running ApprovalRequired *bool `json:"approval_required,omitempty"` // Whether the job defaults to not being shown in the UI @@ -41,8 +43,6 @@ type BulkWritableJobRequest struct { SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` // Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default TimeLimit *float64 `json:"time_limit,omitempty"` - // Comma separated list of task queues that this job can run on. A blank list will use the default queue - TaskQueues interface{} `json:"task_queues,omitempty"` // If set, the configured grouping will remain even if the underlying Job source code changes GroupingOverride *bool `json:"grouping_override,omitempty"` // If set, the configured name will remain even if the underlying Job source code changes @@ -62,7 +62,12 @@ type BulkWritableJobRequest struct { // If set, the configured value will remain even if the underlying Job source code changes HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` // If set, the configured value will remain even if the underlying Job source code changes - TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + JobQueuesOverride *bool `json:"job_queues_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + DefaultJobQueueOverride *bool `json:"default_job_queue_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + IsSingletonOverride *bool `json:"is_singleton_override,omitempty"` + DefaultJobQueue BulkWritableCableRequestStatus `json:"default_job_queue"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -75,11 +80,12 @@ type _BulkWritableJobRequest BulkWritableJobRequest // 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 -func NewBulkWritableJobRequest(id string, grouping string, name string) *BulkWritableJobRequest { +func NewBulkWritableJobRequest(id string, grouping string, name string, defaultJobQueue BulkWritableCableRequestStatus) *BulkWritableJobRequest { this := BulkWritableJobRequest{} this.Id = id this.Grouping = grouping this.Name = name + this.DefaultJobQueue = defaultJobQueue return &this } @@ -259,6 +265,38 @@ func (o *BulkWritableJobRequest) SetHasSensitiveVariables(v bool) { o.HasSensitiveVariables = &v } +// GetIsSingleton returns the IsSingleton field value if set, zero value otherwise. +func (o *BulkWritableJobRequest) GetIsSingleton() bool { + if o == nil || IsNil(o.IsSingleton) { + var ret bool + return ret + } + return *o.IsSingleton +} + +// GetIsSingletonOk returns a tuple with the IsSingleton field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableJobRequest) GetIsSingletonOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingleton) { + return nil, false + } + return o.IsSingleton, true +} + +// HasIsSingleton returns a boolean if a field has been set. +func (o *BulkWritableJobRequest) HasIsSingleton() bool { + if o != nil && !IsNil(o.IsSingleton) { + return true + } + + return false +} + +// SetIsSingleton gets a reference to the given bool and assigns it to the IsSingleton field. +func (o *BulkWritableJobRequest) SetIsSingleton(v bool) { + o.IsSingleton = &v +} + // GetApprovalRequired returns the ApprovalRequired field value if set, zero value otherwise. func (o *BulkWritableJobRequest) GetApprovalRequired() bool { if o == nil || IsNil(o.ApprovalRequired) { @@ -419,39 +457,6 @@ func (o *BulkWritableJobRequest) SetTimeLimit(v float64) { o.TimeLimit = &v } -// GetTaskQueues returns the TaskQueues field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *BulkWritableJobRequest) GetTaskQueues() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.TaskQueues -} - -// GetTaskQueuesOk returns a tuple with the TaskQueues field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *BulkWritableJobRequest) GetTaskQueuesOk() (*interface{}, bool) { - if o == nil || IsNil(o.TaskQueues) { - return nil, false - } - return &o.TaskQueues, true -} - -// HasTaskQueues returns a boolean if a field has been set. -func (o *BulkWritableJobRequest) HasTaskQueues() bool { - if o != nil && !IsNil(o.TaskQueues) { - return true - } - - return false -} - -// SetTaskQueues gets a reference to the given interface{} and assigns it to the TaskQueues field. -func (o *BulkWritableJobRequest) SetTaskQueues(v interface{}) { - o.TaskQueues = v -} - // GetGroupingOverride returns the GroupingOverride field value if set, zero value otherwise. func (o *BulkWritableJobRequest) GetGroupingOverride() bool { if o == nil || IsNil(o.GroupingOverride) { @@ -740,36 +745,124 @@ func (o *BulkWritableJobRequest) SetHasSensitiveVariablesOverride(v bool) { o.HasSensitiveVariablesOverride = &v } -// GetTaskQueuesOverride returns the TaskQueuesOverride field value if set, zero value otherwise. -func (o *BulkWritableJobRequest) GetTaskQueuesOverride() bool { - if o == nil || IsNil(o.TaskQueuesOverride) { +// GetJobQueuesOverride returns the JobQueuesOverride field value if set, zero value otherwise. +func (o *BulkWritableJobRequest) GetJobQueuesOverride() bool { + if o == nil || IsNil(o.JobQueuesOverride) { + var ret bool + return ret + } + return *o.JobQueuesOverride +} + +// GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableJobRequest) GetJobQueuesOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.JobQueuesOverride) { + return nil, false + } + return o.JobQueuesOverride, true +} + +// HasJobQueuesOverride returns a boolean if a field has been set. +func (o *BulkWritableJobRequest) HasJobQueuesOverride() bool { + if o != nil && !IsNil(o.JobQueuesOverride) { + return true + } + + return false +} + +// SetJobQueuesOverride gets a reference to the given bool and assigns it to the JobQueuesOverride field. +func (o *BulkWritableJobRequest) SetJobQueuesOverride(v bool) { + o.JobQueuesOverride = &v +} + +// GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field value if set, zero value otherwise. +func (o *BulkWritableJobRequest) GetDefaultJobQueueOverride() bool { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + var ret bool + return ret + } + return *o.DefaultJobQueueOverride +} + +// GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableJobRequest) GetDefaultJobQueueOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + return nil, false + } + return o.DefaultJobQueueOverride, true +} + +// HasDefaultJobQueueOverride returns a boolean if a field has been set. +func (o *BulkWritableJobRequest) HasDefaultJobQueueOverride() bool { + if o != nil && !IsNil(o.DefaultJobQueueOverride) { + return true + } + + return false +} + +// SetDefaultJobQueueOverride gets a reference to the given bool and assigns it to the DefaultJobQueueOverride field. +func (o *BulkWritableJobRequest) SetDefaultJobQueueOverride(v bool) { + o.DefaultJobQueueOverride = &v +} + +// GetIsSingletonOverride returns the IsSingletonOverride field value if set, zero value otherwise. +func (o *BulkWritableJobRequest) GetIsSingletonOverride() bool { + if o == nil || IsNil(o.IsSingletonOverride) { var ret bool return ret } - return *o.TaskQueuesOverride + return *o.IsSingletonOverride } -// GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field value if set, nil otherwise +// GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BulkWritableJobRequest) GetTaskQueuesOverrideOk() (*bool, bool) { - if o == nil || IsNil(o.TaskQueuesOverride) { +func (o *BulkWritableJobRequest) GetIsSingletonOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingletonOverride) { return nil, false } - return o.TaskQueuesOverride, true + return o.IsSingletonOverride, true } -// HasTaskQueuesOverride returns a boolean if a field has been set. -func (o *BulkWritableJobRequest) HasTaskQueuesOverride() bool { - if o != nil && !IsNil(o.TaskQueuesOverride) { +// HasIsSingletonOverride returns a boolean if a field has been set. +func (o *BulkWritableJobRequest) HasIsSingletonOverride() bool { + if o != nil && !IsNil(o.IsSingletonOverride) { return true } return false } -// SetTaskQueuesOverride gets a reference to the given bool and assigns it to the TaskQueuesOverride field. -func (o *BulkWritableJobRequest) SetTaskQueuesOverride(v bool) { - o.TaskQueuesOverride = &v +// SetIsSingletonOverride gets a reference to the given bool and assigns it to the IsSingletonOverride field. +func (o *BulkWritableJobRequest) SetIsSingletonOverride(v bool) { + o.IsSingletonOverride = &v +} + +// GetDefaultJobQueue returns the DefaultJobQueue field value +func (o *BulkWritableJobRequest) GetDefaultJobQueue() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.DefaultJobQueue +} + +// GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field value +// and a boolean to check if the value has been set. +func (o *BulkWritableJobRequest) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.DefaultJobQueue, true +} + +// SetDefaultJobQueue sets field value +func (o *BulkWritableJobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus) { + o.DefaultJobQueue = v } // GetTags returns the Tags field value if set, zero value otherwise. @@ -890,6 +983,9 @@ func (o BulkWritableJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariables) { toSerialize["has_sensitive_variables"] = o.HasSensitiveVariables } + if !IsNil(o.IsSingleton) { + toSerialize["is_singleton"] = o.IsSingleton + } if !IsNil(o.ApprovalRequired) { toSerialize["approval_required"] = o.ApprovalRequired } @@ -905,9 +1001,6 @@ func (o BulkWritableJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.TimeLimit) { toSerialize["time_limit"] = o.TimeLimit } - if o.TaskQueues != nil { - toSerialize["task_queues"] = o.TaskQueues - } if !IsNil(o.GroupingOverride) { toSerialize["grouping_override"] = o.GroupingOverride } @@ -935,9 +1028,16 @@ func (o BulkWritableJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariablesOverride) { toSerialize["has_sensitive_variables_override"] = o.HasSensitiveVariablesOverride } - if !IsNil(o.TaskQueuesOverride) { - toSerialize["task_queues_override"] = o.TaskQueuesOverride + if !IsNil(o.JobQueuesOverride) { + toSerialize["job_queues_override"] = o.JobQueuesOverride + } + if !IsNil(o.DefaultJobQueueOverride) { + toSerialize["default_job_queue_override"] = o.DefaultJobQueueOverride + } + if !IsNil(o.IsSingletonOverride) { + toSerialize["is_singleton_override"] = o.IsSingletonOverride } + toSerialize["default_job_queue"] = o.DefaultJobQueue if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags } @@ -963,6 +1063,7 @@ func (o *BulkWritableJobRequest) UnmarshalJSON(data []byte) (err error) { "id", "grouping", "name", + "default_job_queue", } allProperties := make(map[string]interface{}) @@ -998,12 +1099,12 @@ func (o *BulkWritableJobRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "description") delete(additionalProperties, "enabled") delete(additionalProperties, "has_sensitive_variables") + delete(additionalProperties, "is_singleton") delete(additionalProperties, "approval_required") delete(additionalProperties, "hidden") delete(additionalProperties, "dryrun_default") delete(additionalProperties, "soft_time_limit") delete(additionalProperties, "time_limit") - delete(additionalProperties, "task_queues") delete(additionalProperties, "grouping_override") delete(additionalProperties, "name_override") delete(additionalProperties, "description_override") @@ -1013,7 +1114,10 @@ func (o *BulkWritableJobRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "soft_time_limit_override") delete(additionalProperties, "time_limit_override") delete(additionalProperties, "has_sensitive_variables_override") - delete(additionalProperties, "task_queues_override") + delete(additionalProperties, "job_queues_override") + delete(additionalProperties, "default_job_queue_override") + delete(additionalProperties, "is_singleton_override") + delete(additionalProperties, "default_job_queue") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_bulk_writable_location_request.go b/model_bulk_writable_location_request.go index f439234e..6b2b152b 100644 --- a/model_bulk_writable_location_request.go +++ b/model_bulk_writable_location_request.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/model_bulk_writable_location_type_request.go b/model_bulk_writable_location_type_request.go index 0cc33b4d..b51e0577 100644 --- a/model_bulk_writable_location_type_request.go +++ b/model_bulk_writable_location_type_request.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/model_bulk_writable_manufacturer_request.go b/model_bulk_writable_manufacturer_request.go index bf4047d9..0834f3f1 100644 --- a/model_bulk_writable_manufacturer_request.go +++ b/model_bulk_writable_manufacturer_request.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/model_bulk_writable_metadata_choice_request.go b/model_bulk_writable_metadata_choice_request.go index 12b28f6b..928d40b0 100644 --- a/model_bulk_writable_metadata_choice_request.go +++ b/model_bulk_writable_metadata_choice_request.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/model_bulk_writable_metadata_type_request.go b/model_bulk_writable_metadata_type_request.go index 949d1061..c0509963 100644 --- a/model_bulk_writable_metadata_type_request.go +++ b/model_bulk_writable_metadata_type_request.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 BulkWritableMetadataTypeRequest struct { DataType DataTypeEnum `json:"data_type"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -246,6 +247,38 @@ func (o *BulkWritableMetadataTypeRequest) SetRelationships(v map[string]BulkWrit o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableMetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableMetadataTypeRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableMetadataTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableMetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o BulkWritableMetadataTypeRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -269,6 +302,9 @@ func (o BulkWritableMetadataTypeRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -322,6 +358,7 @@ func (o *BulkWritableMetadataTypeRequest) UnmarshalJSON(data []byte) (err error) delete(additionalProperties, "data_type") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_bulk_writable_module_bay_request.go b/model_bulk_writable_module_bay_request.go index 16f20f22..2c3ca06f 100644 --- a/model_bulk_writable_module_bay_request.go +++ b/model_bulk_writable_module_bay_request.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. @@ -21,6 +21,8 @@ var _ MappedNullable = &BulkWritableModuleBayRequest{} // BulkWritableModuleBayRequest 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. type BulkWritableModuleBayRequest struct { Id string `json:"id"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` Name string `json:"name"` // The position of the module bay within the parent device/module Position *string `json:"position,omitempty"` @@ -29,6 +31,7 @@ type BulkWritableModuleBayRequest struct { Description *string `json:"description,omitempty"` ParentDevice NullableBulkWritableCircuitRequestTenant `json:"parent_device,omitempty"` ParentModule NullableBulkWritableCircuitRequestTenant `json:"parent_module,omitempty"` + ModuleFamily NullableBulkWritableModuleBayRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -80,6 +83,38 @@ func (o *BulkWritableModuleBayRequest) SetId(v string) { o.Id = v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *BulkWritableModuleBayRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *BulkWritableModuleBayRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *BulkWritableModuleBayRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetName returns the Name field value func (o *BulkWritableModuleBayRequest) GetName() string { if o == nil { @@ -284,6 +319,48 @@ func (o *BulkWritableModuleBayRequest) UnsetParentModule() { o.ParentModule.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableModuleBayRequest) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *BulkWritableModuleBayRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *BulkWritableModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *BulkWritableModuleBayRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *BulkWritableModuleBayRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *BulkWritableModuleBayRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -391,6 +468,9 @@ func (o BulkWritableModuleBayRequest) MarshalJSON() ([]byte, error) { func (o BulkWritableModuleBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } toSerialize["name"] = o.Name if !IsNil(o.Position) { toSerialize["position"] = o.Position @@ -407,6 +487,9 @@ func (o BulkWritableModuleBayRequest) ToMap() (map[string]interface{}, error) { if o.ParentModule.IsSet() { toSerialize["parent_module"] = o.ParentModule.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -461,12 +544,14 @@ func (o *BulkWritableModuleBayRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "name") delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "parent_device") delete(additionalProperties, "parent_module") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_bulk_writable_module_bay_request_module_family.go b/model_bulk_writable_module_bay_request_module_family.go new file mode 100644 index 00000000..53b731be --- /dev/null +++ b/model_bulk_writable_module_bay_request_module_family.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the BulkWritableModuleBayRequestModuleFamily type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableModuleBayRequestModuleFamily{} + +// BulkWritableModuleBayRequestModuleFamily Module family that can be installed in this bay +type BulkWritableModuleBayRequestModuleFamily struct { + Id *BulkWritableCableRequestStatusId `json:"id,omitempty"` + ObjectType *string `json:"object_type,omitempty" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableModuleBayRequestModuleFamily 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 +func NewBulkWritableModuleBayRequestModuleFamily() *BulkWritableModuleBayRequestModuleFamily { + this := BulkWritableModuleBayRequestModuleFamily{} + return &this +} + +// 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 +func NewBulkWritableModuleBayRequestModuleFamilyWithDefaults() *BulkWritableModuleBayRequestModuleFamily { + this := BulkWritableModuleBayRequestModuleFamily{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *BulkWritableModuleBayRequestModuleFamily) GetId() BulkWritableCableRequestStatusId { + if o == nil || IsNil(o.Id) { + var ret BulkWritableCableRequestStatusId + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayRequestModuleFamily) GetIdOk() (*BulkWritableCableRequestStatusId, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *BulkWritableModuleBayRequestModuleFamily) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given BulkWritableCableRequestStatusId and assigns it to the Id field. +func (o *BulkWritableModuleBayRequestModuleFamily) SetId(v BulkWritableCableRequestStatusId) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *BulkWritableModuleBayRequestModuleFamily) GetObjectType() string { + if o == nil || IsNil(o.ObjectType) { + var ret string + return ret + } + return *o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayRequestModuleFamily) GetObjectTypeOk() (*string, bool) { + if o == nil || IsNil(o.ObjectType) { + return nil, false + } + return o.ObjectType, true +} + +// HasObjectType returns a boolean if a field has been set. +func (o *BulkWritableModuleBayRequestModuleFamily) HasObjectType() bool { + if o != nil && !IsNil(o.ObjectType) { + return true + } + + return false +} + +// SetObjectType gets a reference to the given string and assigns it to the ObjectType field. +func (o *BulkWritableModuleBayRequestModuleFamily) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *BulkWritableModuleBayRequestModuleFamily) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayRequestModuleFamily) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *BulkWritableModuleBayRequestModuleFamily) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *BulkWritableModuleBayRequestModuleFamily) SetUrl(v string) { + o.Url = &v +} + +func (o BulkWritableModuleBayRequestModuleFamily) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableModuleBayRequestModuleFamily) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.Url) { + toSerialize["url"] = o.Url + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableModuleBayRequestModuleFamily) UnmarshalJSON(data []byte) (err error) { + varBulkWritableModuleBayRequestModuleFamily := _BulkWritableModuleBayRequestModuleFamily{} + + err = json.Unmarshal(data, &varBulkWritableModuleBayRequestModuleFamily) + + if err != nil { + return err + } + + *o = BulkWritableModuleBayRequestModuleFamily(varBulkWritableModuleBayRequestModuleFamily) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableModuleBayRequestModuleFamily struct { + value *BulkWritableModuleBayRequestModuleFamily + isSet bool +} + +func (v NullableBulkWritableModuleBayRequestModuleFamily) Get() *BulkWritableModuleBayRequestModuleFamily { + return v.value +} + +func (v *NullableBulkWritableModuleBayRequestModuleFamily) Set(val *BulkWritableModuleBayRequestModuleFamily) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableModuleBayRequestModuleFamily) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableModuleBayRequestModuleFamily) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableModuleBayRequestModuleFamily(val *BulkWritableModuleBayRequestModuleFamily) *NullableBulkWritableModuleBayRequestModuleFamily { + return &NullableBulkWritableModuleBayRequestModuleFamily{value: val, isSet: true} +} + +func (v NullableBulkWritableModuleBayRequestModuleFamily) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableModuleBayRequestModuleFamily) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_module_bay_template_request.go b/model_bulk_writable_module_bay_template_request.go index 84c58a79..88d08bfb 100644 --- a/model_bulk_writable_module_bay_template_request.go +++ b/model_bulk_writable_module_bay_template_request.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,8 +27,11 @@ type BulkWritableModuleBayTemplateRequest struct { // Physical label Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` + ModuleFamily NullableBulkWritableModuleBayTemplateRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -199,6 +202,38 @@ func (o *BulkWritableModuleBayTemplateRequest) SetDescription(v string) { o.Description = &v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *BulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *BulkWritableModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *BulkWritableModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *BulkWritableModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -283,6 +318,48 @@ func (o *BulkWritableModuleBayTemplateRequest) UnsetModuleType() { o.ModuleType.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayTemplateRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableModuleBayTemplateRequest) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *BulkWritableModuleBayTemplateRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayTemplateRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *BulkWritableModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *BulkWritableModuleBayTemplateRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *BulkWritableModuleBayTemplateRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *BulkWritableModuleBayTemplateRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -368,12 +445,18 @@ func (o BulkWritableModuleBayTemplateRequest) ToMap() (map[string]interface{}, e if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } if o.ModuleType.IsSet() { toSerialize["module_type"] = o.ModuleType.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -429,8 +512,10 @@ func (o *BulkWritableModuleBayTemplateRequest) UnmarshalJSON(data []byte) (err e delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_bulk_writable_module_bay_template_request_module_family.go b/model_bulk_writable_module_bay_template_request_module_family.go new file mode 100644 index 00000000..c619963e --- /dev/null +++ b/model_bulk_writable_module_bay_template_request_module_family.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the BulkWritableModuleBayTemplateRequestModuleFamily type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableModuleBayTemplateRequestModuleFamily{} + +// BulkWritableModuleBayTemplateRequestModuleFamily Module family that can be installed in this bay. Leave blank for no restriction. +type BulkWritableModuleBayTemplateRequestModuleFamily struct { + Id *BulkWritableCableRequestStatusId `json:"id,omitempty"` + ObjectType *string `json:"object_type,omitempty" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableModuleBayTemplateRequestModuleFamily 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 +func NewBulkWritableModuleBayTemplateRequestModuleFamily() *BulkWritableModuleBayTemplateRequestModuleFamily { + this := BulkWritableModuleBayTemplateRequestModuleFamily{} + return &this +} + +// 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 +func NewBulkWritableModuleBayTemplateRequestModuleFamilyWithDefaults() *BulkWritableModuleBayTemplateRequestModuleFamily { + this := BulkWritableModuleBayTemplateRequestModuleFamily{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetId() BulkWritableCableRequestStatusId { + if o == nil || IsNil(o.Id) { + var ret BulkWritableCableRequestStatusId + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetIdOk() (*BulkWritableCableRequestStatusId, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given BulkWritableCableRequestStatusId and assigns it to the Id field. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) SetId(v BulkWritableCableRequestStatusId) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetObjectType() string { + if o == nil || IsNil(o.ObjectType) { + var ret string + return ret + } + return *o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetObjectTypeOk() (*string, bool) { + if o == nil || IsNil(o.ObjectType) { + return nil, false + } + return o.ObjectType, true +} + +// HasObjectType returns a boolean if a field has been set. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) HasObjectType() bool { + if o != nil && !IsNil(o.ObjectType) { + return true + } + + return false +} + +// SetObjectType gets a reference to the given string and assigns it to the ObjectType field. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) SetUrl(v string) { + o.Url = &v +} + +func (o BulkWritableModuleBayTemplateRequestModuleFamily) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableModuleBayTemplateRequestModuleFamily) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.Url) { + toSerialize["url"] = o.Url + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableModuleBayTemplateRequestModuleFamily) UnmarshalJSON(data []byte) (err error) { + varBulkWritableModuleBayTemplateRequestModuleFamily := _BulkWritableModuleBayTemplateRequestModuleFamily{} + + err = json.Unmarshal(data, &varBulkWritableModuleBayTemplateRequestModuleFamily) + + if err != nil { + return err + } + + *o = BulkWritableModuleBayTemplateRequestModuleFamily(varBulkWritableModuleBayTemplateRequestModuleFamily) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableModuleBayTemplateRequestModuleFamily struct { + value *BulkWritableModuleBayTemplateRequestModuleFamily + isSet bool +} + +func (v NullableBulkWritableModuleBayTemplateRequestModuleFamily) Get() *BulkWritableModuleBayTemplateRequestModuleFamily { + return v.value +} + +func (v *NullableBulkWritableModuleBayTemplateRequestModuleFamily) Set(val *BulkWritableModuleBayTemplateRequestModuleFamily) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableModuleBayTemplateRequestModuleFamily) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableModuleBayTemplateRequestModuleFamily) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableModuleBayTemplateRequestModuleFamily(val *BulkWritableModuleBayTemplateRequestModuleFamily) *NullableBulkWritableModuleBayTemplateRequestModuleFamily { + return &NullableBulkWritableModuleBayTemplateRequestModuleFamily{value: val, isSet: true} +} + +func (v NullableBulkWritableModuleBayTemplateRequestModuleFamily) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableModuleBayTemplateRequestModuleFamily) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_module_family_request.go b/model_bulk_writable_module_family_request.go new file mode 100644 index 00000000..8f417d58 --- /dev/null +++ b/model_bulk_writable_module_family_request.go @@ -0,0 +1,308 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableModuleFamilyRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableModuleFamilyRequest{} + +// BulkWritableModuleFamilyRequest API serializer for ModuleFamily objects. +type BulkWritableModuleFamilyRequest struct { + Id string `json:"id"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableModuleFamilyRequest 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 +func NewBulkWritableModuleFamilyRequest(id string, name string) *BulkWritableModuleFamilyRequest { + this := BulkWritableModuleFamilyRequest{} + this.Id = id + this.Name = name + return &this +} + +// 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 +func NewBulkWritableModuleFamilyRequestWithDefaults() *BulkWritableModuleFamilyRequest { + this := BulkWritableModuleFamilyRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableModuleFamilyRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleFamilyRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableModuleFamilyRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value +func (o *BulkWritableModuleFamilyRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleFamilyRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BulkWritableModuleFamilyRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BulkWritableModuleFamilyRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleFamilyRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *BulkWritableModuleFamilyRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *BulkWritableModuleFamilyRequest) SetDescription(v string) { + o.Description = &v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *BulkWritableModuleFamilyRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleFamilyRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *BulkWritableModuleFamilyRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *BulkWritableModuleFamilyRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *BulkWritableModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableModuleFamilyRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *BulkWritableModuleFamilyRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *BulkWritableModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o BulkWritableModuleFamilyRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableModuleFamilyRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableModuleFamilyRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "name", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableModuleFamilyRequest := _BulkWritableModuleFamilyRequest{} + + err = json.Unmarshal(data, &varBulkWritableModuleFamilyRequest) + + if err != nil { + return err + } + + *o = BulkWritableModuleFamilyRequest(varBulkWritableModuleFamilyRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableModuleFamilyRequest struct { + value *BulkWritableModuleFamilyRequest + isSet bool +} + +func (v NullableBulkWritableModuleFamilyRequest) Get() *BulkWritableModuleFamilyRequest { + return v.value +} + +func (v *NullableBulkWritableModuleFamilyRequest) Set(val *BulkWritableModuleFamilyRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableModuleFamilyRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableModuleFamilyRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableModuleFamilyRequest(val *BulkWritableModuleFamilyRequest) *NullableBulkWritableModuleFamilyRequest { + return &NullableBulkWritableModuleFamilyRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableModuleFamilyRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableModuleFamilyRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_module_request.go b/model_bulk_writable_module_request.go index 0245d85b..fa099b05 100644 --- a/model_bulk_writable_module_request.go +++ b/model_bulk_writable_module_request.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/model_bulk_writable_module_type_request.go b/model_bulk_writable_module_type_request.go index 2f799dc0..d7eca79a 100644 --- a/model_bulk_writable_module_type_request.go +++ b/model_bulk_writable_module_type_request.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. @@ -26,6 +26,7 @@ type BulkWritableModuleTypeRequest struct { PartNumber *string `json:"part_number,omitempty"` Comments *string `json:"comments,omitempty"` Manufacturer BulkWritableCableRequestStatus `json:"manufacturer"` + ModuleFamily NullableBulkWritableCircuitRequestTenant `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -190,6 +191,48 @@ func (o *BulkWritableModuleTypeRequest) SetManufacturer(v BulkWritableCableReque o.Manufacturer = v } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableModuleTypeRequest) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *BulkWritableModuleTypeRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ModuleFamily field. +func (o *BulkWritableModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *BulkWritableModuleTypeRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *BulkWritableModuleTypeRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *BulkWritableModuleTypeRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -305,6 +348,9 @@ func (o BulkWritableModuleTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize["comments"] = o.Comments } toSerialize["manufacturer"] = o.Manufacturer + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -364,6 +410,7 @@ func (o *BulkWritableModuleTypeRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "part_number") delete(additionalProperties, "comments") delete(additionalProperties, "manufacturer") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_bulk_writable_namespace_request.go b/model_bulk_writable_namespace_request.go index d50c4506..fb864ba9 100644 --- a/model_bulk_writable_namespace_request.go +++ b/model_bulk_writable_namespace_request.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/model_bulk_writable_note_request.go b/model_bulk_writable_note_request.go index 87573304..ca6289e9 100644 --- a/model_bulk_writable_note_request.go +++ b/model_bulk_writable_note_request.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/model_bulk_writable_object_metadata_request.go b/model_bulk_writable_object_metadata_request.go index 68ca5d72..15a5b841 100644 --- a/model_bulk_writable_object_metadata_request.go +++ b/model_bulk_writable_object_metadata_request.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/model_bulk_writable_object_permission_request.go b/model_bulk_writable_object_permission_request.go index 1197e0ca..1da36a86 100644 --- a/model_bulk_writable_object_permission_request.go +++ b/model_bulk_writable_object_permission_request.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/model_bulk_writable_platform_request.go b/model_bulk_writable_platform_request.go index 042276e0..115175b2 100644 --- a/model_bulk_writable_platform_request.go +++ b/model_bulk_writable_platform_request.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/model_bulk_writable_platform_request_manufacturer.go b/model_bulk_writable_platform_request_manufacturer.go index a62f8678..68824098 100644 --- a/model_bulk_writable_platform_request_manufacturer.go +++ b/model_bulk_writable_platform_request_manufacturer.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/model_bulk_writable_power_feed_request.go b/model_bulk_writable_power_feed_request.go index 5e6c2287..cf6a9d5f 100644 --- a/model_bulk_writable_power_feed_request.go +++ b/model_bulk_writable_power_feed_request.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. @@ -22,16 +22,21 @@ var _ MappedNullable = &BulkWritablePowerFeedRequest{} type BulkWritablePowerFeedRequest struct { Id string `json:"id"` Type *PowerFeedTypeChoices `json:"type,omitempty"` + PowerPath *PowerPathEnum `json:"power_path,omitempty"` Supply *SupplyEnum `json:"supply,omitempty"` Phase *PhaseEnum `json:"phase,omitempty"` + BreakerPoleCount NullableBreakerPoleCountEnum `json:"breaker_pole_count,omitempty"` Name string `json:"name"` Voltage *int32 `json:"voltage,omitempty"` Amperage *int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` + // Starting circuit breaker position in panel + BreakerPosition NullableInt32 `json:"breaker_position,omitempty"` Comments *string `json:"comments,omitempty"` Cable NullableBulkWritableCircuitRequestTenant `json:"cable,omitempty"` - PowerPanel BulkWritableCableRequestStatus `json:"power_panel"` + PowerPanel BulkWritablePowerFeedRequestPowerPanel `json:"power_panel"` + DestinationPanel NullableBulkWritablePowerFeedRequestDestinationPanel `json:"destination_panel,omitempty"` Rack NullableBulkWritableCircuitRequestTenant `json:"rack,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -46,14 +51,14 @@ type _BulkWritablePowerFeedRequest BulkWritablePowerFeedRequest // 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 -func NewBulkWritablePowerFeedRequest(id string, name string, powerPanel BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus) *BulkWritablePowerFeedRequest { +func NewBulkWritablePowerFeedRequest(id string, name string, powerPanel BulkWritablePowerFeedRequestPowerPanel, status BulkWritableCableRequestStatus) *BulkWritablePowerFeedRequest { this := BulkWritablePowerFeedRequest{} this.Id = id - var type_ PowerFeedTypeChoices = "{\"value\":\"primary\",\"label\":\"Primary\"}" + var type_ PowerFeedTypeChoices = POWERFEEDTYPECHOICES_PRIMARY this.Type = &type_ - var supply SupplyEnum = "{\"value\":\"ac\",\"label\":\"AC\"}" + var supply SupplyEnum = SUPPLYENUM_AC this.Supply = &supply - var phase PhaseEnum = "{\"value\":\"single-phase\",\"label\":\"Single phase\"}" + var phase PhaseEnum = PHASEENUM_SINGLE_PHASE this.Phase = &phase this.Name = name this.PowerPanel = powerPanel @@ -66,11 +71,11 @@ func NewBulkWritablePowerFeedRequest(id string, name string, powerPanel BulkWrit // but it doesn't guarantee that properties required by API are set func NewBulkWritablePowerFeedRequestWithDefaults() *BulkWritablePowerFeedRequest { this := BulkWritablePowerFeedRequest{} - var type_ PowerFeedTypeChoices = "{\"value\":\"primary\",\"label\":\"Primary\"}" + var type_ PowerFeedTypeChoices = POWERFEEDTYPECHOICES_PRIMARY this.Type = &type_ - var supply SupplyEnum = "{\"value\":\"ac\",\"label\":\"AC\"}" + var supply SupplyEnum = SUPPLYENUM_AC this.Supply = &supply - var phase PhaseEnum = "{\"value\":\"single-phase\",\"label\":\"Single phase\"}" + var phase PhaseEnum = PHASEENUM_SINGLE_PHASE this.Phase = &phase return &this } @@ -131,6 +136,38 @@ func (o *BulkWritablePowerFeedRequest) SetType(v PowerFeedTypeChoices) { o.Type = &v } +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *BulkWritablePowerFeedRequest) GetPowerPath() PowerPathEnum { + if o == nil || IsNil(o.PowerPath) { + var ret PowerPathEnum + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerFeedRequest) GetPowerPathOk() (*PowerPathEnum, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PowerPathEnum and assigns it to the PowerPath field. +func (o *BulkWritablePowerFeedRequest) SetPowerPath(v PowerPathEnum) { + o.PowerPath = &v +} + // GetSupply returns the Supply field value if set, zero value otherwise. func (o *BulkWritablePowerFeedRequest) GetSupply() SupplyEnum { if o == nil || IsNil(o.Supply) { @@ -195,6 +232,48 @@ func (o *BulkWritablePowerFeedRequest) SetPhase(v PhaseEnum) { o.Phase = &v } +// GetBreakerPoleCount returns the BreakerPoleCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum { + if o == nil || IsNil(o.BreakerPoleCount.Get()) { + var ret BreakerPoleCountEnum + return ret + } + return *o.BreakerPoleCount.Get() +} + +// GetBreakerPoleCountOk returns a tuple with the BreakerPoleCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritablePowerFeedRequest) GetBreakerPoleCountOk() (*BreakerPoleCountEnum, bool) { + if o == nil { + return nil, false + } + return o.BreakerPoleCount.Get(), o.BreakerPoleCount.IsSet() +} + +// HasBreakerPoleCount returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequest) HasBreakerPoleCount() bool { + if o != nil && o.BreakerPoleCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPoleCount gets a reference to the given NullableBreakerPoleCountEnum and assigns it to the BreakerPoleCount field. +func (o *BulkWritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum) { + o.BreakerPoleCount.Set(&v) +} +// SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil +func (o *BulkWritablePowerFeedRequest) SetBreakerPoleCountNil() { + o.BreakerPoleCount.Set(nil) +} + +// UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil +func (o *BulkWritablePowerFeedRequest) UnsetBreakerPoleCount() { + o.BreakerPoleCount.Unset() +} + // GetName returns the Name field value func (o *BulkWritablePowerFeedRequest) GetName() string { if o == nil { @@ -315,6 +394,48 @@ func (o *BulkWritablePowerFeedRequest) SetMaxUtilization(v int32) { o.MaxUtilization = &v } +// GetBreakerPosition returns the BreakerPosition field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritablePowerFeedRequest) GetBreakerPosition() int32 { + if o == nil || IsNil(o.BreakerPosition.Get()) { + var ret int32 + return ret + } + return *o.BreakerPosition.Get() +} + +// GetBreakerPositionOk returns a tuple with the BreakerPosition field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritablePowerFeedRequest) GetBreakerPositionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPosition.Get(), o.BreakerPosition.IsSet() +} + +// HasBreakerPosition returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequest) HasBreakerPosition() bool { + if o != nil && o.BreakerPosition.IsSet() { + return true + } + + return false +} + +// SetBreakerPosition gets a reference to the given NullableInt32 and assigns it to the BreakerPosition field. +func (o *BulkWritablePowerFeedRequest) SetBreakerPosition(v int32) { + o.BreakerPosition.Set(&v) +} +// SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil +func (o *BulkWritablePowerFeedRequest) SetBreakerPositionNil() { + o.BreakerPosition.Set(nil) +} + +// UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil +func (o *BulkWritablePowerFeedRequest) UnsetBreakerPosition() { + o.BreakerPosition.Unset() +} + // GetComments returns the Comments field value if set, zero value otherwise. func (o *BulkWritablePowerFeedRequest) GetComments() string { if o == nil || IsNil(o.Comments) { @@ -390,9 +511,9 @@ func (o *BulkWritablePowerFeedRequest) UnsetCable() { } // GetPowerPanel returns the PowerPanel field value -func (o *BulkWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus { +func (o *BulkWritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel { if o == nil { - var ret BulkWritableCableRequestStatus + var ret BulkWritablePowerFeedRequestPowerPanel return ret } @@ -401,7 +522,7 @@ func (o *BulkWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestS // GetPowerPanelOk returns a tuple with the PowerPanel field value // and a boolean to check if the value has been set. -func (o *BulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool) { +func (o *BulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritablePowerFeedRequestPowerPanel, bool) { if o == nil { return nil, false } @@ -409,10 +530,52 @@ func (o *BulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequ } // SetPowerPanel sets field value -func (o *BulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus) { +func (o *BulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel) { o.PowerPanel = v } +// GetDestinationPanel returns the DestinationPanel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel { + if o == nil || IsNil(o.DestinationPanel.Get()) { + var ret BulkWritablePowerFeedRequestDestinationPanel + return ret + } + return *o.DestinationPanel.Get() +} + +// GetDestinationPanelOk returns a tuple with the DestinationPanel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritablePowerFeedRequest) GetDestinationPanelOk() (*BulkWritablePowerFeedRequestDestinationPanel, bool) { + if o == nil { + return nil, false + } + return o.DestinationPanel.Get(), o.DestinationPanel.IsSet() +} + +// HasDestinationPanel returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequest) HasDestinationPanel() bool { + if o != nil && o.DestinationPanel.IsSet() { + return true + } + + return false +} + +// SetDestinationPanel gets a reference to the given NullableBulkWritablePowerFeedRequestDestinationPanel and assigns it to the DestinationPanel field. +func (o *BulkWritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel) { + o.DestinationPanel.Set(&v) +} +// SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil +func (o *BulkWritablePowerFeedRequest) SetDestinationPanelNil() { + o.DestinationPanel.Set(nil) +} + +// UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil +func (o *BulkWritablePowerFeedRequest) UnsetDestinationPanel() { + o.DestinationPanel.Unset() +} + // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). func (o *BulkWritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Rack.Get()) { @@ -589,12 +752,18 @@ func (o BulkWritablePowerFeedRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Type) { toSerialize["type"] = o.Type } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } if !IsNil(o.Supply) { toSerialize["supply"] = o.Supply } if !IsNil(o.Phase) { toSerialize["phase"] = o.Phase } + if o.BreakerPoleCount.IsSet() { + toSerialize["breaker_pole_count"] = o.BreakerPoleCount.Get() + } toSerialize["name"] = o.Name if !IsNil(o.Voltage) { toSerialize["voltage"] = o.Voltage @@ -605,6 +774,9 @@ func (o BulkWritablePowerFeedRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaxUtilization) { toSerialize["max_utilization"] = o.MaxUtilization } + if o.BreakerPosition.IsSet() { + toSerialize["breaker_position"] = o.BreakerPosition.Get() + } if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } @@ -612,6 +784,9 @@ func (o BulkWritablePowerFeedRequest) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() } toSerialize["power_panel"] = o.PowerPanel + if o.DestinationPanel.IsSet() { + toSerialize["destination_panel"] = o.DestinationPanel.Get() + } if o.Rack.IsSet() { toSerialize["rack"] = o.Rack.Get() } @@ -673,15 +848,19 @@ func (o *BulkWritablePowerFeedRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "type") + delete(additionalProperties, "power_path") delete(additionalProperties, "supply") delete(additionalProperties, "phase") + delete(additionalProperties, "breaker_pole_count") delete(additionalProperties, "name") delete(additionalProperties, "voltage") delete(additionalProperties, "amperage") delete(additionalProperties, "max_utilization") + delete(additionalProperties, "breaker_position") delete(additionalProperties, "comments") delete(additionalProperties, "cable") delete(additionalProperties, "power_panel") + delete(additionalProperties, "destination_panel") delete(additionalProperties, "rack") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") diff --git a/model_bulk_writable_power_feed_request_destination_panel.go b/model_bulk_writable_power_feed_request_destination_panel.go new file mode 100644 index 00000000..220e44dd --- /dev/null +++ b/model_bulk_writable_power_feed_request_destination_panel.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the BulkWritablePowerFeedRequestDestinationPanel type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritablePowerFeedRequestDestinationPanel{} + +// BulkWritablePowerFeedRequestDestinationPanel Destination panel that receives power from this feed +type BulkWritablePowerFeedRequestDestinationPanel struct { + Id *BulkWritableCableRequestStatusId `json:"id,omitempty"` + ObjectType *string `json:"object_type,omitempty" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritablePowerFeedRequestDestinationPanel 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 +func NewBulkWritablePowerFeedRequestDestinationPanel() *BulkWritablePowerFeedRequestDestinationPanel { + this := BulkWritablePowerFeedRequestDestinationPanel{} + return &this +} + +// 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 +func NewBulkWritablePowerFeedRequestDestinationPanelWithDefaults() *BulkWritablePowerFeedRequestDestinationPanel { + this := BulkWritablePowerFeedRequestDestinationPanel{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *BulkWritablePowerFeedRequestDestinationPanel) GetId() BulkWritableCableRequestStatusId { + if o == nil || IsNil(o.Id) { + var ret BulkWritableCableRequestStatusId + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerFeedRequestDestinationPanel) GetIdOk() (*BulkWritableCableRequestStatusId, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequestDestinationPanel) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given BulkWritableCableRequestStatusId and assigns it to the Id field. +func (o *BulkWritablePowerFeedRequestDestinationPanel) SetId(v BulkWritableCableRequestStatusId) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *BulkWritablePowerFeedRequestDestinationPanel) GetObjectType() string { + if o == nil || IsNil(o.ObjectType) { + var ret string + return ret + } + return *o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerFeedRequestDestinationPanel) GetObjectTypeOk() (*string, bool) { + if o == nil || IsNil(o.ObjectType) { + return nil, false + } + return o.ObjectType, true +} + +// HasObjectType returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequestDestinationPanel) HasObjectType() bool { + if o != nil && !IsNil(o.ObjectType) { + return true + } + + return false +} + +// SetObjectType gets a reference to the given string and assigns it to the ObjectType field. +func (o *BulkWritablePowerFeedRequestDestinationPanel) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *BulkWritablePowerFeedRequestDestinationPanel) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerFeedRequestDestinationPanel) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequestDestinationPanel) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *BulkWritablePowerFeedRequestDestinationPanel) SetUrl(v string) { + o.Url = &v +} + +func (o BulkWritablePowerFeedRequestDestinationPanel) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritablePowerFeedRequestDestinationPanel) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.Url) { + toSerialize["url"] = o.Url + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritablePowerFeedRequestDestinationPanel) UnmarshalJSON(data []byte) (err error) { + varBulkWritablePowerFeedRequestDestinationPanel := _BulkWritablePowerFeedRequestDestinationPanel{} + + err = json.Unmarshal(data, &varBulkWritablePowerFeedRequestDestinationPanel) + + if err != nil { + return err + } + + *o = BulkWritablePowerFeedRequestDestinationPanel(varBulkWritablePowerFeedRequestDestinationPanel) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritablePowerFeedRequestDestinationPanel struct { + value *BulkWritablePowerFeedRequestDestinationPanel + isSet bool +} + +func (v NullableBulkWritablePowerFeedRequestDestinationPanel) Get() *BulkWritablePowerFeedRequestDestinationPanel { + return v.value +} + +func (v *NullableBulkWritablePowerFeedRequestDestinationPanel) Set(val *BulkWritablePowerFeedRequestDestinationPanel) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritablePowerFeedRequestDestinationPanel) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritablePowerFeedRequestDestinationPanel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritablePowerFeedRequestDestinationPanel(val *BulkWritablePowerFeedRequestDestinationPanel) *NullableBulkWritablePowerFeedRequestDestinationPanel { + return &NullableBulkWritablePowerFeedRequestDestinationPanel{value: val, isSet: true} +} + +func (v NullableBulkWritablePowerFeedRequestDestinationPanel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritablePowerFeedRequestDestinationPanel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_power_feed_request_power_panel.go b/model_bulk_writable_power_feed_request_power_panel.go new file mode 100644 index 00000000..7197c8f1 --- /dev/null +++ b/model_bulk_writable_power_feed_request_power_panel.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the BulkWritablePowerFeedRequestPowerPanel type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritablePowerFeedRequestPowerPanel{} + +// BulkWritablePowerFeedRequestPowerPanel Source panel that originates this power feed +type BulkWritablePowerFeedRequestPowerPanel struct { + Id *BulkWritableCableRequestStatusId `json:"id,omitempty"` + ObjectType *string `json:"object_type,omitempty" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritablePowerFeedRequestPowerPanel 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 +func NewBulkWritablePowerFeedRequestPowerPanel() *BulkWritablePowerFeedRequestPowerPanel { + this := BulkWritablePowerFeedRequestPowerPanel{} + return &this +} + +// 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 +func NewBulkWritablePowerFeedRequestPowerPanelWithDefaults() *BulkWritablePowerFeedRequestPowerPanel { + this := BulkWritablePowerFeedRequestPowerPanel{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *BulkWritablePowerFeedRequestPowerPanel) GetId() BulkWritableCableRequestStatusId { + if o == nil || IsNil(o.Id) { + var ret BulkWritableCableRequestStatusId + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerFeedRequestPowerPanel) GetIdOk() (*BulkWritableCableRequestStatusId, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequestPowerPanel) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given BulkWritableCableRequestStatusId and assigns it to the Id field. +func (o *BulkWritablePowerFeedRequestPowerPanel) SetId(v BulkWritableCableRequestStatusId) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *BulkWritablePowerFeedRequestPowerPanel) GetObjectType() string { + if o == nil || IsNil(o.ObjectType) { + var ret string + return ret + } + return *o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerFeedRequestPowerPanel) GetObjectTypeOk() (*string, bool) { + if o == nil || IsNil(o.ObjectType) { + return nil, false + } + return o.ObjectType, true +} + +// HasObjectType returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequestPowerPanel) HasObjectType() bool { + if o != nil && !IsNil(o.ObjectType) { + return true + } + + return false +} + +// SetObjectType gets a reference to the given string and assigns it to the ObjectType field. +func (o *BulkWritablePowerFeedRequestPowerPanel) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *BulkWritablePowerFeedRequestPowerPanel) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerFeedRequestPowerPanel) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *BulkWritablePowerFeedRequestPowerPanel) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *BulkWritablePowerFeedRequestPowerPanel) SetUrl(v string) { + o.Url = &v +} + +func (o BulkWritablePowerFeedRequestPowerPanel) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritablePowerFeedRequestPowerPanel) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.Url) { + toSerialize["url"] = o.Url + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritablePowerFeedRequestPowerPanel) UnmarshalJSON(data []byte) (err error) { + varBulkWritablePowerFeedRequestPowerPanel := _BulkWritablePowerFeedRequestPowerPanel{} + + err = json.Unmarshal(data, &varBulkWritablePowerFeedRequestPowerPanel) + + if err != nil { + return err + } + + *o = BulkWritablePowerFeedRequestPowerPanel(varBulkWritablePowerFeedRequestPowerPanel) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritablePowerFeedRequestPowerPanel struct { + value *BulkWritablePowerFeedRequestPowerPanel + isSet bool +} + +func (v NullableBulkWritablePowerFeedRequestPowerPanel) Get() *BulkWritablePowerFeedRequestPowerPanel { + return v.value +} + +func (v *NullableBulkWritablePowerFeedRequestPowerPanel) Set(val *BulkWritablePowerFeedRequestPowerPanel) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritablePowerFeedRequestPowerPanel) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritablePowerFeedRequestPowerPanel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritablePowerFeedRequestPowerPanel(val *BulkWritablePowerFeedRequestPowerPanel) *NullableBulkWritablePowerFeedRequestPowerPanel { + return &NullableBulkWritablePowerFeedRequestPowerPanel{value: val, isSet: true} +} + +func (v NullableBulkWritablePowerFeedRequestPowerPanel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritablePowerFeedRequestPowerPanel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_power_outlet_request.go b/model_bulk_writable_power_outlet_request.go index faa77cd4..2dca9f56 100644 --- a/model_bulk_writable_power_outlet_request.go +++ b/model_bulk_writable_power_outlet_request.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/model_bulk_writable_power_outlet_template_request.go b/model_bulk_writable_power_outlet_template_request.go index 9ca6b442..84780ce1 100644 --- a/model_bulk_writable_power_outlet_template_request.go +++ b/model_bulk_writable_power_outlet_template_request.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/model_bulk_writable_power_panel_request.go b/model_bulk_writable_power_panel_request.go index 0140516b..3ba88664 100644 --- a/model_bulk_writable_power_panel_request.go +++ b/model_bulk_writable_power_panel_request.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. @@ -21,7 +21,11 @@ var _ MappedNullable = &BulkWritablePowerPanelRequest{} // BulkWritablePowerPanelRequest 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. type BulkWritablePowerPanelRequest struct { Id string `json:"id"` + PanelType *PanelTypeEnum `json:"panel_type,omitempty"` + PowerPath *PowerPathEnum `json:"power_path,omitempty"` Name string `json:"name"` + // Total number of breaker positions in the panel (e.g., 42) + BreakerPositionCount NullableInt32 `json:"breaker_position_count,omitempty"` Location BulkWritableCableRequestStatus `json:"location"` RackGroup NullableBulkWritableCircuitRequestTenant `json:"rack_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -76,6 +80,70 @@ func (o *BulkWritablePowerPanelRequest) SetId(v string) { o.Id = v } +// GetPanelType returns the PanelType field value if set, zero value otherwise. +func (o *BulkWritablePowerPanelRequest) GetPanelType() PanelTypeEnum { + if o == nil || IsNil(o.PanelType) { + var ret PanelTypeEnum + return ret + } + return *o.PanelType +} + +// GetPanelTypeOk returns a tuple with the PanelType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerPanelRequest) GetPanelTypeOk() (*PanelTypeEnum, bool) { + if o == nil || IsNil(o.PanelType) { + return nil, false + } + return o.PanelType, true +} + +// HasPanelType returns a boolean if a field has been set. +func (o *BulkWritablePowerPanelRequest) HasPanelType() bool { + if o != nil && !IsNil(o.PanelType) { + return true + } + + return false +} + +// SetPanelType gets a reference to the given PanelTypeEnum and assigns it to the PanelType field. +func (o *BulkWritablePowerPanelRequest) SetPanelType(v PanelTypeEnum) { + o.PanelType = &v +} + +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *BulkWritablePowerPanelRequest) GetPowerPath() PowerPathEnum { + if o == nil || IsNil(o.PowerPath) { + var ret PowerPathEnum + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerPanelRequest) GetPowerPathOk() (*PowerPathEnum, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *BulkWritablePowerPanelRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PowerPathEnum and assigns it to the PowerPath field. +func (o *BulkWritablePowerPanelRequest) SetPowerPath(v PowerPathEnum) { + o.PowerPath = &v +} + // GetName returns the Name field value func (o *BulkWritablePowerPanelRequest) GetName() string { if o == nil { @@ -100,6 +168,48 @@ func (o *BulkWritablePowerPanelRequest) SetName(v string) { o.Name = v } +// GetBreakerPositionCount returns the BreakerPositionCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritablePowerPanelRequest) GetBreakerPositionCount() int32 { + if o == nil || IsNil(o.BreakerPositionCount.Get()) { + var ret int32 + return ret + } + return *o.BreakerPositionCount.Get() +} + +// GetBreakerPositionCountOk returns a tuple with the BreakerPositionCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritablePowerPanelRequest) GetBreakerPositionCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPositionCount.Get(), o.BreakerPositionCount.IsSet() +} + +// HasBreakerPositionCount returns a boolean if a field has been set. +func (o *BulkWritablePowerPanelRequest) HasBreakerPositionCount() bool { + if o != nil && o.BreakerPositionCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPositionCount gets a reference to the given NullableInt32 and assigns it to the BreakerPositionCount field. +func (o *BulkWritablePowerPanelRequest) SetBreakerPositionCount(v int32) { + o.BreakerPositionCount.Set(&v) +} +// SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil +func (o *BulkWritablePowerPanelRequest) SetBreakerPositionCountNil() { + o.BreakerPositionCount.Set(nil) +} + +// UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil +func (o *BulkWritablePowerPanelRequest) UnsetBreakerPositionCount() { + o.BreakerPositionCount.Unset() +} + // GetLocation returns the Location field value func (o *BulkWritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus { if o == nil { @@ -273,7 +383,16 @@ func (o BulkWritablePowerPanelRequest) MarshalJSON() ([]byte, error) { func (o BulkWritablePowerPanelRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if !IsNil(o.PanelType) { + toSerialize["panel_type"] = o.PanelType + } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } toSerialize["name"] = o.Name + if o.BreakerPositionCount.IsSet() { + toSerialize["breaker_position_count"] = o.BreakerPositionCount.Get() + } toSerialize["location"] = o.Location if o.RackGroup.IsSet() { toSerialize["rack_group"] = o.RackGroup.Get() @@ -333,7 +452,10 @@ func (o *BulkWritablePowerPanelRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "panel_type") + delete(additionalProperties, "power_path") delete(additionalProperties, "name") + delete(additionalProperties, "breaker_position_count") delete(additionalProperties, "location") delete(additionalProperties, "rack_group") delete(additionalProperties, "custom_fields") diff --git a/model_bulk_writable_power_port_request.go b/model_bulk_writable_power_port_request.go index 2f2fa91f..e99b7a27 100644 --- a/model_bulk_writable_power_port_request.go +++ b/model_bulk_writable_power_port_request.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,8 @@ type BulkWritablePowerPortRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` Module NullableBulkWritableCircuitRequestTenant `json:"module,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -287,6 +289,38 @@ func (o *BulkWritablePowerPortRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *BulkWritablePowerPortRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerPortRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *BulkWritablePowerPortRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *BulkWritablePowerPortRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). func (o *BulkWritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Device.Get()) { @@ -494,6 +528,9 @@ func (o BulkWritablePowerPortRequest) ToMap() (map[string]interface{}, error) { if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } @@ -560,6 +597,7 @@ func (o *BulkWritablePowerPortRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "description") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device") delete(additionalProperties, "module") delete(additionalProperties, "custom_fields") diff --git a/model_bulk_writable_power_port_template_request.go b/model_bulk_writable_power_port_template_request.go index 33d83cee..c9f55f43 100644 --- a/model_bulk_writable_power_port_template_request.go +++ b/model_bulk_writable_power_port_template_request.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,8 @@ type BulkWritablePowerPortTemplateRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -286,6 +288,38 @@ func (o *BulkWritablePowerPortTemplateRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *BulkWritablePowerPortTemplateRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritablePowerPortTemplateRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *BulkWritablePowerPortTemplateRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *BulkWritablePowerPortTemplateRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *BulkWritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -461,6 +495,9 @@ func (o BulkWritablePowerPortTemplateRequest) ToMap() (map[string]interface{}, e if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } @@ -524,6 +561,7 @@ func (o *BulkWritablePowerPortTemplateRequest) UnmarshalJSON(data []byte) (err e delete(additionalProperties, "description") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") delete(additionalProperties, "custom_fields") diff --git a/model_bulk_writable_prefix_location_assignment_request.go b/model_bulk_writable_prefix_location_assignment_request.go index 1002e700..9628d250 100644 --- a/model_bulk_writable_prefix_location_assignment_request.go +++ b/model_bulk_writable_prefix_location_assignment_request.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/model_bulk_writable_prefix_request.go b/model_bulk_writable_prefix_request.go index 97d2b755..bb997131 100644 --- a/model_bulk_writable_prefix_request.go +++ b/model_bulk_writable_prefix_request.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. @@ -51,7 +51,7 @@ func NewBulkWritablePrefixRequest(id string, prefix string, status BulkWritableC this := BulkWritablePrefixRequest{} this.Id = id this.Prefix = prefix - var type_ PrefixTypeChoices = "{\"value\":\"network\",\"label\":\"Network\"}" + var type_ PrefixTypeChoices = PREFIXTYPECHOICES_NETWORK this.Type = &type_ this.Status = status return &this @@ -62,7 +62,7 @@ func NewBulkWritablePrefixRequest(id string, prefix string, status BulkWritableC // but it doesn't guarantee that properties required by API are set func NewBulkWritablePrefixRequestWithDefaults() *BulkWritablePrefixRequest { this := BulkWritablePrefixRequest{} - var type_ PrefixTypeChoices = "{\"value\":\"network\",\"label\":\"Network\"}" + var type_ PrefixTypeChoices = PREFIXTYPECHOICES_NETWORK this.Type = &type_ return &this } diff --git a/model_bulk_writable_prefix_request_location.go b/model_bulk_writable_prefix_request_location.go index 8d9ac072..8c2d27f1 100644 --- a/model_bulk_writable_prefix_request_location.go +++ b/model_bulk_writable_prefix_request_location.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/model_bulk_writable_prefix_request_parent.go b/model_bulk_writable_prefix_request_parent.go index ed633d69..40ee2e76 100644 --- a/model_bulk_writable_prefix_request_parent.go +++ b/model_bulk_writable_prefix_request_parent.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/model_bulk_writable_prefix_request_rir.go b/model_bulk_writable_prefix_request_rir.go index 6d48f29a..7490efcb 100644 --- a/model_bulk_writable_prefix_request_rir.go +++ b/model_bulk_writable_prefix_request_rir.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/model_bulk_writable_provider_network_request.go b/model_bulk_writable_provider_network_request.go index 2d91f08d..2bdcae28 100644 --- a/model_bulk_writable_provider_network_request.go +++ b/model_bulk_writable_provider_network_request.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/model_bulk_writable_provider_request.go b/model_bulk_writable_provider_request.go index 3c0ff619..4112eaee 100644 --- a/model_bulk_writable_provider_request.go +++ b/model_bulk_writable_provider_request.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/model_bulk_writable_rack_group_request.go b/model_bulk_writable_rack_group_request.go index 18b21f8c..18f8f8a0 100644 --- a/model_bulk_writable_rack_group_request.go +++ b/model_bulk_writable_rack_group_request.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/model_bulk_writable_rack_request.go b/model_bulk_writable_rack_request.go index fd653065..86676f7b 100644 --- a/model_bulk_writable_rack_request.go +++ b/model_bulk_writable_rack_request.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/model_bulk_writable_rack_request_rack_group.go b/model_bulk_writable_rack_request_rack_group.go index 0a8820d1..50b672b5 100644 --- a/model_bulk_writable_rack_request_rack_group.go +++ b/model_bulk_writable_rack_request_rack_group.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/model_bulk_writable_rack_reservation_request.go b/model_bulk_writable_rack_reservation_request.go index f8899ea9..d9de0544 100644 --- a/model_bulk_writable_rack_reservation_request.go +++ b/model_bulk_writable_rack_reservation_request.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/model_bulk_writable_rack_reservation_request_user.go b/model_bulk_writable_rack_reservation_request_user.go index 628c82df..24220094 100644 --- a/model_bulk_writable_rack_reservation_request_user.go +++ b/model_bulk_writable_rack_reservation_request_user.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/model_bulk_writable_radio_profile_request.go b/model_bulk_writable_radio_profile_request.go new file mode 100644 index 00000000..96b36646 --- /dev/null +++ b/model_bulk_writable_radio_profile_request.go @@ -0,0 +1,626 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableRadioProfileRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableRadioProfileRequest{} + +// BulkWritableRadioProfileRequest 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. +type BulkWritableRadioProfileRequest struct { + Id string `json:"id"` + ChannelWidth []ChannelWidthEnum `json:"channel_width,omitempty"` + AllowedChannelList []int32 `json:"allowed_channel_list,omitempty"` + Name string `json:"name"` + Frequency *BulkWritableRadioProfileRequestFrequency `json:"frequency,omitempty"` + TxPowerMin NullableInt32 `json:"tx_power_min,omitempty"` + TxPowerMax NullableInt32 `json:"tx_power_max,omitempty"` + RegulatoryDomain RegulatoryDomainEnum `json:"regulatory_domain"` + RxPowerMin NullableInt32 `json:"rx_power_min,omitempty"` + SupportedDataRates []BulkWritableCableRequestStatus `json:"supported_data_rates,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableRadioProfileRequest 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 +func NewBulkWritableRadioProfileRequest(id string, name string, regulatoryDomain RegulatoryDomainEnum) *BulkWritableRadioProfileRequest { + this := BulkWritableRadioProfileRequest{} + this.Id = id + this.Name = name + this.RegulatoryDomain = regulatoryDomain + return &this +} + +// 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 +func NewBulkWritableRadioProfileRequestWithDefaults() *BulkWritableRadioProfileRequest { + this := BulkWritableRadioProfileRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableRadioProfileRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableRadioProfileRequest) SetId(v string) { + o.Id = v +} + +// GetChannelWidth returns the ChannelWidth field value if set, zero value otherwise. +func (o *BulkWritableRadioProfileRequest) GetChannelWidth() []ChannelWidthEnum { + if o == nil || IsNil(o.ChannelWidth) { + var ret []ChannelWidthEnum + return ret + } + return o.ChannelWidth +} + +// GetChannelWidthOk returns a tuple with the ChannelWidth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetChannelWidthOk() ([]ChannelWidthEnum, bool) { + if o == nil || IsNil(o.ChannelWidth) { + return nil, false + } + return o.ChannelWidth, true +} + +// HasChannelWidth returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasChannelWidth() bool { + if o != nil && !IsNil(o.ChannelWidth) { + return true + } + + return false +} + +// SetChannelWidth gets a reference to the given []ChannelWidthEnum and assigns it to the ChannelWidth field. +func (o *BulkWritableRadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum) { + o.ChannelWidth = v +} + +// GetAllowedChannelList returns the AllowedChannelList field value if set, zero value otherwise. +func (o *BulkWritableRadioProfileRequest) GetAllowedChannelList() []int32 { + if o == nil || IsNil(o.AllowedChannelList) { + var ret []int32 + return ret + } + return o.AllowedChannelList +} + +// GetAllowedChannelListOk returns a tuple with the AllowedChannelList field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetAllowedChannelListOk() ([]int32, bool) { + if o == nil || IsNil(o.AllowedChannelList) { + return nil, false + } + return o.AllowedChannelList, true +} + +// HasAllowedChannelList returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasAllowedChannelList() bool { + if o != nil && !IsNil(o.AllowedChannelList) { + return true + } + + return false +} + +// SetAllowedChannelList gets a reference to the given []int32 and assigns it to the AllowedChannelList field. +func (o *BulkWritableRadioProfileRequest) SetAllowedChannelList(v []int32) { + o.AllowedChannelList = v +} + +// GetName returns the Name field value +func (o *BulkWritableRadioProfileRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BulkWritableRadioProfileRequest) SetName(v string) { + o.Name = v +} + +// GetFrequency returns the Frequency field value if set, zero value otherwise. +func (o *BulkWritableRadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency { + if o == nil || IsNil(o.Frequency) { + var ret BulkWritableRadioProfileRequestFrequency + return ret + } + return *o.Frequency +} + +// GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetFrequencyOk() (*BulkWritableRadioProfileRequestFrequency, bool) { + if o == nil || IsNil(o.Frequency) { + return nil, false + } + return o.Frequency, true +} + +// HasFrequency returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasFrequency() bool { + if o != nil && !IsNil(o.Frequency) { + return true + } + + return false +} + +// SetFrequency gets a reference to the given BulkWritableRadioProfileRequestFrequency and assigns it to the Frequency field. +func (o *BulkWritableRadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency) { + o.Frequency = &v +} + +// GetTxPowerMin returns the TxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableRadioProfileRequest) GetTxPowerMin() int32 { + if o == nil || IsNil(o.TxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMin.Get() +} + +// GetTxPowerMinOk returns a tuple with the TxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableRadioProfileRequest) GetTxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMin.Get(), o.TxPowerMin.IsSet() +} + +// HasTxPowerMin returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasTxPowerMin() bool { + if o != nil && o.TxPowerMin.IsSet() { + return true + } + + return false +} + +// SetTxPowerMin gets a reference to the given NullableInt32 and assigns it to the TxPowerMin field. +func (o *BulkWritableRadioProfileRequest) SetTxPowerMin(v int32) { + o.TxPowerMin.Set(&v) +} +// SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil +func (o *BulkWritableRadioProfileRequest) SetTxPowerMinNil() { + o.TxPowerMin.Set(nil) +} + +// UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +func (o *BulkWritableRadioProfileRequest) UnsetTxPowerMin() { + o.TxPowerMin.Unset() +} + +// GetTxPowerMax returns the TxPowerMax field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableRadioProfileRequest) GetTxPowerMax() int32 { + if o == nil || IsNil(o.TxPowerMax.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMax.Get() +} + +// GetTxPowerMaxOk returns a tuple with the TxPowerMax field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableRadioProfileRequest) GetTxPowerMaxOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMax.Get(), o.TxPowerMax.IsSet() +} + +// HasTxPowerMax returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasTxPowerMax() bool { + if o != nil && o.TxPowerMax.IsSet() { + return true + } + + return false +} + +// SetTxPowerMax gets a reference to the given NullableInt32 and assigns it to the TxPowerMax field. +func (o *BulkWritableRadioProfileRequest) SetTxPowerMax(v int32) { + o.TxPowerMax.Set(&v) +} +// SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil +func (o *BulkWritableRadioProfileRequest) SetTxPowerMaxNil() { + o.TxPowerMax.Set(nil) +} + +// UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +func (o *BulkWritableRadioProfileRequest) UnsetTxPowerMax() { + o.TxPowerMax.Unset() +} + +// GetRegulatoryDomain returns the RegulatoryDomain field value +func (o *BulkWritableRadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum { + if o == nil { + var ret RegulatoryDomainEnum + return ret + } + + return o.RegulatoryDomain +} + +// GetRegulatoryDomainOk returns a tuple with the RegulatoryDomain field value +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetRegulatoryDomainOk() (*RegulatoryDomainEnum, bool) { + if o == nil { + return nil, false + } + return &o.RegulatoryDomain, true +} + +// SetRegulatoryDomain sets field value +func (o *BulkWritableRadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum) { + o.RegulatoryDomain = v +} + +// GetRxPowerMin returns the RxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableRadioProfileRequest) GetRxPowerMin() int32 { + if o == nil || IsNil(o.RxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.RxPowerMin.Get() +} + +// GetRxPowerMinOk returns a tuple with the RxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableRadioProfileRequest) GetRxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.RxPowerMin.Get(), o.RxPowerMin.IsSet() +} + +// HasRxPowerMin returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasRxPowerMin() bool { + if o != nil && o.RxPowerMin.IsSet() { + return true + } + + return false +} + +// SetRxPowerMin gets a reference to the given NullableInt32 and assigns it to the RxPowerMin field. +func (o *BulkWritableRadioProfileRequest) SetRxPowerMin(v int32) { + o.RxPowerMin.Set(&v) +} +// SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil +func (o *BulkWritableRadioProfileRequest) SetRxPowerMinNil() { + o.RxPowerMin.Set(nil) +} + +// UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +func (o *BulkWritableRadioProfileRequest) UnsetRxPowerMin() { + o.RxPowerMin.Unset() +} + +// GetSupportedDataRates returns the SupportedDataRates field value if set, zero value otherwise. +func (o *BulkWritableRadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.SupportedDataRates) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.SupportedDataRates +} + +// GetSupportedDataRatesOk returns a tuple with the SupportedDataRates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetSupportedDataRatesOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.SupportedDataRates) { + return nil, false + } + return o.SupportedDataRates, true +} + +// HasSupportedDataRates returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasSupportedDataRates() bool { + if o != nil && !IsNil(o.SupportedDataRates) { + return true + } + + return false +} + +// SetSupportedDataRates gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the SupportedDataRates field. +func (o *BulkWritableRadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus) { + o.SupportedDataRates = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *BulkWritableRadioProfileRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *BulkWritableRadioProfileRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *BulkWritableRadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *BulkWritableRadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableRadioProfileRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableRadioProfileRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableRadioProfileRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableRadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o BulkWritableRadioProfileRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableRadioProfileRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.ChannelWidth) { + toSerialize["channel_width"] = o.ChannelWidth + } + if !IsNil(o.AllowedChannelList) { + toSerialize["allowed_channel_list"] = o.AllowedChannelList + } + toSerialize["name"] = o.Name + if !IsNil(o.Frequency) { + toSerialize["frequency"] = o.Frequency + } + if o.TxPowerMin.IsSet() { + toSerialize["tx_power_min"] = o.TxPowerMin.Get() + } + if o.TxPowerMax.IsSet() { + toSerialize["tx_power_max"] = o.TxPowerMax.Get() + } + toSerialize["regulatory_domain"] = o.RegulatoryDomain + if o.RxPowerMin.IsSet() { + toSerialize["rx_power_min"] = o.RxPowerMin.Get() + } + if !IsNil(o.SupportedDataRates) { + toSerialize["supported_data_rates"] = o.SupportedDataRates + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableRadioProfileRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "name", + "regulatory_domain", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableRadioProfileRequest := _BulkWritableRadioProfileRequest{} + + err = json.Unmarshal(data, &varBulkWritableRadioProfileRequest) + + if err != nil { + return err + } + + *o = BulkWritableRadioProfileRequest(varBulkWritableRadioProfileRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "channel_width") + delete(additionalProperties, "allowed_channel_list") + delete(additionalProperties, "name") + delete(additionalProperties, "frequency") + delete(additionalProperties, "tx_power_min") + delete(additionalProperties, "tx_power_max") + delete(additionalProperties, "regulatory_domain") + delete(additionalProperties, "rx_power_min") + delete(additionalProperties, "supported_data_rates") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableRadioProfileRequest struct { + value *BulkWritableRadioProfileRequest + isSet bool +} + +func (v NullableBulkWritableRadioProfileRequest) Get() *BulkWritableRadioProfileRequest { + return v.value +} + +func (v *NullableBulkWritableRadioProfileRequest) Set(val *BulkWritableRadioProfileRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableRadioProfileRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableRadioProfileRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableRadioProfileRequest(val *BulkWritableRadioProfileRequest) *NullableBulkWritableRadioProfileRequest { + return &NullableBulkWritableRadioProfileRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableRadioProfileRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableRadioProfileRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_radio_profile_request_frequency.go b/model_bulk_writable_radio_profile_request_frequency.go new file mode 100644 index 00000000..2a572936 --- /dev/null +++ b/model_bulk_writable_radio_profile_request_frequency.go @@ -0,0 +1,171 @@ +/* +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 ( + "encoding/json" + "fmt" + "gopkg.in/validator.v2" +) + +// BulkWritableRadioProfileRequestFrequency - struct for BulkWritableRadioProfileRequestFrequency +type BulkWritableRadioProfileRequestFrequency struct { + BlankEnum *BlankEnum + FrequencyEnum *FrequencyEnum +} + +// BlankEnumAsBulkWritableRadioProfileRequestFrequency is a convenience function that returns BlankEnum wrapped in BulkWritableRadioProfileRequestFrequency +func BlankEnumAsBulkWritableRadioProfileRequestFrequency(v *BlankEnum) BulkWritableRadioProfileRequestFrequency { + return BulkWritableRadioProfileRequestFrequency{ + BlankEnum: v, + } +} + +// FrequencyEnumAsBulkWritableRadioProfileRequestFrequency is a convenience function that returns FrequencyEnum wrapped in BulkWritableRadioProfileRequestFrequency +func FrequencyEnumAsBulkWritableRadioProfileRequestFrequency(v *FrequencyEnum) BulkWritableRadioProfileRequestFrequency { + return BulkWritableRadioProfileRequestFrequency{ + FrequencyEnum: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *BulkWritableRadioProfileRequestFrequency) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BlankEnum + err = newStrictDecoder(data).Decode(&dst.BlankEnum) + if err == nil { + jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) + if string(jsonBlankEnum) == "{}" { // empty struct + dst.BlankEnum = nil + } else { + if err = validator.Validate(dst.BlankEnum); err != nil { + dst.BlankEnum = nil + } else { + match++ + } + } + } else { + dst.BlankEnum = nil + } + + // try to unmarshal data into FrequencyEnum + err = newStrictDecoder(data).Decode(&dst.FrequencyEnum) + if err == nil { + jsonFrequencyEnum, _ := json.Marshal(dst.FrequencyEnum) + if string(jsonFrequencyEnum) == "{}" { // empty struct + dst.FrequencyEnum = nil + } else { + if err = validator.Validate(dst.FrequencyEnum); err != nil { + dst.FrequencyEnum = nil + } else { + match++ + } + } + } else { + dst.FrequencyEnum = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BlankEnum = nil + dst.FrequencyEnum = nil + + return fmt.Errorf("data matches more than one schema in oneOf(BulkWritableRadioProfileRequestFrequency)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(BulkWritableRadioProfileRequestFrequency)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src BulkWritableRadioProfileRequestFrequency) MarshalJSON() ([]byte, error) { + if src.BlankEnum != nil { + return json.Marshal(&src.BlankEnum) + } + + if src.FrequencyEnum != nil { + return json.Marshal(&src.FrequencyEnum) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *BulkWritableRadioProfileRequestFrequency) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BlankEnum != nil { + return obj.BlankEnum + } + + if obj.FrequencyEnum != nil { + return obj.FrequencyEnum + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj BulkWritableRadioProfileRequestFrequency) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.FrequencyEnum != nil { + return *obj.FrequencyEnum + } + + // all schemas are nil + return nil +} + +type NullableBulkWritableRadioProfileRequestFrequency struct { + value *BulkWritableRadioProfileRequestFrequency + isSet bool +} + +func (v NullableBulkWritableRadioProfileRequestFrequency) Get() *BulkWritableRadioProfileRequestFrequency { + return v.value +} + +func (v *NullableBulkWritableRadioProfileRequestFrequency) Set(val *BulkWritableRadioProfileRequestFrequency) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableRadioProfileRequestFrequency) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableRadioProfileRequestFrequency) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableRadioProfileRequestFrequency(val *BulkWritableRadioProfileRequestFrequency) *NullableBulkWritableRadioProfileRequestFrequency { + return &NullableBulkWritableRadioProfileRequestFrequency{value: val, isSet: true} +} + +func (v NullableBulkWritableRadioProfileRequestFrequency) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableRadioProfileRequestFrequency) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_rear_port_request.go b/model_bulk_writable_rear_port_request.go index 820e28dc..e59554d8 100644 --- a/model_bulk_writable_rear_port_request.go +++ b/model_bulk_writable_rear_port_request.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/model_bulk_writable_rear_port_template_request.go b/model_bulk_writable_rear_port_template_request.go index 57522820..237f6cd3 100644 --- a/model_bulk_writable_rear_port_template_request.go +++ b/model_bulk_writable_rear_port_template_request.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/model_bulk_writable_relationship_association_request.go b/model_bulk_writable_relationship_association_request.go index c4dc2690..f3f89cdf 100644 --- a/model_bulk_writable_relationship_association_request.go +++ b/model_bulk_writable_relationship_association_request.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/model_bulk_writable_relationship_request.go b/model_bulk_writable_relationship_request.go index d3fe6596..4910614c 100644 --- a/model_bulk_writable_relationship_request.go +++ b/model_bulk_writable_relationship_request.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/model_bulk_writable_relationship_request_required_on.go b/model_bulk_writable_relationship_request_required_on.go index 3009d8ac..3b7309cf 100644 --- a/model_bulk_writable_relationship_request_required_on.go +++ b/model_bulk_writable_relationship_request_required_on.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // BulkWritableRelationshipRequestRequiredOn - Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. @@ -118,6 +118,20 @@ func (obj *BulkWritableRelationshipRequestRequiredOn) GetActualInstance() (inter return nil } +// Get the actual instance value +func (obj BulkWritableRelationshipRequestRequiredOn) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.RequiredOnEnum != nil { + return *obj.RequiredOnEnum + } + + // all schemas are nil + return nil +} + type NullableBulkWritableRelationshipRequestRequiredOn struct { value *BulkWritableRelationshipRequestRequiredOn isSet bool diff --git a/model_bulk_writable_rir_request.go b/model_bulk_writable_rir_request.go index 4513eb3f..7770fb3b 100644 --- a/model_bulk_writable_rir_request.go +++ b/model_bulk_writable_rir_request.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/model_bulk_writable_role_request.go b/model_bulk_writable_role_request.go index 5cdf2d0a..5bb504be 100644 --- a/model_bulk_writable_role_request.go +++ b/model_bulk_writable_role_request.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/model_bulk_writable_route_target_request.go b/model_bulk_writable_route_target_request.go index dd0f9526..8f226097 100644 --- a/model_bulk_writable_route_target_request.go +++ b/model_bulk_writable_route_target_request.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/model_bulk_writable_saved_view_request.go b/model_bulk_writable_saved_view_request.go index d3266473..e1766906 100644 --- a/model_bulk_writable_saved_view_request.go +++ b/model_bulk_writable_saved_view_request.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/model_bulk_writable_saved_view_request_owner.go b/model_bulk_writable_saved_view_request_owner.go index 2a0fa138..2a830c9f 100644 --- a/model_bulk_writable_saved_view_request_owner.go +++ b/model_bulk_writable_saved_view_request_owner.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/model_bulk_writable_secret_request.go b/model_bulk_writable_secret_request.go index d9e15ad5..162b36ad 100644 --- a/model_bulk_writable_secret_request.go +++ b/model_bulk_writable_secret_request.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/model_bulk_writable_secrets_group_association_request.go b/model_bulk_writable_secrets_group_association_request.go index 8c55dc1d..a3f035a8 100644 --- a/model_bulk_writable_secrets_group_association_request.go +++ b/model_bulk_writable_secrets_group_association_request.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/model_bulk_writable_secrets_group_request.go b/model_bulk_writable_secrets_group_request.go index a7cf2b30..76d52f97 100644 --- a/model_bulk_writable_secrets_group_request.go +++ b/model_bulk_writable_secrets_group_request.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/model_bulk_writable_service_request.go b/model_bulk_writable_service_request.go index 344fa050..4f33431c 100644 --- a/model_bulk_writable_service_request.go +++ b/model_bulk_writable_service_request.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/model_bulk_writable_service_request_device.go b/model_bulk_writable_service_request_device.go index 0a9d255c..1ba69436 100644 --- a/model_bulk_writable_service_request_device.go +++ b/model_bulk_writable_service_request_device.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/model_bulk_writable_service_request_virtual_machine.go b/model_bulk_writable_service_request_virtual_machine.go index 0253aca9..577edb84 100644 --- a/model_bulk_writable_service_request_virtual_machine.go +++ b/model_bulk_writable_service_request_virtual_machine.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/model_bulk_writable_software_image_file_request.go b/model_bulk_writable_software_image_file_request.go index 0c69bc2f..dc23361b 100644 --- a/model_bulk_writable_software_image_file_request.go +++ b/model_bulk_writable_software_image_file_request.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 BulkWritableSoftwareImageFileRequest struct { // Is the default image for this software version DefaultImage *bool `json:"default_image,omitempty"` SoftwareVersion BulkWritableCableRequestStatus `json:"software_version"` + ExternalIntegration NullableBulkWritableCircuitRequestTenant `json:"external_integration,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -302,6 +303,48 @@ func (o *BulkWritableSoftwareImageFileRequest) SetSoftwareVersion(v BulkWritable o.SoftwareVersion = v } +// GetExternalIntegration returns the ExternalIntegration field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableSoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ExternalIntegration.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ExternalIntegration.Get() +} + +// GetExternalIntegrationOk returns a tuple with the ExternalIntegration field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableSoftwareImageFileRequest) GetExternalIntegrationOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ExternalIntegration.Get(), o.ExternalIntegration.IsSet() +} + +// HasExternalIntegration returns a boolean if a field has been set. +func (o *BulkWritableSoftwareImageFileRequest) HasExternalIntegration() bool { + if o != nil && o.ExternalIntegration.IsSet() { + return true + } + + return false +} + +// SetExternalIntegration gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ExternalIntegration field. +func (o *BulkWritableSoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant) { + o.ExternalIntegration.Set(&v) +} +// SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil +func (o *BulkWritableSoftwareImageFileRequest) SetExternalIntegrationNil() { + o.ExternalIntegration.Set(nil) +} + +// UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil +func (o *BulkWritableSoftwareImageFileRequest) UnsetExternalIntegration() { + o.ExternalIntegration.Unset() +} + // GetStatus returns the Status field value func (o *BulkWritableSoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus { if o == nil { @@ -450,6 +493,9 @@ func (o BulkWritableSoftwareImageFileRequest) ToMap() (map[string]interface{}, e toSerialize["default_image"] = o.DefaultImage } toSerialize["software_version"] = o.SoftwareVersion + if o.ExternalIntegration.IsSet() { + toSerialize["external_integration"] = o.ExternalIntegration.Get() + } toSerialize["status"] = o.Status if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields @@ -514,6 +560,7 @@ func (o *BulkWritableSoftwareImageFileRequest) UnmarshalJSON(data []byte) (err e delete(additionalProperties, "download_url") delete(additionalProperties, "default_image") delete(additionalProperties, "software_version") + delete(additionalProperties, "external_integration") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_bulk_writable_software_image_file_request_hashing_algorithm.go b/model_bulk_writable_software_image_file_request_hashing_algorithm.go index 92d79cd7..f6c98dbf 100644 --- a/model_bulk_writable_software_image_file_request_hashing_algorithm.go +++ b/model_bulk_writable_software_image_file_request_hashing_algorithm.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // BulkWritableSoftwareImageFileRequestHashingAlgorithm - Hashing algorithm for image file checksum @@ -118,6 +118,20 @@ func (obj *BulkWritableSoftwareImageFileRequestHashingAlgorithm) GetActualInstan return nil } +// Get the actual instance value +func (obj BulkWritableSoftwareImageFileRequestHashingAlgorithm) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.HashingAlgorithmEnum != nil { + return *obj.HashingAlgorithmEnum + } + + // all schemas are nil + return nil +} + type NullableBulkWritableSoftwareImageFileRequestHashingAlgorithm struct { value *BulkWritableSoftwareImageFileRequestHashingAlgorithm isSet bool diff --git a/model_bulk_writable_software_version_request.go b/model_bulk_writable_software_version_request.go index f8051af1..7cb050f7 100644 --- a/model_bulk_writable_software_version_request.go +++ b/model_bulk_writable_software_version_request.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/model_bulk_writable_static_group_association_request.go b/model_bulk_writable_static_group_association_request.go index 09008adb..b3d2a4bb 100644 --- a/model_bulk_writable_static_group_association_request.go +++ b/model_bulk_writable_static_group_association_request.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/model_bulk_writable_status_request.go b/model_bulk_writable_status_request.go index 242f6bb7..d3324882 100644 --- a/model_bulk_writable_status_request.go +++ b/model_bulk_writable_status_request.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/model_bulk_writable_supported_data_rate_request.go b/model_bulk_writable_supported_data_rate_request.go new file mode 100644 index 00000000..c2fad168 --- /dev/null +++ b/model_bulk_writable_supported_data_rate_request.go @@ -0,0 +1,385 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableSupportedDataRateRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableSupportedDataRateRequest{} + +// BulkWritableSupportedDataRateRequest 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. +type BulkWritableSupportedDataRateRequest struct { + Id string `json:"id"` + Standard StandardEnum `json:"standard"` + Rate int32 `json:"rate"` + // 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. + McsIndex NullableInt32 `json:"mcs_index,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableSupportedDataRateRequest 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 +func NewBulkWritableSupportedDataRateRequest(id string, standard StandardEnum, rate int32) *BulkWritableSupportedDataRateRequest { + this := BulkWritableSupportedDataRateRequest{} + this.Id = id + this.Standard = standard + this.Rate = rate + return &this +} + +// 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 +func NewBulkWritableSupportedDataRateRequestWithDefaults() *BulkWritableSupportedDataRateRequest { + this := BulkWritableSupportedDataRateRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableSupportedDataRateRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableSupportedDataRateRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableSupportedDataRateRequest) SetId(v string) { + o.Id = v +} + +// GetStandard returns the Standard field value +func (o *BulkWritableSupportedDataRateRequest) GetStandard() StandardEnum { + if o == nil { + var ret StandardEnum + return ret + } + + return o.Standard +} + +// GetStandardOk returns a tuple with the Standard field value +// and a boolean to check if the value has been set. +func (o *BulkWritableSupportedDataRateRequest) GetStandardOk() (*StandardEnum, bool) { + if o == nil { + return nil, false + } + return &o.Standard, true +} + +// SetStandard sets field value +func (o *BulkWritableSupportedDataRateRequest) SetStandard(v StandardEnum) { + o.Standard = v +} + +// GetRate returns the Rate field value +func (o *BulkWritableSupportedDataRateRequest) GetRate() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Rate +} + +// GetRateOk returns a tuple with the Rate field value +// and a boolean to check if the value has been set. +func (o *BulkWritableSupportedDataRateRequest) GetRateOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Rate, true +} + +// SetRate sets field value +func (o *BulkWritableSupportedDataRateRequest) SetRate(v int32) { + o.Rate = v +} + +// GetMcsIndex returns the McsIndex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableSupportedDataRateRequest) GetMcsIndex() int32 { + if o == nil || IsNil(o.McsIndex.Get()) { + var ret int32 + return ret + } + return *o.McsIndex.Get() +} + +// GetMcsIndexOk returns a tuple with the McsIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableSupportedDataRateRequest) GetMcsIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.McsIndex.Get(), o.McsIndex.IsSet() +} + +// HasMcsIndex returns a boolean if a field has been set. +func (o *BulkWritableSupportedDataRateRequest) HasMcsIndex() bool { + if o != nil && o.McsIndex.IsSet() { + return true + } + + return false +} + +// SetMcsIndex gets a reference to the given NullableInt32 and assigns it to the McsIndex field. +func (o *BulkWritableSupportedDataRateRequest) SetMcsIndex(v int32) { + o.McsIndex.Set(&v) +} +// SetMcsIndexNil sets the value for McsIndex to be an explicit nil +func (o *BulkWritableSupportedDataRateRequest) SetMcsIndexNil() { + o.McsIndex.Set(nil) +} + +// UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +func (o *BulkWritableSupportedDataRateRequest) UnsetMcsIndex() { + o.McsIndex.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *BulkWritableSupportedDataRateRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableSupportedDataRateRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *BulkWritableSupportedDataRateRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *BulkWritableSupportedDataRateRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *BulkWritableSupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableSupportedDataRateRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *BulkWritableSupportedDataRateRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *BulkWritableSupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableSupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableSupportedDataRateRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableSupportedDataRateRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableSupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o BulkWritableSupportedDataRateRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableSupportedDataRateRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["standard"] = o.Standard + toSerialize["rate"] = o.Rate + if o.McsIndex.IsSet() { + toSerialize["mcs_index"] = o.McsIndex.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableSupportedDataRateRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "standard", + "rate", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableSupportedDataRateRequest := _BulkWritableSupportedDataRateRequest{} + + err = json.Unmarshal(data, &varBulkWritableSupportedDataRateRequest) + + if err != nil { + return err + } + + *o = BulkWritableSupportedDataRateRequest(varBulkWritableSupportedDataRateRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "standard") + delete(additionalProperties, "rate") + delete(additionalProperties, "mcs_index") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableSupportedDataRateRequest struct { + value *BulkWritableSupportedDataRateRequest + isSet bool +} + +func (v NullableBulkWritableSupportedDataRateRequest) Get() *BulkWritableSupportedDataRateRequest { + return v.value +} + +func (v *NullableBulkWritableSupportedDataRateRequest) Set(val *BulkWritableSupportedDataRateRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableSupportedDataRateRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableSupportedDataRateRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableSupportedDataRateRequest(val *BulkWritableSupportedDataRateRequest) *NullableBulkWritableSupportedDataRateRequest { + return &NullableBulkWritableSupportedDataRateRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableSupportedDataRateRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableSupportedDataRateRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_tag_request.go b/model_bulk_writable_tag_request.go index 4a9057f4..60a2e227 100644 --- a/model_bulk_writable_tag_request.go +++ b/model_bulk_writable_tag_request.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/model_bulk_writable_team_request.go b/model_bulk_writable_team_request.go index 310ab48f..0d18e5dd 100644 --- a/model_bulk_writable_team_request.go +++ b/model_bulk_writable_team_request.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. @@ -21,14 +21,15 @@ var _ MappedNullable = &BulkWritableTeamRequest{} // BulkWritableTeamRequest 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. type BulkWritableTeamRequest struct { Id string `json:"id"` - Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` Name string `json:"name"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` Address *string `json:"address,omitempty"` Comments *string `json:"comments,omitempty"` + Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -85,38 +86,6 @@ func (o *BulkWritableTeamRequest) SetId(v string) { o.Id = v } -// GetContacts returns the Contacts field value if set, zero value otherwise. -func (o *BulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Contacts) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Contacts -} - -// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BulkWritableTeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Contacts) { - return nil, false - } - return o.Contacts, true -} - -// HasContacts returns a boolean if a field has been set. -func (o *BulkWritableTeamRequest) HasContacts() bool { - if o != nil && !IsNil(o.Contacts) { - return true - } - - return false -} - -// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. -func (o *BulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { - o.Contacts = v -} - // GetName returns the Name field value func (o *BulkWritableTeamRequest) GetName() string { if o == nil { @@ -269,6 +238,38 @@ func (o *BulkWritableTeamRequest) SetComments(v string) { o.Comments = &v } +// GetContacts returns the Contacts field value if set, zero value otherwise. +func (o *BulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Contacts) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Contacts +} + +// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableTeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Contacts) { + return nil, false + } + return o.Contacts, true +} + +// HasContacts returns a boolean if a field has been set. +func (o *BulkWritableTeamRequest) HasContacts() bool { + if o != nil && !IsNil(o.Contacts) { + return true + } + + return false +} + +// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. +func (o *BulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { + o.Contacts = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *BulkWritableTeamRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -333,6 +334,38 @@ func (o *BulkWritableTeamRequest) SetRelationships(v map[string]BulkWritableCabl o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableTeamRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableTeamRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableTeamRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableTeamRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o BulkWritableTeamRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -344,9 +377,6 @@ func (o BulkWritableTeamRequest) MarshalJSON() ([]byte, error) { func (o BulkWritableTeamRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id - if !IsNil(o.Contacts) { - toSerialize["contacts"] = o.Contacts - } toSerialize["name"] = o.Name if !IsNil(o.Phone) { toSerialize["phone"] = o.Phone @@ -360,12 +390,18 @@ func (o BulkWritableTeamRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } + if !IsNil(o.Contacts) { + toSerialize["contacts"] = o.Contacts + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -411,14 +447,15 @@ func (o *BulkWritableTeamRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") - delete(additionalProperties, "contacts") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") delete(additionalProperties, "address") delete(additionalProperties, "comments") + delete(additionalProperties, "contacts") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_bulk_writable_tenant_group_request.go b/model_bulk_writable_tenant_group_request.go index b16b7737..97a39747 100644 --- a/model_bulk_writable_tenant_group_request.go +++ b/model_bulk_writable_tenant_group_request.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/model_bulk_writable_tenant_request.go b/model_bulk_writable_tenant_request.go index 2c675a04..f4cde5cf 100644 --- a/model_bulk_writable_tenant_request.go +++ b/model_bulk_writable_tenant_request.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/model_bulk_writable_token_request.go b/model_bulk_writable_token_request.go index af41b591..ea10a5e3 100644 --- a/model_bulk_writable_token_request.go +++ b/model_bulk_writable_token_request.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/model_bulk_writable_user_request.go b/model_bulk_writable_user_request.go index c362c131..ae1daa83 100644 --- a/model_bulk_writable_user_request.go +++ b/model_bulk_writable_user_request.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/model_bulk_writable_user_saved_view_association_request.go b/model_bulk_writable_user_saved_view_association_request.go index 70169bad..9038a8d4 100644 --- a/model_bulk_writable_user_saved_view_association_request.go +++ b/model_bulk_writable_user_saved_view_association_request.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/model_bulk_writable_virtual_chassis_request.go b/model_bulk_writable_virtual_chassis_request.go index 12e6acf4..c63cc940 100644 --- a/model_bulk_writable_virtual_chassis_request.go +++ b/model_bulk_writable_virtual_chassis_request.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/model_bulk_writable_virtual_device_context_request.go b/model_bulk_writable_virtual_device_context_request.go new file mode 100644 index 00000000..2acdd254 --- /dev/null +++ b/model_bulk_writable_virtual_device_context_request.go @@ -0,0 +1,639 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableVirtualDeviceContextRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableVirtualDeviceContextRequest{} + +// BulkWritableVirtualDeviceContextRequest 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. +type BulkWritableVirtualDeviceContextRequest struct { + Id string `json:"id"` + Name string `json:"name"` + // Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) + Identifier NullableInt32 `json:"identifier,omitempty"` + Description *string `json:"description,omitempty"` + Device BulkWritableCableRequestStatus `json:"device"` + Status BulkWritableCableRequestStatus `json:"status"` + Role NullableBulkWritableCircuitRequestTenant `json:"role,omitempty"` + PrimaryIp4 NullablePrimaryIPv4 `json:"primary_ip4,omitempty"` + PrimaryIp6 NullablePrimaryIPv6 `json:"primary_ip6,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableVirtualDeviceContextRequest 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 +func NewBulkWritableVirtualDeviceContextRequest(id string, name string, device BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus) *BulkWritableVirtualDeviceContextRequest { + this := BulkWritableVirtualDeviceContextRequest{} + this.Id = id + this.Name = name + this.Device = device + this.Status = status + return &this +} + +// 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 +func NewBulkWritableVirtualDeviceContextRequestWithDefaults() *BulkWritableVirtualDeviceContextRequest { + this := BulkWritableVirtualDeviceContextRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableVirtualDeviceContextRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableVirtualDeviceContextRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value +func (o *BulkWritableVirtualDeviceContextRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BulkWritableVirtualDeviceContextRequest) SetName(v string) { + o.Name = v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableVirtualDeviceContextRequest) GetIdentifier() int32 { + if o == nil || IsNil(o.Identifier.Get()) { + var ret int32 + return ret + } + return *o.Identifier.Get() +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableVirtualDeviceContextRequest) GetIdentifierOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Identifier.Get(), o.Identifier.IsSet() +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableInt32 and assigns it to the Identifier field. +func (o *BulkWritableVirtualDeviceContextRequest) SetIdentifier(v int32) { + o.Identifier.Set(&v) +} +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BulkWritableVirtualDeviceContextRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *BulkWritableVirtualDeviceContextRequest) SetDescription(v string) { + o.Description = &v +} + +// GetDevice returns the Device field value +func (o *BulkWritableVirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Device +} + +// GetDeviceOk returns a tuple with the Device field value +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetDeviceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *BulkWritableVirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus) { + o.Device = v +} + +// GetStatus returns the Status field value +func (o *BulkWritableVirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetStatusOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *BulkWritableVirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus) { + o.Status = v +} + +// GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableVirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Role.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Role.Get() +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableVirtualDeviceContextRequest) GetRoleOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Role.Get(), o.Role.IsSet() +} + +// HasRole returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Role field. +func (o *BulkWritableVirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant) { + o.Role.Set(&v) +} +// SetRoleNil sets the value for Role to be an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) UnsetRole() { + o.Role.Unset() +} + +// GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4 { + if o == nil || IsNil(o.PrimaryIp4.Get()) { + var ret PrimaryIPv4 + return ret + } + return *o.PrimaryIp4.Get() +} + +// GetPrimaryIp4Ok returns a tuple with the PrimaryIp4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*PrimaryIPv4, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp4.Get(), o.PrimaryIp4.IsSet() +} + +// HasPrimaryIp4 returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasPrimaryIp4() bool { + if o != nil && o.PrimaryIp4.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp4 gets a reference to the given NullablePrimaryIPv4 and assigns it to the PrimaryIp4 field. +func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4) { + o.PrimaryIp4.Set(&v) +} +// SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp4Nil() { + o.PrimaryIp4.Set(nil) +} + +// UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp4() { + o.PrimaryIp4.Unset() +} + +// GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6 { + if o == nil || IsNil(o.PrimaryIp6.Get()) { + var ret PrimaryIPv6 + return ret + } + return *o.PrimaryIp6.Get() +} + +// GetPrimaryIp6Ok returns a tuple with the PrimaryIp6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*PrimaryIPv6, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp6.Get(), o.PrimaryIp6.IsSet() +} + +// HasPrimaryIp6 returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasPrimaryIp6() bool { + if o != nil && o.PrimaryIp6.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp6 gets a reference to the given NullablePrimaryIPv6 and assigns it to the PrimaryIp6 field. +func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6) { + o.PrimaryIp6.Set(&v) +} +// SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp6Nil() { + o.PrimaryIp6.Set(nil) +} + +// UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp6() { + o.PrimaryIp6.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableVirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableVirtualDeviceContextRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *BulkWritableVirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *BulkWritableVirtualDeviceContextRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *BulkWritableVirtualDeviceContextRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *BulkWritableVirtualDeviceContextRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *BulkWritableVirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *BulkWritableVirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableVirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableVirtualDeviceContextRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableVirtualDeviceContextRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableVirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o BulkWritableVirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableVirtualDeviceContextRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["name"] = o.Name + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["device"] = o.Device + toSerialize["status"] = o.Status + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if o.PrimaryIp4.IsSet() { + toSerialize["primary_ip4"] = o.PrimaryIp4.Get() + } + if o.PrimaryIp6.IsSet() { + toSerialize["primary_ip6"] = o.PrimaryIp6.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableVirtualDeviceContextRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "name", + "device", + "status", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableVirtualDeviceContextRequest := _BulkWritableVirtualDeviceContextRequest{} + + err = json.Unmarshal(data, &varBulkWritableVirtualDeviceContextRequest) + + if err != nil { + return err + } + + *o = BulkWritableVirtualDeviceContextRequest(varBulkWritableVirtualDeviceContextRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "identifier") + delete(additionalProperties, "description") + delete(additionalProperties, "device") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "primary_ip4") + delete(additionalProperties, "primary_ip6") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableVirtualDeviceContextRequest struct { + value *BulkWritableVirtualDeviceContextRequest + isSet bool +} + +func (v NullableBulkWritableVirtualDeviceContextRequest) Get() *BulkWritableVirtualDeviceContextRequest { + return v.value +} + +func (v *NullableBulkWritableVirtualDeviceContextRequest) Set(val *BulkWritableVirtualDeviceContextRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableVirtualDeviceContextRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableVirtualDeviceContextRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableVirtualDeviceContextRequest(val *BulkWritableVirtualDeviceContextRequest) *NullableBulkWritableVirtualDeviceContextRequest { + return &NullableBulkWritableVirtualDeviceContextRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableVirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableVirtualDeviceContextRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_bulk_writable_virtual_machine_request.go b/model_bulk_writable_virtual_machine_request.go index 45d1f230..5105a4b1 100644 --- a/model_bulk_writable_virtual_machine_request.go +++ b/model_bulk_writable_virtual_machine_request.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/model_bulk_writable_virtual_machine_request_software_version.go b/model_bulk_writable_virtual_machine_request_software_version.go index c1481835..7ed39700 100644 --- a/model_bulk_writable_virtual_machine_request_software_version.go +++ b/model_bulk_writable_virtual_machine_request_software_version.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/model_bulk_writable_vlan_group_request.go b/model_bulk_writable_vlan_group_request.go index c42e1cce..95cafacd 100644 --- a/model_bulk_writable_vlan_group_request.go +++ b/model_bulk_writable_vlan_group_request.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. @@ -23,7 +23,10 @@ type BulkWritableVLANGroupRequest struct { Id string `json:"id"` Name string `json:"name"` Description *string `json:"description,omitempty"` + // Permitted VID range(s) as comma-separated list, default '1-4094' if left blank. + Range *string `json:"range,omitempty"` Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -130,6 +133,38 @@ func (o *BulkWritableVLANGroupRequest) SetDescription(v string) { o.Description = &v } +// GetRange returns the Range field value if set, zero value otherwise. +func (o *BulkWritableVLANGroupRequest) GetRange() string { + if o == nil || IsNil(o.Range) { + var ret string + return ret + } + return *o.Range +} + +// GetRangeOk returns a tuple with the Range field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableVLANGroupRequest) GetRangeOk() (*string, bool) { + if o == nil || IsNil(o.Range) { + return nil, false + } + return o.Range, true +} + +// HasRange returns a boolean if a field has been set. +func (o *BulkWritableVLANGroupRequest) HasRange() bool { + if o != nil && !IsNil(o.Range) { + return true + } + + return false +} + +// SetRange gets a reference to the given string and assigns it to the Range field. +func (o *BulkWritableVLANGroupRequest) SetRange(v string) { + o.Range = &v +} + // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). func (o *BulkWritableVLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Location.Get()) { @@ -172,6 +207,38 @@ func (o *BulkWritableVLANGroupRequest) UnsetLocation() { o.Location.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableVLANGroupRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableVLANGroupRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableVLANGroupRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableVLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *BulkWritableVLANGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -251,9 +318,15 @@ func (o BulkWritableVLANGroupRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Range) { + toSerialize["range"] = o.Range + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -307,7 +380,9 @@ func (o *BulkWritableVLANGroupRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "range") delete(additionalProperties, "location") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_bulk_writable_vlan_location_assignment_request.go b/model_bulk_writable_vlan_location_assignment_request.go index 2ea61d10..6c492061 100644 --- a/model_bulk_writable_vlan_location_assignment_request.go +++ b/model_bulk_writable_vlan_location_assignment_request.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/model_bulk_writable_vlan_request.go b/model_bulk_writable_vlan_request.go index fb1b200f..4af3abe0 100644 --- a/model_bulk_writable_vlan_request.go +++ b/model_bulk_writable_vlan_request.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/model_bulk_writable_vm_interface_request.go b/model_bulk_writable_vm_interface_request.go index 04594636..87a5693b 100644 --- a/model_bulk_writable_vm_interface_request.go +++ b/model_bulk_writable_vm_interface_request.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &BulkWritableVMInterfaceRequest{} // BulkWritableVMInterfaceRequest 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. type BulkWritableVMInterfaceRequest struct { Id string `json:"id"` - Mode *ModeEnum `json:"mode,omitempty"` + Mode *InterfaceModeChoices `json:"mode,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Enabled *bool `json:"enabled,omitempty"` Mtu NullableInt32 `json:"mtu,omitempty"` @@ -89,9 +89,9 @@ func (o *BulkWritableVMInterfaceRequest) SetId(v string) { } // GetMode returns the Mode field value if set, zero value otherwise. -func (o *BulkWritableVMInterfaceRequest) GetMode() ModeEnum { +func (o *BulkWritableVMInterfaceRequest) GetMode() InterfaceModeChoices { if o == nil || IsNil(o.Mode) { - var ret ModeEnum + var ret InterfaceModeChoices return ret } return *o.Mode @@ -99,7 +99,7 @@ func (o *BulkWritableVMInterfaceRequest) GetMode() ModeEnum { // GetModeOk returns a tuple with the Mode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BulkWritableVMInterfaceRequest) GetModeOk() (*ModeEnum, bool) { +func (o *BulkWritableVMInterfaceRequest) GetModeOk() (*InterfaceModeChoices, bool) { if o == nil || IsNil(o.Mode) { return nil, false } @@ -115,8 +115,8 @@ func (o *BulkWritableVMInterfaceRequest) HasMode() bool { return false } -// SetMode gets a reference to the given ModeEnum and assigns it to the Mode field. -func (o *BulkWritableVMInterfaceRequest) SetMode(v ModeEnum) { +// SetMode gets a reference to the given InterfaceModeChoices and assigns it to the Mode field. +func (o *BulkWritableVMInterfaceRequest) SetMode(v InterfaceModeChoices) { o.Mode = &v } diff --git a/model_bulk_writable_vrf_device_assignment_request.go b/model_bulk_writable_vrf_device_assignment_request.go index 2b71a183..c344943d 100644 --- a/model_bulk_writable_vrf_device_assignment_request.go +++ b/model_bulk_writable_vrf_device_assignment_request.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 BulkWritableVRFDeviceAssignmentRequest struct { Vrf BulkWritableCableRequestStatus `json:"vrf"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` VirtualMachine NullableBulkWritableCircuitRequestTenant `json:"virtual_machine,omitempty"` + VirtualDeviceContext NullableBulkWritableCircuitRequestTenant `json:"virtual_device_context,omitempty"` AdditionalProperties map[string]interface{} } @@ -257,6 +258,48 @@ func (o *BulkWritableVRFDeviceAssignmentRequest) UnsetVirtualMachine() { o.VirtualMachine.Unset() } +// GetVirtualDeviceContext returns the VirtualDeviceContext field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableVRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.VirtualDeviceContext.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.VirtualDeviceContext.Get() +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableVRFDeviceAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.VirtualDeviceContext.Get(), o.VirtualDeviceContext.IsSet() +} + +// HasVirtualDeviceContext returns a boolean if a field has been set. +func (o *BulkWritableVRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool { + if o != nil && o.VirtualDeviceContext.IsSet() { + return true + } + + return false +} + +// SetVirtualDeviceContext gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the VirtualDeviceContext field. +func (o *BulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant) { + o.VirtualDeviceContext.Set(&v) +} +// SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil +func (o *BulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContextNil() { + o.VirtualDeviceContext.Set(nil) +} + +// UnsetVirtualDeviceContext ensures that no value is present for VirtualDeviceContext, not even an explicit nil +func (o *BulkWritableVRFDeviceAssignmentRequest) UnsetVirtualDeviceContext() { + o.VirtualDeviceContext.Unset() +} + func (o BulkWritableVRFDeviceAssignmentRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -281,6 +324,9 @@ func (o BulkWritableVRFDeviceAssignmentRequest) ToMap() (map[string]interface{}, if o.VirtualMachine.IsSet() { toSerialize["virtual_machine"] = o.VirtualMachine.Get() } + if o.VirtualDeviceContext.IsSet() { + toSerialize["virtual_device_context"] = o.VirtualDeviceContext.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -331,6 +377,7 @@ func (o *BulkWritableVRFDeviceAssignmentRequest) UnmarshalJSON(data []byte) (err delete(additionalProperties, "vrf") delete(additionalProperties, "device") delete(additionalProperties, "virtual_machine") + delete(additionalProperties, "virtual_device_context") o.AdditionalProperties = additionalProperties } diff --git a/model_bulk_writable_vrf_prefix_assignment_request.go b/model_bulk_writable_vrf_prefix_assignment_request.go index 9199b792..71c3582f 100644 --- a/model_bulk_writable_vrf_prefix_assignment_request.go +++ b/model_bulk_writable_vrf_prefix_assignment_request.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/model_bulk_writable_vrf_request.go b/model_bulk_writable_vrf_request.go index 699b329a..a4e27e1d 100644 --- a/model_bulk_writable_vrf_request.go +++ b/model_bulk_writable_vrf_request.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. @@ -23,7 +23,7 @@ type BulkWritableVRFRequest struct { Id string `json:"id"` Name string `json:"name"` // Unique route distinguisher (as defined in RFC 4364) - Rd NullableString `json:"rd"` + Rd NullableString `json:"rd,omitempty"` Description *string `json:"description,omitempty"` Status NullableBulkWritableCircuitRequestTenant `json:"status,omitempty"` Namespace *BulkWritableCableRequestStatus `json:"namespace,omitempty"` @@ -42,11 +42,10 @@ type _BulkWritableVRFRequest BulkWritableVRFRequest // 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 -func NewBulkWritableVRFRequest(id string, name string, rd NullableString) *BulkWritableVRFRequest { +func NewBulkWritableVRFRequest(id string, name string) *BulkWritableVRFRequest { this := BulkWritableVRFRequest{} this.Id = id this.Name = name - this.Rd = rd return &this } @@ -106,18 +105,16 @@ func (o *BulkWritableVRFRequest) SetName(v string) { o.Name = v } -// GetRd returns the Rd field value -// If the value is explicit nil, the zero value for string will be returned +// GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null). func (o *BulkWritableVRFRequest) GetRd() string { - if o == nil || o.Rd.Get() == nil { + if o == nil || IsNil(o.Rd.Get()) { var ret string return ret } - return *o.Rd.Get() } -// GetRdOk returns a tuple with the Rd field value +// GetRdOk returns a tuple with the Rd field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *BulkWritableVRFRequest) GetRdOk() (*string, bool) { @@ -127,10 +124,28 @@ func (o *BulkWritableVRFRequest) GetRdOk() (*string, bool) { return o.Rd.Get(), o.Rd.IsSet() } -// SetRd sets field value +// HasRd returns a boolean if a field has been set. +func (o *BulkWritableVRFRequest) HasRd() bool { + if o != nil && o.Rd.IsSet() { + return true + } + + return false +} + +// SetRd gets a reference to the given NullableString and assigns it to the Rd field. func (o *BulkWritableVRFRequest) SetRd(v string) { o.Rd.Set(&v) } +// SetRdNil sets the value for Rd to be an explicit nil +func (o *BulkWritableVRFRequest) SetRdNil() { + o.Rd.Set(nil) +} + +// UnsetRd ensures that no value is present for Rd, not even an explicit nil +func (o *BulkWritableVRFRequest) UnsetRd() { + o.Rd.Unset() +} // GetDescription returns the Description field value if set, zero value otherwise. func (o *BulkWritableVRFRequest) GetDescription() string { @@ -452,7 +467,9 @@ func (o BulkWritableVRFRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["name"] = o.Name - toSerialize["rd"] = o.Rd.Get() + if o.Rd.IsSet() { + toSerialize["rd"] = o.Rd.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -495,7 +512,6 @@ func (o *BulkWritableVRFRequest) UnmarshalJSON(data []byte) (err error) { requiredProperties := []string{ "id", "name", - "rd", } allProperties := make(map[string]interface{}) diff --git a/model_bulk_writable_webhook_request.go b/model_bulk_writable_webhook_request.go index cfa96157..c0ab763c 100644 --- a/model_bulk_writable_webhook_request.go +++ b/model_bulk_writable_webhook_request.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/model_bulk_writable_wireless_network_request.go b/model_bulk_writable_wireless_network_request.go new file mode 100644 index 00000000..9063ac71 --- /dev/null +++ b/model_bulk_writable_wireless_network_request.go @@ -0,0 +1,600 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the BulkWritableWirelessNetworkRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkWritableWirelessNetworkRequest{} + +// BulkWritableWirelessNetworkRequest 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. +type BulkWritableWirelessNetworkRequest struct { + Id string `json:"id"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Ssid string `json:"ssid"` + Mode WirelessNetworkModeChoices `json:"mode"` + Enabled *bool `json:"enabled,omitempty"` + Authentication AuthenticationEnum `json:"authentication"` + Hidden *bool `json:"hidden,omitempty"` + SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkWritableWirelessNetworkRequest 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 +func NewBulkWritableWirelessNetworkRequest(id string, name string, ssid string, mode WirelessNetworkModeChoices, authentication AuthenticationEnum) *BulkWritableWirelessNetworkRequest { + this := BulkWritableWirelessNetworkRequest{} + this.Id = id + this.Name = name + this.Ssid = ssid + this.Mode = mode + this.Authentication = authentication + return &this +} + +// 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 +func NewBulkWritableWirelessNetworkRequestWithDefaults() *BulkWritableWirelessNetworkRequest { + this := BulkWritableWirelessNetworkRequest{} + return &this +} + +// GetId returns the Id field value +func (o *BulkWritableWirelessNetworkRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BulkWritableWirelessNetworkRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value +func (o *BulkWritableWirelessNetworkRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BulkWritableWirelessNetworkRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BulkWritableWirelessNetworkRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *BulkWritableWirelessNetworkRequest) SetDescription(v string) { + o.Description = &v +} + +// GetSsid returns the Ssid field value +func (o *BulkWritableWirelessNetworkRequest) GetSsid() string { + if o == nil { + var ret string + return ret + } + + return o.Ssid +} + +// GetSsidOk returns a tuple with the Ssid field value +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetSsidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Ssid, true +} + +// SetSsid sets field value +func (o *BulkWritableWirelessNetworkRequest) SetSsid(v string) { + o.Ssid = v +} + +// GetMode returns the Mode field value +func (o *BulkWritableWirelessNetworkRequest) GetMode() WirelessNetworkModeChoices { + if o == nil { + var ret WirelessNetworkModeChoices + return ret + } + + return o.Mode +} + +// GetModeOk returns a tuple with the Mode field value +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetModeOk() (*WirelessNetworkModeChoices, bool) { + if o == nil { + return nil, false + } + return &o.Mode, true +} + +// SetMode sets field value +func (o *BulkWritableWirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices) { + o.Mode = v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *BulkWritableWirelessNetworkRequest) GetEnabled() bool { + if o == nil || IsNil(o.Enabled) { + var ret bool + return ret + } + return *o.Enabled +} + +// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.Enabled) { + return nil, false + } + return o.Enabled, true +} + +// HasEnabled returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasEnabled() bool { + if o != nil && !IsNil(o.Enabled) { + return true + } + + return false +} + +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *BulkWritableWirelessNetworkRequest) SetEnabled(v bool) { + o.Enabled = &v +} + +// GetAuthentication returns the Authentication field value +func (o *BulkWritableWirelessNetworkRequest) GetAuthentication() AuthenticationEnum { + if o == nil { + var ret AuthenticationEnum + return ret + } + + return o.Authentication +} + +// GetAuthenticationOk returns a tuple with the Authentication field value +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetAuthenticationOk() (*AuthenticationEnum, bool) { + if o == nil { + return nil, false + } + return &o.Authentication, true +} + +// SetAuthentication sets field value +func (o *BulkWritableWirelessNetworkRequest) SetAuthentication(v AuthenticationEnum) { + o.Authentication = v +} + +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *BulkWritableWirelessNetworkRequest) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *BulkWritableWirelessNetworkRequest) SetHidden(v bool) { + o.Hidden = &v +} + +// GetSecretsGroup returns the SecretsGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableWirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.SecretsGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.SecretsGroup.Get() +} + +// GetSecretsGroupOk returns a tuple with the SecretsGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableWirelessNetworkRequest) GetSecretsGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.SecretsGroup.Get(), o.SecretsGroup.IsSet() +} + +// HasSecretsGroup returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasSecretsGroup() bool { + if o != nil && o.SecretsGroup.IsSet() { + return true + } + + return false +} + +// SetSecretsGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the SecretsGroup field. +func (o *BulkWritableWirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant) { + o.SecretsGroup.Set(&v) +} +// SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil +func (o *BulkWritableWirelessNetworkRequest) SetSecretsGroupNil() { + o.SecretsGroup.Set(nil) +} + +// UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +func (o *BulkWritableWirelessNetworkRequest) UnsetSecretsGroup() { + o.SecretsGroup.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BulkWritableWirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BulkWritableWirelessNetworkRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *BulkWritableWirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *BulkWritableWirelessNetworkRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *BulkWritableWirelessNetworkRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *BulkWritableWirelessNetworkRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *BulkWritableWirelessNetworkRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *BulkWritableWirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *BulkWritableWirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *BulkWritableWirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkWritableWirelessNetworkRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *BulkWritableWirelessNetworkRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *BulkWritableWirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o BulkWritableWirelessNetworkRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkWritableWirelessNetworkRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["ssid"] = o.Ssid + toSerialize["mode"] = o.Mode + if !IsNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + toSerialize["authentication"] = o.Authentication + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } + if o.SecretsGroup.IsSet() { + toSerialize["secrets_group"] = o.SecretsGroup.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkWritableWirelessNetworkRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + "name", + "ssid", + "mode", + "authentication", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkWritableWirelessNetworkRequest := _BulkWritableWirelessNetworkRequest{} + + err = json.Unmarshal(data, &varBulkWritableWirelessNetworkRequest) + + if err != nil { + return err + } + + *o = BulkWritableWirelessNetworkRequest(varBulkWritableWirelessNetworkRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "ssid") + delete(additionalProperties, "mode") + delete(additionalProperties, "enabled") + delete(additionalProperties, "authentication") + delete(additionalProperties, "hidden") + delete(additionalProperties, "secrets_group") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkWritableWirelessNetworkRequest struct { + value *BulkWritableWirelessNetworkRequest + isSet bool +} + +func (v NullableBulkWritableWirelessNetworkRequest) Get() *BulkWritableWirelessNetworkRequest { + return v.value +} + +func (v *NullableBulkWritableWirelessNetworkRequest) Set(val *BulkWritableWirelessNetworkRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBulkWritableWirelessNetworkRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkWritableWirelessNetworkRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkWritableWirelessNetworkRequest(val *BulkWritableWirelessNetworkRequest) *NullableBulkWritableWirelessNetworkRequest { + return &NullableBulkWritableWirelessNetworkRequest{value: val, isSet: true} +} + +func (v NullableBulkWritableWirelessNetworkRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkWritableWirelessNetworkRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_button_class_enum.go b/model_button_class_enum.go index fd91832e..861c1b61 100644 --- a/model_button_class_enum.go +++ b/model_button_class_enum.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/model_cable.go b/model_cable.go index a7f78bee..0a19b2d3 100644 --- a/model_cable.go +++ b/model_cable.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Cable{} // Cable 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. type Cable struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -54,9 +54,8 @@ type _Cable Cable // 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 -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 { this := Cable{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -82,28 +81,36 @@ func NewCableWithDefaults() *Cable { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Cable) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Cable) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Cable) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Cable) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -690,7 +697,9 @@ func (o Cable) MarshalJSON() ([]byte, error) { func (o Cable) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -739,7 +748,6 @@ func (o *Cable) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cable_length_unit.go b/model_cable_length_unit.go index 80ff74ef..6bc16803 100644 --- a/model_cable_length_unit.go +++ b/model_cable_length_unit.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/model_cable_length_unit_label.go b/model_cable_length_unit_label.go index 05984351..f1f89f8b 100644 --- a/model_cable_length_unit_label.go +++ b/model_cable_length_unit_label.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/model_cable_length_unit_value.go b/model_cable_length_unit_value.go index d67c2500..3edc842f 100644 --- a/model_cable_length_unit_value.go +++ b/model_cable_length_unit_value.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/model_cable_path.go b/model_cable_path.go index da4f749e..4dee19b8 100644 --- a/model_cable_path.go +++ b/model_cable_path.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/model_cable_termination.go b/model_cable_termination.go index 3b402832..01689877 100644 --- a/model_cable_termination.go +++ b/model_cable_termination.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // CableTermination - struct for CableTermination @@ -356,6 +356,48 @@ func (obj *CableTermination) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj CableTermination) GetActualInstanceValue() (interface{}) { + if obj.NestedCircuitTermination != nil { + return *obj.NestedCircuitTermination + } + + if obj.NestedConsolePort != nil { + return *obj.NestedConsolePort + } + + if obj.NestedConsoleServerPort != nil { + return *obj.NestedConsoleServerPort + } + + if obj.NestedFrontPort != nil { + return *obj.NestedFrontPort + } + + if obj.NestedInterface != nil { + return *obj.NestedInterface + } + + if obj.NestedPowerFeed != nil { + return *obj.NestedPowerFeed + } + + if obj.NestedPowerOutlet != nil { + return *obj.NestedPowerOutlet + } + + if obj.NestedPowerPort != nil { + return *obj.NestedPowerPort + } + + if obj.NestedRearPort != nil { + return *obj.NestedRearPort + } + + // all schemas are nil + return nil +} + type NullableCableTermination struct { value *CableTermination isSet bool diff --git a/model_cable_type.go b/model_cable_type.go index 943ed674..302af6bd 100644 --- a/model_cable_type.go +++ b/model_cable_type.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/model_cable_type_choices.go b/model_cable_type_choices.go index ee7eb5cf..4cb87271 100644 --- a/model_cable_type_choices.go +++ b/model_cable_type_choices.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/model_cable_type_label.go b/model_cable_type_label.go index 6b2a3054..54a048a4 100644 --- a/model_cable_type_label.go +++ b/model_cable_type_label.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/model_cable_type_value.go b/model_cable_type_value.go index 2cc24fc0..62758508 100644 --- a/model_cable_type_value.go +++ b/model_cable_type_value.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/model_capabilities_enum.go b/model_capabilities_enum.go new file mode 100644 index 00000000..da99da99 --- /dev/null +++ b/model_capabilities_enum.go @@ -0,0 +1,109 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// CapabilitiesEnum the model 'CapabilitiesEnum' +type CapabilitiesEnum string + +// List of CapabilitiesEnum +const ( + CAPABILITIESENUM_WIRELESS CapabilitiesEnum = "wireless" +) + +// All allowed values of CapabilitiesEnum enum +var AllowedCapabilitiesEnumEnumValues = []CapabilitiesEnum{ + "wireless", +} + +func (v *CapabilitiesEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CapabilitiesEnum(value) + for _, existing := range AllowedCapabilitiesEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CapabilitiesEnum", value) +} + +// NewCapabilitiesEnumFromValue returns a pointer to a valid CapabilitiesEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCapabilitiesEnumFromValue(v string) (*CapabilitiesEnum, error) { + ev := CapabilitiesEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CapabilitiesEnum: valid values are %v", v, AllowedCapabilitiesEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CapabilitiesEnum) IsValid() bool { + for _, existing := range AllowedCapabilitiesEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CapabilitiesEnum value +func (v CapabilitiesEnum) Ptr() *CapabilitiesEnum { + return &v +} + +type NullableCapabilitiesEnum struct { + value *CapabilitiesEnum + isSet bool +} + +func (v NullableCapabilitiesEnum) Get() *CapabilitiesEnum { + return v.value +} + +func (v *NullableCapabilitiesEnum) Set(val *CapabilitiesEnum) { + v.value = val + v.isSet = true +} + +func (v NullableCapabilitiesEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableCapabilitiesEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCapabilitiesEnum(val *CapabilitiesEnum) *NullableCapabilitiesEnum { + return &NullableCapabilitiesEnum{value: val, isSet: true} +} + +func (v NullableCapabilitiesEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCapabilitiesEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_channel_width_enum.go b/model_channel_width_enum.go new file mode 100644 index 00000000..c6f2c7eb --- /dev/null +++ b/model_channel_width_enum.go @@ -0,0 +1,115 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// ChannelWidthEnum the model 'ChannelWidthEnum' +type ChannelWidthEnum int32 + +// List of ChannelWidthEnum +const ( + CHANNELWIDTHENUM__20 ChannelWidthEnum = 20 + CHANNELWIDTHENUM__40 ChannelWidthEnum = 40 + CHANNELWIDTHENUM__80 ChannelWidthEnum = 80 + CHANNELWIDTHENUM__160 ChannelWidthEnum = 160 +) + +// All allowed values of ChannelWidthEnum enum +var AllowedChannelWidthEnumEnumValues = []ChannelWidthEnum{ + 20, + 40, + 80, + 160, +} + +func (v *ChannelWidthEnum) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ChannelWidthEnum(value) + for _, existing := range AllowedChannelWidthEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ChannelWidthEnum", value) +} + +// NewChannelWidthEnumFromValue returns a pointer to a valid ChannelWidthEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewChannelWidthEnumFromValue(v int32) (*ChannelWidthEnum, error) { + ev := ChannelWidthEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ChannelWidthEnum: valid values are %v", v, AllowedChannelWidthEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ChannelWidthEnum) IsValid() bool { + for _, existing := range AllowedChannelWidthEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ChannelWidthEnum value +func (v ChannelWidthEnum) Ptr() *ChannelWidthEnum { + return &v +} + +type NullableChannelWidthEnum struct { + value *ChannelWidthEnum + isSet bool +} + +func (v NullableChannelWidthEnum) Get() *ChannelWidthEnum { + return v.value +} + +func (v *NullableChannelWidthEnum) Set(val *ChannelWidthEnum) { + v.value = val + v.isSet = true +} + +func (v NullableChannelWidthEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableChannelWidthEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableChannelWidthEnum(val *ChannelWidthEnum) *NullableChannelWidthEnum { + return &NullableChannelWidthEnum{value: val, isSet: true} +} + +func (v NullableChannelWidthEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableChannelWidthEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_circuit.go b/model_circuit.go index e25be348..e4d416fa 100644 --- a/model_circuit.go +++ b/model_circuit.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Circuit{} // Circuit 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. type Circuit struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -52,9 +52,8 @@ type _Circuit Circuit // 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 -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 { this := Circuit{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -79,28 +78,36 @@ func NewCircuitWithDefaults() *Circuit { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Circuit) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Circuit) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Circuit) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Circuit) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -687,7 +694,9 @@ func (o Circuit) MarshalJSON() ([]byte, error) { func (o Circuit) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -735,7 +744,6 @@ func (o *Circuit) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_circuit_circuit_termination_a.go b/model_circuit_circuit_termination_a.go index 7ba67235..9d8fe2a4 100644 --- a/model_circuit_circuit_termination_a.go +++ b/model_circuit_circuit_termination_a.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/model_circuit_request.go b/model_circuit_request.go index e2dd9808..817f94a6 100644 --- a/model_circuit_request.go +++ b/model_circuit_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CircuitRequest{} // CircuitRequest 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. type CircuitRequest struct { + Id *string `json:"id,omitempty"` Cid string `json:"cid"` InstallDate NullableString `json:"install_date,omitempty"` CommitRate NullableInt32 `json:"commit_rate,omitempty"` @@ -58,6 +59,38 @@ func NewCircuitRequestWithDefaults() *CircuitRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CircuitRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CircuitRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CircuitRequest) SetId(v string) { + o.Id = &v +} + // GetCid returns the Cid field value func (o *CircuitRequest) GetCid() string { if o == nil { @@ -450,6 +483,9 @@ func (o CircuitRequest) MarshalJSON() ([]byte, error) { func (o CircuitRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["cid"] = o.Cid if o.InstallDate.IsSet() { toSerialize["install_date"] = o.InstallDate.Get() @@ -524,6 +560,7 @@ func (o *CircuitRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "cid") delete(additionalProperties, "install_date") delete(additionalProperties, "commit_rate") diff --git a/model_circuit_termination.go b/model_circuit_termination.go index 186614e1..d7a82af5 100644 --- a/model_circuit_termination.go +++ b/model_circuit_termination.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CircuitTermination{} // CircuitTermination 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. type CircuitTermination struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -46,6 +46,7 @@ type CircuitTermination struct { CloudNetwork NullableBulkWritableCircuitRequestTenant `json:"cloud_network,omitempty"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -57,9 +58,8 @@ type _CircuitTermination CircuitTermination // 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 -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 { this := CircuitTermination{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -86,28 +86,36 @@ func NewCircuitTerminationWithDefaults() *CircuitTermination { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CircuitTermination) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CircuitTermination) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CircuitTermination) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CircuitTermination) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -768,6 +776,38 @@ func (o *CircuitTermination) SetLastUpdated(v time.Time) { o.LastUpdated.Set(&v) } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CircuitTermination) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitTermination) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *CircuitTermination) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *CircuitTermination) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetNotesUrl returns the NotesUrl field value func (o *CircuitTermination) GetNotesUrl() string { if o == nil { @@ -834,7 +874,9 @@ func (o CircuitTermination) MarshalJSON() ([]byte, error) { func (o CircuitTermination) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -873,6 +915,9 @@ func (o CircuitTermination) ToMap() (map[string]interface{}, error) { } toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } toSerialize["notes_url"] = o.NotesUrl if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields @@ -890,7 +935,6 @@ func (o *CircuitTermination) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -958,6 +1002,7 @@ func (o *CircuitTermination) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "cloud_network") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") + delete(additionalProperties, "tags") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties diff --git a/model_circuit_termination_request.go b/model_circuit_termination_request.go index 47bca775..6e167f69 100644 --- a/model_circuit_termination_request.go +++ b/model_circuit_termination_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CircuitTerminationRequest{} // CircuitTerminationRequest 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. type CircuitTerminationRequest struct { + Id *string `json:"id,omitempty"` TermSide TermSideEnum `json:"term_side"` PortSpeed NullableInt32 `json:"port_speed,omitempty"` // Upstream speed, if different from port speed @@ -31,6 +32,7 @@ type CircuitTerminationRequest struct { Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` ProviderNetwork NullableBulkWritableCircuitRequestTenant `json:"provider_network,omitempty"` CloudNetwork NullableBulkWritableCircuitRequestTenant `json:"cloud_network,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -57,6 +59,38 @@ func NewCircuitTerminationRequestWithDefaults() *CircuitTerminationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CircuitTerminationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitTerminationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CircuitTerminationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CircuitTerminationRequest) SetId(v string) { + o.Id = &v +} + // GetTermSide returns the TermSide field value func (o *CircuitTerminationRequest) GetTermSide() TermSideEnum { if o == nil { @@ -411,6 +445,38 @@ func (o *CircuitTerminationRequest) UnsetCloudNetwork() { o.CloudNetwork.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitTerminationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *CircuitTerminationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *CircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *CircuitTerminationRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -485,6 +551,9 @@ func (o CircuitTerminationRequest) MarshalJSON() ([]byte, error) { func (o CircuitTerminationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["term_side"] = o.TermSide if o.PortSpeed.IsSet() { toSerialize["port_speed"] = o.PortSpeed.Get() @@ -511,6 +580,9 @@ func (o CircuitTerminationRequest) ToMap() (map[string]interface{}, error) { if o.CloudNetwork.IsSet() { toSerialize["cloud_network"] = o.CloudNetwork.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -561,6 +633,7 @@ func (o *CircuitTerminationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "term_side") delete(additionalProperties, "port_speed") delete(additionalProperties, "upstream_speed") @@ -571,6 +644,7 @@ func (o *CircuitTerminationRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "location") delete(additionalProperties, "provider_network") delete(additionalProperties, "cloud_network") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_circuit_type.go b/model_circuit_type.go index 6170a0ab..a6b341e2 100644 --- a/model_circuit_type.go +++ b/model_circuit_type.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CircuitType{} // CircuitType 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. type CircuitType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -43,9 +43,8 @@ type _CircuitType CircuitType // 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 -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 { this := CircuitType{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -65,28 +64,36 @@ func NewCircuitTypeWithDefaults() *CircuitType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CircuitType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CircuitType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CircuitType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CircuitType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -391,7 +398,9 @@ func (o CircuitType) MarshalJSON() ([]byte, error) { func (o CircuitType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -422,7 +431,6 @@ func (o *CircuitType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_circuit_type_request.go b/model_circuit_type_request.go index cb9ff786..46aa7f5c 100644 --- a/model_circuit_type_request.go +++ b/model_circuit_type_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CircuitTypeRequest{} // CircuitTypeRequest 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. type CircuitTypeRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -47,6 +48,38 @@ func NewCircuitTypeRequestWithDefaults() *CircuitTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CircuitTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CircuitTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CircuitTypeRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *CircuitTypeRequest) GetName() string { if o == nil { @@ -177,6 +210,9 @@ func (o CircuitTypeRequest) MarshalJSON() ([]byte, error) { func (o CircuitTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -230,6 +266,7 @@ func (o *CircuitTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_circuits_circuit_terminations_list_format_parameter.go b/model_circuits_circuit_terminations_list_format_parameter.go index f2631cf6..c2f089b2 100644 --- a/model_circuits_circuit_terminations_list_format_parameter.go +++ b/model_circuits_circuit_terminations_list_format_parameter.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/model_cloud_account.go b/model_cloud_account.go index f96b2af2..6a70f8b1 100644 --- a/model_cloud_account.go +++ b/model_cloud_account.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CloudAccount{} // CloudAccount 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. type CloudAccount struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -48,9 +48,8 @@ type _CloudAccount CloudAccount // 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 -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 { this := CloudAccount{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -72,28 +71,36 @@ func NewCloudAccountWithDefaults() *CloudAccount { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CloudAccount) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CloudAccount) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudAccount) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CloudAccount) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -488,7 +495,9 @@ func (o CloudAccount) MarshalJSON() ([]byte, error) { func (o CloudAccount) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -524,7 +533,6 @@ func (o *CloudAccount) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cloud_account_request.go b/model_cloud_account_request.go index 4dac9897..47f11181 100644 --- a/model_cloud_account_request.go +++ b/model_cloud_account_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CloudAccountRequest{} // CloudAccountRequest 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. type CloudAccountRequest struct { + Id *string `json:"id,omitempty"` // The name of this Cloud Account. Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -55,6 +56,38 @@ func NewCloudAccountRequestWithDefaults() *CloudAccountRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CloudAccountRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudAccountRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudAccountRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CloudAccountRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *CloudAccountRequest) GetName() string { if o == nil { @@ -307,6 +340,9 @@ func (o CloudAccountRequest) MarshalJSON() ([]byte, error) { func (o CloudAccountRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -370,6 +406,7 @@ func (o *CloudAccountRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "account_number") diff --git a/model_cloud_network.go b/model_cloud_network.go index 9f7baa06..ce3eb8e5 100644 --- a/model_cloud_network.go +++ b/model_cloud_network.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CloudNetwork{} // CloudNetwork 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. type CloudNetwork struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -48,9 +48,8 @@ type _CloudNetwork CloudNetwork // 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 -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 { this := CloudNetwork{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -73,28 +72,36 @@ func NewCloudNetworkWithDefaults() *CloudNetwork { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CloudNetwork) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CloudNetwork) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudNetwork) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CloudNetwork) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -546,7 +553,9 @@ func (o CloudNetwork) MarshalJSON() ([]byte, error) { func (o CloudNetwork) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -586,7 +595,6 @@ func (o *CloudNetwork) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cloud_network_prefix_assignment.go b/model_cloud_network_prefix_assignment.go index 9d64e3e0..e7937ac6 100644 --- a/model_cloud_network_prefix_assignment.go +++ b/model_cloud_network_prefix_assignment.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &CloudNetworkPrefixAssignment{} // CloudNetworkPrefixAssignment 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) type CloudNetworkPrefixAssignment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -37,9 +37,8 @@ type _CloudNetworkPrefixAssignment CloudNetworkPrefixAssignment // 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 -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 { this := CloudNetworkPrefixAssignment{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -57,28 +56,36 @@ func NewCloudNetworkPrefixAssignmentWithDefaults() *CloudNetworkPrefixAssignment return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CloudNetworkPrefixAssignment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CloudNetworkPrefixAssignment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudNetworkPrefixAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CloudNetworkPrefixAssignment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -235,7 +242,9 @@ func (o CloudNetworkPrefixAssignment) MarshalJSON() ([]byte, error) { func (o CloudNetworkPrefixAssignment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -255,7 +264,6 @@ func (o *CloudNetworkPrefixAssignment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cloud_network_prefix_assignment_request.go b/model_cloud_network_prefix_assignment_request.go index 6c562613..406a3a68 100644 --- a/model_cloud_network_prefix_assignment_request.go +++ b/model_cloud_network_prefix_assignment_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CloudNetworkPrefixAssignmentRequest{} // CloudNetworkPrefixAssignmentRequest 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) type CloudNetworkPrefixAssignmentRequest struct { + Id *string `json:"id,omitempty"` CloudNetwork BulkWritableCableRequestStatus `json:"cloud_network"` Prefix BulkWritableCableRequestStatus `json:"prefix"` AdditionalProperties map[string]interface{} @@ -46,6 +47,38 @@ func NewCloudNetworkPrefixAssignmentRequestWithDefaults() *CloudNetworkPrefixAss return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CloudNetworkPrefixAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudNetworkPrefixAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudNetworkPrefixAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CloudNetworkPrefixAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetCloudNetwork returns the CloudNetwork field value func (o *CloudNetworkPrefixAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus { if o == nil { @@ -104,6 +137,9 @@ func (o CloudNetworkPrefixAssignmentRequest) MarshalJSON() ([]byte, error) { func (o CloudNetworkPrefixAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["cloud_network"] = o.CloudNetwork toSerialize["prefix"] = o.Prefix @@ -150,6 +186,7 @@ func (o *CloudNetworkPrefixAssignmentRequest) UnmarshalJSON(data []byte) (err er additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "cloud_network") delete(additionalProperties, "prefix") o.AdditionalProperties = additionalProperties diff --git a/model_cloud_network_request.go b/model_cloud_network_request.go index 5bbe8f66..597d7418 100644 --- a/model_cloud_network_request.go +++ b/model_cloud_network_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CloudNetworkRequest{} // CloudNetworkRequest 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. type CloudNetworkRequest struct { + Id *string `json:"id,omitempty"` ExtraConfig interface{} `json:"extra_config,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -54,6 +55,38 @@ func NewCloudNetworkRequestWithDefaults() *CloudNetworkRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CloudNetworkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudNetworkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudNetworkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CloudNetworkRequest) SetId(v string) { + o.Id = &v +} + // GetExtraConfig returns the ExtraConfig field value if set, zero value otherwise (both if not set or set to explicit null). func (o *CloudNetworkRequest) GetExtraConfig() interface{} { if o == nil { @@ -339,6 +372,9 @@ func (o CloudNetworkRequest) MarshalJSON() ([]byte, error) { func (o CloudNetworkRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.ExtraConfig != nil { toSerialize["extra_config"] = o.ExtraConfig } @@ -405,6 +441,7 @@ func (o *CloudNetworkRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "extra_config") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_cloud_resource_type.go b/model_cloud_resource_type.go index a1c2862e..17c40cb2 100644 --- a/model_cloud_resource_type.go +++ b/model_cloud_resource_type.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CloudResourceType{} // CloudResourceType 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. type CloudResourceType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _CloudResourceType CloudResourceType // 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 -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 { this := CloudResourceType{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewCloudResourceTypeWithDefaults() *CloudResourceType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CloudResourceType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CloudResourceType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudResourceType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CloudResourceType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -478,7 +485,9 @@ func (o CloudResourceType) MarshalJSON() ([]byte, error) { func (o CloudResourceType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -514,7 +523,6 @@ func (o *CloudResourceType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cloud_resource_type_request.go b/model_cloud_resource_type_request.go index 03985851..ade3235e 100644 --- a/model_cloud_resource_type_request.go +++ b/model_cloud_resource_type_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CloudResourceTypeRequest{} // CloudResourceTypeRequest 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. type CloudResourceTypeRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` // Type of cloud objects Name string `json:"name"` @@ -54,6 +55,38 @@ func NewCloudResourceTypeRequestWithDefaults() *CloudResourceTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CloudResourceTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudResourceTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudResourceTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CloudResourceTypeRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *CloudResourceTypeRequest) GetContentTypes() []string { if o == nil { @@ -297,6 +330,9 @@ func (o CloudResourceTypeRequest) MarshalJSON() ([]byte, error) { func (o CloudResourceTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -360,6 +396,7 @@ func (o *CloudResourceTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_cloud_service.go b/model_cloud_service.go index 9072b466..0fa9de5a 100644 --- a/model_cloud_service.go +++ b/model_cloud_service.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CloudService{} // CloudService 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. type CloudService struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _CloudService CloudService // 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 -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 { this := CloudService{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewCloudServiceWithDefaults() *CloudService { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CloudService) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CloudService) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudService) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CloudService) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -520,7 +527,9 @@ func (o CloudService) MarshalJSON() ([]byte, error) { func (o CloudService) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -559,7 +568,6 @@ func (o *CloudService) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cloud_service_network_assignment.go b/model_cloud_service_network_assignment.go index 7da5228d..19fdd8c0 100644 --- a/model_cloud_service_network_assignment.go +++ b/model_cloud_service_network_assignment.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &CloudServiceNetworkAssignment{} // CloudServiceNetworkAssignment 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) type CloudServiceNetworkAssignment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -37,9 +37,8 @@ type _CloudServiceNetworkAssignment CloudServiceNetworkAssignment // 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 -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 { this := CloudServiceNetworkAssignment{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -57,28 +56,36 @@ func NewCloudServiceNetworkAssignmentWithDefaults() *CloudServiceNetworkAssignme return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CloudServiceNetworkAssignment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CloudServiceNetworkAssignment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudServiceNetworkAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CloudServiceNetworkAssignment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -235,7 +242,9 @@ func (o CloudServiceNetworkAssignment) MarshalJSON() ([]byte, error) { func (o CloudServiceNetworkAssignment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -255,7 +264,6 @@ func (o *CloudServiceNetworkAssignment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cloud_service_network_assignment_request.go b/model_cloud_service_network_assignment_request.go index c09c23dc..1ca094b1 100644 --- a/model_cloud_service_network_assignment_request.go +++ b/model_cloud_service_network_assignment_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CloudServiceNetworkAssignmentRequest{} // CloudServiceNetworkAssignmentRequest 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) type CloudServiceNetworkAssignmentRequest struct { + Id *string `json:"id,omitempty"` CloudNetwork BulkWritableCableRequestStatus `json:"cloud_network"` CloudService BulkWritableCableRequestStatus `json:"cloud_service"` AdditionalProperties map[string]interface{} @@ -46,6 +47,38 @@ func NewCloudServiceNetworkAssignmentRequestWithDefaults() *CloudServiceNetworkA return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CloudServiceNetworkAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudServiceNetworkAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudServiceNetworkAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CloudServiceNetworkAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetCloudNetwork returns the CloudNetwork field value func (o *CloudServiceNetworkAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus { if o == nil { @@ -104,6 +137,9 @@ func (o CloudServiceNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { func (o CloudServiceNetworkAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["cloud_network"] = o.CloudNetwork toSerialize["cloud_service"] = o.CloudService @@ -150,6 +186,7 @@ func (o *CloudServiceNetworkAssignmentRequest) UnmarshalJSON(data []byte) (err e additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "cloud_network") delete(additionalProperties, "cloud_service") o.AdditionalProperties = additionalProperties diff --git a/model_cloud_service_request.go b/model_cloud_service_request.go index 1f3bcb63..a3bf526c 100644 --- a/model_cloud_service_request.go +++ b/model_cloud_service_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CloudServiceRequest{} // CloudServiceRequest 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. type CloudServiceRequest struct { + Id *string `json:"id,omitempty"` ExtraConfig interface{} `json:"extra_config,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -52,6 +53,38 @@ func NewCloudServiceRequestWithDefaults() *CloudServiceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CloudServiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudServiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudServiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CloudServiceRequest) SetId(v string) { + o.Id = &v +} + // GetExtraConfig returns the ExtraConfig field value if set, zero value otherwise (both if not set or set to explicit null). func (o *CloudServiceRequest) GetExtraConfig() interface{} { if o == nil { @@ -313,6 +346,9 @@ func (o CloudServiceRequest) MarshalJSON() ([]byte, error) { func (o CloudServiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.ExtraConfig != nil { toSerialize["extra_config"] = o.ExtraConfig } @@ -377,6 +413,7 @@ func (o *CloudServiceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "extra_config") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_cluster.go b/model_cluster.go index 95c53c41..58d38e07 100644 --- a/model_cluster.go +++ b/model_cluster.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Cluster{} // Cluster 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. type Cluster struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -49,9 +49,8 @@ type _Cluster Cluster // 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 -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 { this := Cluster{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -72,28 +71,36 @@ func NewClusterWithDefaults() *Cluster { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Cluster) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Cluster) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Cluster) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Cluster) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -612,7 +619,9 @@ func (o Cluster) MarshalJSON() ([]byte, error) { func (o Cluster) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -659,7 +668,6 @@ func (o *Cluster) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cluster_group.go b/model_cluster_group.go index 40fdc10c..8f0d44bd 100644 --- a/model_cluster_group.go +++ b/model_cluster_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ClusterGroup{} // ClusterGroup 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. type ClusterGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -43,9 +43,8 @@ type _ClusterGroup ClusterGroup // 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 -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 { this := ClusterGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -65,28 +64,36 @@ func NewClusterGroupWithDefaults() *ClusterGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ClusterGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ClusterGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ClusterGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ClusterGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -391,7 +398,9 @@ func (o ClusterGroup) MarshalJSON() ([]byte, error) { func (o ClusterGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -422,7 +431,6 @@ func (o *ClusterGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cluster_group_request.go b/model_cluster_group_request.go index 0580ccdd..94bb6536 100644 --- a/model_cluster_group_request.go +++ b/model_cluster_group_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ClusterGroupRequest{} // ClusterGroupRequest 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. type ClusterGroupRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -47,6 +48,38 @@ func NewClusterGroupRequestWithDefaults() *ClusterGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ClusterGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ClusterGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ClusterGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ClusterGroupRequest) GetName() string { if o == nil { @@ -177,6 +210,9 @@ func (o ClusterGroupRequest) MarshalJSON() ([]byte, error) { func (o ClusterGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -230,6 +266,7 @@ func (o *ClusterGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_cluster_request.go b/model_cluster_request.go index a45d3a9c..1eea076c 100644 --- a/model_cluster_request.go +++ b/model_cluster_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ClusterRequest{} // ClusterRequest 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. type ClusterRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Comments *string `json:"comments,omitempty"` ClusterType BulkWritableCableRequestStatus `json:"cluster_type"` @@ -53,6 +54,38 @@ func NewClusterRequestWithDefaults() *ClusterRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ClusterRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ClusterRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ClusterRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ClusterRequest) GetName() string { if o == nil { @@ -365,6 +398,9 @@ func (o ClusterRequest) MarshalJSON() ([]byte, error) { func (o ClusterRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments @@ -432,6 +468,7 @@ func (o *ClusterRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "comments") delete(additionalProperties, "cluster_type") diff --git a/model_cluster_type.go b/model_cluster_type.go index ad966762..e1d14693 100644 --- a/model_cluster_type.go +++ b/model_cluster_type.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ClusterType{} // ClusterType 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. type ClusterType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -43,9 +43,8 @@ type _ClusterType ClusterType // 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 -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 { this := ClusterType{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -65,28 +64,36 @@ func NewClusterTypeWithDefaults() *ClusterType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ClusterType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ClusterType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ClusterType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ClusterType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -391,7 +398,9 @@ func (o ClusterType) MarshalJSON() ([]byte, error) { func (o ClusterType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -422,7 +431,6 @@ func (o *ClusterType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_cluster_type_request.go b/model_cluster_type_request.go index e7625c1b..971d1af5 100644 --- a/model_cluster_type_request.go +++ b/model_cluster_type_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ClusterTypeRequest{} // ClusterTypeRequest 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. type ClusterTypeRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -47,6 +48,38 @@ func NewClusterTypeRequestWithDefaults() *ClusterTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ClusterTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ClusterTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ClusterTypeRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ClusterTypeRequest) GetName() string { if o == nil { @@ -177,6 +210,9 @@ func (o ClusterTypeRequest) MarshalJSON() ([]byte, error) { func (o ClusterTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -230,6 +266,7 @@ func (o *ClusterTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_computed_field.go b/model_computed_field.go index 4e98e6a7..5fcbaf6e 100644 --- a/model_computed_field.go +++ b/model_computed_field.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ComputedField{} // ComputedField 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) type ComputedField struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -54,9 +54,8 @@ type _ComputedField ComputedField // 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 -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 { this := ComputedField{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -78,28 +77,36 @@ func NewComputedFieldWithDefaults() *ComputedField { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ComputedField) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ComputedField) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ComputedField) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ComputedField) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -548,7 +555,9 @@ func (o ComputedField) MarshalJSON() ([]byte, error) { func (o ComputedField) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -590,7 +599,6 @@ func (o *ComputedField) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_computed_field_request.go b/model_computed_field_request.go index 36634250..5c25683d 100644 --- a/model_computed_field_request.go +++ b/model_computed_field_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ComputedFieldRequest{} // ComputedFieldRequest 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) type ComputedFieldRequest struct { + Id *string `json:"id,omitempty"` ContentType string `json:"content_type"` // Internal field name. Please use underscores rather than dashes in this key. Key *string `json:"key,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` @@ -60,6 +61,38 @@ func NewComputedFieldRequestWithDefaults() *ComputedFieldRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ComputedFieldRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ComputedFieldRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ComputedFieldRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ComputedFieldRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value func (o *ComputedFieldRequest) GetContentType() string { if o == nil { @@ -334,6 +367,9 @@ func (o ComputedFieldRequest) MarshalJSON() ([]byte, error) { func (o ComputedFieldRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_type"] = o.ContentType if !IsNil(o.Key) { toSerialize["key"] = o.Key @@ -400,6 +436,7 @@ func (o *ComputedFieldRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "key") delete(additionalProperties, "grouping") diff --git a/model_config_context.go b/model_config_context.go index 0849f5d9..a523317d 100644 --- a/model_config_context.go +++ b/model_config_context.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. @@ -21,14 +21,14 @@ var _ MappedNullable = &ConfigContext{} // ConfigContext 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) type ConfigContext struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` - Owner NullableConfigContextOwner `json:"owner"` + Owner NullableNestedGitRepository `json:"owner"` Name string `json:"name"` OwnerObjectId NullableString `json:"owner_object_id,omitempty"` Weight *int32 `json:"weight,omitempty"` @@ -58,9 +58,8 @@ type _ConfigContext ConfigContext // 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 -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 { this := ConfigContext{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -82,28 +81,36 @@ func NewConfigContextWithDefaults() *ConfigContext { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ConfigContext) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ConfigContext) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConfigContext) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ConfigContext) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -245,10 +252,10 @@ func (o *ConfigContext) UnsetOwnerContentType() { } // GetOwner returns the Owner field value -// If the value is explicit nil, the zero value for ConfigContextOwner will be returned -func (o *ConfigContext) GetOwner() ConfigContextOwner { +// If the value is explicit nil, the zero value for NestedGitRepository will be returned +func (o *ConfigContext) GetOwner() NestedGitRepository { if o == nil || o.Owner.Get() == nil { - var ret ConfigContextOwner + var ret NestedGitRepository return ret } @@ -258,7 +265,7 @@ func (o *ConfigContext) GetOwner() ConfigContextOwner { // GetOwnerOk returns a tuple with the Owner field value // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ConfigContext) GetOwnerOk() (*ConfigContextOwner, bool) { +func (o *ConfigContext) GetOwnerOk() (*NestedGitRepository, bool) { if o == nil { return nil, false } @@ -266,7 +273,7 @@ func (o *ConfigContext) GetOwnerOk() (*ConfigContextOwner, bool) { } // SetOwner sets field value -func (o *ConfigContext) SetOwner(v ConfigContextOwner) { +func (o *ConfigContext) SetOwner(v NestedGitRepository) { o.Owner.Set(&v) } @@ -906,7 +913,9 @@ func (o ConfigContext) MarshalJSON() ([]byte, error) { func (o ConfigContext) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -980,7 +989,6 @@ func (o *ConfigContext) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_config_context_owner.go b/model_config_context_owner.go deleted file mode 100644 index 70495d56..00000000 --- a/model_config_context_owner.go +++ /dev/null @@ -1,123 +0,0 @@ -/* -API Documentation - -Source of truth and network automation platform - -API version: 2.3.4 (2.3) -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package nautobot - -import ( - "encoding/json" - "gopkg.in/validator.v2" - "fmt" -) - -// ConfigContextOwner - struct for ConfigContextOwner -type ConfigContextOwner struct { - NestedGitRepository *NestedGitRepository -} - -// NestedGitRepositoryAsConfigContextOwner is a convenience function that returns NestedGitRepository wrapped in ConfigContextOwner -func NestedGitRepositoryAsConfigContextOwner(v *NestedGitRepository) ConfigContextOwner { - return ConfigContextOwner{ - NestedGitRepository: v, - } -} - - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *ConfigContextOwner) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into NestedGitRepository - err = newStrictDecoder(data).Decode(&dst.NestedGitRepository) - if err == nil { - jsonNestedGitRepository, _ := json.Marshal(dst.NestedGitRepository) - if string(jsonNestedGitRepository) == "{}" { // empty struct - dst.NestedGitRepository = nil - } else { - if err = validator.Validate(dst.NestedGitRepository); err != nil { - dst.NestedGitRepository = nil - } else { - match++ - } - } - } else { - dst.NestedGitRepository = nil - } - - if match > 1 { // more than 1 match - // reset to nil - dst.NestedGitRepository = nil - - return fmt.Errorf("data matches more than one schema in oneOf(ConfigContextOwner)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(ConfigContextOwner)") - } -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ConfigContextOwner) MarshalJSON() ([]byte, error) { - if src.NestedGitRepository != nil { - return json.Marshal(&src.NestedGitRepository) - } - - return nil, nil // no data in oneOf schemas -} - -// Get the actual instance -func (obj *ConfigContextOwner) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.NestedGitRepository != nil { - return obj.NestedGitRepository - } - - // all schemas are nil - return nil -} - -type NullableConfigContextOwner struct { - value *ConfigContextOwner - isSet bool -} - -func (v NullableConfigContextOwner) Get() *ConfigContextOwner { - return v.value -} - -func (v *NullableConfigContextOwner) Set(val *ConfigContextOwner) { - v.value = val - v.isSet = true -} - -func (v NullableConfigContextOwner) IsSet() bool { - return v.isSet -} - -func (v *NullableConfigContextOwner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableConfigContextOwner(val *ConfigContextOwner) *NullableConfigContextOwner { - return &NullableConfigContextOwner{value: val, isSet: true} -} - -func (v NullableConfigContextOwner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableConfigContextOwner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_config_context_request.go b/model_config_context_request.go index fe994718..ead4cfdf 100644 --- a/model_config_context_request.go +++ b/model_config_context_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ConfigContextRequest{} // ConfigContextRequest 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) type ConfigContextRequest struct { + Id *string `json:"id,omitempty"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` Name string `json:"name"` OwnerObjectId NullableString `json:"owner_object_id,omitempty"` @@ -62,6 +63,38 @@ func NewConfigContextRequestWithDefaults() *ConfigContextRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ConfigContextRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConfigContextRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConfigContextRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ConfigContextRequest) SetId(v string) { + o.Id = &v +} + // GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ConfigContextRequest) GetOwnerContentType() string { if o == nil || IsNil(o.OwnerContentType.Get()) { @@ -664,6 +697,9 @@ func (o ConfigContextRequest) MarshalJSON() ([]byte, error) { func (o ConfigContextRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.OwnerContentType.IsSet() { toSerialize["owner_content_type"] = o.OwnerContentType.Get() } @@ -760,6 +796,7 @@ func (o *ConfigContextRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "owner_content_type") delete(additionalProperties, "name") delete(additionalProperties, "owner_object_id") diff --git a/model_config_context_schema.go b/model_config_context_schema.go index 08aa82dd..71cb26e8 100644 --- a/model_config_context_schema.go +++ b/model_config_context_schema.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. @@ -21,14 +21,14 @@ var _ MappedNullable = &ConfigContextSchema{} // ConfigContextSchema 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. type ConfigContextSchema struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` - Owner NullableConfigContextSchemaOwner `json:"owner"` + Owner NullableNestedGitRepository `json:"owner"` Name string `json:"name"` Description *string `json:"description,omitempty"` // A JSON Schema document which is used to validate a config context object. @@ -47,9 +47,8 @@ type _ConfigContextSchema ConfigContextSchema // 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 -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 { this := ConfigContextSchema{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewConfigContextSchemaWithDefaults() *ConfigContextSchema { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ConfigContextSchema) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ConfigContextSchema) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConfigContextSchema) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ConfigContextSchema) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -234,10 +241,10 @@ func (o *ConfigContextSchema) UnsetOwnerContentType() { } // GetOwner returns the Owner field value -// If the value is explicit nil, the zero value for ConfigContextSchemaOwner will be returned -func (o *ConfigContextSchema) GetOwner() ConfigContextSchemaOwner { +// If the value is explicit nil, the zero value for NestedGitRepository will be returned +func (o *ConfigContextSchema) GetOwner() NestedGitRepository { if o == nil || o.Owner.Get() == nil { - var ret ConfigContextSchemaOwner + var ret NestedGitRepository return ret } @@ -247,7 +254,7 @@ func (o *ConfigContextSchema) GetOwner() ConfigContextSchemaOwner { // GetOwnerOk returns a tuple with the Owner field value // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ConfigContextSchema) GetOwnerOk() (*ConfigContextSchemaOwner, bool) { +func (o *ConfigContextSchema) GetOwnerOk() (*NestedGitRepository, bool) { if o == nil { return nil, false } @@ -255,7 +262,7 @@ func (o *ConfigContextSchema) GetOwnerOk() (*ConfigContextSchemaOwner, bool) { } // SetOwner sets field value -func (o *ConfigContextSchema) SetOwner(v ConfigContextSchemaOwner) { +func (o *ConfigContextSchema) SetOwner(v NestedGitRepository) { o.Owner.Set(&v) } @@ -501,7 +508,9 @@ func (o ConfigContextSchema) MarshalJSON() ([]byte, error) { func (o ConfigContextSchema) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -539,7 +548,6 @@ func (o *ConfigContextSchema) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_config_context_schema_owner.go b/model_config_context_schema_owner.go deleted file mode 100644 index fdc978a0..00000000 --- a/model_config_context_schema_owner.go +++ /dev/null @@ -1,123 +0,0 @@ -/* -API Documentation - -Source of truth and network automation platform - -API version: 2.3.4 (2.3) -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package nautobot - -import ( - "encoding/json" - "gopkg.in/validator.v2" - "fmt" -) - -// ConfigContextSchemaOwner - struct for ConfigContextSchemaOwner -type ConfigContextSchemaOwner struct { - NestedGitRepository *NestedGitRepository -} - -// NestedGitRepositoryAsConfigContextSchemaOwner is a convenience function that returns NestedGitRepository wrapped in ConfigContextSchemaOwner -func NestedGitRepositoryAsConfigContextSchemaOwner(v *NestedGitRepository) ConfigContextSchemaOwner { - return ConfigContextSchemaOwner{ - NestedGitRepository: v, - } -} - - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *ConfigContextSchemaOwner) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into NestedGitRepository - err = newStrictDecoder(data).Decode(&dst.NestedGitRepository) - if err == nil { - jsonNestedGitRepository, _ := json.Marshal(dst.NestedGitRepository) - if string(jsonNestedGitRepository) == "{}" { // empty struct - dst.NestedGitRepository = nil - } else { - if err = validator.Validate(dst.NestedGitRepository); err != nil { - dst.NestedGitRepository = nil - } else { - match++ - } - } - } else { - dst.NestedGitRepository = nil - } - - if match > 1 { // more than 1 match - // reset to nil - dst.NestedGitRepository = nil - - return fmt.Errorf("data matches more than one schema in oneOf(ConfigContextSchemaOwner)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(ConfigContextSchemaOwner)") - } -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ConfigContextSchemaOwner) MarshalJSON() ([]byte, error) { - if src.NestedGitRepository != nil { - return json.Marshal(&src.NestedGitRepository) - } - - return nil, nil // no data in oneOf schemas -} - -// Get the actual instance -func (obj *ConfigContextSchemaOwner) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.NestedGitRepository != nil { - return obj.NestedGitRepository - } - - // all schemas are nil - return nil -} - -type NullableConfigContextSchemaOwner struct { - value *ConfigContextSchemaOwner - isSet bool -} - -func (v NullableConfigContextSchemaOwner) Get() *ConfigContextSchemaOwner { - return v.value -} - -func (v *NullableConfigContextSchemaOwner) Set(val *ConfigContextSchemaOwner) { - v.value = val - v.isSet = true -} - -func (v NullableConfigContextSchemaOwner) IsSet() bool { - return v.isSet -} - -func (v *NullableConfigContextSchemaOwner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableConfigContextSchemaOwner(val *ConfigContextSchemaOwner) *NullableConfigContextSchemaOwner { - return &NullableConfigContextSchemaOwner{value: val, isSet: true} -} - -func (v NullableConfigContextSchemaOwner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableConfigContextSchemaOwner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_config_context_schema_request.go b/model_config_context_schema_request.go index 3eef2f75..81326987 100644 --- a/model_config_context_schema_request.go +++ b/model_config_context_schema_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ConfigContextSchemaRequest{} // ConfigContextSchemaRequest 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. type ConfigContextSchemaRequest struct { + Id *string `json:"id,omitempty"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -52,6 +53,38 @@ func NewConfigContextSchemaRequestWithDefaults() *ConfigContextSchemaRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ConfigContextSchemaRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConfigContextSchemaRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConfigContextSchemaRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ConfigContextSchemaRequest) SetId(v string) { + o.Id = &v +} + // GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ConfigContextSchemaRequest) GetOwnerContentType() string { if o == nil || IsNil(o.OwnerContentType.Get()) { @@ -292,6 +325,9 @@ func (o ConfigContextSchemaRequest) MarshalJSON() ([]byte, error) { func (o ConfigContextSchemaRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.OwnerContentType.IsSet() { toSerialize["owner_content_type"] = o.OwnerContentType.Get() } @@ -355,6 +391,7 @@ func (o *ConfigContextSchemaRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "owner_content_type") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_console_port.go b/model_console_port.go index f475de56..353e44c6 100644 --- a/model_console_port.go +++ b/model_console_port.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ConsolePort{} // ConsolePort 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. type ConsolePort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -54,9 +54,8 @@ type _ConsolePort ConsolePort // 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 -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 { this := ConsolePort{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -82,28 +81,36 @@ func NewConsolePortWithDefaults() *ConsolePort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ConsolePort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ConsolePort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConsolePort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ConsolePort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -712,7 +719,9 @@ func (o ConsolePort) MarshalJSON() ([]byte, error) { func (o ConsolePort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -761,7 +770,6 @@ func (o *ConsolePort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_console_port_template.go b/model_console_port_template.go index cf6ecace..eb6cac31 100644 --- a/model_console_port_template.go +++ b/model_console_port_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ConsolePortTemplate{} // ConsolePortTemplate 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. type ConsolePortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _ConsolePortTemplate ConsolePortTemplate // 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 -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 { this := ConsolePortTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -69,28 +68,36 @@ func NewConsolePortTemplateWithDefaults() *ConsolePortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ConsolePortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ConsolePortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConsolePortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ConsolePortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -511,7 +518,9 @@ func (o ConsolePortTemplate) MarshalJSON() ([]byte, error) { func (o ConsolePortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -551,7 +560,6 @@ func (o *ConsolePortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_console_port_type.go b/model_console_port_type.go index 76e57e3b..ebbb7eea 100644 --- a/model_console_port_type.go +++ b/model_console_port_type.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/model_console_port_type_choices.go b/model_console_port_type_choices.go index a9a6c3ce..35f4e21d 100644 --- a/model_console_port_type_choices.go +++ b/model_console_port_type_choices.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/model_console_port_type_label.go b/model_console_port_type_label.go index cf241bf1..a377a477 100644 --- a/model_console_port_type_label.go +++ b/model_console_port_type_label.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/model_console_port_type_value.go b/model_console_port_type_value.go index 7a0d07e1..b5640b9c 100644 --- a/model_console_port_type_value.go +++ b/model_console_port_type_value.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/model_console_server_port.go b/model_console_server_port.go index f5e15a24..205c03f5 100644 --- a/model_console_server_port.go +++ b/model_console_server_port.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ConsoleServerPort{} // ConsoleServerPort 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. type ConsoleServerPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -54,9 +54,8 @@ type _ConsoleServerPort ConsoleServerPort // 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 -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 { this := ConsoleServerPort{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -82,28 +81,36 @@ func NewConsoleServerPortWithDefaults() *ConsoleServerPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ConsoleServerPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ConsoleServerPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConsoleServerPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ConsoleServerPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -712,7 +719,9 @@ func (o ConsoleServerPort) MarshalJSON() ([]byte, error) { func (o ConsoleServerPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -761,7 +770,6 @@ func (o *ConsoleServerPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_console_server_port_template.go b/model_console_server_port_template.go index 3de8e706..acd8be7a 100644 --- a/model_console_server_port_template.go +++ b/model_console_server_port_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ConsoleServerPortTemplate{} // ConsoleServerPortTemplate 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. type ConsoleServerPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _ConsoleServerPortTemplate ConsoleServerPortTemplate // 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 -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 { this := ConsoleServerPortTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -69,28 +68,36 @@ func NewConsoleServerPortTemplateWithDefaults() *ConsoleServerPortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ConsoleServerPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ConsoleServerPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ConsoleServerPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ConsoleServerPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -511,7 +518,9 @@ func (o ConsoleServerPortTemplate) MarshalJSON() ([]byte, error) { func (o ConsoleServerPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -551,7 +560,6 @@ func (o *ConsoleServerPortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_contact.go b/model_contact.go index a28e742c..0626a58f 100644 --- a/model_contact.go +++ b/model_contact.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. @@ -21,13 +21,12 @@ var _ MappedNullable = &Contact{} // Contact 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. type Contact struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` - Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` Name string `json:"name"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` @@ -37,6 +36,8 @@ type Contact struct { LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` AdditionalProperties map[string]interface{} } @@ -46,9 +47,8 @@ type _Contact Contact // 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 -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 { this := Contact{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -76,28 +76,36 @@ func NewContactWithDefaults() *Contact { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Contact) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Contact) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *Contact) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Contact) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -196,38 +204,6 @@ func (o *Contact) SetNaturalSlug(v string) { o.NaturalSlug = v } -// GetTeams returns the Teams field value if set, zero value otherwise. -func (o *Contact) GetTeams() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Teams) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Teams -} - -// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Contact) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Teams) { - return nil, false - } - return o.Teams, true -} - -// HasTeams returns a boolean if a field has been set. -func (o *Contact) HasTeams() bool { - if o != nil && !IsNil(o.Teams) { - return true - } - - return false -} - -// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. -func (o *Contact) SetTeams(v []BulkWritableCableRequestStatus) { - o.Teams = v -} - // GetName returns the Name field value func (o *Contact) GetName() string { if o == nil { @@ -488,6 +464,70 @@ func (o *Contact) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Contact) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *Contact) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *Contact) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *Contact) GetTeams() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Teams) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *Contact) HasTeams() bool { + if o != nil && !IsNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. +func (o *Contact) SetTeams(v []BulkWritableCableRequestStatus) { + o.Teams = v +} + func (o Contact) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -498,14 +538,13 @@ func (o Contact) MarshalJSON() ([]byte, error) { func (o Contact) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug - if !IsNil(o.Teams) { - toSerialize["teams"] = o.Teams - } toSerialize["name"] = o.Name if !IsNil(o.Phone) { toSerialize["phone"] = o.Phone @@ -525,6 +564,12 @@ func (o Contact) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.Teams) { + toSerialize["teams"] = o.Teams + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -538,7 +583,6 @@ func (o *Contact) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -581,7 +625,6 @@ func (o *Contact) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") - delete(additionalProperties, "teams") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") @@ -591,6 +634,8 @@ func (o *Contact) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") + delete(additionalProperties, "teams") o.AdditionalProperties = additionalProperties } diff --git a/model_contact_association.go b/model_contact_association.go index f7a15316..f8d44f31 100644 --- a/model_contact_association.go +++ b/model_contact_association.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ContactAssociation{} // ContactAssociation 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. type ContactAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -46,9 +46,8 @@ type _ContactAssociation ContactAssociation // 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 -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 { this := ContactAssociation{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewContactAssociationWithDefaults() *ContactAssociation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ContactAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ContactAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ContactAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ContactAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -489,7 +496,9 @@ func (o ContactAssociation) MarshalJSON() ([]byte, error) { func (o ContactAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -523,7 +532,6 @@ func (o *ContactAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_contact_association_request.go b/model_contact_association_request.go index 2c4f29d1..eb866ad8 100644 --- a/model_contact_association_request.go +++ b/model_contact_association_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ContactAssociationRequest{} // ContactAssociationRequest 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. type ContactAssociationRequest struct { + Id *string `json:"id,omitempty"` AssociatedObjectType string `json:"associated_object_type"` AssociatedObjectId string `json:"associated_object_id"` Contact NullableBulkWritableCircuitRequestTenant `json:"contact,omitempty"` @@ -54,6 +55,38 @@ func NewContactAssociationRequestWithDefaults() *ContactAssociationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ContactAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ContactAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ContactAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetAssociatedObjectType returns the AssociatedObjectType field value func (o *ContactAssociationRequest) GetAssociatedObjectType() string { if o == nil { @@ -308,6 +341,9 @@ func (o ContactAssociationRequest) MarshalJSON() ([]byte, error) { func (o ContactAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["associated_object_type"] = o.AssociatedObjectType toSerialize["associated_object_id"] = o.AssociatedObjectId if o.Contact.IsSet() { @@ -370,6 +406,7 @@ func (o *ContactAssociationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "associated_object_type") delete(additionalProperties, "associated_object_id") delete(additionalProperties, "contact") diff --git a/model_contact_request.go b/model_contact_request.go index 2abd10ef..666b8f87 100644 --- a/model_contact_request.go +++ b/model_contact_request.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &ContactRequest{} // ContactRequest 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. type ContactRequest struct { - Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` + Id *string `json:"id,omitempty"` Name string `json:"name"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` @@ -28,6 +28,8 @@ type ContactRequest struct { Comments *string `json:"comments,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` AdditionalProperties map[string]interface{} } @@ -59,36 +61,36 @@ func NewContactRequestWithDefaults() *ContactRequest { return &this } -// GetTeams returns the Teams field value if set, zero value otherwise. -func (o *ContactRequest) GetTeams() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Teams) { - var ret []BulkWritableCableRequestStatus +// GetId returns the Id field value if set, zero value otherwise. +func (o *ContactRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string return ret } - return o.Teams + return *o.Id } -// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Teams) { +func (o *ContactRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { return nil, false } - return o.Teams, true + return o.Id, true } -// HasTeams returns a boolean if a field has been set. -func (o *ContactRequest) HasTeams() bool { - if o != nil && !IsNil(o.Teams) { +// HasId returns a boolean if a field has been set. +func (o *ContactRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { return true } return false } -// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. -func (o *ContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { - o.Teams = v +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ContactRequest) SetId(v string) { + o.Id = &v } // GetName returns the Name field value @@ -307,6 +309,70 @@ func (o *ContactRequest) SetRelationships(v map[string]BulkWritableCableRequestR o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ContactRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *ContactRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *ContactRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *ContactRequest) GetTeams() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Teams) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *ContactRequest) HasTeams() bool { + if o != nil && !IsNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. +func (o *ContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { + o.Teams = v +} + func (o ContactRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -317,8 +383,8 @@ func (o ContactRequest) MarshalJSON() ([]byte, error) { func (o ContactRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.Teams) { - toSerialize["teams"] = o.Teams + if !IsNil(o.Id) { + toSerialize["id"] = o.Id } toSerialize["name"] = o.Name if !IsNil(o.Phone) { @@ -339,6 +405,12 @@ func (o ContactRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.Teams) { + toSerialize["teams"] = o.Teams + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -382,7 +454,7 @@ func (o *ContactRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "teams") + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") @@ -390,6 +462,8 @@ func (o *ContactRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "comments") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + delete(additionalProperties, "teams") o.AdditionalProperties = additionalProperties } diff --git a/model_content_type.go b/model_content_type.go index a23c1bbb..04ed8d8a 100644 --- a/model_content_type.go +++ b/model_content_type.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/model_controller.go b/model_controller.go index 438b6ac2..aaca3e2b 100644 --- a/model_controller.go +++ b/model_controller.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. @@ -21,12 +21,13 @@ var _ MappedNullable = &Controller{} // Controller 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. type Controller struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` + Capabilities []ControllerCapabilitiesInner `json:"capabilities,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` @@ -51,9 +52,8 @@ type _Controller Controller // 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 -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 { this := Controller{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -75,28 +75,36 @@ func NewControllerWithDefaults() *Controller { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Controller) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Controller) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *Controller) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Controller) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -195,6 +203,39 @@ func (o *Controller) SetNaturalSlug(v string) { o.NaturalSlug = v } +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Controller) GetCapabilities() []ControllerCapabilitiesInner { + if o == nil { + var ret []ControllerCapabilitiesInner + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Controller) GetCapabilitiesOk() ([]ControllerCapabilitiesInner, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *Controller) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []ControllerCapabilitiesInner and assigns it to the Capabilities field. +func (o *Controller) SetCapabilities(v []ControllerCapabilitiesInner) { + o.Capabilities = v +} + // GetName returns the Name field value func (o *Controller) GetName() string { if o == nil { @@ -701,11 +742,16 @@ func (o Controller) MarshalJSON() ([]byte, error) { func (o Controller) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -752,7 +798,6 @@ func (o *Controller) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -797,6 +842,7 @@ func (o *Controller) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "status") diff --git a/model_controller_capabilities_inner.go b/model_controller_capabilities_inner.go new file mode 100644 index 00000000..c9b7a24e --- /dev/null +++ b/model_controller_capabilities_inner.go @@ -0,0 +1,192 @@ +/* +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 ( + "encoding/json" +) + +// checks if the ControllerCapabilitiesInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ControllerCapabilitiesInner{} + +// ControllerCapabilitiesInner struct for ControllerCapabilitiesInner +type ControllerCapabilitiesInner struct { + Value *ControllerCapabilitiesInnerValue `json:"value,omitempty"` + Label *ControllerCapabilitiesInnerLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ControllerCapabilitiesInner 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 +func NewControllerCapabilitiesInner() *ControllerCapabilitiesInner { + this := ControllerCapabilitiesInner{} + return &this +} + +// 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 +func NewControllerCapabilitiesInnerWithDefaults() *ControllerCapabilitiesInner { + this := ControllerCapabilitiesInner{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *ControllerCapabilitiesInner) GetValue() ControllerCapabilitiesInnerValue { + if o == nil || IsNil(o.Value) { + var ret ControllerCapabilitiesInnerValue + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerCapabilitiesInner) GetValueOk() (*ControllerCapabilitiesInnerValue, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *ControllerCapabilitiesInner) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given ControllerCapabilitiesInnerValue and assigns it to the Value field. +func (o *ControllerCapabilitiesInner) SetValue(v ControllerCapabilitiesInnerValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *ControllerCapabilitiesInner) GetLabel() ControllerCapabilitiesInnerLabel { + if o == nil || IsNil(o.Label) { + var ret ControllerCapabilitiesInnerLabel + return ret + } + return *o.Label +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerCapabilitiesInner) GetLabelOk() (*ControllerCapabilitiesInnerLabel, bool) { + if o == nil || IsNil(o.Label) { + return nil, false + } + return o.Label, true +} + +// HasLabel returns a boolean if a field has been set. +func (o *ControllerCapabilitiesInner) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given ControllerCapabilitiesInnerLabel and assigns it to the Label field. +func (o *ControllerCapabilitiesInner) SetLabel(v ControllerCapabilitiesInnerLabel) { + o.Label = &v +} + +func (o ControllerCapabilitiesInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ControllerCapabilitiesInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ControllerCapabilitiesInner) UnmarshalJSON(data []byte) (err error) { + varControllerCapabilitiesInner := _ControllerCapabilitiesInner{} + + err = json.Unmarshal(data, &varControllerCapabilitiesInner) + + if err != nil { + return err + } + + *o = ControllerCapabilitiesInner(varControllerCapabilitiesInner) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "value") + delete(additionalProperties, "label") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableControllerCapabilitiesInner struct { + value *ControllerCapabilitiesInner + isSet bool +} + +func (v NullableControllerCapabilitiesInner) Get() *ControllerCapabilitiesInner { + return v.value +} + +func (v *NullableControllerCapabilitiesInner) Set(val *ControllerCapabilitiesInner) { + v.value = val + v.isSet = true +} + +func (v NullableControllerCapabilitiesInner) IsSet() bool { + return v.isSet +} + +func (v *NullableControllerCapabilitiesInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableControllerCapabilitiesInner(val *ControllerCapabilitiesInner) *NullableControllerCapabilitiesInner { + return &NullableControllerCapabilitiesInner{value: val, isSet: true} +} + +func (v NullableControllerCapabilitiesInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableControllerCapabilitiesInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_controller_capabilities_inner_label.go b/model_controller_capabilities_inner_label.go new file mode 100644 index 00000000..4ed80e88 --- /dev/null +++ b/model_controller_capabilities_inner_label.go @@ -0,0 +1,109 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// ControllerCapabilitiesInnerLabel the model 'ControllerCapabilitiesInnerLabel' +type ControllerCapabilitiesInnerLabel string + +// List of Controller_capabilities_inner_label +const ( + CONTROLLERCAPABILITIESINNERLABEL_WIRELESS ControllerCapabilitiesInnerLabel = "Wireless" +) + +// All allowed values of ControllerCapabilitiesInnerLabel enum +var AllowedControllerCapabilitiesInnerLabelEnumValues = []ControllerCapabilitiesInnerLabel{ + "Wireless", +} + +func (v *ControllerCapabilitiesInnerLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ControllerCapabilitiesInnerLabel(value) + for _, existing := range AllowedControllerCapabilitiesInnerLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ControllerCapabilitiesInnerLabel", value) +} + +// NewControllerCapabilitiesInnerLabelFromValue returns a pointer to a valid ControllerCapabilitiesInnerLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewControllerCapabilitiesInnerLabelFromValue(v string) (*ControllerCapabilitiesInnerLabel, error) { + ev := ControllerCapabilitiesInnerLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ControllerCapabilitiesInnerLabel: valid values are %v", v, AllowedControllerCapabilitiesInnerLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ControllerCapabilitiesInnerLabel) IsValid() bool { + for _, existing := range AllowedControllerCapabilitiesInnerLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Controller_capabilities_inner_label value +func (v ControllerCapabilitiesInnerLabel) Ptr() *ControllerCapabilitiesInnerLabel { + return &v +} + +type NullableControllerCapabilitiesInnerLabel struct { + value *ControllerCapabilitiesInnerLabel + isSet bool +} + +func (v NullableControllerCapabilitiesInnerLabel) Get() *ControllerCapabilitiesInnerLabel { + return v.value +} + +func (v *NullableControllerCapabilitiesInnerLabel) Set(val *ControllerCapabilitiesInnerLabel) { + v.value = val + v.isSet = true +} + +func (v NullableControllerCapabilitiesInnerLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableControllerCapabilitiesInnerLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableControllerCapabilitiesInnerLabel(val *ControllerCapabilitiesInnerLabel) *NullableControllerCapabilitiesInnerLabel { + return &NullableControllerCapabilitiesInnerLabel{value: val, isSet: true} +} + +func (v NullableControllerCapabilitiesInnerLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableControllerCapabilitiesInnerLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_controller_capabilities_inner_value.go b/model_controller_capabilities_inner_value.go new file mode 100644 index 00000000..a22c0ed2 --- /dev/null +++ b/model_controller_capabilities_inner_value.go @@ -0,0 +1,109 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// ControllerCapabilitiesInnerValue the model 'ControllerCapabilitiesInnerValue' +type ControllerCapabilitiesInnerValue string + +// List of Controller_capabilities_inner_value +const ( + CONTROLLERCAPABILITIESINNERVALUE_WIRELESS ControllerCapabilitiesInnerValue = "wireless" +) + +// All allowed values of ControllerCapabilitiesInnerValue enum +var AllowedControllerCapabilitiesInnerValueEnumValues = []ControllerCapabilitiesInnerValue{ + "wireless", +} + +func (v *ControllerCapabilitiesInnerValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ControllerCapabilitiesInnerValue(value) + for _, existing := range AllowedControllerCapabilitiesInnerValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ControllerCapabilitiesInnerValue", value) +} + +// NewControllerCapabilitiesInnerValueFromValue returns a pointer to a valid ControllerCapabilitiesInnerValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewControllerCapabilitiesInnerValueFromValue(v string) (*ControllerCapabilitiesInnerValue, error) { + ev := ControllerCapabilitiesInnerValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ControllerCapabilitiesInnerValue: valid values are %v", v, AllowedControllerCapabilitiesInnerValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ControllerCapabilitiesInnerValue) IsValid() bool { + for _, existing := range AllowedControllerCapabilitiesInnerValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Controller_capabilities_inner_value value +func (v ControllerCapabilitiesInnerValue) Ptr() *ControllerCapabilitiesInnerValue { + return &v +} + +type NullableControllerCapabilitiesInnerValue struct { + value *ControllerCapabilitiesInnerValue + isSet bool +} + +func (v NullableControllerCapabilitiesInnerValue) Get() *ControllerCapabilitiesInnerValue { + return v.value +} + +func (v *NullableControllerCapabilitiesInnerValue) Set(val *ControllerCapabilitiesInnerValue) { + v.value = val + v.isSet = true +} + +func (v NullableControllerCapabilitiesInnerValue) IsSet() bool { + return v.isSet +} + +func (v *NullableControllerCapabilitiesInnerValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableControllerCapabilitiesInnerValue(val *ControllerCapabilitiesInnerValue) *NullableControllerCapabilitiesInnerValue { + return &NullableControllerCapabilitiesInnerValue{value: val, isSet: true} +} + +func (v NullableControllerCapabilitiesInnerValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableControllerCapabilitiesInnerValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_controller_managed_device_group.go b/model_controller_managed_device_group.go index 9f78d585..4d864a79 100644 --- a/model_controller_managed_device_group.go +++ b/model_controller_managed_device_group.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. @@ -21,18 +21,23 @@ var _ MappedNullable = &ControllerManagedDeviceGroup{} // ControllerManagedDeviceGroup 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. type ControllerManagedDeviceGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` + Capabilities []ControllerCapabilitiesInner `json:"capabilities,omitempty"` // Name of the controller device group Name string `json:"name"` + Description *string `json:"description,omitempty"` // Weight of the controller device group, used to sort the groups within its parent group Weight *int32 `json:"weight,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` Controller BulkWritableControllerManagedDeviceGroupRequestController `json:"controller"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + RadioProfiles []BulkWritableCableRequestStatus `json:"radio_profiles"` + WirelessNetworks []BulkWritableCableRequestStatus `json:"wireless_networks"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` @@ -47,15 +52,16 @@ type _ControllerManagedDeviceGroup ControllerManagedDeviceGroup // 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 -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 { this := ControllerManagedDeviceGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url this.NaturalSlug = naturalSlug this.Name = name this.Controller = controller + this.RadioProfiles = radioProfiles + this.WirelessNetworks = wirelessNetworks this.Created = created this.LastUpdated = lastUpdated this.NotesUrl = notesUrl @@ -70,28 +76,36 @@ func NewControllerManagedDeviceGroupWithDefaults() *ControllerManagedDeviceGroup return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ControllerManagedDeviceGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ControllerManagedDeviceGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ControllerManagedDeviceGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -190,6 +204,39 @@ func (o *ControllerManagedDeviceGroup) SetNaturalSlug(v string) { o.NaturalSlug = v } +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ControllerManagedDeviceGroup) GetCapabilities() []ControllerCapabilitiesInner { + if o == nil { + var ret []ControllerCapabilitiesInner + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ControllerManagedDeviceGroup) GetCapabilitiesOk() ([]ControllerCapabilitiesInner, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroup) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []ControllerCapabilitiesInner and assigns it to the Capabilities field. +func (o *ControllerManagedDeviceGroup) SetCapabilities(v []ControllerCapabilitiesInner) { + o.Capabilities = v +} + // GetName returns the Name field value func (o *ControllerManagedDeviceGroup) GetName() string { if o == nil { @@ -214,6 +261,38 @@ func (o *ControllerManagedDeviceGroup) SetName(v string) { o.Name = v } +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ControllerManagedDeviceGroup) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroup) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroup) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ControllerManagedDeviceGroup) SetDescription(v string) { + o.Description = &v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *ControllerManagedDeviceGroup) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -312,6 +391,96 @@ func (o *ControllerManagedDeviceGroup) SetController(v BulkWritableControllerMan o.Controller = v } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ControllerManagedDeviceGroup) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ControllerManagedDeviceGroup) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroup) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *ControllerManagedDeviceGroup) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *ControllerManagedDeviceGroup) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *ControllerManagedDeviceGroup) UnsetTenant() { + o.Tenant.Unset() +} + +// GetRadioProfiles returns the RadioProfiles field value +func (o *ControllerManagedDeviceGroup) GetRadioProfiles() []BulkWritableCableRequestStatus { + if o == nil { + var ret []BulkWritableCableRequestStatus + return ret + } + + return o.RadioProfiles +} + +// GetRadioProfilesOk returns a tuple with the RadioProfiles field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroup) GetRadioProfilesOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return o.RadioProfiles, true +} + +// SetRadioProfiles sets field value +func (o *ControllerManagedDeviceGroup) SetRadioProfiles(v []BulkWritableCableRequestStatus) { + o.RadioProfiles = v +} + +// GetWirelessNetworks returns the WirelessNetworks field value +func (o *ControllerManagedDeviceGroup) GetWirelessNetworks() []BulkWritableCableRequestStatus { + if o == nil { + var ret []BulkWritableCableRequestStatus + return ret + } + + return o.WirelessNetworks +} + +// GetWirelessNetworksOk returns a tuple with the WirelessNetworks field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroup) GetWirelessNetworksOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return o.WirelessNetworks, true +} + +// SetWirelessNetworks sets field value +func (o *ControllerManagedDeviceGroup) SetWirelessNetworks(v []BulkWritableCableRequestStatus) { + o.WirelessNetworks = v +} + // GetCreated returns the Created field value // If the value is explicit nil, the zero value for time.Time will be returned func (o *ControllerManagedDeviceGroup) GetCreated() time.Time { @@ -462,12 +631,20 @@ func (o ControllerManagedDeviceGroup) MarshalJSON() ([]byte, error) { func (o ControllerManagedDeviceGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -475,6 +652,11 @@ func (o ControllerManagedDeviceGroup) ToMap() (map[string]interface{}, error) { toSerialize["parent"] = o.Parent.Get() } toSerialize["controller"] = o.Controller + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + toSerialize["radio_profiles"] = o.RadioProfiles + toSerialize["wireless_networks"] = o.WirelessNetworks toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["notes_url"] = o.NotesUrl @@ -497,13 +679,14 @@ func (o *ControllerManagedDeviceGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", "natural_slug", "name", "controller", + "radio_profiles", + "wireless_networks", "created", "last_updated", "notes_url", @@ -541,10 +724,15 @@ func (o *ControllerManagedDeviceGroup) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") + delete(additionalProperties, "description") delete(additionalProperties, "weight") delete(additionalProperties, "parent") delete(additionalProperties, "controller") + delete(additionalProperties, "tenant") + delete(additionalProperties, "radio_profiles") + delete(additionalProperties, "wireless_networks") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") diff --git a/model_controller_managed_device_group_radio_profile_assignment.go b/model_controller_managed_device_group_radio_profile_assignment.go new file mode 100644 index 00000000..496b8685 --- /dev/null +++ b/model_controller_managed_device_group_radio_profile_assignment.go @@ -0,0 +1,351 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the ControllerManagedDeviceGroupRadioProfileAssignment type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ControllerManagedDeviceGroupRadioProfileAssignment{} + +// ControllerManagedDeviceGroupRadioProfileAssignment 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) +type ControllerManagedDeviceGroupRadioProfileAssignment struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + ControllerManagedDeviceGroup BulkWritableCableRequestStatus `json:"controller_managed_device_group"` + RadioProfile BulkWritableCableRequestStatus `json:"radio_profile"` + AdditionalProperties map[string]interface{} +} + +type _ControllerManagedDeviceGroupRadioProfileAssignment 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 +func NewControllerManagedDeviceGroupRadioProfileAssignment(objectType string, display string, url string, naturalSlug string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, radioProfile BulkWritableCableRequestStatus) *ControllerManagedDeviceGroupRadioProfileAssignment { + this := ControllerManagedDeviceGroupRadioProfileAssignment{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.ControllerManagedDeviceGroup = controllerManagedDeviceGroup + this.RadioProfile = radioProfile + return &this +} + +// 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 +func NewControllerManagedDeviceGroupRadioProfileAssignmentWithDefaults() *ControllerManagedDeviceGroupRadioProfileAssignment { + this := ControllerManagedDeviceGroupRadioProfileAssignment{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.ControllerManagedDeviceGroup, true +} + +// SetControllerManagedDeviceGroup sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = v +} + +// GetRadioProfile returns the RadioProfile field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetRadioProfile() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.RadioProfile +} + +// GetRadioProfileOk returns a tuple with the RadioProfile field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.RadioProfile, true +} + +// SetRadioProfile sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetRadioProfile(v BulkWritableCableRequestStatus) { + o.RadioProfile = v +} + +func (o ControllerManagedDeviceGroupRadioProfileAssignment) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ControllerManagedDeviceGroupRadioProfileAssignment) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + toSerialize["radio_profile"] = o.RadioProfile + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ControllerManagedDeviceGroupRadioProfileAssignment) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "controller_managed_device_group", + "radio_profile", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varControllerManagedDeviceGroupRadioProfileAssignment := _ControllerManagedDeviceGroupRadioProfileAssignment{} + + err = json.Unmarshal(data, &varControllerManagedDeviceGroupRadioProfileAssignment) + + if err != nil { + return err + } + + *o = ControllerManagedDeviceGroupRadioProfileAssignment(varControllerManagedDeviceGroupRadioProfileAssignment) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "radio_profile") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableControllerManagedDeviceGroupRadioProfileAssignment struct { + value *ControllerManagedDeviceGroupRadioProfileAssignment + isSet bool +} + +func (v NullableControllerManagedDeviceGroupRadioProfileAssignment) Get() *ControllerManagedDeviceGroupRadioProfileAssignment { + return v.value +} + +func (v *NullableControllerManagedDeviceGroupRadioProfileAssignment) Set(val *ControllerManagedDeviceGroupRadioProfileAssignment) { + v.value = val + v.isSet = true +} + +func (v NullableControllerManagedDeviceGroupRadioProfileAssignment) IsSet() bool { + return v.isSet +} + +func (v *NullableControllerManagedDeviceGroupRadioProfileAssignment) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableControllerManagedDeviceGroupRadioProfileAssignment(val *ControllerManagedDeviceGroupRadioProfileAssignment) *NullableControllerManagedDeviceGroupRadioProfileAssignment { + return &NullableControllerManagedDeviceGroupRadioProfileAssignment{value: val, isSet: true} +} + +func (v NullableControllerManagedDeviceGroupRadioProfileAssignment) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableControllerManagedDeviceGroupRadioProfileAssignment) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_controller_managed_device_group_radio_profile_assignment_request.go b/model_controller_managed_device_group_radio_profile_assignment_request.go new file mode 100644 index 00000000..094d36a2 --- /dev/null +++ b/model_controller_managed_device_group_radio_profile_assignment_request.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the ControllerManagedDeviceGroupRadioProfileAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + +// ControllerManagedDeviceGroupRadioProfileAssignmentRequest 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) +type ControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + Id *string `json:"id,omitempty"` + ControllerManagedDeviceGroup BulkWritableCableRequestStatus `json:"controller_managed_device_group"` + RadioProfile BulkWritableCableRequestStatus `json:"radio_profile"` + AdditionalProperties map[string]interface{} +} + +type _ControllerManagedDeviceGroupRadioProfileAssignmentRequest 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 +func NewControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroup BulkWritableCableRequestStatus, radioProfile BulkWritableCableRequestStatus) *ControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := ControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + this.ControllerManagedDeviceGroup = controllerManagedDeviceGroup + this.RadioProfile = radioProfile + return &this +} + +// 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 +func NewControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *ControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := ControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.ControllerManagedDeviceGroup, true +} + +// SetControllerManagedDeviceGroup sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = v +} + +// GetRadioProfile returns the RadioProfile field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.RadioProfile +} + +// GetRadioProfileOk returns a tuple with the RadioProfile field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.RadioProfile, true +} + +// SetRadioProfile sets field value +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus) { + o.RadioProfile = v +} + +func (o ControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ControllerManagedDeviceGroupRadioProfileAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + toSerialize["radio_profile"] = o.RadioProfile + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "controller_managed_device_group", + "radio_profile", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varControllerManagedDeviceGroupRadioProfileAssignmentRequest := _ControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + + err = json.Unmarshal(data, &varControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + if err != nil { + return err + } + + *o = ControllerManagedDeviceGroupRadioProfileAssignmentRequest(varControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "radio_profile") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + value *ControllerManagedDeviceGroupRadioProfileAssignmentRequest + isSet bool +} + +func (v NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Get() *ControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return v.value +} + +func (v *NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Set(val *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableControllerManagedDeviceGroupRadioProfileAssignmentRequest(val *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) *NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return &NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest{value: val, isSet: true} +} + +func (v NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_controller_managed_device_group_request.go b/model_controller_managed_device_group_request.go index 797a8232..67837812 100644 --- a/model_controller_managed_device_group_request.go +++ b/model_controller_managed_device_group_request.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. @@ -20,12 +20,16 @@ var _ MappedNullable = &ControllerManagedDeviceGroupRequest{} // ControllerManagedDeviceGroupRequest 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. type ControllerManagedDeviceGroupRequest struct { + Id *string `json:"id,omitempty"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` // Name of the controller device group Name string `json:"name"` + Description *string `json:"description,omitempty"` // Weight of the controller device group, used to sort the groups within its parent group Weight *int32 `json:"weight,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` Controller BulkWritableControllerManagedDeviceGroupRequestController `json:"controller"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -53,6 +57,71 @@ func NewControllerManagedDeviceGroupRequestWithDefaults() *ControllerManagedDevi return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ControllerManagedDeviceGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ControllerManagedDeviceGroupRequest) SetId(v string) { + o.Id = &v +} + +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ControllerManagedDeviceGroupRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *ControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value func (o *ControllerManagedDeviceGroupRequest) GetName() string { if o == nil { @@ -77,6 +146,38 @@ func (o *ControllerManagedDeviceGroupRequest) SetName(v string) { o.Name = v } +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ControllerManagedDeviceGroupRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ControllerManagedDeviceGroupRequest) SetDescription(v string) { + o.Description = &v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *ControllerManagedDeviceGroupRequest) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -175,6 +276,48 @@ func (o *ControllerManagedDeviceGroupRequest) SetController(v BulkWritableContro o.Controller = v } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ControllerManagedDeviceGroupRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *ControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *ControllerManagedDeviceGroupRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *ControllerManagedDeviceGroupRequest) UnsetTenant() { + o.Tenant.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *ControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -281,7 +424,16 @@ func (o ControllerManagedDeviceGroupRequest) MarshalJSON() ([]byte, error) { func (o ControllerManagedDeviceGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -289,6 +441,9 @@ func (o ControllerManagedDeviceGroupRequest) ToMap() (map[string]interface{}, er toSerialize["parent"] = o.Parent.Get() } toSerialize["controller"] = o.Controller + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -342,10 +497,14 @@ func (o *ControllerManagedDeviceGroupRequest) UnmarshalJSON(data []byte) (err er additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") + delete(additionalProperties, "description") delete(additionalProperties, "weight") delete(additionalProperties, "parent") delete(additionalProperties, "controller") + delete(additionalProperties, "tenant") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_controller_managed_device_group_wireless_network_assignment.go b/model_controller_managed_device_group_wireless_network_assignment.go new file mode 100644 index 00000000..f1d97103 --- /dev/null +++ b/model_controller_managed_device_group_wireless_network_assignment.go @@ -0,0 +1,398 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the ControllerManagedDeviceGroupWirelessNetworkAssignment type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ControllerManagedDeviceGroupWirelessNetworkAssignment{} + +// ControllerManagedDeviceGroupWirelessNetworkAssignment 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) +type ControllerManagedDeviceGroupWirelessNetworkAssignment struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + ControllerManagedDeviceGroup BulkWritableCableRequestStatus `json:"controller_managed_device_group"` + WirelessNetwork BulkWritableCableRequestStatus `json:"wireless_network"` + Vlan NullableBulkWritableCircuitRequestTenant `json:"vlan,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ControllerManagedDeviceGroupWirelessNetworkAssignment 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 +func NewControllerManagedDeviceGroupWirelessNetworkAssignment(objectType string, display string, url string, naturalSlug string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, wirelessNetwork BulkWritableCableRequestStatus) *ControllerManagedDeviceGroupWirelessNetworkAssignment { + this := ControllerManagedDeviceGroupWirelessNetworkAssignment{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.ControllerManagedDeviceGroup = controllerManagedDeviceGroup + this.WirelessNetwork = wirelessNetwork + return &this +} + +// 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 +func NewControllerManagedDeviceGroupWirelessNetworkAssignmentWithDefaults() *ControllerManagedDeviceGroupWirelessNetworkAssignment { + this := ControllerManagedDeviceGroupWirelessNetworkAssignment{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.ControllerManagedDeviceGroup, true +} + +// SetControllerManagedDeviceGroup sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = v +} + +// GetWirelessNetwork returns the WirelessNetwork field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetWirelessNetwork() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.WirelessNetwork +} + +// GetWirelessNetworkOk returns a tuple with the WirelessNetwork field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.WirelessNetwork, true +} + +// SetWirelessNetwork sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetWirelessNetwork(v BulkWritableCableRequestStatus) { + o.WirelessNetwork = v +} + +// GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetVlan() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Vlan.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Vlan.Get() +} + +// GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Vlan.Get(), o.Vlan.IsSet() +} + +// HasVlan returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) HasVlan() bool { + if o != nil && o.Vlan.IsSet() { + return true + } + + return false +} + +// SetVlan gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Vlan field. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetVlan(v BulkWritableCircuitRequestTenant) { + o.Vlan.Set(&v) +} +// SetVlanNil sets the value for Vlan to be an explicit nil +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetVlanNil() { + o.Vlan.Set(nil) +} + +// UnsetVlan ensures that no value is present for Vlan, not even an explicit nil +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) UnsetVlan() { + o.Vlan.Unset() +} + +func (o ControllerManagedDeviceGroupWirelessNetworkAssignment) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ControllerManagedDeviceGroupWirelessNetworkAssignment) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + toSerialize["wireless_network"] = o.WirelessNetwork + if o.Vlan.IsSet() { + toSerialize["vlan"] = o.Vlan.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "controller_managed_device_group", + "wireless_network", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varControllerManagedDeviceGroupWirelessNetworkAssignment := _ControllerManagedDeviceGroupWirelessNetworkAssignment{} + + err = json.Unmarshal(data, &varControllerManagedDeviceGroupWirelessNetworkAssignment) + + if err != nil { + return err + } + + *o = ControllerManagedDeviceGroupWirelessNetworkAssignment(varControllerManagedDeviceGroupWirelessNetworkAssignment) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "wireless_network") + delete(additionalProperties, "vlan") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableControllerManagedDeviceGroupWirelessNetworkAssignment struct { + value *ControllerManagedDeviceGroupWirelessNetworkAssignment + isSet bool +} + +func (v NullableControllerManagedDeviceGroupWirelessNetworkAssignment) Get() *ControllerManagedDeviceGroupWirelessNetworkAssignment { + return v.value +} + +func (v *NullableControllerManagedDeviceGroupWirelessNetworkAssignment) Set(val *ControllerManagedDeviceGroupWirelessNetworkAssignment) { + v.value = val + v.isSet = true +} + +func (v NullableControllerManagedDeviceGroupWirelessNetworkAssignment) IsSet() bool { + return v.isSet +} + +func (v *NullableControllerManagedDeviceGroupWirelessNetworkAssignment) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableControllerManagedDeviceGroupWirelessNetworkAssignment(val *ControllerManagedDeviceGroupWirelessNetworkAssignment) *NullableControllerManagedDeviceGroupWirelessNetworkAssignment { + return &NullableControllerManagedDeviceGroupWirelessNetworkAssignment{value: val, isSet: true} +} + +func (v NullableControllerManagedDeviceGroupWirelessNetworkAssignment) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableControllerManagedDeviceGroupWirelessNetworkAssignment) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_controller_managed_device_group_wireless_network_assignment_request.go b/model_controller_managed_device_group_wireless_network_assignment_request.go new file mode 100644 index 00000000..32d35d41 --- /dev/null +++ b/model_controller_managed_device_group_wireless_network_assignment_request.go @@ -0,0 +1,281 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + +// ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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) +type ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + Id *string `json:"id,omitempty"` + ControllerManagedDeviceGroup BulkWritableCableRequestStatus `json:"controller_managed_device_group"` + WirelessNetwork BulkWritableCableRequestStatus `json:"wireless_network"` + Vlan NullableBulkWritableCircuitRequestTenant `json:"vlan,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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 +func NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroup BulkWritableCableRequestStatus, wirelessNetwork BulkWritableCableRequestStatus) *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + this.ControllerManagedDeviceGroup = controllerManagedDeviceGroup + this.WirelessNetwork = wirelessNetwork + return &this +} + +// 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 +func NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.ControllerManagedDeviceGroup, true +} + +// SetControllerManagedDeviceGroup sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = v +} + +// GetWirelessNetwork returns the WirelessNetwork field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.WirelessNetwork +} + +// GetWirelessNetworkOk returns a tuple with the WirelessNetwork field value +// and a boolean to check if the value has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.WirelessNetwork, true +} + +// SetWirelessNetwork sets field value +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus) { + o.WirelessNetwork = v +} + +// GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Vlan.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Vlan.Get() +} + +// GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Vlan.Get(), o.Vlan.IsSet() +} + +// HasVlan returns a boolean if a field has been set. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool { + if o != nil && o.Vlan.IsSet() { + return true + } + + return false +} + +// SetVlan gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Vlan field. +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant) { + o.Vlan.Set(&v) +} +// SetVlanNil sets the value for Vlan to be an explicit nil +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil() { + o.Vlan.Set(nil) +} + +// UnsetVlan ensures that no value is present for Vlan, not even an explicit nil +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnsetVlan() { + o.Vlan.Unset() +} + +func (o ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + toSerialize["wireless_network"] = o.WirelessNetwork + if o.Vlan.IsSet() { + toSerialize["vlan"] = o.Vlan.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "controller_managed_device_group", + "wireless_network", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varControllerManagedDeviceGroupWirelessNetworkAssignmentRequest := _ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + + err = json.Unmarshal(data, &varControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + if err != nil { + return err + } + + *o = ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(varControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "wireless_network") + delete(additionalProperties, "vlan") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + value *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest + isSet bool +} + +func (v NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Get() *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return v.value +} + +func (v *NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Set(val *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(val *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) *NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return &NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{value: val, isSet: true} +} + +func (v NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_controller_request.go b/model_controller_request.go index 961d51e5..deeff44b 100644 --- a/model_controller_request.go +++ b/model_controller_request.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. @@ -20,6 +20,8 @@ var _ MappedNullable = &ControllerRequest{} // ControllerRequest 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. type ControllerRequest struct { + Id *string `json:"id,omitempty"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` @@ -58,6 +60,71 @@ func NewControllerRequestWithDefaults() *ControllerRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ControllerRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControllerRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ControllerRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ControllerRequest) SetId(v string) { + o.Id = &v +} + +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ControllerRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ControllerRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *ControllerRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *ControllerRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value func (o *ControllerRequest) GetName() string { if o == nil { @@ -520,6 +587,12 @@ func (o ControllerRequest) MarshalJSON() ([]byte, error) { func (o ControllerRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -598,6 +671,8 @@ func (o *ControllerRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "status") diff --git a/model_custom_field.go b/model_custom_field.go index c86be46c..178d8560 100644 --- a/model_custom_field.go +++ b/model_custom_field.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CustomField{} // CustomField 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) type CustomField struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -63,9 +63,8 @@ type _CustomField CustomField // 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 -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 { this := CustomField{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -87,28 +86,36 @@ func NewCustomFieldWithDefaults() *CustomField { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CustomField) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CustomField) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CustomField) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CustomField) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -738,7 +745,9 @@ func (o CustomField) MarshalJSON() ([]byte, error) { func (o CustomField) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -795,7 +804,6 @@ func (o *CustomField) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_custom_field_choice.go b/model_custom_field_choice.go index d1250146..8ed7b18d 100644 --- a/model_custom_field_choice.go +++ b/model_custom_field_choice.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CustomFieldChoice{} // CustomFieldChoice 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) type CustomFieldChoice struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -42,9 +42,8 @@ type _CustomFieldChoice CustomFieldChoice // 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 -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 { this := CustomFieldChoice{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -64,28 +63,36 @@ func NewCustomFieldChoiceWithDefaults() *CustomFieldChoice { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CustomFieldChoice) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CustomFieldChoice) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CustomFieldChoice) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CustomFieldChoice) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -326,7 +333,9 @@ func (o CustomFieldChoice) MarshalJSON() ([]byte, error) { func (o CustomFieldChoice) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -351,7 +360,6 @@ func (o *CustomFieldChoice) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_custom_field_choice_request.go b/model_custom_field_choice_request.go index 00c7c9db..910889d2 100644 --- a/model_custom_field_choice_request.go +++ b/model_custom_field_choice_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CustomFieldChoiceRequest{} // CustomFieldChoiceRequest 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) type CustomFieldChoiceRequest struct { + Id *string `json:"id,omitempty"` Value string `json:"value"` // Higher weights appear later in the list Weight *int32 `json:"weight,omitempty"` @@ -48,6 +49,38 @@ func NewCustomFieldChoiceRequestWithDefaults() *CustomFieldChoiceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CustomFieldChoiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomFieldChoiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CustomFieldChoiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CustomFieldChoiceRequest) SetId(v string) { + o.Id = &v +} + // GetValue returns the Value field value func (o *CustomFieldChoiceRequest) GetValue() string { if o == nil { @@ -138,6 +171,9 @@ func (o CustomFieldChoiceRequest) MarshalJSON() ([]byte, error) { func (o CustomFieldChoiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["value"] = o.Value if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight @@ -187,6 +223,7 @@ func (o *CustomFieldChoiceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "value") delete(additionalProperties, "weight") delete(additionalProperties, "custom_field") diff --git a/model_custom_field_filter_logic.go b/model_custom_field_filter_logic.go index c41eb424..45b84392 100644 --- a/model_custom_field_filter_logic.go +++ b/model_custom_field_filter_logic.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/model_custom_field_filter_logic_label.go b/model_custom_field_filter_logic_label.go index edcf11d3..3990d8d3 100644 --- a/model_custom_field_filter_logic_label.go +++ b/model_custom_field_filter_logic_label.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/model_custom_field_filter_logic_value.go b/model_custom_field_filter_logic_value.go index 0f409fc2..908e49bb 100644 --- a/model_custom_field_filter_logic_value.go +++ b/model_custom_field_filter_logic_value.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/model_custom_field_type.go b/model_custom_field_type.go index 729ba7ba..30381747 100644 --- a/model_custom_field_type.go +++ b/model_custom_field_type.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/model_custom_field_type_choices.go b/model_custom_field_type_choices.go index 9059933b..d1480b14 100644 --- a/model_custom_field_type_choices.go +++ b/model_custom_field_type_choices.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/model_custom_field_type_label.go b/model_custom_field_type_label.go index 268c8ab7..d14b8e17 100644 --- a/model_custom_field_type_label.go +++ b/model_custom_field_type_label.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/model_custom_field_type_value.go b/model_custom_field_type_value.go index 3db5201b..45e1b657 100644 --- a/model_custom_field_type_value.go +++ b/model_custom_field_type_value.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/model_custom_link.go b/model_custom_link.go index 8ce14690..e8643603 100644 --- a/model_custom_link.go +++ b/model_custom_link.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &CustomLink{} // CustomLink 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) type CustomLink struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -52,9 +52,8 @@ type _CustomLink CustomLink // 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 -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 { this := CustomLink{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -78,28 +77,36 @@ func NewCustomLinkWithDefaults() *CustomLink { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *CustomLink) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CustomLink) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CustomLink) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *CustomLink) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -500,7 +507,9 @@ func (o CustomLink) MarshalJSON() ([]byte, error) { func (o CustomLink) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -535,7 +544,6 @@ func (o *CustomLink) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_custom_link_request.go b/model_custom_link_request.go index 72f30f68..194bbcf5 100644 --- a/model_custom_link_request.go +++ b/model_custom_link_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &CustomLinkRequest{} // CustomLinkRequest 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) type CustomLinkRequest struct { + Id *string `json:"id,omitempty"` ContentType string `json:"content_type"` Name string `json:"name"` // Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.name }}. Links which render as empty text will not be displayed. @@ -60,6 +61,38 @@ func NewCustomLinkRequestWithDefaults() *CustomLinkRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *CustomLinkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomLinkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CustomLinkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CustomLinkRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value func (o *CustomLinkRequest) GetContentType() string { if o == nil { @@ -286,6 +319,9 @@ func (o CustomLinkRequest) MarshalJSON() ([]byte, error) { func (o CustomLinkRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_type"] = o.ContentType toSerialize["name"] = o.Name toSerialize["text"] = o.Text @@ -347,6 +383,7 @@ func (o *CustomLinkRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "name") delete(additionalProperties, "text") diff --git a/model_data_type_enum.go b/model_data_type_enum.go index f4cbcd0a..fa86013b 100644 --- a/model_data_type_enum.go +++ b/model_data_type_enum.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/model_dcim_locations_list_time_zone_parameter_inner.go b/model_dcim_locations_list_time_zone_parameter_inner.go index fcce1ef1..cd575fb7 100644 --- a/model_dcim_locations_list_time_zone_parameter_inner.go +++ b/model_dcim_locations_list_time_zone_parameter_inner.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. @@ -119,6 +119,7 @@ const ( DCIMLOCATIONSLISTTIMEZONEPARAMETERINNER_AMERICA_CORAL_HARBOUR DcimLocationsListTimeZoneParameterInner = "America/Coral_Harbour" DCIMLOCATIONSLISTTIMEZONEPARAMETERINNER_AMERICA_CORDOBA DcimLocationsListTimeZoneParameterInner = "America/Cordoba" DCIMLOCATIONSLISTTIMEZONEPARAMETERINNER_AMERICA_COSTA_RICA DcimLocationsListTimeZoneParameterInner = "America/Costa_Rica" + DCIMLOCATIONSLISTTIMEZONEPARAMETERINNER_AMERICA_COYHAIQUE DcimLocationsListTimeZoneParameterInner = "America/Coyhaique" DCIMLOCATIONSLISTTIMEZONEPARAMETERINNER_AMERICA_CRESTON DcimLocationsListTimeZoneParameterInner = "America/Creston" DCIMLOCATIONSLISTTIMEZONEPARAMETERINNER_AMERICA_CUIABA DcimLocationsListTimeZoneParameterInner = "America/Cuiaba" DCIMLOCATIONSLISTTIMEZONEPARAMETERINNER_AMERICA_CURACAO DcimLocationsListTimeZoneParameterInner = "America/Curacao" @@ -720,6 +721,7 @@ var AllowedDcimLocationsListTimeZoneParameterInnerEnumValues = []DcimLocationsLi "America/Coral_Harbour", "America/Cordoba", "America/Costa_Rica", + "America/Coyhaique", "America/Creston", "America/Cuiaba", "America/Curacao", diff --git a/model_dcim_racks_elevation_list_face_parameter.go b/model_dcim_racks_elevation_list_face_parameter.go index e306d9a2..798d926f 100644 --- a/model_dcim_racks_elevation_list_face_parameter.go +++ b/model_dcim_racks_elevation_list_face_parameter.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/model_dcim_racks_elevation_list_render_parameter.go b/model_dcim_racks_elevation_list_render_parameter.go index e8bc6220..2902cbb1 100644 --- a/model_dcim_racks_elevation_list_render_parameter.go +++ b/model_dcim_racks_elevation_list_render_parameter.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/model_device.go b/model_device.go index bc3dd8a6..727eebb2 100644 --- a/model_device.go +++ b/model_device.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Device{} // Device 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. type Device struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -75,9 +75,8 @@ type _Device Device // 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 -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 { this := Device{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -100,28 +99,36 @@ func NewDeviceWithDefaults() *Device { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Device) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Device) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Device) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -1509,7 +1516,9 @@ func (o Device) MarshalJSON() ([]byte, error) { func (o Device) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -1618,7 +1627,6 @@ func (o *Device) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_device_bay.go b/model_device_bay.go index 98eb6a36..bdb8c864 100644 --- a/model_device_bay.go +++ b/model_device_bay.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &DeviceBay{} // DeviceBay 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. type DeviceBay struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _DeviceBay DeviceBay // 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 -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 { this := DeviceBay{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -70,28 +69,36 @@ func NewDeviceBayWithDefaults() *DeviceBay { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DeviceBay) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DeviceBay) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceBay) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DeviceBay) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -494,7 +501,9 @@ func (o DeviceBay) MarshalJSON() ([]byte, error) { func (o DeviceBay) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -532,7 +541,6 @@ func (o *DeviceBay) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_device_bay_request.go b/model_device_bay_request.go index c3e727cb..9ef82918 100644 --- a/model_device_bay_request.go +++ b/model_device_bay_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &DeviceBayRequest{} // DeviceBayRequest 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. type DeviceBayRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -53,6 +54,38 @@ func NewDeviceBayRequestWithDefaults() *DeviceBayRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *DeviceBayRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceBayRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceBayRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *DeviceBayRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *DeviceBayRequest) GetName() string { if o == nil { @@ -313,6 +346,9 @@ func (o DeviceBayRequest) MarshalJSON() ([]byte, error) { func (o DeviceBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -377,6 +413,7 @@ func (o *DeviceBayRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_device_bay_template.go b/model_device_bay_template.go index c76a9306..ac71d09e 100644 --- a/model_device_bay_template.go +++ b/model_device_bay_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &DeviceBayTemplate{} // DeviceBayTemplate 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. type DeviceBayTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _DeviceBayTemplate DeviceBayTemplate // 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 -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 { this := DeviceBayTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -68,28 +67,36 @@ func NewDeviceBayTemplateWithDefaults() *DeviceBayTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DeviceBayTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DeviceBayTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceBayTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DeviceBayTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -418,7 +425,9 @@ func (o DeviceBayTemplate) MarshalJSON() ([]byte, error) { func (o DeviceBayTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -450,7 +459,6 @@ func (o *DeviceBayTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_device_bay_template_request.go b/model_device_bay_template_request.go index e4a43b51..bf04d12c 100644 --- a/model_device_bay_template_request.go +++ b/model_device_bay_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &DeviceBayTemplateRequest{} // DeviceBayTemplateRequest 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. type DeviceBayTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -51,6 +52,38 @@ func NewDeviceBayTemplateRequestWithDefaults() *DeviceBayTemplateRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *DeviceBayTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceBayTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceBayTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *DeviceBayTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *DeviceBayTemplateRequest) GetName() string { if o == nil { @@ -237,6 +270,9 @@ func (o DeviceBayTemplateRequest) MarshalJSON() ([]byte, error) { func (o DeviceBayTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -295,6 +331,7 @@ func (o *DeviceBayTemplateRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_device_face.go b/model_device_face.go index 4c28fb99..ea3fef24 100644 --- a/model_device_face.go +++ b/model_device_face.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/model_device_face_label.go b/model_device_face_label.go index 0d79e3ab..0818d86f 100644 --- a/model_device_face_label.go +++ b/model_device_face_label.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/model_device_face_value.go b/model_device_face_value.go index ef83c212..1d647746 100644 --- a/model_device_face_value.go +++ b/model_device_face_value.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/model_device_family.go b/model_device_family.go index 9acc8627..7fffc026 100644 --- a/model_device_family.go +++ b/model_device_family.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &DeviceFamily{} // DeviceFamily 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. type DeviceFamily struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -34,6 +34,7 @@ type DeviceFamily struct { LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -43,9 +44,8 @@ type _DeviceFamily DeviceFamily // 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 -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 { this := DeviceFamily{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -65,28 +65,36 @@ func NewDeviceFamilyWithDefaults() *DeviceFamily { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DeviceFamily) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DeviceFamily) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceFamily) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DeviceFamily) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -381,6 +389,38 @@ func (o *DeviceFamily) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *DeviceFamily) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceFamily) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *DeviceFamily) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *DeviceFamily) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o DeviceFamily) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -391,7 +431,9 @@ func (o DeviceFamily) MarshalJSON() ([]byte, error) { func (o DeviceFamily) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -409,6 +451,9 @@ func (o DeviceFamily) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -422,7 +467,6 @@ func (o *DeviceFamily) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -472,6 +516,7 @@ func (o *DeviceFamily) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_device_family_request.go b/model_device_family_request.go index fc8a79e1..8ccce30f 100644 --- a/model_device_family_request.go +++ b/model_device_family_request.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. @@ -20,10 +20,12 @@ var _ MappedNullable = &DeviceFamilyRequest{} // DeviceFamilyRequest 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. type DeviceFamilyRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -47,6 +49,38 @@ func NewDeviceFamilyRequestWithDefaults() *DeviceFamilyRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *DeviceFamilyRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceFamilyRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceFamilyRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *DeviceFamilyRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *DeviceFamilyRequest) GetName() string { if o == nil { @@ -167,6 +201,38 @@ func (o *DeviceFamilyRequest) SetRelationships(v map[string]BulkWritableCableReq o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *DeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceFamilyRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *DeviceFamilyRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *DeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o DeviceFamilyRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -177,6 +243,9 @@ func (o DeviceFamilyRequest) MarshalJSON() ([]byte, error) { func (o DeviceFamilyRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -187,6 +256,9 @@ func (o DeviceFamilyRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -230,10 +302,12 @@ func (o *DeviceFamilyRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_device_napalm.go b/model_device_napalm.go index 4315a5ae..bd335cac 100644 --- a/model_device_napalm.go +++ b/model_device_napalm.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/model_device_redundancy_group.go b/model_device_redundancy_group.go index 6d2ce5aa..e9363dbb 100644 --- a/model_device_redundancy_group.go +++ b/model_device_redundancy_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &DeviceRedundancyGroup{} // DeviceRedundancyGroup 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. type DeviceRedundancyGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _DeviceRedundancyGroup DeviceRedundancyGroup // 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 -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 { this := DeviceRedundancyGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -70,28 +69,36 @@ func NewDeviceRedundancyGroupWithDefaults() *DeviceRedundancyGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DeviceRedundancyGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DeviceRedundancyGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceRedundancyGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DeviceRedundancyGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -526,7 +533,9 @@ func (o DeviceRedundancyGroup) MarshalJSON() ([]byte, error) { func (o DeviceRedundancyGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -567,7 +576,6 @@ func (o *DeviceRedundancyGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_device_redundancy_group_failover_strategy.go b/model_device_redundancy_group_failover_strategy.go index 203d69d8..c7ffc61c 100644 --- a/model_device_redundancy_group_failover_strategy.go +++ b/model_device_redundancy_group_failover_strategy.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/model_device_redundancy_group_failover_strategy_label.go b/model_device_redundancy_group_failover_strategy_label.go index ffc91be3..c7baf74c 100644 --- a/model_device_redundancy_group_failover_strategy_label.go +++ b/model_device_redundancy_group_failover_strategy_label.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/model_device_redundancy_group_failover_strategy_value.go b/model_device_redundancy_group_failover_strategy_value.go index becac814..b5c4c96d 100644 --- a/model_device_redundancy_group_failover_strategy_value.go +++ b/model_device_redundancy_group_failover_strategy_value.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/model_device_type.go b/model_device_type.go index fbdf5adf..432d7d86 100644 --- a/model_device_type.go +++ b/model_device_type.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &DeviceType{} // DeviceType 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. type DeviceType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -55,9 +55,8 @@ type _DeviceType DeviceType // 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 -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 { this := DeviceType{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -79,28 +78,36 @@ func NewDeviceTypeWithDefaults() *DeviceType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DeviceType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DeviceType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DeviceType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -739,7 +746,9 @@ func (o DeviceType) MarshalJSON() ([]byte, error) { func (o DeviceType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -796,7 +805,6 @@ func (o *DeviceType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_device_type_subdevice_role.go b/model_device_type_subdevice_role.go index a9f7cd71..dfa2197f 100644 --- a/model_device_type_subdevice_role.go +++ b/model_device_type_subdevice_role.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/model_device_type_subdevice_role_label.go b/model_device_type_subdevice_role_label.go index da0faaa8..2445efb5 100644 --- a/model_device_type_subdevice_role_label.go +++ b/model_device_type_subdevice_role_label.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/model_device_type_subdevice_role_value.go b/model_device_type_subdevice_role_value.go index 00adb29f..a07ebf0f 100644 --- a/model_device_type_subdevice_role_value.go +++ b/model_device_type_subdevice_role_value.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/model_device_type_to_software_image_file.go b/model_device_type_to_software_image_file.go index 0517a569..82c75f59 100644 --- a/model_device_type_to_software_image_file.go +++ b/model_device_type_to_software_image_file.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &DeviceTypeToSoftwareImageFile{} // DeviceTypeToSoftwareImageFile 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) type DeviceTypeToSoftwareImageFile struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -40,9 +40,8 @@ type _DeviceTypeToSoftwareImageFile DeviceTypeToSoftwareImageFile // 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 -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 { this := DeviceTypeToSoftwareImageFile{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -62,28 +61,36 @@ func NewDeviceTypeToSoftwareImageFileWithDefaults() *DeviceTypeToSoftwareImageFi return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DeviceTypeToSoftwareImageFile) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DeviceTypeToSoftwareImageFile) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceTypeToSoftwareImageFile) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DeviceTypeToSoftwareImageFile) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -292,7 +299,9 @@ func (o DeviceTypeToSoftwareImageFile) MarshalJSON() ([]byte, error) { func (o DeviceTypeToSoftwareImageFile) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -314,7 +323,6 @@ func (o *DeviceTypeToSoftwareImageFile) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_device_type_to_software_image_file_request.go b/model_device_type_to_software_image_file_request.go index 9e590a8f..a95681fd 100644 --- a/model_device_type_to_software_image_file_request.go +++ b/model_device_type_to_software_image_file_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &DeviceTypeToSoftwareImageFileRequest{} // DeviceTypeToSoftwareImageFileRequest 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) type DeviceTypeToSoftwareImageFileRequest struct { + Id *string `json:"id,omitempty"` DeviceType BulkWritableCableRequestStatus `json:"device_type"` SoftwareImageFile BulkWritableCableRequestStatus `json:"software_image_file"` AdditionalProperties map[string]interface{} @@ -46,6 +47,38 @@ func NewDeviceTypeToSoftwareImageFileRequestWithDefaults() *DeviceTypeToSoftware return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *DeviceTypeToSoftwareImageFileRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeToSoftwareImageFileRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DeviceTypeToSoftwareImageFileRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *DeviceTypeToSoftwareImageFileRequest) SetId(v string) { + o.Id = &v +} + // GetDeviceType returns the DeviceType field value func (o *DeviceTypeToSoftwareImageFileRequest) GetDeviceType() BulkWritableCableRequestStatus { if o == nil { @@ -104,6 +137,9 @@ func (o DeviceTypeToSoftwareImageFileRequest) MarshalJSON() ([]byte, error) { func (o DeviceTypeToSoftwareImageFileRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["device_type"] = o.DeviceType toSerialize["software_image_file"] = o.SoftwareImageFile @@ -150,6 +186,7 @@ func (o *DeviceTypeToSoftwareImageFileRequest) UnmarshalJSON(data []byte) (err e additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "device_type") delete(additionalProperties, "software_image_file") o.AdditionalProperties = additionalProperties diff --git a/model_dynamic_group.go b/model_dynamic_group.go index 76357118..94d34557 100644 --- a/model_dynamic_group.go +++ b/model_dynamic_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &DynamicGroup{} // DynamicGroup 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. type DynamicGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -49,9 +49,8 @@ type _DynamicGroup DynamicGroup // 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 -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 { this := DynamicGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -73,28 +72,36 @@ func NewDynamicGroupWithDefaults() *DynamicGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DynamicGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DynamicGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DynamicGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DynamicGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -554,7 +561,9 @@ func (o DynamicGroup) MarshalJSON() ([]byte, error) { func (o DynamicGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -596,7 +605,6 @@ func (o *DynamicGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_dynamic_group_associated_object.go b/model_dynamic_group_associated_object.go index c47e97cf..89aa275f 100644 --- a/model_dynamic_group_associated_object.go +++ b/model_dynamic_group_associated_object.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // DynamicGroupAssociatedObject - struct for DynamicGroupAssociatedObject @@ -60,6 +60,7 @@ type DynamicGroupAssociatedObject struct { NestedJob *NestedJob NestedJobButton *NestedJobButton NestedJobHook *NestedJobHook + NestedJobQueue *NestedJobQueue NestedLocation *NestedLocation NestedLocationType *NestedLocationType NestedManufacturer *NestedManufacturer @@ -67,6 +68,7 @@ type DynamicGroupAssociatedObject struct { NestedModule *NestedModule NestedModuleBay *NestedModuleBay NestedModuleBayTemplate *NestedModuleBayTemplate + NestedModuleFamily *NestedModuleFamily NestedModuleType *NestedModuleType NestedNamespace *NestedNamespace NestedPlatform *NestedPlatform @@ -83,6 +85,7 @@ type DynamicGroupAssociatedObject struct { NestedRack *NestedRack NestedRackGroup *NestedRackGroup NestedRackReservation *NestedRackReservation + NestedRadioProfile *NestedRadioProfile NestedRearPort *NestedRearPort NestedRearPortTemplate *NestedRearPortTemplate NestedRelationship *NestedRelationship @@ -94,6 +97,7 @@ type DynamicGroupAssociatedObject struct { NestedSoftwareImageFile *NestedSoftwareImageFile NestedSoftwareVersion *NestedSoftwareVersion NestedStatus *NestedStatus + NestedSupportedDataRate *NestedSupportedDataRate NestedTag *NestedTag NestedTeam *NestedTeam NestedTenant *NestedTenant @@ -103,8 +107,10 @@ type DynamicGroupAssociatedObject struct { NestedVMInterface *NestedVMInterface NestedVRF *NestedVRF NestedVirtualChassis *NestedVirtualChassis + NestedVirtualDeviceContext *NestedVirtualDeviceContext NestedVirtualMachine *NestedVirtualMachine NestedWebhook *NestedWebhook + NestedWirelessNetwork *NestedWirelessNetwork } // NestedCableAsDynamicGroupAssociatedObject is a convenience function that returns NestedCable wrapped in DynamicGroupAssociatedObject @@ -401,6 +407,13 @@ func NestedJobHookAsDynamicGroupAssociatedObject(v *NestedJobHook) DynamicGroupA } } +// NestedJobQueueAsDynamicGroupAssociatedObject is a convenience function that returns NestedJobQueue wrapped in DynamicGroupAssociatedObject +func NestedJobQueueAsDynamicGroupAssociatedObject(v *NestedJobQueue) DynamicGroupAssociatedObject { + return DynamicGroupAssociatedObject{ + NestedJobQueue: v, + } +} + // NestedLocationAsDynamicGroupAssociatedObject is a convenience function that returns NestedLocation wrapped in DynamicGroupAssociatedObject func NestedLocationAsDynamicGroupAssociatedObject(v *NestedLocation) DynamicGroupAssociatedObject { return DynamicGroupAssociatedObject{ @@ -450,6 +463,13 @@ func NestedModuleBayTemplateAsDynamicGroupAssociatedObject(v *NestedModuleBayTem } } +// NestedModuleFamilyAsDynamicGroupAssociatedObject is a convenience function that returns NestedModuleFamily wrapped in DynamicGroupAssociatedObject +func NestedModuleFamilyAsDynamicGroupAssociatedObject(v *NestedModuleFamily) DynamicGroupAssociatedObject { + return DynamicGroupAssociatedObject{ + NestedModuleFamily: v, + } +} + // NestedModuleTypeAsDynamicGroupAssociatedObject is a convenience function that returns NestedModuleType wrapped in DynamicGroupAssociatedObject func NestedModuleTypeAsDynamicGroupAssociatedObject(v *NestedModuleType) DynamicGroupAssociatedObject { return DynamicGroupAssociatedObject{ @@ -562,6 +582,13 @@ func NestedRackReservationAsDynamicGroupAssociatedObject(v *NestedRackReservatio } } +// NestedRadioProfileAsDynamicGroupAssociatedObject is a convenience function that returns NestedRadioProfile wrapped in DynamicGroupAssociatedObject +func NestedRadioProfileAsDynamicGroupAssociatedObject(v *NestedRadioProfile) DynamicGroupAssociatedObject { + return DynamicGroupAssociatedObject{ + NestedRadioProfile: v, + } +} + // NestedRearPortAsDynamicGroupAssociatedObject is a convenience function that returns NestedRearPort wrapped in DynamicGroupAssociatedObject func NestedRearPortAsDynamicGroupAssociatedObject(v *NestedRearPort) DynamicGroupAssociatedObject { return DynamicGroupAssociatedObject{ @@ -639,6 +666,13 @@ func NestedStatusAsDynamicGroupAssociatedObject(v *NestedStatus) DynamicGroupAss } } +// NestedSupportedDataRateAsDynamicGroupAssociatedObject is a convenience function that returns NestedSupportedDataRate wrapped in DynamicGroupAssociatedObject +func NestedSupportedDataRateAsDynamicGroupAssociatedObject(v *NestedSupportedDataRate) DynamicGroupAssociatedObject { + return DynamicGroupAssociatedObject{ + NestedSupportedDataRate: v, + } +} + // NestedTagAsDynamicGroupAssociatedObject is a convenience function that returns NestedTag wrapped in DynamicGroupAssociatedObject func NestedTagAsDynamicGroupAssociatedObject(v *NestedTag) DynamicGroupAssociatedObject { return DynamicGroupAssociatedObject{ @@ -702,6 +736,13 @@ func NestedVirtualChassisAsDynamicGroupAssociatedObject(v *NestedVirtualChassis) } } +// NestedVirtualDeviceContextAsDynamicGroupAssociatedObject is a convenience function that returns NestedVirtualDeviceContext wrapped in DynamicGroupAssociatedObject +func NestedVirtualDeviceContextAsDynamicGroupAssociatedObject(v *NestedVirtualDeviceContext) DynamicGroupAssociatedObject { + return DynamicGroupAssociatedObject{ + NestedVirtualDeviceContext: v, + } +} + // NestedVirtualMachineAsDynamicGroupAssociatedObject is a convenience function that returns NestedVirtualMachine wrapped in DynamicGroupAssociatedObject func NestedVirtualMachineAsDynamicGroupAssociatedObject(v *NestedVirtualMachine) DynamicGroupAssociatedObject { return DynamicGroupAssociatedObject{ @@ -716,6 +757,13 @@ func NestedWebhookAsDynamicGroupAssociatedObject(v *NestedWebhook) DynamicGroupA } } +// NestedWirelessNetworkAsDynamicGroupAssociatedObject is a convenience function that returns NestedWirelessNetwork wrapped in DynamicGroupAssociatedObject +func NestedWirelessNetworkAsDynamicGroupAssociatedObject(v *NestedWirelessNetwork) DynamicGroupAssociatedObject { + return DynamicGroupAssociatedObject{ + NestedWirelessNetwork: v, + } +} + // Unmarshal JSON data into one of the pointers in the struct func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { @@ -1435,6 +1483,23 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedJobHook = nil } + // try to unmarshal data into NestedJobQueue + err = newStrictDecoder(data).Decode(&dst.NestedJobQueue) + if err == nil { + jsonNestedJobQueue, _ := json.Marshal(dst.NestedJobQueue) + if string(jsonNestedJobQueue) == "{}" { // empty struct + dst.NestedJobQueue = nil + } else { + if err = validator.Validate(dst.NestedJobQueue); err != nil { + dst.NestedJobQueue = nil + } else { + match++ + } + } + } else { + dst.NestedJobQueue = nil + } + // try to unmarshal data into NestedLocation err = newStrictDecoder(data).Decode(&dst.NestedLocation) if err == nil { @@ -1554,6 +1619,23 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedModuleBayTemplate = nil } + // try to unmarshal data into NestedModuleFamily + err = newStrictDecoder(data).Decode(&dst.NestedModuleFamily) + if err == nil { + jsonNestedModuleFamily, _ := json.Marshal(dst.NestedModuleFamily) + if string(jsonNestedModuleFamily) == "{}" { // empty struct + dst.NestedModuleFamily = nil + } else { + if err = validator.Validate(dst.NestedModuleFamily); err != nil { + dst.NestedModuleFamily = nil + } else { + match++ + } + } + } else { + dst.NestedModuleFamily = nil + } + // try to unmarshal data into NestedModuleType err = newStrictDecoder(data).Decode(&dst.NestedModuleType) if err == nil { @@ -1826,6 +1908,23 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedRackReservation = nil } + // try to unmarshal data into NestedRadioProfile + err = newStrictDecoder(data).Decode(&dst.NestedRadioProfile) + if err == nil { + jsonNestedRadioProfile, _ := json.Marshal(dst.NestedRadioProfile) + if string(jsonNestedRadioProfile) == "{}" { // empty struct + dst.NestedRadioProfile = nil + } else { + if err = validator.Validate(dst.NestedRadioProfile); err != nil { + dst.NestedRadioProfile = nil + } else { + match++ + } + } + } else { + dst.NestedRadioProfile = nil + } + // try to unmarshal data into NestedRearPort err = newStrictDecoder(data).Decode(&dst.NestedRearPort) if err == nil { @@ -2013,6 +2112,23 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedStatus = nil } + // try to unmarshal data into NestedSupportedDataRate + err = newStrictDecoder(data).Decode(&dst.NestedSupportedDataRate) + if err == nil { + jsonNestedSupportedDataRate, _ := json.Marshal(dst.NestedSupportedDataRate) + if string(jsonNestedSupportedDataRate) == "{}" { // empty struct + dst.NestedSupportedDataRate = nil + } else { + if err = validator.Validate(dst.NestedSupportedDataRate); err != nil { + dst.NestedSupportedDataRate = nil + } else { + match++ + } + } + } else { + dst.NestedSupportedDataRate = nil + } + // try to unmarshal data into NestedTag err = newStrictDecoder(data).Decode(&dst.NestedTag) if err == nil { @@ -2166,6 +2282,23 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedVirtualChassis = nil } + // try to unmarshal data into NestedVirtualDeviceContext + err = newStrictDecoder(data).Decode(&dst.NestedVirtualDeviceContext) + if err == nil { + jsonNestedVirtualDeviceContext, _ := json.Marshal(dst.NestedVirtualDeviceContext) + if string(jsonNestedVirtualDeviceContext) == "{}" { // empty struct + dst.NestedVirtualDeviceContext = nil + } else { + if err = validator.Validate(dst.NestedVirtualDeviceContext); err != nil { + dst.NestedVirtualDeviceContext = nil + } else { + match++ + } + } + } else { + dst.NestedVirtualDeviceContext = nil + } + // try to unmarshal data into NestedVirtualMachine err = newStrictDecoder(data).Decode(&dst.NestedVirtualMachine) if err == nil { @@ -2200,6 +2333,23 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedWebhook = nil } + // try to unmarshal data into NestedWirelessNetwork + err = newStrictDecoder(data).Decode(&dst.NestedWirelessNetwork) + if err == nil { + jsonNestedWirelessNetwork, _ := json.Marshal(dst.NestedWirelessNetwork) + if string(jsonNestedWirelessNetwork) == "{}" { // empty struct + dst.NestedWirelessNetwork = nil + } else { + if err = validator.Validate(dst.NestedWirelessNetwork); err != nil { + dst.NestedWirelessNetwork = nil + } else { + match++ + } + } + } else { + dst.NestedWirelessNetwork = nil + } + if match > 1 { // more than 1 match // reset to nil dst.NestedCable = nil @@ -2244,6 +2394,7 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedJob = nil dst.NestedJobButton = nil dst.NestedJobHook = nil + dst.NestedJobQueue = nil dst.NestedLocation = nil dst.NestedLocationType = nil dst.NestedManufacturer = nil @@ -2251,6 +2402,7 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedModule = nil dst.NestedModuleBay = nil dst.NestedModuleBayTemplate = nil + dst.NestedModuleFamily = nil dst.NestedModuleType = nil dst.NestedNamespace = nil dst.NestedPlatform = nil @@ -2267,6 +2419,7 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedRack = nil dst.NestedRackGroup = nil dst.NestedRackReservation = nil + dst.NestedRadioProfile = nil dst.NestedRearPort = nil dst.NestedRearPortTemplate = nil dst.NestedRelationship = nil @@ -2278,6 +2431,7 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedSoftwareImageFile = nil dst.NestedSoftwareVersion = nil dst.NestedStatus = nil + dst.NestedSupportedDataRate = nil dst.NestedTag = nil dst.NestedTeam = nil dst.NestedTenant = nil @@ -2287,8 +2441,10 @@ func (dst *DynamicGroupAssociatedObject) UnmarshalJSON(data []byte) error { dst.NestedVMInterface = nil dst.NestedVRF = nil dst.NestedVirtualChassis = nil + dst.NestedVirtualDeviceContext = nil dst.NestedVirtualMachine = nil dst.NestedWebhook = nil + dst.NestedWirelessNetwork = nil return fmt.Errorf("data matches more than one schema in oneOf(DynamicGroupAssociatedObject)") } else if match == 1 { @@ -2468,6 +2624,10 @@ func (src DynamicGroupAssociatedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedJobHook) } + if src.NestedJobQueue != nil { + return json.Marshal(&src.NestedJobQueue) + } + if src.NestedLocation != nil { return json.Marshal(&src.NestedLocation) } @@ -2496,6 +2656,10 @@ func (src DynamicGroupAssociatedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedModuleBayTemplate) } + if src.NestedModuleFamily != nil { + return json.Marshal(&src.NestedModuleFamily) + } + if src.NestedModuleType != nil { return json.Marshal(&src.NestedModuleType) } @@ -2560,6 +2724,10 @@ func (src DynamicGroupAssociatedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedRackReservation) } + if src.NestedRadioProfile != nil { + return json.Marshal(&src.NestedRadioProfile) + } + if src.NestedRearPort != nil { return json.Marshal(&src.NestedRearPort) } @@ -2604,6 +2772,10 @@ func (src DynamicGroupAssociatedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedStatus) } + if src.NestedSupportedDataRate != nil { + return json.Marshal(&src.NestedSupportedDataRate) + } + if src.NestedTag != nil { return json.Marshal(&src.NestedTag) } @@ -2640,6 +2812,10 @@ func (src DynamicGroupAssociatedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedVirtualChassis) } + if src.NestedVirtualDeviceContext != nil { + return json.Marshal(&src.NestedVirtualDeviceContext) + } + if src.NestedVirtualMachine != nil { return json.Marshal(&src.NestedVirtualMachine) } @@ -2648,6 +2824,10 @@ func (src DynamicGroupAssociatedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedWebhook) } + if src.NestedWirelessNetwork != nil { + return json.Marshal(&src.NestedWirelessNetwork) + } + return nil, nil // no data in oneOf schemas } @@ -2824,6 +3004,10 @@ func (obj *DynamicGroupAssociatedObject) GetActualInstance() (interface{}) { return obj.NestedJobHook } + if obj.NestedJobQueue != nil { + return obj.NestedJobQueue + } + if obj.NestedLocation != nil { return obj.NestedLocation } @@ -2852,6 +3036,10 @@ func (obj *DynamicGroupAssociatedObject) GetActualInstance() (interface{}) { return obj.NestedModuleBayTemplate } + if obj.NestedModuleFamily != nil { + return obj.NestedModuleFamily + } + if obj.NestedModuleType != nil { return obj.NestedModuleType } @@ -2916,6 +3104,10 @@ func (obj *DynamicGroupAssociatedObject) GetActualInstance() (interface{}) { return obj.NestedRackReservation } + if obj.NestedRadioProfile != nil { + return obj.NestedRadioProfile + } + if obj.NestedRearPort != nil { return obj.NestedRearPort } @@ -2960,6 +3152,10 @@ func (obj *DynamicGroupAssociatedObject) GetActualInstance() (interface{}) { return obj.NestedStatus } + if obj.NestedSupportedDataRate != nil { + return obj.NestedSupportedDataRate + } + if obj.NestedTag != nil { return obj.NestedTag } @@ -2996,6 +3192,10 @@ func (obj *DynamicGroupAssociatedObject) GetActualInstance() (interface{}) { return obj.NestedVirtualChassis } + if obj.NestedVirtualDeviceContext != nil { + return obj.NestedVirtualDeviceContext + } + if obj.NestedVirtualMachine != nil { return obj.NestedVirtualMachine } @@ -3004,6 +3204,388 @@ func (obj *DynamicGroupAssociatedObject) GetActualInstance() (interface{}) { return obj.NestedWebhook } + if obj.NestedWirelessNetwork != nil { + return obj.NestedWirelessNetwork + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj DynamicGroupAssociatedObject) GetActualInstanceValue() (interface{}) { + if obj.NestedCable != nil { + return *obj.NestedCable + } + + if obj.NestedCircuit != nil { + return *obj.NestedCircuit + } + + if obj.NestedCircuitTermination != nil { + return *obj.NestedCircuitTermination + } + + if obj.NestedCircuitType != nil { + return *obj.NestedCircuitType + } + + if obj.NestedCloudAccount != nil { + return *obj.NestedCloudAccount + } + + if obj.NestedCloudNetwork != nil { + return *obj.NestedCloudNetwork + } + + if obj.NestedCloudResourceType != nil { + return *obj.NestedCloudResourceType + } + + if obj.NestedCloudService != nil { + return *obj.NestedCloudService + } + + if obj.NestedCluster != nil { + return *obj.NestedCluster + } + + if obj.NestedClusterGroup != nil { + return *obj.NestedClusterGroup + } + + if obj.NestedClusterType != nil { + return *obj.NestedClusterType + } + + if obj.NestedComputedField != nil { + return *obj.NestedComputedField + } + + if obj.NestedConfigContextSchema != nil { + return *obj.NestedConfigContextSchema + } + + if obj.NestedConsolePort != nil { + return *obj.NestedConsolePort + } + + if obj.NestedConsolePortTemplate != nil { + return *obj.NestedConsolePortTemplate + } + + if obj.NestedConsoleServerPort != nil { + return *obj.NestedConsoleServerPort + } + + if obj.NestedConsoleServerPortTemplate != nil { + return *obj.NestedConsoleServerPortTemplate + } + + if obj.NestedContact != nil { + return *obj.NestedContact + } + + if obj.NestedController != nil { + return *obj.NestedController + } + + if obj.NestedControllerManagedDeviceGroup != nil { + return *obj.NestedControllerManagedDeviceGroup + } + + if obj.NestedCustomField != nil { + return *obj.NestedCustomField + } + + if obj.NestedCustomLink != nil { + return *obj.NestedCustomLink + } + + if obj.NestedDevice != nil { + return *obj.NestedDevice + } + + if obj.NestedDeviceBay != nil { + return *obj.NestedDeviceBay + } + + if obj.NestedDeviceBayTemplate != nil { + return *obj.NestedDeviceBayTemplate + } + + if obj.NestedDeviceFamily != nil { + return *obj.NestedDeviceFamily + } + + if obj.NestedDeviceRedundancyGroup != nil { + return *obj.NestedDeviceRedundancyGroup + } + + if obj.NestedDeviceType != nil { + return *obj.NestedDeviceType + } + + if obj.NestedExportTemplate != nil { + return *obj.NestedExportTemplate + } + + if obj.NestedExternalIntegration != nil { + return *obj.NestedExternalIntegration + } + + if obj.NestedFrontPort != nil { + return *obj.NestedFrontPort + } + + if obj.NestedFrontPortTemplate != nil { + return *obj.NestedFrontPortTemplate + } + + if obj.NestedGitRepository != nil { + return *obj.NestedGitRepository + } + + if obj.NestedGraphQLQuery != nil { + return *obj.NestedGraphQLQuery + } + + if obj.NestedIPAddress != nil { + return *obj.NestedIPAddress + } + + if obj.NestedInterface != nil { + return *obj.NestedInterface + } + + if obj.NestedInterfaceRedundancyGroup != nil { + return *obj.NestedInterfaceRedundancyGroup + } + + if obj.NestedInterfaceTemplate != nil { + return *obj.NestedInterfaceTemplate + } + + if obj.NestedInventoryItem != nil { + return *obj.NestedInventoryItem + } + + if obj.NestedJob != nil { + return *obj.NestedJob + } + + if obj.NestedJobButton != nil { + return *obj.NestedJobButton + } + + if obj.NestedJobHook != nil { + return *obj.NestedJobHook + } + + if obj.NestedJobQueue != nil { + return *obj.NestedJobQueue + } + + if obj.NestedLocation != nil { + return *obj.NestedLocation + } + + if obj.NestedLocationType != nil { + return *obj.NestedLocationType + } + + if obj.NestedManufacturer != nil { + return *obj.NestedManufacturer + } + + if obj.NestedMetadataType != nil { + return *obj.NestedMetadataType + } + + if obj.NestedModule != nil { + return *obj.NestedModule + } + + if obj.NestedModuleBay != nil { + return *obj.NestedModuleBay + } + + if obj.NestedModuleBayTemplate != nil { + return *obj.NestedModuleBayTemplate + } + + if obj.NestedModuleFamily != nil { + return *obj.NestedModuleFamily + } + + if obj.NestedModuleType != nil { + return *obj.NestedModuleType + } + + if obj.NestedNamespace != nil { + return *obj.NestedNamespace + } + + if obj.NestedPlatform != nil { + return *obj.NestedPlatform + } + + if obj.NestedPowerFeed != nil { + return *obj.NestedPowerFeed + } + + if obj.NestedPowerOutlet != nil { + return *obj.NestedPowerOutlet + } + + if obj.NestedPowerOutletTemplate != nil { + return *obj.NestedPowerOutletTemplate + } + + if obj.NestedPowerPanel != nil { + return *obj.NestedPowerPanel + } + + if obj.NestedPowerPort != nil { + return *obj.NestedPowerPort + } + + if obj.NestedPowerPortTemplate != nil { + return *obj.NestedPowerPortTemplate + } + + if obj.NestedPrefix != nil { + return *obj.NestedPrefix + } + + if obj.NestedProvider != nil { + return *obj.NestedProvider + } + + if obj.NestedProviderNetwork != nil { + return *obj.NestedProviderNetwork + } + + if obj.NestedRIR != nil { + return *obj.NestedRIR + } + + if obj.NestedRack != nil { + return *obj.NestedRack + } + + if obj.NestedRackGroup != nil { + return *obj.NestedRackGroup + } + + if obj.NestedRackReservation != nil { + return *obj.NestedRackReservation + } + + if obj.NestedRadioProfile != nil { + return *obj.NestedRadioProfile + } + + if obj.NestedRearPort != nil { + return *obj.NestedRearPort + } + + if obj.NestedRearPortTemplate != nil { + return *obj.NestedRearPortTemplate + } + + if obj.NestedRelationship != nil { + return *obj.NestedRelationship + } + + if obj.NestedRole != nil { + return *obj.NestedRole + } + + if obj.NestedRouteTarget != nil { + return *obj.NestedRouteTarget + } + + if obj.NestedSecret != nil { + return *obj.NestedSecret + } + + if obj.NestedSecretsGroup != nil { + return *obj.NestedSecretsGroup + } + + if obj.NestedService != nil { + return *obj.NestedService + } + + if obj.NestedSoftwareImageFile != nil { + return *obj.NestedSoftwareImageFile + } + + if obj.NestedSoftwareVersion != nil { + return *obj.NestedSoftwareVersion + } + + if obj.NestedStatus != nil { + return *obj.NestedStatus + } + + if obj.NestedSupportedDataRate != nil { + return *obj.NestedSupportedDataRate + } + + if obj.NestedTag != nil { + return *obj.NestedTag + } + + if obj.NestedTeam != nil { + return *obj.NestedTeam + } + + if obj.NestedTenant != nil { + return *obj.NestedTenant + } + + if obj.NestedTenantGroup != nil { + return *obj.NestedTenantGroup + } + + if obj.NestedVLAN != nil { + return *obj.NestedVLAN + } + + if obj.NestedVLANGroup != nil { + return *obj.NestedVLANGroup + } + + if obj.NestedVMInterface != nil { + return *obj.NestedVMInterface + } + + if obj.NestedVRF != nil { + return *obj.NestedVRF + } + + if obj.NestedVirtualChassis != nil { + return *obj.NestedVirtualChassis + } + + if obj.NestedVirtualDeviceContext != nil { + return *obj.NestedVirtualDeviceContext + } + + if obj.NestedVirtualMachine != nil { + return *obj.NestedVirtualMachine + } + + if obj.NestedWebhook != nil { + return *obj.NestedWebhook + } + + if obj.NestedWirelessNetwork != nil { + return *obj.NestedWirelessNetwork + } + // all schemas are nil return nil } diff --git a/model_dynamic_group_membership.go b/model_dynamic_group_membership.go index 1aa49787..a99f00db 100644 --- a/model_dynamic_group_membership.go +++ b/model_dynamic_group_membership.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &DynamicGroupMembership{} // DynamicGroupMembership 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) type DynamicGroupMembership struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -39,9 +39,8 @@ type _DynamicGroupMembership DynamicGroupMembership // 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 -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 { this := DynamicGroupMembership{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -61,28 +60,36 @@ func NewDynamicGroupMembershipWithDefaults() *DynamicGroupMembership { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *DynamicGroupMembership) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DynamicGroupMembership) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DynamicGroupMembership) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *DynamicGroupMembership) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -287,7 +294,9 @@ func (o DynamicGroupMembership) MarshalJSON() ([]byte, error) { func (o DynamicGroupMembership) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -309,7 +318,6 @@ func (o *DynamicGroupMembership) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_dynamic_group_membership_request.go b/model_dynamic_group_membership_request.go index 2cd75ad9..848aec2a 100644 --- a/model_dynamic_group_membership_request.go +++ b/model_dynamic_group_membership_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &DynamicGroupMembershipRequest{} // DynamicGroupMembershipRequest 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) type DynamicGroupMembershipRequest struct { + Id *string `json:"id,omitempty"` Operator OperatorEnum `json:"operator"` Weight int32 `json:"weight"` Group BulkWritableCableRequestStatus `json:"group"` @@ -50,6 +51,38 @@ func NewDynamicGroupMembershipRequestWithDefaults() *DynamicGroupMembershipReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *DynamicGroupMembershipRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DynamicGroupMembershipRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DynamicGroupMembershipRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *DynamicGroupMembershipRequest) SetId(v string) { + o.Id = &v +} + // GetOperator returns the Operator field value func (o *DynamicGroupMembershipRequest) GetOperator() OperatorEnum { if o == nil { @@ -156,6 +189,9 @@ func (o DynamicGroupMembershipRequest) MarshalJSON() ([]byte, error) { func (o DynamicGroupMembershipRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["operator"] = o.Operator toSerialize["weight"] = o.Weight toSerialize["group"] = o.Group @@ -206,6 +242,7 @@ func (o *DynamicGroupMembershipRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "operator") delete(additionalProperties, "weight") delete(additionalProperties, "group") diff --git a/model_dynamic_group_request.go b/model_dynamic_group_request.go index 50892273..b62e629f 100644 --- a/model_dynamic_group_request.go +++ b/model_dynamic_group_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &DynamicGroupRequest{} // DynamicGroupRequest 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. type DynamicGroupRequest struct { + Id *string `json:"id,omitempty"` ContentType string `json:"content_type"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -54,6 +55,38 @@ func NewDynamicGroupRequestWithDefaults() *DynamicGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *DynamicGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DynamicGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DynamicGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *DynamicGroupRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value func (o *DynamicGroupRequest) GetContentType() string { if o == nil { @@ -347,6 +380,9 @@ func (o DynamicGroupRequest) MarshalJSON() ([]byte, error) { func (o DynamicGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_type"] = o.ContentType toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -414,6 +450,7 @@ func (o *DynamicGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_export_template.go b/model_export_template.go index 3f0c447f..a26f715d 100644 --- a/model_export_template.go +++ b/model_export_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ExportTemplate{} // ExportTemplate Extend ValidatedModelSerializer with a `relationships` field. type ExportTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -29,7 +29,7 @@ type ExportTemplate struct { NaturalSlug string `json:"natural_slug"` ContentType string `json:"content_type"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` - Owner NullableExportTemplateOwner `json:"owner"` + Owner NullableNestedGitRepository `json:"owner"` OwnerObjectId NullableString `json:"owner_object_id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -51,9 +51,8 @@ type _ExportTemplate ExportTemplate // 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 -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 { this := ExportTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -76,28 +75,36 @@ func NewExportTemplateWithDefaults() *ExportTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ExportTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ExportTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ExportTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ExportTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -263,10 +270,10 @@ func (o *ExportTemplate) UnsetOwnerContentType() { } // GetOwner returns the Owner field value -// If the value is explicit nil, the zero value for ExportTemplateOwner will be returned -func (o *ExportTemplate) GetOwner() ExportTemplateOwner { +// If the value is explicit nil, the zero value for NestedGitRepository will be returned +func (o *ExportTemplate) GetOwner() NestedGitRepository { if o == nil || o.Owner.Get() == nil { - var ret ExportTemplateOwner + var ret NestedGitRepository return ret } @@ -276,7 +283,7 @@ func (o *ExportTemplate) GetOwner() ExportTemplateOwner { // GetOwnerOk returns a tuple with the Owner field value // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ExportTemplate) GetOwnerOk() (*ExportTemplateOwner, bool) { +func (o *ExportTemplate) GetOwnerOk() (*NestedGitRepository, bool) { if o == nil { return nil, false } @@ -284,7 +291,7 @@ func (o *ExportTemplate) GetOwnerOk() (*ExportTemplateOwner, bool) { } // SetOwner sets field value -func (o *ExportTemplate) SetOwner(v ExportTemplateOwner) { +func (o *ExportTemplate) SetOwner(v NestedGitRepository) { o.Owner.Set(&v) } @@ -560,7 +567,9 @@ func (o ExportTemplate) MarshalJSON() ([]byte, error) { func (o ExportTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -600,7 +609,6 @@ func (o *ExportTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_export_template_owner.go b/model_export_template_owner.go deleted file mode 100644 index fcba066b..00000000 --- a/model_export_template_owner.go +++ /dev/null @@ -1,123 +0,0 @@ -/* -API Documentation - -Source of truth and network automation platform - -API version: 2.3.4 (2.3) -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package nautobot - -import ( - "encoding/json" - "gopkg.in/validator.v2" - "fmt" -) - -// ExportTemplateOwner - struct for ExportTemplateOwner -type ExportTemplateOwner struct { - NestedGitRepository *NestedGitRepository -} - -// NestedGitRepositoryAsExportTemplateOwner is a convenience function that returns NestedGitRepository wrapped in ExportTemplateOwner -func NestedGitRepositoryAsExportTemplateOwner(v *NestedGitRepository) ExportTemplateOwner { - return ExportTemplateOwner{ - NestedGitRepository: v, - } -} - - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *ExportTemplateOwner) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into NestedGitRepository - err = newStrictDecoder(data).Decode(&dst.NestedGitRepository) - if err == nil { - jsonNestedGitRepository, _ := json.Marshal(dst.NestedGitRepository) - if string(jsonNestedGitRepository) == "{}" { // empty struct - dst.NestedGitRepository = nil - } else { - if err = validator.Validate(dst.NestedGitRepository); err != nil { - dst.NestedGitRepository = nil - } else { - match++ - } - } - } else { - dst.NestedGitRepository = nil - } - - if match > 1 { // more than 1 match - // reset to nil - dst.NestedGitRepository = nil - - return fmt.Errorf("data matches more than one schema in oneOf(ExportTemplateOwner)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(ExportTemplateOwner)") - } -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ExportTemplateOwner) MarshalJSON() ([]byte, error) { - if src.NestedGitRepository != nil { - return json.Marshal(&src.NestedGitRepository) - } - - return nil, nil // no data in oneOf schemas -} - -// Get the actual instance -func (obj *ExportTemplateOwner) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.NestedGitRepository != nil { - return obj.NestedGitRepository - } - - // all schemas are nil - return nil -} - -type NullableExportTemplateOwner struct { - value *ExportTemplateOwner - isSet bool -} - -func (v NullableExportTemplateOwner) Get() *ExportTemplateOwner { - return v.value -} - -func (v *NullableExportTemplateOwner) Set(val *ExportTemplateOwner) { - v.value = val - v.isSet = true -} - -func (v NullableExportTemplateOwner) IsSet() bool { - return v.isSet -} - -func (v *NullableExportTemplateOwner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableExportTemplateOwner(val *ExportTemplateOwner) *NullableExportTemplateOwner { - return &NullableExportTemplateOwner{value: val, isSet: true} -} - -func (v NullableExportTemplateOwner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableExportTemplateOwner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_export_template_request.go b/model_export_template_request.go index 40b91d08..06f434c6 100644 --- a/model_export_template_request.go +++ b/model_export_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ExportTemplateRequest{} // ExportTemplateRequest Extend ValidatedModelSerializer with a `relationships` field. type ExportTemplateRequest struct { + Id *string `json:"id,omitempty"` ContentType string `json:"content_type"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` OwnerObjectId NullableString `json:"owner_object_id,omitempty"` @@ -57,6 +58,38 @@ func NewExportTemplateRequestWithDefaults() *ExportTemplateRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ExportTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ExportTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ExportTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ExportTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value func (o *ExportTemplateRequest) GetContentType() string { if o == nil { @@ -351,6 +384,9 @@ func (o ExportTemplateRequest) MarshalJSON() ([]byte, error) { func (o ExportTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_type"] = o.ContentType if o.OwnerContentType.IsSet() { toSerialize["owner_content_type"] = o.OwnerContentType.Get() @@ -417,6 +453,7 @@ func (o *ExportTemplateRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "owner_content_type") delete(additionalProperties, "owner_object_id") diff --git a/model_external_integration.go b/model_external_integration.go index 2357c738..1d8d5635 100644 --- a/model_external_integration.go +++ b/model_external_integration.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ExternalIntegration{} // ExternalIntegration 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. type ExternalIntegration struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -44,6 +44,7 @@ type ExternalIntegration struct { LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -53,9 +54,8 @@ type _ExternalIntegration ExternalIntegration // 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 -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 { this := ExternalIntegration{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -76,28 +76,36 @@ func NewExternalIntegrationWithDefaults() *ExternalIntegration { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ExternalIntegration) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ExternalIntegration) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ExternalIntegration) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ExternalIntegration) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -588,6 +596,38 @@ func (o *ExternalIntegration) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ExternalIntegration) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ExternalIntegration) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *ExternalIntegration) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *ExternalIntegration) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o ExternalIntegration) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -598,7 +638,9 @@ func (o ExternalIntegration) MarshalJSON() ([]byte, error) { func (o ExternalIntegration) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -632,6 +674,9 @@ func (o ExternalIntegration) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -645,7 +690,6 @@ func (o *ExternalIntegration) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -702,6 +746,7 @@ func (o *ExternalIntegration) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_external_integration_request.go b/model_external_integration_request.go index 319cde87..602add9c 100644 --- a/model_external_integration_request.go +++ b/model_external_integration_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ExternalIntegrationRequest{} // ExternalIntegrationRequest 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. type ExternalIntegrationRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` RemoteUrl string `json:"remote_url"` // Verify SSL certificates when connecting to the remote system @@ -35,6 +36,7 @@ type ExternalIntegrationRequest struct { SecretsGroup NullableBulkWritableExternalIntegrationRequestSecretsGroup `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -59,6 +61,38 @@ func NewExternalIntegrationRequestWithDefaults() *ExternalIntegrationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ExternalIntegrationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ExternalIntegrationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ExternalIntegrationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ExternalIntegrationRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ExternalIntegrationRequest) GetName() string { if o == nil { @@ -407,6 +441,38 @@ func (o *ExternalIntegrationRequest) SetRelationships(v map[string]BulkWritableC o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ExternalIntegrationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *ExternalIntegrationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *ExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o ExternalIntegrationRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -417,6 +483,9 @@ func (o ExternalIntegrationRequest) MarshalJSON() ([]byte, error) { func (o ExternalIntegrationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name toSerialize["remote_url"] = o.RemoteUrl if !IsNil(o.VerifySsl) { @@ -446,6 +515,9 @@ func (o ExternalIntegrationRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -490,6 +562,7 @@ func (o *ExternalIntegrationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "remote_url") delete(additionalProperties, "verify_ssl") @@ -501,6 +574,7 @@ func (o *ExternalIntegrationRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_extras_dynamic_group_memberships_list_operator_parameter_inner.go b/model_extras_dynamic_group_memberships_list_operator_parameter_inner.go index a96801fa..298ba270 100644 --- a/model_extras_dynamic_group_memberships_list_operator_parameter_inner.go +++ b/model_extras_dynamic_group_memberships_list_operator_parameter_inner.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/model_extras_dynamic_groups_list_group_type_parameter_inner.go b/model_extras_dynamic_groups_list_group_type_parameter_inner.go index b5151af6..cc2e0e3a 100644 --- a/model_extras_dynamic_groups_list_group_type_parameter_inner.go +++ b/model_extras_dynamic_groups_list_group_type_parameter_inner.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/model_extras_secrets_check_retrieve_200_response.go b/model_extras_secrets_check_retrieve_200_response.go index f99a6f09..ffc47a1f 100644 --- a/model_extras_secrets_check_retrieve_200_response.go +++ b/model_extras_secrets_check_retrieve_200_response.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/model_face_enum.go b/model_face_enum.go index e864f71b..83aff924 100644 --- a/model_face_enum.go +++ b/model_face_enum.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/model_failover_strategy_enum.go b/model_failover_strategy_enum.go index 6868601e..b881decf 100644 --- a/model_failover_strategy_enum.go +++ b/model_failover_strategy_enum.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. @@ -20,8 +20,8 @@ type FailoverStrategyEnum string // List of FailoverStrategyEnum const ( - FAILOVERSTRATEGYENUM_ACTIVE FailoverStrategyEnum = "active-active" - FAILOVERSTRATEGYENUM_PASSIVE FailoverStrategyEnum = "active-passive" + FAILOVERSTRATEGYENUM_ACTIVE_ACTIVE FailoverStrategyEnum = "active-active" + FAILOVERSTRATEGYENUM_ACTIVE_PASSIVE FailoverStrategyEnum = "active-passive" ) // All allowed values of FailoverStrategyEnum enum diff --git a/model_feed_leg_enum.go b/model_feed_leg_enum.go index 4c2ec46e..6f7f7b1c 100644 --- a/model_feed_leg_enum.go +++ b/model_feed_leg_enum.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/model_file_proxy.go b/model_file_proxy.go index 6c1f2ea4..e48ba1c2 100644 --- a/model_file_proxy.go +++ b/model_file_proxy.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &FileProxy{} // FileProxy This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type FileProxy struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -39,9 +39,8 @@ type _FileProxy FileProxy // 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 -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 { this := FileProxy{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -59,28 +58,36 @@ func NewFileProxyWithDefaults() *FileProxy { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *FileProxy) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *FileProxy) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *FileProxy) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *FileProxy) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -279,7 +286,9 @@ func (o FileProxy) MarshalJSON() ([]byte, error) { func (o FileProxy) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -302,7 +311,6 @@ func (o *FileProxy) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_filter_logic_enum.go b/model_filter_logic_enum.go index 80f4be31..b6e6d873 100644 --- a/model_filter_logic_enum.go +++ b/model_filter_logic_enum.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/model_frequency_enum.go b/model_frequency_enum.go new file mode 100644 index 00000000..afe6ddda --- /dev/null +++ b/model_frequency_enum.go @@ -0,0 +1,113 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// FrequencyEnum the model 'FrequencyEnum' +type FrequencyEnum string + +// List of FrequencyEnum +const ( + FREQUENCYENUM__2_4_GHZ FrequencyEnum = "2.4GHz" + FREQUENCYENUM__5_GHZ FrequencyEnum = "5GHz" + FREQUENCYENUM__6_GHZ FrequencyEnum = "6GHz" +) + +// All allowed values of FrequencyEnum enum +var AllowedFrequencyEnumEnumValues = []FrequencyEnum{ + "2.4GHz", + "5GHz", + "6GHz", +} + +func (v *FrequencyEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := FrequencyEnum(value) + for _, existing := range AllowedFrequencyEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid FrequencyEnum", value) +} + +// NewFrequencyEnumFromValue returns a pointer to a valid FrequencyEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewFrequencyEnumFromValue(v string) (*FrequencyEnum, error) { + ev := FrequencyEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for FrequencyEnum: valid values are %v", v, AllowedFrequencyEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v FrequencyEnum) IsValid() bool { + for _, existing := range AllowedFrequencyEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to FrequencyEnum value +func (v FrequencyEnum) Ptr() *FrequencyEnum { + return &v +} + +type NullableFrequencyEnum struct { + value *FrequencyEnum + isSet bool +} + +func (v NullableFrequencyEnum) Get() *FrequencyEnum { + return v.value +} + +func (v *NullableFrequencyEnum) Set(val *FrequencyEnum) { + v.value = val + v.isSet = true +} + +func (v NullableFrequencyEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableFrequencyEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFrequencyEnum(val *FrequencyEnum) *NullableFrequencyEnum { + return &NullableFrequencyEnum{value: val, isSet: true} +} + +func (v NullableFrequencyEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFrequencyEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_front_port.go b/model_front_port.go index f4d67d44..4104e83d 100644 --- a/model_front_port.go +++ b/model_front_port.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &FrontPort{} // FrontPort 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. type FrontPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -53,9 +53,8 @@ type _FrontPort FrontPort // 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 -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 { this := FrontPort{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -80,28 +79,36 @@ func NewFrontPortWithDefaults() *FrontPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *FrontPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *FrontPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *FrontPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *FrontPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -680,7 +687,9 @@ func (o FrontPort) MarshalJSON() ([]byte, error) { func (o FrontPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -728,7 +737,6 @@ func (o *FrontPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_front_port_template.go b/model_front_port_template.go index 8c824a2d..eb4bf557 100644 --- a/model_front_port_template.go +++ b/model_front_port_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &FrontPortTemplate{} // FrontPortTemplate 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. type FrontPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -49,9 +49,8 @@ type _FrontPortTemplate FrontPortTemplate // 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 -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 { this := FrontPortTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -73,28 +72,36 @@ func NewFrontPortTemplateWithDefaults() *FrontPortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *FrontPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *FrontPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *FrontPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *FrontPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -563,7 +570,9 @@ func (o FrontPortTemplate) MarshalJSON() ([]byte, error) { func (o FrontPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -605,7 +614,6 @@ func (o *FrontPortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_front_port_type.go b/model_front_port_type.go index bda70bae..f1fb9956 100644 --- a/model_front_port_type.go +++ b/model_front_port_type.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/model_front_port_type_label.go b/model_front_port_type_label.go index 5c577585..1e769f3f 100644 --- a/model_front_port_type_label.go +++ b/model_front_port_type_label.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/model_front_port_type_value.go b/model_front_port_type_value.go index 3561b1d1..c12fe0c1 100644 --- a/model_front_port_type_value.go +++ b/model_front_port_type_value.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/model_git_repository.go b/model_git_repository.go index f40e0bde..400d846c 100644 --- a/model_git_repository.go +++ b/model_git_repository.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &GitRepository{} // GitRepository Git repositories defined as a data source. type GitRepository struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -42,6 +42,7 @@ type GitRepository struct { LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -51,9 +52,8 @@ type _GitRepository GitRepository // 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 -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 { this := GitRepository{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -74,28 +74,36 @@ func NewGitRepositoryWithDefaults() *GitRepository { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *GitRepository) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *GitRepository) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *GitRepository) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *GitRepository) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -520,6 +528,38 @@ func (o *GitRepository) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *GitRepository) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GitRepository) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *GitRepository) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *GitRepository) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o GitRepository) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -530,7 +570,9 @@ func (o GitRepository) MarshalJSON() ([]byte, error) { func (o GitRepository) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -558,6 +600,9 @@ func (o GitRepository) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -571,7 +616,6 @@ func (o *GitRepository) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -626,6 +670,7 @@ func (o *GitRepository) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_git_repository_request.go b/model_git_repository_request.go index 90b33c2b..6adbd496 100644 --- a/model_git_repository_request.go +++ b/model_git_repository_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &GitRepositoryRequest{} // GitRepositoryRequest Git repositories defined as a data source. type GitRepositoryRequest struct { + Id *string `json:"id,omitempty"` ProvidedContents []BulkWritableGitRepositoryRequestProvidedContentsInner `json:"provided_contents,omitempty"` Name string `json:"name"` // Internal field name. Please use underscores rather than dashes in this key. @@ -33,6 +34,7 @@ type GitRepositoryRequest struct { SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -57,6 +59,38 @@ func NewGitRepositoryRequestWithDefaults() *GitRepositoryRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *GitRepositoryRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GitRepositoryRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *GitRepositoryRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *GitRepositoryRequest) SetId(v string) { + o.Id = &v +} + // GetProvidedContents returns the ProvidedContents field value if set, zero value otherwise. func (o *GitRepositoryRequest) GetProvidedContents() []BulkWritableGitRepositoryRequestProvidedContentsInner { if o == nil || IsNil(o.ProvidedContents) { @@ -339,6 +373,38 @@ func (o *GitRepositoryRequest) SetRelationships(v map[string]BulkWritableCableRe o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *GitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GitRepositoryRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *GitRepositoryRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *GitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o GitRepositoryRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -349,6 +415,9 @@ func (o GitRepositoryRequest) MarshalJSON() ([]byte, error) { func (o GitRepositoryRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ProvidedContents) { toSerialize["provided_contents"] = o.ProvidedContents } @@ -372,6 +441,9 @@ func (o GitRepositoryRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -416,6 +488,7 @@ func (o *GitRepositoryRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "provided_contents") delete(additionalProperties, "name") delete(additionalProperties, "slug") @@ -425,6 +498,7 @@ func (o *GitRepositoryRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_git_repository_sync_response.go b/model_git_repository_sync_response.go new file mode 100644 index 00000000..c9d26aca --- /dev/null +++ b/model_git_repository_sync_response.go @@ -0,0 +1,197 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the GitRepositorySyncResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GitRepositorySyncResponse{} + +// GitRepositorySyncResponse Serializer representing responses from the GitRepository.sync() POST endpoint. +type GitRepositorySyncResponse struct { + Message string `json:"message"` + JobResult JobResult `json:"job_result"` + AdditionalProperties map[string]interface{} +} + +type _GitRepositorySyncResponse 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 +func NewGitRepositorySyncResponse(message string, jobResult JobResult) *GitRepositorySyncResponse { + this := GitRepositorySyncResponse{} + this.Message = message + this.JobResult = jobResult + return &this +} + +// 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 +func NewGitRepositorySyncResponseWithDefaults() *GitRepositorySyncResponse { + this := GitRepositorySyncResponse{} + return &this +} + +// GetMessage returns the Message field value +func (o *GitRepositorySyncResponse) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *GitRepositorySyncResponse) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *GitRepositorySyncResponse) SetMessage(v string) { + o.Message = v +} + +// GetJobResult returns the JobResult field value +func (o *GitRepositorySyncResponse) GetJobResult() JobResult { + if o == nil { + var ret JobResult + return ret + } + + return o.JobResult +} + +// GetJobResultOk returns a tuple with the JobResult field value +// and a boolean to check if the value has been set. +func (o *GitRepositorySyncResponse) GetJobResultOk() (*JobResult, bool) { + if o == nil { + return nil, false + } + return &o.JobResult, true +} + +// SetJobResult sets field value +func (o *GitRepositorySyncResponse) SetJobResult(v JobResult) { + o.JobResult = v +} + +func (o GitRepositorySyncResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GitRepositorySyncResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["job_result"] = o.JobResult + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *GitRepositorySyncResponse) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "message", + "job_result", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varGitRepositorySyncResponse := _GitRepositorySyncResponse{} + + err = json.Unmarshal(data, &varGitRepositorySyncResponse) + + if err != nil { + return err + } + + *o = GitRepositorySyncResponse(varGitRepositorySyncResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "message") + delete(additionalProperties, "job_result") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableGitRepositorySyncResponse struct { + value *GitRepositorySyncResponse + isSet bool +} + +func (v NullableGitRepositorySyncResponse) Get() *GitRepositorySyncResponse { + return v.value +} + +func (v *NullableGitRepositorySyncResponse) Set(val *GitRepositorySyncResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGitRepositorySyncResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGitRepositorySyncResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGitRepositorySyncResponse(val *GitRepositorySyncResponse) *NullableGitRepositorySyncResponse { + return &NullableGitRepositorySyncResponse{value: val, isSet: true} +} + +func (v NullableGitRepositorySyncResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGitRepositorySyncResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_graph_ql_query.go b/model_graph_ql_query.go index ea58b259..318217e1 100644 --- a/model_graph_ql_query.go +++ b/model_graph_ql_query.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. @@ -21,13 +21,16 @@ var _ MappedNullable = &GraphQLQuery{} // GraphQLQuery 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) type GraphQLQuery struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` Variables map[string]interface{} `json:"variables"` + OwnerContentType NullableString `json:"owner_content_type,omitempty"` + Owner NullableNestedGitRepository `json:"owner"` + OwnerObjectId NullableString `json:"owner_object_id,omitempty"` Name string `json:"name"` Query string `json:"query"` Created NullableTime `json:"created"` @@ -42,14 +45,14 @@ type _GraphQLQuery GraphQLQuery // 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 -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 { this := GraphQLQuery{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url this.NaturalSlug = naturalSlug this.Variables = variables + this.Owner = owner this.Name = name this.Query = query this.Created = created @@ -66,28 +69,36 @@ func NewGraphQLQueryWithDefaults() *GraphQLQuery { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *GraphQLQuery) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *GraphQLQuery) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *GraphQLQuery) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *GraphQLQuery) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -210,6 +221,116 @@ func (o *GraphQLQuery) SetVariables(v map[string]interface{}) { o.Variables = v } +// GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GraphQLQuery) GetOwnerContentType() string { + if o == nil || IsNil(o.OwnerContentType.Get()) { + var ret string + return ret + } + return *o.OwnerContentType.Get() +} + +// GetOwnerContentTypeOk returns a tuple with the OwnerContentType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GraphQLQuery) GetOwnerContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerContentType.Get(), o.OwnerContentType.IsSet() +} + +// HasOwnerContentType returns a boolean if a field has been set. +func (o *GraphQLQuery) HasOwnerContentType() bool { + if o != nil && o.OwnerContentType.IsSet() { + return true + } + + return false +} + +// SetOwnerContentType gets a reference to the given NullableString and assigns it to the OwnerContentType field. +func (o *GraphQLQuery) SetOwnerContentType(v string) { + o.OwnerContentType.Set(&v) +} +// SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil +func (o *GraphQLQuery) SetOwnerContentTypeNil() { + o.OwnerContentType.Set(nil) +} + +// UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil +func (o *GraphQLQuery) UnsetOwnerContentType() { + o.OwnerContentType.Unset() +} + +// GetOwner returns the Owner field value +// If the value is explicit nil, the zero value for NestedGitRepository will be returned +func (o *GraphQLQuery) GetOwner() NestedGitRepository { + if o == nil || o.Owner.Get() == nil { + var ret NestedGitRepository + return ret + } + + return *o.Owner.Get() +} + +// GetOwnerOk returns a tuple with the Owner field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GraphQLQuery) GetOwnerOk() (*NestedGitRepository, bool) { + if o == nil { + return nil, false + } + return o.Owner.Get(), o.Owner.IsSet() +} + +// SetOwner sets field value +func (o *GraphQLQuery) SetOwner(v NestedGitRepository) { + o.Owner.Set(&v) +} + +// GetOwnerObjectId returns the OwnerObjectId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GraphQLQuery) GetOwnerObjectId() string { + if o == nil || IsNil(o.OwnerObjectId.Get()) { + var ret string + return ret + } + return *o.OwnerObjectId.Get() +} + +// GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GraphQLQuery) GetOwnerObjectIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerObjectId.Get(), o.OwnerObjectId.IsSet() +} + +// HasOwnerObjectId returns a boolean if a field has been set. +func (o *GraphQLQuery) HasOwnerObjectId() bool { + if o != nil && o.OwnerObjectId.IsSet() { + return true + } + + return false +} + +// SetOwnerObjectId gets a reference to the given NullableString and assigns it to the OwnerObjectId field. +func (o *GraphQLQuery) SetOwnerObjectId(v string) { + o.OwnerObjectId.Set(&v) +} +// SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil +func (o *GraphQLQuery) SetOwnerObjectIdNil() { + o.OwnerObjectId.Set(nil) +} + +// UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil +func (o *GraphQLQuery) UnsetOwnerObjectId() { + o.OwnerObjectId.Unset() +} + // GetName returns the Name field value func (o *GraphQLQuery) GetName() string { if o == nil { @@ -344,12 +465,21 @@ func (o GraphQLQuery) MarshalJSON() ([]byte, error) { func (o GraphQLQuery) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug toSerialize["variables"] = o.Variables + if o.OwnerContentType.IsSet() { + toSerialize["owner_content_type"] = o.OwnerContentType.Get() + } + toSerialize["owner"] = o.Owner.Get() + if o.OwnerObjectId.IsSet() { + toSerialize["owner_object_id"] = o.OwnerObjectId.Get() + } toSerialize["name"] = o.Name toSerialize["query"] = o.Query toSerialize["created"] = o.Created.Get() @@ -368,12 +498,12 @@ func (o *GraphQLQuery) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", "natural_slug", "variables", + "owner", "name", "query", "created", @@ -414,6 +544,9 @@ func (o *GraphQLQuery) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") delete(additionalProperties, "variables") + delete(additionalProperties, "owner_content_type") + delete(additionalProperties, "owner") + delete(additionalProperties, "owner_object_id") delete(additionalProperties, "name") delete(additionalProperties, "query") delete(additionalProperties, "created") diff --git a/model_graph_ql_query_input_request.go b/model_graph_ql_query_input_request.go index 745068cf..b062beae 100644 --- a/model_graph_ql_query_input_request.go +++ b/model_graph_ql_query_input_request.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/model_graph_ql_query_output.go b/model_graph_ql_query_output.go index 320a7f8f..84a53b53 100644 --- a/model_graph_ql_query_output.go +++ b/model_graph_ql_query_output.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/model_graph_ql_query_request.go b/model_graph_ql_query_request.go index 071eb172..1c0d32a4 100644 --- a/model_graph_ql_query_request.go +++ b/model_graph_ql_query_request.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. @@ -20,6 +20,9 @@ var _ MappedNullable = &GraphQLQueryRequest{} // GraphQLQueryRequest 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) type GraphQLQueryRequest struct { + Id *string `json:"id,omitempty"` + OwnerContentType NullableString `json:"owner_content_type,omitempty"` + OwnerObjectId NullableString `json:"owner_object_id,omitempty"` Name string `json:"name"` Query string `json:"query"` AdditionalProperties map[string]interface{} @@ -46,6 +49,122 @@ func NewGraphQLQueryRequestWithDefaults() *GraphQLQueryRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *GraphQLQueryRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GraphQLQueryRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *GraphQLQueryRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *GraphQLQueryRequest) SetId(v string) { + o.Id = &v +} + +// GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GraphQLQueryRequest) GetOwnerContentType() string { + if o == nil || IsNil(o.OwnerContentType.Get()) { + var ret string + return ret + } + return *o.OwnerContentType.Get() +} + +// GetOwnerContentTypeOk returns a tuple with the OwnerContentType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GraphQLQueryRequest) GetOwnerContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerContentType.Get(), o.OwnerContentType.IsSet() +} + +// HasOwnerContentType returns a boolean if a field has been set. +func (o *GraphQLQueryRequest) HasOwnerContentType() bool { + if o != nil && o.OwnerContentType.IsSet() { + return true + } + + return false +} + +// SetOwnerContentType gets a reference to the given NullableString and assigns it to the OwnerContentType field. +func (o *GraphQLQueryRequest) SetOwnerContentType(v string) { + o.OwnerContentType.Set(&v) +} +// SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil +func (o *GraphQLQueryRequest) SetOwnerContentTypeNil() { + o.OwnerContentType.Set(nil) +} + +// UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil +func (o *GraphQLQueryRequest) UnsetOwnerContentType() { + o.OwnerContentType.Unset() +} + +// GetOwnerObjectId returns the OwnerObjectId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GraphQLQueryRequest) GetOwnerObjectId() string { + if o == nil || IsNil(o.OwnerObjectId.Get()) { + var ret string + return ret + } + return *o.OwnerObjectId.Get() +} + +// GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GraphQLQueryRequest) GetOwnerObjectIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerObjectId.Get(), o.OwnerObjectId.IsSet() +} + +// HasOwnerObjectId returns a boolean if a field has been set. +func (o *GraphQLQueryRequest) HasOwnerObjectId() bool { + if o != nil && o.OwnerObjectId.IsSet() { + return true + } + + return false +} + +// SetOwnerObjectId gets a reference to the given NullableString and assigns it to the OwnerObjectId field. +func (o *GraphQLQueryRequest) SetOwnerObjectId(v string) { + o.OwnerObjectId.Set(&v) +} +// SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil +func (o *GraphQLQueryRequest) SetOwnerObjectIdNil() { + o.OwnerObjectId.Set(nil) +} + +// UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil +func (o *GraphQLQueryRequest) UnsetOwnerObjectId() { + o.OwnerObjectId.Unset() +} + // GetName returns the Name field value func (o *GraphQLQueryRequest) GetName() string { if o == nil { @@ -104,6 +223,15 @@ func (o GraphQLQueryRequest) MarshalJSON() ([]byte, error) { func (o GraphQLQueryRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.OwnerContentType.IsSet() { + toSerialize["owner_content_type"] = o.OwnerContentType.Get() + } + if o.OwnerObjectId.IsSet() { + toSerialize["owner_object_id"] = o.OwnerObjectId.Get() + } toSerialize["name"] = o.Name toSerialize["query"] = o.Query @@ -150,6 +278,9 @@ func (o *GraphQLQueryRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "owner_content_type") + delete(additionalProperties, "owner_object_id") delete(additionalProperties, "name") delete(additionalProperties, "query") o.AdditionalProperties = additionalProperties diff --git a/model_graph_qlapi_request.go b/model_graph_qlapi_request.go index 9906d921..30c11064 100644 --- a/model_graph_qlapi_request.go +++ b/model_graph_qlapi_request.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/model_graphql_create_200_response.go b/model_graphql_create_200_response.go index 5e80b3b1..1858e944 100644 --- a/model_graphql_create_200_response.go +++ b/model_graphql_create_200_response.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/model_graphql_create_400_response.go b/model_graphql_create_400_response.go index 3556f895..995a4415 100644 --- a/model_graphql_create_400_response.go +++ b/model_graphql_create_400_response.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/model_group.go b/model_group.go index 256fb363..e82a7aba 100644 --- a/model_group.go +++ b/model_group.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/model_group_request.go b/model_group_request.go index e1cfe9bc..baa3993e 100644 --- a/model_group_request.go +++ b/model_group_request.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/model_group_type_enum.go b/model_group_type_enum.go index 57cfd6be..d8fcfb1c 100644 --- a/model_group_type_enum.go +++ b/model_group_type_enum.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/model_hashing_algorithm_enum.go b/model_hashing_algorithm_enum.go index cf8c4c07..0f233d75 100644 --- a/model_hashing_algorithm_enum.go +++ b/model_hashing_algorithm_enum.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/model_http_method_enum.go b/model_http_method_enum.go index 4e9ade07..0c014791 100644 --- a/model_http_method_enum.go +++ b/model_http_method_enum.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/model_image_attachment.go b/model_image_attachment.go index ceac317e..f71d4647 100644 --- a/model_image_attachment.go +++ b/model_image_attachment.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ImageAttachment{} // ImageAttachment 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) type ImageAttachment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -43,9 +43,8 @@ type _ImageAttachment ImageAttachment // 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 -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 { this := ImageAttachment{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -67,28 +66,36 @@ func NewImageAttachmentWithDefaults() *ImageAttachment { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ImageAttachment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ImageAttachment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ImageAttachment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ImageAttachment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -373,7 +380,9 @@ func (o ImageAttachment) MarshalJSON() ([]byte, error) { func (o ImageAttachment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -400,7 +409,6 @@ func (o *ImageAttachment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_image_attachment_request.go b/model_image_attachment_request.go index 9a2933b5..4abe04dc 100644 --- a/model_image_attachment_request.go +++ b/model_image_attachment_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &ImageAttachmentRequest{} // ImageAttachmentRequest 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) type ImageAttachmentRequest struct { + Id *string `json:"id,omitempty"` ContentType string `json:"content_type"` ObjectId string `json:"object_id"` Image *os.File `json:"image"` @@ -54,6 +55,38 @@ func NewImageAttachmentRequestWithDefaults() *ImageAttachmentRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ImageAttachmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImageAttachmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ImageAttachmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ImageAttachmentRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value func (o *ImageAttachmentRequest) GetContentType() string { if o == nil { @@ -216,6 +249,9 @@ func (o ImageAttachmentRequest) MarshalJSON() ([]byte, error) { func (o ImageAttachmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_type"] = o.ContentType toSerialize["object_id"] = o.ObjectId toSerialize["image"] = o.Image @@ -271,6 +307,7 @@ func (o *ImageAttachmentRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "object_id") delete(additionalProperties, "image") diff --git a/model_interface.go b/model_interface.go index eeb917a1..213fc029 100644 --- a/model_interface.go +++ b/model_interface.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Interface{} // Interface 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. type Interface struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -70,9 +70,8 @@ type _Interface Interface // 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 -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 { this := Interface{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -101,28 +100,36 @@ func NewInterfaceWithDefaults() *Interface { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Interface) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Interface) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Interface) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Interface) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -1267,7 +1274,9 @@ func (o Interface) MarshalJSON() ([]byte, error) { func (o Interface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -1355,7 +1364,6 @@ func (o *Interface) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_interface_connection.go b/model_interface_connection.go index a0c18685..587ffc2e 100644 --- a/model_interface_connection.go +++ b/model_interface_connection.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &InterfaceConnection{} // InterfaceConnection 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) type InterfaceConnection struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -39,9 +39,8 @@ type _InterfaceConnection InterfaceConnection // 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 -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 { this := InterfaceConnection{} - this.Id = id this.ObjectType = objectType this.Display = display this.InterfaceA = interfaceA @@ -60,28 +59,36 @@ func NewInterfaceConnectionWithDefaults() *InterfaceConnection { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *InterfaceConnection) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *InterfaceConnection) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InterfaceConnection) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *InterfaceConnection) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -268,7 +275,9 @@ func (o InterfaceConnection) MarshalJSON() ([]byte, error) { func (o InterfaceConnection) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["interface_a"] = o.InterfaceA @@ -289,7 +298,6 @@ func (o *InterfaceConnection) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "interface_a", diff --git a/model_interface_mode.go b/model_interface_mode.go index 52dd1ae2..fd66a51d 100644 --- a/model_interface_mode.go +++ b/model_interface_mode.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/model_interface_mode_choices.go b/model_interface_mode_choices.go new file mode 100644 index 00000000..7c7a3181 --- /dev/null +++ b/model_interface_mode_choices.go @@ -0,0 +1,113 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// InterfaceModeChoices the model 'InterfaceModeChoices' +type InterfaceModeChoices string + +// List of InterfaceModeChoices +const ( + INTERFACEMODECHOICES_ACCESS InterfaceModeChoices = "access" + INTERFACEMODECHOICES_TAGGED InterfaceModeChoices = "tagged" + INTERFACEMODECHOICES_TAGGED_ALL InterfaceModeChoices = "tagged-all" +) + +// All allowed values of InterfaceModeChoices enum +var AllowedInterfaceModeChoicesEnumValues = []InterfaceModeChoices{ + "access", + "tagged", + "tagged-all", +} + +func (v *InterfaceModeChoices) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := InterfaceModeChoices(value) + for _, existing := range AllowedInterfaceModeChoicesEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid InterfaceModeChoices", value) +} + +// NewInterfaceModeChoicesFromValue returns a pointer to a valid InterfaceModeChoices +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewInterfaceModeChoicesFromValue(v string) (*InterfaceModeChoices, error) { + ev := InterfaceModeChoices(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for InterfaceModeChoices: valid values are %v", v, AllowedInterfaceModeChoicesEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v InterfaceModeChoices) IsValid() bool { + for _, existing := range AllowedInterfaceModeChoicesEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to InterfaceModeChoices value +func (v InterfaceModeChoices) Ptr() *InterfaceModeChoices { + return &v +} + +type NullableInterfaceModeChoices struct { + value *InterfaceModeChoices + isSet bool +} + +func (v NullableInterfaceModeChoices) Get() *InterfaceModeChoices { + return v.value +} + +func (v *NullableInterfaceModeChoices) Set(val *InterfaceModeChoices) { + v.value = val + v.isSet = true +} + +func (v NullableInterfaceModeChoices) IsSet() bool { + return v.isSet +} + +func (v *NullableInterfaceModeChoices) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInterfaceModeChoices(val *InterfaceModeChoices) *NullableInterfaceModeChoices { + return &NullableInterfaceModeChoices{value: val, isSet: true} +} + +func (v NullableInterfaceModeChoices) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInterfaceModeChoices) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_interface_mode_label.go b/model_interface_mode_label.go index 8d03980f..db6f7ed4 100644 --- a/model_interface_mode_label.go +++ b/model_interface_mode_label.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/model_interface_mode_value.go b/model_interface_mode_value.go index 327df7cb..875bd053 100644 --- a/model_interface_mode_value.go +++ b/model_interface_mode_value.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/model_interface_redundancy_group.go b/model_interface_redundancy_group.go index bd27b517..3e62b58d 100644 --- a/model_interface_redundancy_group.go +++ b/model_interface_redundancy_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &InterfaceRedundancyGroup{} // InterfaceRedundancyGroup InterfaceRedundancyGroup Serializer. type InterfaceRedundancyGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -49,9 +49,8 @@ type _InterfaceRedundancyGroup InterfaceRedundancyGroup // 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 -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 { this := InterfaceRedundancyGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -74,28 +73,36 @@ func NewInterfaceRedundancyGroupWithDefaults() *InterfaceRedundancyGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *InterfaceRedundancyGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *InterfaceRedundancyGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InterfaceRedundancyGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *InterfaceRedundancyGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -586,7 +593,9 @@ func (o InterfaceRedundancyGroup) MarshalJSON() ([]byte, error) { func (o InterfaceRedundancyGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -629,7 +638,6 @@ func (o *InterfaceRedundancyGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_interface_redundancy_group_association.go b/model_interface_redundancy_group_association.go index 51bb11c8..8328e6ef 100644 --- a/model_interface_redundancy_group_association.go +++ b/model_interface_redundancy_group_association.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &InterfaceRedundancyGroupAssociation{} // InterfaceRedundancyGroupAssociation InterfaceRedundancyGroupAssociation Serializer. type InterfaceRedundancyGroupAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -41,9 +41,8 @@ type _InterfaceRedundancyGroupAssociation InterfaceRedundancyGroupAssociation // 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 -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 { this := InterfaceRedundancyGroupAssociation{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -64,28 +63,36 @@ func NewInterfaceRedundancyGroupAssociationWithDefaults() *InterfaceRedundancyGr return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *InterfaceRedundancyGroupAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *InterfaceRedundancyGroupAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InterfaceRedundancyGroupAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *InterfaceRedundancyGroupAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -318,7 +325,9 @@ func (o InterfaceRedundancyGroupAssociation) MarshalJSON() ([]byte, error) { func (o InterfaceRedundancyGroupAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -341,7 +350,6 @@ func (o *InterfaceRedundancyGroupAssociation) UnmarshalJSON(data []byte) (err er // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_interface_redundancy_group_association_request.go b/model_interface_redundancy_group_association_request.go index 66200ff8..0c00f0d6 100644 --- a/model_interface_redundancy_group_association_request.go +++ b/model_interface_redundancy_group_association_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &InterfaceRedundancyGroupAssociationRequest{} // InterfaceRedundancyGroupAssociationRequest InterfaceRedundancyGroupAssociation Serializer. type InterfaceRedundancyGroupAssociationRequest struct { + Id *string `json:"id,omitempty"` Priority int32 `json:"priority"` InterfaceRedundancyGroup BulkWritableCableRequestStatus `json:"interface_redundancy_group"` Interface BulkWritableCableRequestStatus `json:"interface"` @@ -48,6 +49,38 @@ func NewInterfaceRedundancyGroupAssociationRequestWithDefaults() *InterfaceRedun return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *InterfaceRedundancyGroupAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InterfaceRedundancyGroupAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InterfaceRedundancyGroupAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *InterfaceRedundancyGroupAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetPriority returns the Priority field value func (o *InterfaceRedundancyGroupAssociationRequest) GetPriority() int32 { if o == nil { @@ -130,6 +163,9 @@ func (o InterfaceRedundancyGroupAssociationRequest) MarshalJSON() ([]byte, error func (o InterfaceRedundancyGroupAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["priority"] = o.Priority toSerialize["interface_redundancy_group"] = o.InterfaceRedundancyGroup toSerialize["interface"] = o.Interface @@ -178,6 +214,7 @@ func (o *InterfaceRedundancyGroupAssociationRequest) UnmarshalJSON(data []byte) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "priority") delete(additionalProperties, "interface_redundancy_group") delete(additionalProperties, "interface") diff --git a/model_interface_redundancy_group_protocol.go b/model_interface_redundancy_group_protocol.go index be2e6bf9..1a1dc213 100644 --- a/model_interface_redundancy_group_protocol.go +++ b/model_interface_redundancy_group_protocol.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/model_interface_redundancy_group_protocol_choices.go b/model_interface_redundancy_group_protocol_choices.go index 3721b184..0d02ac59 100644 --- a/model_interface_redundancy_group_protocol_choices.go +++ b/model_interface_redundancy_group_protocol_choices.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/model_interface_redundancy_group_protocol_label.go b/model_interface_redundancy_group_protocol_label.go index 3c3862ba..13214022 100644 --- a/model_interface_redundancy_group_protocol_label.go +++ b/model_interface_redundancy_group_protocol_label.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/model_interface_redundancy_group_protocol_value.go b/model_interface_redundancy_group_protocol_value.go index d4d80023..e8ac255a 100644 --- a/model_interface_redundancy_group_protocol_value.go +++ b/model_interface_redundancy_group_protocol_value.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/model_interface_template.go b/model_interface_template.go index e309af5e..4e6222bf 100644 --- a/model_interface_template.go +++ b/model_interface_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &InterfaceTemplate{} // InterfaceTemplate 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. type InterfaceTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -48,9 +48,8 @@ type _InterfaceTemplate InterfaceTemplate // 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 -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 { this := InterfaceTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewInterfaceTemplateWithDefaults() *InterfaceTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *InterfaceTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *InterfaceTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InterfaceTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *InterfaceTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -537,7 +544,9 @@ func (o InterfaceTemplate) MarshalJSON() ([]byte, error) { func (o InterfaceTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -578,7 +587,6 @@ func (o *InterfaceTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_interface_type.go b/model_interface_type.go index c522c824..0d48a977 100644 --- a/model_interface_type.go +++ b/model_interface_type.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/model_interface_type_choices.go b/model_interface_type_choices.go index 3ed6247e..c04af85a 100644 --- a/model_interface_type_choices.go +++ b/model_interface_type_choices.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. @@ -63,6 +63,9 @@ const ( INTERFACETYPECHOICES__400GBASE_X_CFP8 InterfaceTypeChoices = "400gbase-x-cfp8" INTERFACETYPECHOICES__800GBASE_X_QSFPDD InterfaceTypeChoices = "800gbase-x-qsfpdd" INTERFACETYPECHOICES__800GBASE_X_OSFP InterfaceTypeChoices = "800gbase-x-osfp" + INTERFACETYPECHOICES__800GBASE_X_OSFP_XD InterfaceTypeChoices = "800gbase-x-osfp-xd" + INTERFACETYPECHOICES__1600GBASE_X_OSFP InterfaceTypeChoices = "1600gbase-x-osfp" + INTERFACETYPECHOICES__1600GBASE_X_OSFP_XD InterfaceTypeChoices = "1600gbase-x-osfp-xd" INTERFACETYPECHOICES__1000BASE_KX InterfaceTypeChoices = "1000base-kx" INTERFACETYPECHOICES__10GBASE_KR InterfaceTypeChoices = "10gbase-kr" INTERFACETYPECHOICES__10GBASE_KX4 InterfaceTypeChoices = "10gbase-kx4" @@ -201,6 +204,9 @@ var AllowedInterfaceTypeChoicesEnumValues = []InterfaceTypeChoices{ "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", diff --git a/model_interface_type_label.go b/model_interface_type_label.go index ec95ca80..4417bccf 100644 --- a/model_interface_type_label.go +++ b/model_interface_type_label.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. @@ -63,6 +63,9 @@ const ( INTERFACETYPELABEL_CPF8__400_GE InterfaceTypeLabel = "CPF8 (400GE)" INTERFACETYPELABEL_QSFP_DD__800_GE InterfaceTypeLabel = "QSFP-DD (800GE)" INTERFACETYPELABEL_OSFP__800_GE InterfaceTypeLabel = "OSFP (800GE)" + INTERFACETYPELABEL_OSFP_XD__800_GE InterfaceTypeLabel = "OSFP-XD (800GE)" + INTERFACETYPELABEL_OSFP__1600_GE InterfaceTypeLabel = "OSFP (1600GE)" + INTERFACETYPELABEL_OSFP_XD__1600_GE InterfaceTypeLabel = "OSFP-XD (1600GE)" INTERFACETYPELABEL__1000_BASE_KX__1_GE InterfaceTypeLabel = "1000BASE-KX (1GE)" INTERFACETYPELABEL__10_GBASE_KR__10_GE InterfaceTypeLabel = "10GBASE-KR (10GE)" INTERFACETYPELABEL__10_GBASE_KX4__10_GE InterfaceTypeLabel = "10GBASE-KX4 (10GE)" @@ -201,6 +204,9 @@ var AllowedInterfaceTypeLabelEnumValues = []InterfaceTypeLabel{ "CPF8 (400GE)", "QSFP-DD (800GE)", "OSFP (800GE)", + "OSFP-XD (800GE)", + "OSFP (1600GE)", + "OSFP-XD (1600GE)", "1000BASE-KX (1GE)", "10GBASE-KR (10GE)", "10GBASE-KX4 (10GE)", diff --git a/model_interface_type_value.go b/model_interface_type_value.go index c3a03528..2fd38350 100644 --- a/model_interface_type_value.go +++ b/model_interface_type_value.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. @@ -63,6 +63,9 @@ const ( INTERFACETYPEVALUE__400GBASE_X_CFP8 InterfaceTypeValue = "400gbase-x-cfp8" INTERFACETYPEVALUE__800GBASE_X_QSFPDD InterfaceTypeValue = "800gbase-x-qsfpdd" INTERFACETYPEVALUE__800GBASE_X_OSFP InterfaceTypeValue = "800gbase-x-osfp" + INTERFACETYPEVALUE__800GBASE_X_OSFP_XD InterfaceTypeValue = "800gbase-x-osfp-xd" + INTERFACETYPEVALUE__1600GBASE_X_OSFP InterfaceTypeValue = "1600gbase-x-osfp" + INTERFACETYPEVALUE__1600GBASE_X_OSFP_XD InterfaceTypeValue = "1600gbase-x-osfp-xd" INTERFACETYPEVALUE__1000BASE_KX InterfaceTypeValue = "1000base-kx" INTERFACETYPEVALUE__10GBASE_KR InterfaceTypeValue = "10gbase-kr" INTERFACETYPEVALUE__10GBASE_KX4 InterfaceTypeValue = "10gbase-kx4" @@ -201,6 +204,9 @@ var AllowedInterfaceTypeValueEnumValues = []InterfaceTypeValue{ "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", diff --git a/model_interface_vdc_assignment.go b/model_interface_vdc_assignment.go new file mode 100644 index 00000000..02b056c7 --- /dev/null +++ b/model_interface_vdc_assignment.go @@ -0,0 +1,351 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the InterfaceVDCAssignment type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InterfaceVDCAssignment{} + +// InterfaceVDCAssignment 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) +type InterfaceVDCAssignment struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + VirtualDeviceContext BulkWritableCableRequestStatus `json:"virtual_device_context"` + Interface BulkWritableCableRequestStatus `json:"interface"` + AdditionalProperties map[string]interface{} +} + +type _InterfaceVDCAssignment 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 +func NewInterfaceVDCAssignment(objectType string, display string, url string, naturalSlug string, virtualDeviceContext BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus) *InterfaceVDCAssignment { + this := InterfaceVDCAssignment{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.VirtualDeviceContext = virtualDeviceContext + this.Interface = interface_ + return &this +} + +// 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 +func NewInterfaceVDCAssignmentWithDefaults() *InterfaceVDCAssignment { + this := InterfaceVDCAssignment{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *InterfaceVDCAssignment) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignment) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InterfaceVDCAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *InterfaceVDCAssignment) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *InterfaceVDCAssignment) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignment) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *InterfaceVDCAssignment) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *InterfaceVDCAssignment) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignment) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *InterfaceVDCAssignment) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *InterfaceVDCAssignment) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignment) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *InterfaceVDCAssignment) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *InterfaceVDCAssignment) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignment) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *InterfaceVDCAssignment) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetVirtualDeviceContext returns the VirtualDeviceContext field value +func (o *InterfaceVDCAssignment) GetVirtualDeviceContext() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.VirtualDeviceContext +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignment) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.VirtualDeviceContext, true +} + +// SetVirtualDeviceContext sets field value +func (o *InterfaceVDCAssignment) SetVirtualDeviceContext(v BulkWritableCableRequestStatus) { + o.VirtualDeviceContext = v +} + +// GetInterface returns the Interface field value +func (o *InterfaceVDCAssignment) GetInterface() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Interface +} + +// GetInterfaceOk returns a tuple with the Interface field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignment) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Interface, true +} + +// SetInterface sets field value +func (o *InterfaceVDCAssignment) SetInterface(v BulkWritableCableRequestStatus) { + o.Interface = v +} + +func (o InterfaceVDCAssignment) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InterfaceVDCAssignment) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["virtual_device_context"] = o.VirtualDeviceContext + toSerialize["interface"] = o.Interface + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *InterfaceVDCAssignment) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "virtual_device_context", + "interface", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varInterfaceVDCAssignment := _InterfaceVDCAssignment{} + + err = json.Unmarshal(data, &varInterfaceVDCAssignment) + + if err != nil { + return err + } + + *o = InterfaceVDCAssignment(varInterfaceVDCAssignment) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "virtual_device_context") + delete(additionalProperties, "interface") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableInterfaceVDCAssignment struct { + value *InterfaceVDCAssignment + isSet bool +} + +func (v NullableInterfaceVDCAssignment) Get() *InterfaceVDCAssignment { + return v.value +} + +func (v *NullableInterfaceVDCAssignment) Set(val *InterfaceVDCAssignment) { + v.value = val + v.isSet = true +} + +func (v NullableInterfaceVDCAssignment) IsSet() bool { + return v.isSet +} + +func (v *NullableInterfaceVDCAssignment) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInterfaceVDCAssignment(val *InterfaceVDCAssignment) *NullableInterfaceVDCAssignment { + return &NullableInterfaceVDCAssignment{value: val, isSet: true} +} + +func (v NullableInterfaceVDCAssignment) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInterfaceVDCAssignment) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_interface_vdc_assignment_request.go b/model_interface_vdc_assignment_request.go new file mode 100644 index 00000000..1985d9a7 --- /dev/null +++ b/model_interface_vdc_assignment_request.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the InterfaceVDCAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InterfaceVDCAssignmentRequest{} + +// InterfaceVDCAssignmentRequest 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) +type InterfaceVDCAssignmentRequest struct { + Id *string `json:"id,omitempty"` + VirtualDeviceContext BulkWritableCableRequestStatus `json:"virtual_device_context"` + Interface BulkWritableCableRequestStatus `json:"interface"` + AdditionalProperties map[string]interface{} +} + +type _InterfaceVDCAssignmentRequest 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 +func NewInterfaceVDCAssignmentRequest(virtualDeviceContext BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus) *InterfaceVDCAssignmentRequest { + this := InterfaceVDCAssignmentRequest{} + this.VirtualDeviceContext = virtualDeviceContext + this.Interface = interface_ + return &this +} + +// 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 +func NewInterfaceVDCAssignmentRequestWithDefaults() *InterfaceVDCAssignmentRequest { + this := InterfaceVDCAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *InterfaceVDCAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InterfaceVDCAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *InterfaceVDCAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetVirtualDeviceContext returns the VirtualDeviceContext field value +func (o *InterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.VirtualDeviceContext +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.VirtualDeviceContext, true +} + +// SetVirtualDeviceContext sets field value +func (o *InterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus) { + o.VirtualDeviceContext = v +} + +// GetInterface returns the Interface field value +func (o *InterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Interface +} + +// GetInterfaceOk returns a tuple with the Interface field value +// and a boolean to check if the value has been set. +func (o *InterfaceVDCAssignmentRequest) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Interface, true +} + +// SetInterface sets field value +func (o *InterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus) { + o.Interface = v +} + +func (o InterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InterfaceVDCAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["virtual_device_context"] = o.VirtualDeviceContext + toSerialize["interface"] = o.Interface + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *InterfaceVDCAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "virtual_device_context", + "interface", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varInterfaceVDCAssignmentRequest := _InterfaceVDCAssignmentRequest{} + + err = json.Unmarshal(data, &varInterfaceVDCAssignmentRequest) + + if err != nil { + return err + } + + *o = InterfaceVDCAssignmentRequest(varInterfaceVDCAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "virtual_device_context") + delete(additionalProperties, "interface") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableInterfaceVDCAssignmentRequest struct { + value *InterfaceVDCAssignmentRequest + isSet bool +} + +func (v NullableInterfaceVDCAssignmentRequest) Get() *InterfaceVDCAssignmentRequest { + return v.value +} + +func (v *NullableInterfaceVDCAssignmentRequest) Set(val *InterfaceVDCAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableInterfaceVDCAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableInterfaceVDCAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInterfaceVDCAssignmentRequest(val *InterfaceVDCAssignmentRequest) *NullableInterfaceVDCAssignmentRequest { + return &NullableInterfaceVDCAssignmentRequest{value: val, isSet: true} +} + +func (v NullableInterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInterfaceVDCAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inventory_item.go b/model_inventory_item.go index f5b2a42f..12616f31 100644 --- a/model_inventory_item.go +++ b/model_inventory_item.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &InventoryItem{} // InventoryItem Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type InventoryItem struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -59,9 +59,8 @@ type _InventoryItem InventoryItem // 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 -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 { this := InventoryItem{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -83,28 +82,36 @@ func NewInventoryItemWithDefaults() *InventoryItem { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *InventoryItem) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *InventoryItem) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InventoryItem) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *InventoryItem) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -787,7 +794,9 @@ func (o InventoryItem) MarshalJSON() ([]byte, error) { func (o InventoryItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -847,7 +856,6 @@ func (o *InventoryItem) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_inventory_item_request.go b/model_inventory_item_request.go index 31b40e79..1a945db1 100644 --- a/model_inventory_item_request.go +++ b/model_inventory_item_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &InventoryItemRequest{} // InventoryItemRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type InventoryItemRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -64,6 +65,38 @@ func NewInventoryItemRequestWithDefaults() *InventoryItemRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *InventoryItemRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InventoryItemRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *InventoryItemRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *InventoryItemRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *InventoryItemRequest) GetName() string { if o == nil { @@ -578,6 +611,9 @@ func (o InventoryItemRequest) MarshalJSON() ([]byte, error) { func (o InventoryItemRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -663,6 +699,7 @@ func (o *InventoryItemRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_ip_address.go b/model_ip_address.go index 901cc943..b8b226a5 100644 --- a/model_ip_address.go +++ b/model_ip_address.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &IPAddress{} // IPAddress 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. type IPAddress struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -59,9 +59,8 @@ type _IPAddress IPAddress // 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 -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 { this := IPAddress{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -88,28 +87,36 @@ func NewIPAddressWithDefaults() *IPAddress { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *IPAddress) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *IPAddress) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *IPAddress) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *IPAddress) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -814,7 +821,9 @@ func (o IPAddress) MarshalJSON() ([]byte, error) { func (o IPAddress) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -870,7 +879,6 @@ func (o *IPAddress) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_ip_address_request.go b/model_ip_address_request.go index 12f549fe..e0c2e9e4 100644 --- a/model_ip_address_request.go +++ b/model_ip_address_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &IPAddressRequest{} // IPAddressRequest 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. type IPAddressRequest struct { + Id *string `json:"id,omitempty"` Address string `json:"address"` Namespace *BulkWritableIPAddressRequestNamespace `json:"namespace,omitempty"` Type *IPAddressTypeChoices `json:"type,omitempty"` @@ -58,6 +59,38 @@ func NewIPAddressRequestWithDefaults() *IPAddressRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *IPAddressRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddressRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *IPAddressRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *IPAddressRequest) SetId(v string) { + o.Id = &v +} + // GetAddress returns the Address field value func (o *IPAddressRequest) GetAddress() string { if o == nil { @@ -508,6 +541,9 @@ func (o IPAddressRequest) MarshalJSON() ([]byte, error) { func (o IPAddressRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["address"] = o.Address if !IsNil(o.Namespace) { toSerialize["namespace"] = o.Namespace @@ -587,6 +623,7 @@ func (o *IPAddressRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "address") delete(additionalProperties, "namespace") delete(additionalProperties, "type") diff --git a/model_ip_address_to_interface.go b/model_ip_address_to_interface.go index 2080b143..3bd100e6 100644 --- a/model_ip_address_to_interface.go +++ b/model_ip_address_to_interface.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &IPAddressToInterface{} // IPAddressToInterface 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) type IPAddressToInterface struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -52,9 +52,8 @@ type _IPAddressToInterface IPAddressToInterface // 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 -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 { this := IPAddressToInterface{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewIPAddressToInterfaceWithDefaults() *IPAddressToInterface { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *IPAddressToInterface) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *IPAddressToInterface) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *IPAddressToInterface) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *IPAddressToInterface) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -533,7 +540,9 @@ func (o IPAddressToInterface) MarshalJSON() ([]byte, error) { func (o IPAddressToInterface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -579,7 +588,6 @@ func (o *IPAddressToInterface) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_ip_address_to_interface_request.go b/model_ip_address_to_interface_request.go index 4dd38c1d..c8b16f31 100644 --- a/model_ip_address_to_interface_request.go +++ b/model_ip_address_to_interface_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &IPAddressToInterfaceRequest{} // IPAddressToInterfaceRequest 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) type IPAddressToInterfaceRequest struct { + Id *string `json:"id,omitempty"` // Is source address on interface IsSource *bool `json:"is_source,omitempty"` // Is destination address on interface @@ -60,6 +61,38 @@ func NewIPAddressToInterfaceRequestWithDefaults() *IPAddressToInterfaceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *IPAddressToInterfaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddressToInterfaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *IPAddressToInterfaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *IPAddressToInterfaceRequest) SetId(v string) { + o.Id = &v +} + // GetIsSource returns the IsSource field value if set, zero value otherwise. func (o *IPAddressToInterfaceRequest) GetIsSource() bool { if o == nil || IsNil(o.IsSource) { @@ -402,6 +435,9 @@ func (o IPAddressToInterfaceRequest) MarshalJSON() ([]byte, error) { func (o IPAddressToInterfaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.IsSource) { toSerialize["is_source"] = o.IsSource } @@ -473,6 +509,7 @@ func (o *IPAddressToInterfaceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "is_source") delete(additionalProperties, "is_destination") delete(additionalProperties, "is_default") diff --git a/model_ip_address_type_choices.go b/model_ip_address_type_choices.go index 2c2f3475..14a5315e 100644 --- a/model_ip_address_type_choices.go +++ b/model_ip_address_type_choices.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/model_ip_addresses.go b/model_ip_addresses.go index 5187e905..567a283b 100644 --- a/model_ip_addresses.go +++ b/model_ip_addresses.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/model_ip_allocation_request.go b/model_ip_allocation_request.go index b477db59..0c3a2bc3 100644 --- a/model_ip_allocation_request.go +++ b/model_ip_allocation_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &IPAllocationRequest{} // IPAllocationRequest Input serializer for POST to /api/ipam/prefixes//available-ips/, i.e. allocating addresses from a prefix. type IPAllocationRequest struct { + Id *string `json:"id,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` Type *IPAddressTypeChoices `json:"type,omitempty"` // Hostname or FQDN (not case-sensitive) @@ -54,6 +55,38 @@ func NewIPAllocationRequestWithDefaults() *IPAllocationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *IPAllocationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAllocationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *IPAllocationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *IPAllocationRequest) SetId(v string) { + o.Id = &v +} + // GetStatus returns the Status field value func (o *IPAllocationRequest) GetStatus() BulkWritableCableRequestStatus { if o == nil { @@ -406,6 +439,9 @@ func (o IPAllocationRequest) MarshalJSON() ([]byte, error) { func (o IPAllocationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["status"] = o.Status if !IsNil(o.Type) { toSerialize["type"] = o.Type @@ -477,6 +513,7 @@ func (o *IPAllocationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "status") delete(additionalProperties, "type") delete(additionalProperties, "dns_name") diff --git a/model_ipam_prefixes_available_ips_list_range_end_parameter.go b/model_ipam_prefixes_available_ips_list_range_end_parameter.go new file mode 100644 index 00000000..7170cc9e --- /dev/null +++ b/model_ipam_prefixes_available_ips_list_range_end_parameter.go @@ -0,0 +1,133 @@ +/* +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 ( + "encoding/json" + "fmt" + "gopkg.in/validator.v2" +) + +// IpamPrefixesAvailableIpsListRangeEndParameter - struct for IpamPrefixesAvailableIpsListRangeEndParameter +type IpamPrefixesAvailableIpsListRangeEndParameter struct { + String *string +} + +// stringAsIpamPrefixesAvailableIpsListRangeEndParameter is a convenience function that returns string wrapped in IpamPrefixesAvailableIpsListRangeEndParameter +func StringAsIpamPrefixesAvailableIpsListRangeEndParameter(v *string) IpamPrefixesAvailableIpsListRangeEndParameter { + return IpamPrefixesAvailableIpsListRangeEndParameter{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *IpamPrefixesAvailableIpsListRangeEndParameter) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + if err = validator.Validate(dst.String); err != nil { + dst.String = nil + } else { + match++ + } + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(IpamPrefixesAvailableIpsListRangeEndParameter)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(IpamPrefixesAvailableIpsListRangeEndParameter)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src IpamPrefixesAvailableIpsListRangeEndParameter) MarshalJSON() ([]byte, error) { + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *IpamPrefixesAvailableIpsListRangeEndParameter) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj IpamPrefixesAvailableIpsListRangeEndParameter) GetActualInstanceValue() (interface{}) { + if obj.String != nil { + return *obj.String + } + + // all schemas are nil + return nil +} + +type NullableIpamPrefixesAvailableIpsListRangeEndParameter struct { + value *IpamPrefixesAvailableIpsListRangeEndParameter + isSet bool +} + +func (v NullableIpamPrefixesAvailableIpsListRangeEndParameter) Get() *IpamPrefixesAvailableIpsListRangeEndParameter { + return v.value +} + +func (v *NullableIpamPrefixesAvailableIpsListRangeEndParameter) Set(val *IpamPrefixesAvailableIpsListRangeEndParameter) { + v.value = val + v.isSet = true +} + +func (v NullableIpamPrefixesAvailableIpsListRangeEndParameter) IsSet() bool { + return v.isSet +} + +func (v *NullableIpamPrefixesAvailableIpsListRangeEndParameter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIpamPrefixesAvailableIpsListRangeEndParameter(val *IpamPrefixesAvailableIpsListRangeEndParameter) *NullableIpamPrefixesAvailableIpsListRangeEndParameter { + return &NullableIpamPrefixesAvailableIpsListRangeEndParameter{value: val, isSet: true} +} + +func (v NullableIpamPrefixesAvailableIpsListRangeEndParameter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIpamPrefixesAvailableIpsListRangeEndParameter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ipam_vlan_groups_available_vlans_list_200_response.go b/model_ipam_vlan_groups_available_vlans_list_200_response.go new file mode 100644 index 00000000..adf2c526 --- /dev/null +++ b/model_ipam_vlan_groups_available_vlans_list_200_response.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the IpamVlanGroupsAvailableVlansList200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IpamVlanGroupsAvailableVlansList200Response{} + +// IpamVlanGroupsAvailableVlansList200Response struct for IpamVlanGroupsAvailableVlansList200Response +type IpamVlanGroupsAvailableVlansList200Response struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []int32 `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _IpamVlanGroupsAvailableVlansList200Response 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 +func NewIpamVlanGroupsAvailableVlansList200Response(count int32, results []int32) *IpamVlanGroupsAvailableVlansList200Response { + this := IpamVlanGroupsAvailableVlansList200Response{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewIpamVlanGroupsAvailableVlansList200ResponseWithDefaults() *IpamVlanGroupsAvailableVlansList200Response { + this := IpamVlanGroupsAvailableVlansList200Response{} + return &this +} + +// GetCount returns the Count field value +func (o *IpamVlanGroupsAvailableVlansList200Response) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *IpamVlanGroupsAvailableVlansList200Response) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *IpamVlanGroupsAvailableVlansList200Response) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IpamVlanGroupsAvailableVlansList200Response) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IpamVlanGroupsAvailableVlansList200Response) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *IpamVlanGroupsAvailableVlansList200Response) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *IpamVlanGroupsAvailableVlansList200Response) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *IpamVlanGroupsAvailableVlansList200Response) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *IpamVlanGroupsAvailableVlansList200Response) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IpamVlanGroupsAvailableVlansList200Response) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IpamVlanGroupsAvailableVlansList200Response) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *IpamVlanGroupsAvailableVlansList200Response) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *IpamVlanGroupsAvailableVlansList200Response) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *IpamVlanGroupsAvailableVlansList200Response) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *IpamVlanGroupsAvailableVlansList200Response) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *IpamVlanGroupsAvailableVlansList200Response) GetResults() []int32 { + if o == nil { + var ret []int32 + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *IpamVlanGroupsAvailableVlansList200Response) GetResultsOk() ([]int32, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *IpamVlanGroupsAvailableVlansList200Response) SetResults(v []int32) { + o.Results = v +} + +func (o IpamVlanGroupsAvailableVlansList200Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IpamVlanGroupsAvailableVlansList200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *IpamVlanGroupsAvailableVlansList200Response) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varIpamVlanGroupsAvailableVlansList200Response := _IpamVlanGroupsAvailableVlansList200Response{} + + err = json.Unmarshal(data, &varIpamVlanGroupsAvailableVlansList200Response) + + if err != nil { + return err + } + + *o = IpamVlanGroupsAvailableVlansList200Response(varIpamVlanGroupsAvailableVlansList200Response) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableIpamVlanGroupsAvailableVlansList200Response struct { + value *IpamVlanGroupsAvailableVlansList200Response + isSet bool +} + +func (v NullableIpamVlanGroupsAvailableVlansList200Response) Get() *IpamVlanGroupsAvailableVlansList200Response { + return v.value +} + +func (v *NullableIpamVlanGroupsAvailableVlansList200Response) Set(val *IpamVlanGroupsAvailableVlansList200Response) { + v.value = val + v.isSet = true +} + +func (v NullableIpamVlanGroupsAvailableVlansList200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableIpamVlanGroupsAvailableVlansList200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIpamVlanGroupsAvailableVlansList200Response(val *IpamVlanGroupsAvailableVlansList200Response) *NullableIpamVlanGroupsAvailableVlansList200Response { + return &NullableIpamVlanGroupsAvailableVlansList200Response{value: val, isSet: true} +} + +func (v NullableIpamVlanGroupsAvailableVlansList200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIpamVlanGroupsAvailableVlansList200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_job.go b/model_job.go index d3202e90..4d794536 100644 --- a/model_job.go +++ b/model_job.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. @@ -21,12 +21,14 @@ var _ MappedNullable = &Job{} // Job 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. type Job struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` + TaskQueues interface{} `json:"task_queues"` + TaskQueuesOverride bool `json:"task_queues_override"` // Dotted name of the Python module providing this job ModuleName string `json:"module_name"` // Name of the Python class providing this job @@ -47,6 +49,8 @@ type Job struct { IsJobButtonReceiver bool `json:"is_job_button_receiver"` // Whether this job contains sensitive variables HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + // Whether this job should fail to run if another instance of this job is already running + IsSingleton *bool `json:"is_singleton,omitempty"` // Whether the job requires approval from another user before running ApprovalRequired *bool `json:"approval_required,omitempty"` // Whether the job defaults to not being shown in the UI @@ -59,8 +63,6 @@ type Job struct { SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` // Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default TimeLimit *float64 `json:"time_limit,omitempty"` - // Comma separated list of task queues that this job can run on. A blank list will use the default queue - TaskQueues interface{} `json:"task_queues,omitempty"` // If supported, allows the job to bypass approval when running with dryrun argument set to true SupportsDryrun bool `json:"supports_dryrun"` // If set, the configured grouping will remain even if the underlying Job source code changes @@ -82,7 +84,14 @@ type Job struct { // If set, the configured value will remain even if the underlying Job source code changes HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` // If set, the configured value will remain even if the underlying Job source code changes - TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + JobQueuesOverride *bool `json:"job_queues_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + DefaultJobQueueOverride *bool `json:"default_job_queue_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + IsSingletonOverride *bool `json:"is_singleton_override,omitempty"` + DefaultJobQueue BulkWritableCableRequestStatus `json:"default_job_queue"` + // The job queues that this job can be run on + JobQueues []JobQueues `json:"job_queues"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -97,13 +106,14 @@ type _Job Job // 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 -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 { this := Job{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url this.NaturalSlug = naturalSlug + this.TaskQueues = taskQueues + this.TaskQueuesOverride = taskQueuesOverride this.ModuleName = moduleName this.JobClassName = jobClassName this.Grouping = grouping @@ -113,6 +123,8 @@ func NewJob(id string, objectType string, display string, url string, naturalSlu this.IsJobButtonReceiver = isJobButtonReceiver this.ReadOnly = readOnly this.SupportsDryrun = supportsDryrun + this.DefaultJobQueue = defaultJobQueue + this.JobQueues = jobQueues this.Created = created this.LastUpdated = lastUpdated this.NotesUrl = notesUrl @@ -127,28 +139,36 @@ func NewJobWithDefaults() *Job { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Job) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Job) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Job) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Job) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -247,6 +267,56 @@ func (o *Job) SetNaturalSlug(v string) { o.NaturalSlug = v } +// GetTaskQueues returns the TaskQueues field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *Job) GetTaskQueues() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.TaskQueues +} + +// GetTaskQueuesOk returns a tuple with the TaskQueues field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Job) GetTaskQueuesOk() (*interface{}, bool) { + if o == nil || IsNil(o.TaskQueues) { + return nil, false + } + return &o.TaskQueues, true +} + +// SetTaskQueues sets field value +func (o *Job) SetTaskQueues(v interface{}) { + o.TaskQueues = v +} + +// GetTaskQueuesOverride returns the TaskQueuesOverride field value +func (o *Job) GetTaskQueuesOverride() bool { + if o == nil { + var ret bool + return ret + } + + return o.TaskQueuesOverride +} + +// GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field value +// and a boolean to check if the value has been set. +func (o *Job) GetTaskQueuesOverrideOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.TaskQueuesOverride, true +} + +// SetTaskQueuesOverride sets field value +func (o *Job) SetTaskQueuesOverride(v bool) { + o.TaskQueuesOverride = v +} + // GetModuleName returns the ModuleName field value func (o *Job) GetModuleName() string { if o == nil { @@ -511,6 +581,38 @@ func (o *Job) SetHasSensitiveVariables(v bool) { o.HasSensitiveVariables = &v } +// GetIsSingleton returns the IsSingleton field value if set, zero value otherwise. +func (o *Job) GetIsSingleton() bool { + if o == nil || IsNil(o.IsSingleton) { + var ret bool + return ret + } + return *o.IsSingleton +} + +// GetIsSingletonOk returns a tuple with the IsSingleton field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Job) GetIsSingletonOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingleton) { + return nil, false + } + return o.IsSingleton, true +} + +// HasIsSingleton returns a boolean if a field has been set. +func (o *Job) HasIsSingleton() bool { + if o != nil && !IsNil(o.IsSingleton) { + return true + } + + return false +} + +// SetIsSingleton gets a reference to the given bool and assigns it to the IsSingleton field. +func (o *Job) SetIsSingleton(v bool) { + o.IsSingleton = &v +} + // GetApprovalRequired returns the ApprovalRequired field value if set, zero value otherwise. func (o *Job) GetApprovalRequired() bool { if o == nil || IsNil(o.ApprovalRequired) { @@ -695,39 +797,6 @@ func (o *Job) SetTimeLimit(v float64) { o.TimeLimit = &v } -// GetTaskQueues returns the TaskQueues field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Job) GetTaskQueues() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.TaskQueues -} - -// GetTaskQueuesOk returns a tuple with the TaskQueues field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *Job) GetTaskQueuesOk() (*interface{}, bool) { - if o == nil || IsNil(o.TaskQueues) { - return nil, false - } - return &o.TaskQueues, true -} - -// HasTaskQueues returns a boolean if a field has been set. -func (o *Job) HasTaskQueues() bool { - if o != nil && !IsNil(o.TaskQueues) { - return true - } - - return false -} - -// SetTaskQueues gets a reference to the given interface{} and assigns it to the TaskQueues field. -func (o *Job) SetTaskQueues(v interface{}) { - o.TaskQueues = v -} - // GetSupportsDryrun returns the SupportsDryrun field value func (o *Job) GetSupportsDryrun() bool { if o == nil { @@ -1040,36 +1109,148 @@ func (o *Job) SetHasSensitiveVariablesOverride(v bool) { o.HasSensitiveVariablesOverride = &v } -// GetTaskQueuesOverride returns the TaskQueuesOverride field value if set, zero value otherwise. -func (o *Job) GetTaskQueuesOverride() bool { - if o == nil || IsNil(o.TaskQueuesOverride) { +// GetJobQueuesOverride returns the JobQueuesOverride field value if set, zero value otherwise. +func (o *Job) GetJobQueuesOverride() bool { + if o == nil || IsNil(o.JobQueuesOverride) { var ret bool return ret } - return *o.TaskQueuesOverride + return *o.JobQueuesOverride } -// GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field value if set, nil otherwise +// GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Job) GetTaskQueuesOverrideOk() (*bool, bool) { - if o == nil || IsNil(o.TaskQueuesOverride) { +func (o *Job) GetJobQueuesOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.JobQueuesOverride) { return nil, false } - return o.TaskQueuesOverride, true + return o.JobQueuesOverride, true } -// HasTaskQueuesOverride returns a boolean if a field has been set. -func (o *Job) HasTaskQueuesOverride() bool { - if o != nil && !IsNil(o.TaskQueuesOverride) { +// HasJobQueuesOverride returns a boolean if a field has been set. +func (o *Job) HasJobQueuesOverride() bool { + if o != nil && !IsNil(o.JobQueuesOverride) { return true } return false } -// SetTaskQueuesOverride gets a reference to the given bool and assigns it to the TaskQueuesOverride field. -func (o *Job) SetTaskQueuesOverride(v bool) { - o.TaskQueuesOverride = &v +// SetJobQueuesOverride gets a reference to the given bool and assigns it to the JobQueuesOverride field. +func (o *Job) SetJobQueuesOverride(v bool) { + o.JobQueuesOverride = &v +} + +// GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field value if set, zero value otherwise. +func (o *Job) GetDefaultJobQueueOverride() bool { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + var ret bool + return ret + } + return *o.DefaultJobQueueOverride +} + +// GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Job) GetDefaultJobQueueOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + return nil, false + } + return o.DefaultJobQueueOverride, true +} + +// HasDefaultJobQueueOverride returns a boolean if a field has been set. +func (o *Job) HasDefaultJobQueueOverride() bool { + if o != nil && !IsNil(o.DefaultJobQueueOverride) { + return true + } + + return false +} + +// SetDefaultJobQueueOverride gets a reference to the given bool and assigns it to the DefaultJobQueueOverride field. +func (o *Job) SetDefaultJobQueueOverride(v bool) { + o.DefaultJobQueueOverride = &v +} + +// GetIsSingletonOverride returns the IsSingletonOverride field value if set, zero value otherwise. +func (o *Job) GetIsSingletonOverride() bool { + if o == nil || IsNil(o.IsSingletonOverride) { + var ret bool + return ret + } + return *o.IsSingletonOverride +} + +// GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Job) GetIsSingletonOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingletonOverride) { + return nil, false + } + return o.IsSingletonOverride, true +} + +// HasIsSingletonOverride returns a boolean if a field has been set. +func (o *Job) HasIsSingletonOverride() bool { + if o != nil && !IsNil(o.IsSingletonOverride) { + return true + } + + return false +} + +// SetIsSingletonOverride gets a reference to the given bool and assigns it to the IsSingletonOverride field. +func (o *Job) SetIsSingletonOverride(v bool) { + o.IsSingletonOverride = &v +} + +// GetDefaultJobQueue returns the DefaultJobQueue field value +func (o *Job) GetDefaultJobQueue() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.DefaultJobQueue +} + +// GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field value +// and a boolean to check if the value has been set. +func (o *Job) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.DefaultJobQueue, true +} + +// SetDefaultJobQueue sets field value +func (o *Job) SetDefaultJobQueue(v BulkWritableCableRequestStatus) { + o.DefaultJobQueue = v +} + +// GetJobQueues returns the JobQueues field value +func (o *Job) GetJobQueues() []JobQueues { + if o == nil { + var ret []JobQueues + return ret + } + + return o.JobQueues +} + +// GetJobQueuesOk returns a tuple with the JobQueues field value +// and a boolean to check if the value has been set. +func (o *Job) GetJobQueuesOk() ([]JobQueues, bool) { + if o == nil { + return nil, false + } + return o.JobQueues, true +} + +// SetJobQueues sets field value +func (o *Job) SetJobQueues(v []JobQueues) { + o.JobQueues = v } // GetCreated returns the Created field value @@ -1222,11 +1403,17 @@ func (o Job) MarshalJSON() ([]byte, error) { func (o Job) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug + if o.TaskQueues != nil { + toSerialize["task_queues"] = o.TaskQueues + } + toSerialize["task_queues_override"] = o.TaskQueuesOverride toSerialize["module_name"] = o.ModuleName toSerialize["job_class_name"] = o.JobClassName toSerialize["grouping"] = o.Grouping @@ -1243,6 +1430,9 @@ func (o Job) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariables) { toSerialize["has_sensitive_variables"] = o.HasSensitiveVariables } + if !IsNil(o.IsSingleton) { + toSerialize["is_singleton"] = o.IsSingleton + } if !IsNil(o.ApprovalRequired) { toSerialize["approval_required"] = o.ApprovalRequired } @@ -1259,9 +1449,6 @@ func (o Job) ToMap() (map[string]interface{}, error) { if !IsNil(o.TimeLimit) { toSerialize["time_limit"] = o.TimeLimit } - if o.TaskQueues != nil { - toSerialize["task_queues"] = o.TaskQueues - } toSerialize["supports_dryrun"] = o.SupportsDryrun if !IsNil(o.GroupingOverride) { toSerialize["grouping_override"] = o.GroupingOverride @@ -1290,9 +1477,17 @@ func (o Job) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariablesOverride) { toSerialize["has_sensitive_variables_override"] = o.HasSensitiveVariablesOverride } - if !IsNil(o.TaskQueuesOverride) { - toSerialize["task_queues_override"] = o.TaskQueuesOverride + if !IsNil(o.JobQueuesOverride) { + toSerialize["job_queues_override"] = o.JobQueuesOverride + } + if !IsNil(o.DefaultJobQueueOverride) { + toSerialize["default_job_queue_override"] = o.DefaultJobQueueOverride } + if !IsNil(o.IsSingletonOverride) { + toSerialize["is_singleton_override"] = o.IsSingletonOverride + } + toSerialize["default_job_queue"] = o.DefaultJobQueue + toSerialize["job_queues"] = o.JobQueues toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() if !IsNil(o.Tags) { @@ -1315,11 +1510,12 @@ func (o *Job) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", "natural_slug", + "task_queues", + "task_queues_override", "module_name", "job_class_name", "grouping", @@ -1329,6 +1525,8 @@ func (o *Job) UnmarshalJSON(data []byte) (err error) { "is_job_button_receiver", "read_only", "supports_dryrun", + "default_job_queue", + "job_queues", "created", "last_updated", "notes_url", @@ -1366,6 +1564,8 @@ func (o *Job) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") + delete(additionalProperties, "task_queues") + delete(additionalProperties, "task_queues_override") delete(additionalProperties, "module_name") delete(additionalProperties, "job_class_name") delete(additionalProperties, "grouping") @@ -1376,13 +1576,13 @@ func (o *Job) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "is_job_hook_receiver") delete(additionalProperties, "is_job_button_receiver") delete(additionalProperties, "has_sensitive_variables") + delete(additionalProperties, "is_singleton") delete(additionalProperties, "approval_required") delete(additionalProperties, "hidden") delete(additionalProperties, "dryrun_default") delete(additionalProperties, "read_only") delete(additionalProperties, "soft_time_limit") delete(additionalProperties, "time_limit") - delete(additionalProperties, "task_queues") delete(additionalProperties, "supports_dryrun") delete(additionalProperties, "grouping_override") delete(additionalProperties, "name_override") @@ -1393,7 +1593,11 @@ func (o *Job) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "soft_time_limit_override") delete(additionalProperties, "time_limit_override") delete(additionalProperties, "has_sensitive_variables_override") - delete(additionalProperties, "task_queues_override") + delete(additionalProperties, "job_queues_override") + delete(additionalProperties, "default_job_queue_override") + delete(additionalProperties, "is_singleton_override") + delete(additionalProperties, "default_job_queue") + delete(additionalProperties, "job_queues") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") delete(additionalProperties, "tags") diff --git a/model_job_button.go b/model_job_button.go index 47f4f548..7622d051 100644 --- a/model_job_button.go +++ b/model_job_button.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &JobButton{} // JobButton 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) type JobButton struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -51,9 +51,8 @@ type _JobButton JobButton // 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 -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 { this := JobButton{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -76,28 +75,36 @@ func NewJobButtonWithDefaults() *JobButton { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *JobButton) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *JobButton) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobButton) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *JobButton) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -538,7 +545,9 @@ func (o JobButton) MarshalJSON() ([]byte, error) { func (o JobButton) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -578,7 +587,6 @@ func (o *JobButton) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_job_button_request.go b/model_job_button_request.go index 7aa832d5..085e9df3 100644 --- a/model_job_button_request.go +++ b/model_job_button_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &JobButtonRequest{} // JobButtonRequest 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) type JobButtonRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Name string `json:"name"` Enabled *bool `json:"enabled,omitempty"` @@ -58,6 +59,38 @@ func NewJobButtonRequestWithDefaults() *JobButtonRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobButtonRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobButtonRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobButtonRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobButtonRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *JobButtonRequest) GetContentTypes() []string { if o == nil { @@ -324,6 +357,9 @@ func (o JobButtonRequest) MarshalJSON() ([]byte, error) { func (o JobButtonRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["name"] = o.Name if !IsNil(o.Enabled) { @@ -389,6 +425,7 @@ func (o *JobButtonRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "enabled") diff --git a/model_job_creation_request.go b/model_job_creation_request.go index c0de16a7..d6e2bf2d 100644 --- a/model_job_creation_request.go +++ b/model_job_creation_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &JobCreationRequest{} // JobCreationRequest Nested serializer specifically for use with `JobInputSerializer.schedule`. 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. type JobCreationRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` StartTime *time.Time `json:"start_time,omitempty"` Interval JobExecutionTypeIntervalChoices `json:"interval"` @@ -49,6 +50,38 @@ func NewJobCreationRequestWithDefaults() *JobCreationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobCreationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobCreationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobCreationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobCreationRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *JobCreationRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -179,6 +212,9 @@ func (o JobCreationRequest) MarshalJSON() ([]byte, error) { func (o JobCreationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -232,6 +268,7 @@ func (o *JobCreationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "start_time") delete(additionalProperties, "interval") diff --git a/model_job_execution_type_interval_choices.go b/model_job_execution_type_interval_choices.go index f8e0c824..e0eac7af 100644 --- a/model_job_execution_type_interval_choices.go +++ b/model_job_execution_type_interval_choices.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/model_job_hook.go b/model_job_hook.go index b29870f8..94cebb3e 100644 --- a/model_job_hook.go +++ b/model_job_hook.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &JobHook{} // JobHook 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. type JobHook struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -50,9 +50,8 @@ type _JobHook JobHook // 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 -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 { this := JobHook{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -74,28 +73,36 @@ func NewJobHookWithDefaults() *JobHook { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *JobHook) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *JobHook) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobHook) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *JobHook) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -512,7 +519,9 @@ func (o JobHook) MarshalJSON() ([]byte, error) { func (o JobHook) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -551,7 +560,6 @@ func (o *JobHook) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_job_hook_request.go b/model_job_hook_request.go index 4eb057dd..9d0d81dc 100644 --- a/model_job_hook_request.go +++ b/model_job_hook_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &JobHookRequest{} // JobHookRequest 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. type JobHookRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Enabled *bool `json:"enabled,omitempty"` Name string `json:"name"` @@ -57,6 +58,38 @@ func NewJobHookRequestWithDefaults() *JobHookRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobHookRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobHookRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobHookRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobHookRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *JobHookRequest) GetContentTypes() []string { if o == nil { @@ -331,6 +364,9 @@ func (o JobHookRequest) MarshalJSON() ([]byte, error) { func (o JobHookRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes if !IsNil(o.Enabled) { toSerialize["enabled"] = o.Enabled @@ -397,6 +433,7 @@ func (o *JobHookRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "enabled") delete(additionalProperties, "name") diff --git a/model_job_input_request.go b/model_job_input_request.go index 99beca07..bf743c7e 100644 --- a/model_job_input_request.go +++ b/model_job_input_request.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. @@ -22,6 +22,7 @@ type JobInputRequest struct { Data interface{} `json:"data,omitempty"` Schedule *JobCreationRequest `json:"schedule,omitempty"` TaskQueue *string `json:"task_queue,omitempty"` + JobQueue *string `json:"job_queue,omitempty"` AdditionalProperties map[string]interface{} } @@ -141,6 +142,38 @@ func (o *JobInputRequest) SetTaskQueue(v string) { o.TaskQueue = &v } +// GetJobQueue returns the JobQueue field value if set, zero value otherwise. +func (o *JobInputRequest) GetJobQueue() string { + if o == nil || IsNil(o.JobQueue) { + var ret string + return ret + } + return *o.JobQueue +} + +// GetJobQueueOk returns a tuple with the JobQueue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobInputRequest) GetJobQueueOk() (*string, bool) { + if o == nil || IsNil(o.JobQueue) { + return nil, false + } + return o.JobQueue, true +} + +// HasJobQueue returns a boolean if a field has been set. +func (o *JobInputRequest) HasJobQueue() bool { + if o != nil && !IsNil(o.JobQueue) { + return true + } + + return false +} + +// SetJobQueue gets a reference to the given string and assigns it to the JobQueue field. +func (o *JobInputRequest) SetJobQueue(v string) { + o.JobQueue = &v +} + func (o JobInputRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -160,6 +193,9 @@ func (o JobInputRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.TaskQueue) { toSerialize["task_queue"] = o.TaskQueue } + if !IsNil(o.JobQueue) { + toSerialize["job_queue"] = o.JobQueue + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -185,6 +221,7 @@ func (o *JobInputRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "data") delete(additionalProperties, "schedule") delete(additionalProperties, "task_queue") + delete(additionalProperties, "job_queue") o.AdditionalProperties = additionalProperties } diff --git a/model_job_log_entry.go b/model_job_log_entry.go index 4acaa64e..9b098fb4 100644 --- a/model_job_log_entry.go +++ b/model_job_log_entry.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &JobLogEntry{} // JobLogEntry This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type JobLogEntry struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -43,9 +43,8 @@ type _JobLogEntry JobLogEntry // 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 -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 { this := JobLogEntry{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -62,28 +61,36 @@ func NewJobLogEntryWithDefaults() *JobLogEntry { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *JobLogEntry) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *JobLogEntry) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobLogEntry) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *JobLogEntry) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -408,7 +415,9 @@ func (o JobLogEntry) MarshalJSON() ([]byte, error) { func (o JobLogEntry) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -445,7 +454,6 @@ func (o *JobLogEntry) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_job_queue.go b/model_job_queue.go new file mode 100644 index 00000000..95dc6bcf --- /dev/null +++ b/model_job_queue.go @@ -0,0 +1,601 @@ +/* +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 ( + "encoding/json" + "time" + "fmt" +) + +// checks if the JobQueue type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JobQueue{} + +// JobQueue 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. +type JobQueue struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + QueueType QueueTypeEnum `json:"queue_type"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + NotesUrl string `json:"notes_url"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _JobQueue 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 +func NewJobQueue(objectType string, display string, url string, naturalSlug string, name string, queueType QueueTypeEnum, created NullableTime, lastUpdated NullableTime, notesUrl string) *JobQueue { + this := JobQueue{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.Name = name + this.QueueType = queueType + this.Created = created + this.LastUpdated = lastUpdated + this.NotesUrl = notesUrl + return &this +} + +// 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 +func NewJobQueueWithDefaults() *JobQueue { + this := JobQueue{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobQueue) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueue) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobQueue) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobQueue) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *JobQueue) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *JobQueue) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *JobQueue) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *JobQueue) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *JobQueue) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *JobQueue) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *JobQueue) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *JobQueue) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *JobQueue) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *JobQueue) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *JobQueue) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *JobQueue) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetName returns the Name field value +func (o *JobQueue) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *JobQueue) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *JobQueue) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *JobQueue) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueue) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *JobQueue) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *JobQueue) SetDescription(v string) { + o.Description = &v +} + +// GetQueueType returns the QueueType field value +func (o *JobQueue) GetQueueType() QueueTypeEnum { + if o == nil { + var ret QueueTypeEnum + return ret + } + + return o.QueueType +} + +// GetQueueTypeOk returns a tuple with the QueueType field value +// and a boolean to check if the value has been set. +func (o *JobQueue) GetQueueTypeOk() (*QueueTypeEnum, bool) { + if o == nil { + return nil, false + } + return &o.QueueType, true +} + +// SetQueueType sets field value +func (o *JobQueue) SetQueueType(v QueueTypeEnum) { + o.QueueType = v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *JobQueue) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *JobQueue) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *JobQueue) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *JobQueue) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *JobQueue) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *JobQueue) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *JobQueue) GetCreated() time.Time { + if o == nil || o.Created.Get() == nil { + var ret time.Time + return ret + } + + return *o.Created.Get() +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *JobQueue) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *JobQueue) SetCreated(v time.Time) { + o.Created.Set(&v) +} + +// GetLastUpdated returns the LastUpdated field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *JobQueue) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time + return ret + } + + return *o.LastUpdated.Get() +} + +// GetLastUpdatedOk returns a tuple with the LastUpdated field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *JobQueue) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *JobQueue) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *JobQueue) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueue) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *JobQueue) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *JobQueue) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetNotesUrl returns the NotesUrl field value +func (o *JobQueue) GetNotesUrl() string { + if o == nil { + var ret string + return ret + } + + return o.NotesUrl +} + +// GetNotesUrlOk returns a tuple with the NotesUrl field value +// and a boolean to check if the value has been set. +func (o *JobQueue) GetNotesUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NotesUrl, true +} + +// SetNotesUrl sets field value +func (o *JobQueue) SetNotesUrl(v string) { + o.NotesUrl = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *JobQueue) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueue) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *JobQueue) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *JobQueue) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +func (o JobQueue) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JobQueue) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["queue_type"] = o.QueueType + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + toSerialize["notes_url"] = o.NotesUrl + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *JobQueue) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "name", + "queue_type", + "created", + "last_updated", + "notes_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varJobQueue := _JobQueue{} + + err = json.Unmarshal(data, &varJobQueue) + + if err != nil { + return err + } + + *o = JobQueue(varJobQueue) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "queue_type") + delete(additionalProperties, "tenant") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "tags") + delete(additionalProperties, "notes_url") + delete(additionalProperties, "custom_fields") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableJobQueue struct { + value *JobQueue + isSet bool +} + +func (v NullableJobQueue) Get() *JobQueue { + return v.value +} + +func (v *NullableJobQueue) Set(val *JobQueue) { + v.value = val + v.isSet = true +} + +func (v NullableJobQueue) IsSet() bool { + return v.isSet +} + +func (v *NullableJobQueue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJobQueue(val *JobQueue) *NullableJobQueue { + return &NullableJobQueue{value: val, isSet: true} +} + +func (v NullableJobQueue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJobQueue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_job_queue_assignment.go b/model_job_queue_assignment.go new file mode 100644 index 00000000..164cf0cf --- /dev/null +++ b/model_job_queue_assignment.go @@ -0,0 +1,351 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the JobQueueAssignment type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JobQueueAssignment{} + +// JobQueueAssignment 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) +type JobQueueAssignment struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + Job BulkWritableCableRequestStatus `json:"job"` + JobQueue BulkWritableCableRequestStatus `json:"job_queue"` + AdditionalProperties map[string]interface{} +} + +type _JobQueueAssignment 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 +func NewJobQueueAssignment(objectType string, display string, url string, naturalSlug string, job BulkWritableCableRequestStatus, jobQueue BulkWritableCableRequestStatus) *JobQueueAssignment { + this := JobQueueAssignment{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.Job = job + this.JobQueue = jobQueue + return &this +} + +// 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 +func NewJobQueueAssignmentWithDefaults() *JobQueueAssignment { + this := JobQueueAssignment{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobQueueAssignment) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueAssignment) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobQueueAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobQueueAssignment) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *JobQueueAssignment) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignment) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *JobQueueAssignment) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *JobQueueAssignment) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignment) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *JobQueueAssignment) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *JobQueueAssignment) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignment) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *JobQueueAssignment) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *JobQueueAssignment) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignment) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *JobQueueAssignment) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetJob returns the Job field value +func (o *JobQueueAssignment) GetJob() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Job +} + +// GetJobOk returns a tuple with the Job field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignment) GetJobOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Job, true +} + +// SetJob sets field value +func (o *JobQueueAssignment) SetJob(v BulkWritableCableRequestStatus) { + o.Job = v +} + +// GetJobQueue returns the JobQueue field value +func (o *JobQueueAssignment) GetJobQueue() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.JobQueue +} + +// GetJobQueueOk returns a tuple with the JobQueue field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignment) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.JobQueue, true +} + +// SetJobQueue sets field value +func (o *JobQueueAssignment) SetJobQueue(v BulkWritableCableRequestStatus) { + o.JobQueue = v +} + +func (o JobQueueAssignment) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JobQueueAssignment) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["job"] = o.Job + toSerialize["job_queue"] = o.JobQueue + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *JobQueueAssignment) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "job", + "job_queue", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varJobQueueAssignment := _JobQueueAssignment{} + + err = json.Unmarshal(data, &varJobQueueAssignment) + + if err != nil { + return err + } + + *o = JobQueueAssignment(varJobQueueAssignment) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "job") + delete(additionalProperties, "job_queue") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableJobQueueAssignment struct { + value *JobQueueAssignment + isSet bool +} + +func (v NullableJobQueueAssignment) Get() *JobQueueAssignment { + return v.value +} + +func (v *NullableJobQueueAssignment) Set(val *JobQueueAssignment) { + v.value = val + v.isSet = true +} + +func (v NullableJobQueueAssignment) IsSet() bool { + return v.isSet +} + +func (v *NullableJobQueueAssignment) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJobQueueAssignment(val *JobQueueAssignment) *NullableJobQueueAssignment { + return &NullableJobQueueAssignment{value: val, isSet: true} +} + +func (v NullableJobQueueAssignment) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJobQueueAssignment) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_job_queue_assignment_request.go b/model_job_queue_assignment_request.go new file mode 100644 index 00000000..77aa480e --- /dev/null +++ b/model_job_queue_assignment_request.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the JobQueueAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JobQueueAssignmentRequest{} + +// JobQueueAssignmentRequest 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) +type JobQueueAssignmentRequest struct { + Id *string `json:"id,omitempty"` + Job BulkWritableCableRequestStatus `json:"job"` + JobQueue BulkWritableCableRequestStatus `json:"job_queue"` + AdditionalProperties map[string]interface{} +} + +type _JobQueueAssignmentRequest 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 +func NewJobQueueAssignmentRequest(job BulkWritableCableRequestStatus, jobQueue BulkWritableCableRequestStatus) *JobQueueAssignmentRequest { + this := JobQueueAssignmentRequest{} + this.Job = job + this.JobQueue = jobQueue + return &this +} + +// 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 +func NewJobQueueAssignmentRequestWithDefaults() *JobQueueAssignmentRequest { + this := JobQueueAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobQueueAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobQueueAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobQueueAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetJob returns the Job field value +func (o *JobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Job +} + +// GetJobOk returns a tuple with the Job field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignmentRequest) GetJobOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Job, true +} + +// SetJob sets field value +func (o *JobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus) { + o.Job = v +} + +// GetJobQueue returns the JobQueue field value +func (o *JobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.JobQueue +} + +// GetJobQueueOk returns a tuple with the JobQueue field value +// and a boolean to check if the value has been set. +func (o *JobQueueAssignmentRequest) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.JobQueue, true +} + +// SetJobQueue sets field value +func (o *JobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus) { + o.JobQueue = v +} + +func (o JobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JobQueueAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["job"] = o.Job + toSerialize["job_queue"] = o.JobQueue + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *JobQueueAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "job", + "job_queue", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varJobQueueAssignmentRequest := _JobQueueAssignmentRequest{} + + err = json.Unmarshal(data, &varJobQueueAssignmentRequest) + + if err != nil { + return err + } + + *o = JobQueueAssignmentRequest(varJobQueueAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "job") + delete(additionalProperties, "job_queue") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableJobQueueAssignmentRequest struct { + value *JobQueueAssignmentRequest + isSet bool +} + +func (v NullableJobQueueAssignmentRequest) Get() *JobQueueAssignmentRequest { + return v.value +} + +func (v *NullableJobQueueAssignmentRequest) Set(val *JobQueueAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableJobQueueAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableJobQueueAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJobQueueAssignmentRequest(val *JobQueueAssignmentRequest) *NullableJobQueueAssignmentRequest { + return &NullableJobQueueAssignmentRequest{value: val, isSet: true} +} + +func (v NullableJobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJobQueueAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_job_queue_override.go b/model_job_queue_override.go new file mode 100644 index 00000000..d26edbdf --- /dev/null +++ b/model_job_queue_override.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the JobQueueOverride type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JobQueueOverride{} + +// JobQueueOverride struct for JobQueueOverride +type JobQueueOverride struct { + Id *BulkWritableCableRequestStatusId `json:"id,omitempty"` + ObjectType *string `json:"object_type,omitempty" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _JobQueueOverride 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 +func NewJobQueueOverride() *JobQueueOverride { + this := JobQueueOverride{} + return &this +} + +// 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 +func NewJobQueueOverrideWithDefaults() *JobQueueOverride { + this := JobQueueOverride{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobQueueOverride) GetId() BulkWritableCableRequestStatusId { + if o == nil || IsNil(o.Id) { + var ret BulkWritableCableRequestStatusId + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueOverride) GetIdOk() (*BulkWritableCableRequestStatusId, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobQueueOverride) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given BulkWritableCableRequestStatusId and assigns it to the Id field. +func (o *JobQueueOverride) SetId(v BulkWritableCableRequestStatusId) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *JobQueueOverride) GetObjectType() string { + if o == nil || IsNil(o.ObjectType) { + var ret string + return ret + } + return *o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueOverride) GetObjectTypeOk() (*string, bool) { + if o == nil || IsNil(o.ObjectType) { + return nil, false + } + return o.ObjectType, true +} + +// HasObjectType returns a boolean if a field has been set. +func (o *JobQueueOverride) HasObjectType() bool { + if o != nil && !IsNil(o.ObjectType) { + return true + } + + return false +} + +// SetObjectType gets a reference to the given string and assigns it to the ObjectType field. +func (o *JobQueueOverride) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *JobQueueOverride) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueOverride) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *JobQueueOverride) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *JobQueueOverride) SetUrl(v string) { + o.Url = &v +} + +func (o JobQueueOverride) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JobQueueOverride) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.Url) { + toSerialize["url"] = o.Url + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *JobQueueOverride) UnmarshalJSON(data []byte) (err error) { + varJobQueueOverride := _JobQueueOverride{} + + err = json.Unmarshal(data, &varJobQueueOverride) + + if err != nil { + return err + } + + *o = JobQueueOverride(varJobQueueOverride) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableJobQueueOverride struct { + value *JobQueueOverride + isSet bool +} + +func (v NullableJobQueueOverride) Get() *JobQueueOverride { + return v.value +} + +func (v *NullableJobQueueOverride) Set(val *JobQueueOverride) { + v.value = val + v.isSet = true +} + +func (v NullableJobQueueOverride) IsSet() bool { + return v.isSet +} + +func (v *NullableJobQueueOverride) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJobQueueOverride(val *JobQueueOverride) *NullableJobQueueOverride { + return &NullableJobQueueOverride{value: val, isSet: true} +} + +func (v NullableJobQueueOverride) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJobQueueOverride) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_job_queue_request.go b/model_job_queue_request.go new file mode 100644 index 00000000..a3021921 --- /dev/null +++ b/model_job_queue_request.go @@ -0,0 +1,429 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the JobQueueRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JobQueueRequest{} + +// JobQueueRequest 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. +type JobQueueRequest struct { + Id *string `json:"id,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + QueueType QueueTypeEnum `json:"queue_type"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _JobQueueRequest 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 +func NewJobQueueRequest(name string, queueType QueueTypeEnum) *JobQueueRequest { + this := JobQueueRequest{} + this.Name = name + this.QueueType = queueType + return &this +} + +// 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 +func NewJobQueueRequestWithDefaults() *JobQueueRequest { + this := JobQueueRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobQueueRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobQueueRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobQueueRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value +func (o *JobQueueRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *JobQueueRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *JobQueueRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *JobQueueRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *JobQueueRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *JobQueueRequest) SetDescription(v string) { + o.Description = &v +} + +// GetQueueType returns the QueueType field value +func (o *JobQueueRequest) GetQueueType() QueueTypeEnum { + if o == nil { + var ret QueueTypeEnum + return ret + } + + return o.QueueType +} + +// GetQueueTypeOk returns a tuple with the QueueType field value +// and a boolean to check if the value has been set. +func (o *JobQueueRequest) GetQueueTypeOk() (*QueueTypeEnum, bool) { + if o == nil { + return nil, false + } + return &o.QueueType, true +} + +// SetQueueType sets field value +func (o *JobQueueRequest) SetQueueType(v QueueTypeEnum) { + o.QueueType = v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *JobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *JobQueueRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *JobQueueRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *JobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *JobQueueRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *JobQueueRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *JobQueueRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *JobQueueRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *JobQueueRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *JobQueueRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *JobQueueRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *JobQueueRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *JobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueueRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *JobQueueRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *JobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o JobQueueRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JobQueueRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["queue_type"] = o.QueueType + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *JobQueueRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "queue_type", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varJobQueueRequest := _JobQueueRequest{} + + err = json.Unmarshal(data, &varJobQueueRequest) + + if err != nil { + return err + } + + *o = JobQueueRequest(varJobQueueRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "queue_type") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableJobQueueRequest struct { + value *JobQueueRequest + isSet bool +} + +func (v NullableJobQueueRequest) Get() *JobQueueRequest { + return v.value +} + +func (v *NullableJobQueueRequest) Set(val *JobQueueRequest) { + v.value = val + v.isSet = true +} + +func (v NullableJobQueueRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableJobQueueRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJobQueueRequest(val *JobQueueRequest) *NullableJobQueueRequest { + return &NullableJobQueueRequest{value: val, isSet: true} +} + +func (v NullableJobQueueRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJobQueueRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_job_queues.go b/model_job_queues.go new file mode 100644 index 00000000..e955b774 --- /dev/null +++ b/model_job_queues.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the JobQueues type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JobQueues{} + +// JobQueues struct for JobQueues +type JobQueues struct { + Id *BulkWritableCableRequestStatusId `json:"id,omitempty"` + ObjectType *string `json:"object_type,omitempty" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _JobQueues 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 +func NewJobQueues() *JobQueues { + this := JobQueues{} + return &this +} + +// 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 +func NewJobQueuesWithDefaults() *JobQueues { + this := JobQueues{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobQueues) GetId() BulkWritableCableRequestStatusId { + if o == nil || IsNil(o.Id) { + var ret BulkWritableCableRequestStatusId + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueues) GetIdOk() (*BulkWritableCableRequestStatusId, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobQueues) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given BulkWritableCableRequestStatusId and assigns it to the Id field. +func (o *JobQueues) SetId(v BulkWritableCableRequestStatusId) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *JobQueues) GetObjectType() string { + if o == nil || IsNil(o.ObjectType) { + var ret string + return ret + } + return *o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueues) GetObjectTypeOk() (*string, bool) { + if o == nil || IsNil(o.ObjectType) { + return nil, false + } + return o.ObjectType, true +} + +// HasObjectType returns a boolean if a field has been set. +func (o *JobQueues) HasObjectType() bool { + if o != nil && !IsNil(o.ObjectType) { + return true + } + + return false +} + +// SetObjectType gets a reference to the given string and assigns it to the ObjectType field. +func (o *JobQueues) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *JobQueues) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobQueues) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *JobQueues) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *JobQueues) SetUrl(v string) { + o.Url = &v +} + +func (o JobQueues) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JobQueues) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.Url) { + toSerialize["url"] = o.Url + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *JobQueues) UnmarshalJSON(data []byte) (err error) { + varJobQueues := _JobQueues{} + + err = json.Unmarshal(data, &varJobQueues) + + if err != nil { + return err + } + + *o = JobQueues(varJobQueues) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableJobQueues struct { + value *JobQueues + isSet bool +} + +func (v NullableJobQueues) Get() *JobQueues { + return v.value +} + +func (v *NullableJobQueues) Set(val *JobQueues) { + v.value = val + v.isSet = true +} + +func (v NullableJobQueues) IsSet() bool { + return v.isSet +} + +func (v *NullableJobQueues) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJobQueues(val *JobQueues) *NullableJobQueues { + return &NullableJobQueues{value: val, isSet: true} +} + +func (v NullableJobQueues) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJobQueues) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_job_request.go b/model_job_request.go index 18f5233e..e5ae2882 100644 --- a/model_job_request.go +++ b/model_job_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &JobRequest{} // JobRequest 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. type JobRequest struct { + Id *string `json:"id,omitempty"` // Human-readable grouping that this job belongs to Grouping string `json:"grouping"` // Human-readable name of this job @@ -30,6 +31,8 @@ type JobRequest struct { Enabled *bool `json:"enabled,omitempty"` // Whether this job contains sensitive variables HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + // Whether this job should fail to run if another instance of this job is already running + IsSingleton *bool `json:"is_singleton,omitempty"` // Whether the job requires approval from another user before running ApprovalRequired *bool `json:"approval_required,omitempty"` // Whether the job defaults to not being shown in the UI @@ -40,8 +43,6 @@ type JobRequest struct { SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` // Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default TimeLimit *float64 `json:"time_limit,omitempty"` - // Comma separated list of task queues that this job can run on. A blank list will use the default queue - TaskQueues interface{} `json:"task_queues,omitempty"` // If set, the configured grouping will remain even if the underlying Job source code changes GroupingOverride *bool `json:"grouping_override,omitempty"` // If set, the configured name will remain even if the underlying Job source code changes @@ -61,7 +62,12 @@ type JobRequest struct { // If set, the configured value will remain even if the underlying Job source code changes HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` // If set, the configured value will remain even if the underlying Job source code changes - TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + JobQueuesOverride *bool `json:"job_queues_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + DefaultJobQueueOverride *bool `json:"default_job_queue_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + IsSingletonOverride *bool `json:"is_singleton_override,omitempty"` + DefaultJobQueue BulkWritableCableRequestStatus `json:"default_job_queue"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -74,10 +80,11 @@ type _JobRequest JobRequest // 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 -func NewJobRequest(grouping string, name string) *JobRequest { +func NewJobRequest(grouping string, name string, defaultJobQueue BulkWritableCableRequestStatus) *JobRequest { this := JobRequest{} this.Grouping = grouping this.Name = name + this.DefaultJobQueue = defaultJobQueue return &this } @@ -89,6 +96,38 @@ func NewJobRequestWithDefaults() *JobRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *JobRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *JobRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *JobRequest) SetId(v string) { + o.Id = &v +} + // GetGrouping returns the Grouping field value func (o *JobRequest) GetGrouping() string { if o == nil { @@ -233,6 +272,38 @@ func (o *JobRequest) SetHasSensitiveVariables(v bool) { o.HasSensitiveVariables = &v } +// GetIsSingleton returns the IsSingleton field value if set, zero value otherwise. +func (o *JobRequest) GetIsSingleton() bool { + if o == nil || IsNil(o.IsSingleton) { + var ret bool + return ret + } + return *o.IsSingleton +} + +// GetIsSingletonOk returns a tuple with the IsSingleton field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobRequest) GetIsSingletonOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingleton) { + return nil, false + } + return o.IsSingleton, true +} + +// HasIsSingleton returns a boolean if a field has been set. +func (o *JobRequest) HasIsSingleton() bool { + if o != nil && !IsNil(o.IsSingleton) { + return true + } + + return false +} + +// SetIsSingleton gets a reference to the given bool and assigns it to the IsSingleton field. +func (o *JobRequest) SetIsSingleton(v bool) { + o.IsSingleton = &v +} + // GetApprovalRequired returns the ApprovalRequired field value if set, zero value otherwise. func (o *JobRequest) GetApprovalRequired() bool { if o == nil || IsNil(o.ApprovalRequired) { @@ -393,39 +464,6 @@ func (o *JobRequest) SetTimeLimit(v float64) { o.TimeLimit = &v } -// GetTaskQueues returns the TaskQueues field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *JobRequest) GetTaskQueues() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.TaskQueues -} - -// GetTaskQueuesOk returns a tuple with the TaskQueues field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *JobRequest) GetTaskQueuesOk() (*interface{}, bool) { - if o == nil || IsNil(o.TaskQueues) { - return nil, false - } - return &o.TaskQueues, true -} - -// HasTaskQueues returns a boolean if a field has been set. -func (o *JobRequest) HasTaskQueues() bool { - if o != nil && !IsNil(o.TaskQueues) { - return true - } - - return false -} - -// SetTaskQueues gets a reference to the given interface{} and assigns it to the TaskQueues field. -func (o *JobRequest) SetTaskQueues(v interface{}) { - o.TaskQueues = v -} - // GetGroupingOverride returns the GroupingOverride field value if set, zero value otherwise. func (o *JobRequest) GetGroupingOverride() bool { if o == nil || IsNil(o.GroupingOverride) { @@ -714,36 +752,124 @@ func (o *JobRequest) SetHasSensitiveVariablesOverride(v bool) { o.HasSensitiveVariablesOverride = &v } -// GetTaskQueuesOverride returns the TaskQueuesOverride field value if set, zero value otherwise. -func (o *JobRequest) GetTaskQueuesOverride() bool { - if o == nil || IsNil(o.TaskQueuesOverride) { +// GetJobQueuesOverride returns the JobQueuesOverride field value if set, zero value otherwise. +func (o *JobRequest) GetJobQueuesOverride() bool { + if o == nil || IsNil(o.JobQueuesOverride) { var ret bool return ret } - return *o.TaskQueuesOverride + return *o.JobQueuesOverride } -// GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field value if set, nil otherwise +// GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *JobRequest) GetTaskQueuesOverrideOk() (*bool, bool) { - if o == nil || IsNil(o.TaskQueuesOverride) { +func (o *JobRequest) GetJobQueuesOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.JobQueuesOverride) { return nil, false } - return o.TaskQueuesOverride, true + return o.JobQueuesOverride, true } -// HasTaskQueuesOverride returns a boolean if a field has been set. -func (o *JobRequest) HasTaskQueuesOverride() bool { - if o != nil && !IsNil(o.TaskQueuesOverride) { +// HasJobQueuesOverride returns a boolean if a field has been set. +func (o *JobRequest) HasJobQueuesOverride() bool { + if o != nil && !IsNil(o.JobQueuesOverride) { return true } return false } -// SetTaskQueuesOverride gets a reference to the given bool and assigns it to the TaskQueuesOverride field. -func (o *JobRequest) SetTaskQueuesOverride(v bool) { - o.TaskQueuesOverride = &v +// SetJobQueuesOverride gets a reference to the given bool and assigns it to the JobQueuesOverride field. +func (o *JobRequest) SetJobQueuesOverride(v bool) { + o.JobQueuesOverride = &v +} + +// GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field value if set, zero value otherwise. +func (o *JobRequest) GetDefaultJobQueueOverride() bool { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + var ret bool + return ret + } + return *o.DefaultJobQueueOverride +} + +// GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobRequest) GetDefaultJobQueueOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + return nil, false + } + return o.DefaultJobQueueOverride, true +} + +// HasDefaultJobQueueOverride returns a boolean if a field has been set. +func (o *JobRequest) HasDefaultJobQueueOverride() bool { + if o != nil && !IsNil(o.DefaultJobQueueOverride) { + return true + } + + return false +} + +// SetDefaultJobQueueOverride gets a reference to the given bool and assigns it to the DefaultJobQueueOverride field. +func (o *JobRequest) SetDefaultJobQueueOverride(v bool) { + o.DefaultJobQueueOverride = &v +} + +// GetIsSingletonOverride returns the IsSingletonOverride field value if set, zero value otherwise. +func (o *JobRequest) GetIsSingletonOverride() bool { + if o == nil || IsNil(o.IsSingletonOverride) { + var ret bool + return ret + } + return *o.IsSingletonOverride +} + +// GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JobRequest) GetIsSingletonOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingletonOverride) { + return nil, false + } + return o.IsSingletonOverride, true +} + +// HasIsSingletonOverride returns a boolean if a field has been set. +func (o *JobRequest) HasIsSingletonOverride() bool { + if o != nil && !IsNil(o.IsSingletonOverride) { + return true + } + + return false +} + +// SetIsSingletonOverride gets a reference to the given bool and assigns it to the IsSingletonOverride field. +func (o *JobRequest) SetIsSingletonOverride(v bool) { + o.IsSingletonOverride = &v +} + +// GetDefaultJobQueue returns the DefaultJobQueue field value +func (o *JobRequest) GetDefaultJobQueue() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.DefaultJobQueue +} + +// GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field value +// and a boolean to check if the value has been set. +func (o *JobRequest) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.DefaultJobQueue, true +} + +// SetDefaultJobQueue sets field value +func (o *JobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus) { + o.DefaultJobQueue = v } // GetTags returns the Tags field value if set, zero value otherwise. @@ -852,6 +978,9 @@ func (o JobRequest) MarshalJSON() ([]byte, error) { func (o JobRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["grouping"] = o.Grouping toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -863,6 +992,9 @@ func (o JobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariables) { toSerialize["has_sensitive_variables"] = o.HasSensitiveVariables } + if !IsNil(o.IsSingleton) { + toSerialize["is_singleton"] = o.IsSingleton + } if !IsNil(o.ApprovalRequired) { toSerialize["approval_required"] = o.ApprovalRequired } @@ -878,9 +1010,6 @@ func (o JobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.TimeLimit) { toSerialize["time_limit"] = o.TimeLimit } - if o.TaskQueues != nil { - toSerialize["task_queues"] = o.TaskQueues - } if !IsNil(o.GroupingOverride) { toSerialize["grouping_override"] = o.GroupingOverride } @@ -908,9 +1037,16 @@ func (o JobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariablesOverride) { toSerialize["has_sensitive_variables_override"] = o.HasSensitiveVariablesOverride } - if !IsNil(o.TaskQueuesOverride) { - toSerialize["task_queues_override"] = o.TaskQueuesOverride + if !IsNil(o.JobQueuesOverride) { + toSerialize["job_queues_override"] = o.JobQueuesOverride + } + if !IsNil(o.DefaultJobQueueOverride) { + toSerialize["default_job_queue_override"] = o.DefaultJobQueueOverride + } + if !IsNil(o.IsSingletonOverride) { + toSerialize["is_singleton_override"] = o.IsSingletonOverride } + toSerialize["default_job_queue"] = o.DefaultJobQueue if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags } @@ -935,6 +1071,7 @@ func (o *JobRequest) UnmarshalJSON(data []byte) (err error) { requiredProperties := []string{ "grouping", "name", + "default_job_queue", } allProperties := make(map[string]interface{}) @@ -964,17 +1101,18 @@ func (o *JobRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "grouping") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "enabled") delete(additionalProperties, "has_sensitive_variables") + delete(additionalProperties, "is_singleton") delete(additionalProperties, "approval_required") delete(additionalProperties, "hidden") delete(additionalProperties, "dryrun_default") delete(additionalProperties, "soft_time_limit") delete(additionalProperties, "time_limit") - delete(additionalProperties, "task_queues") delete(additionalProperties, "grouping_override") delete(additionalProperties, "name_override") delete(additionalProperties, "description_override") @@ -984,7 +1122,10 @@ func (o *JobRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "soft_time_limit_override") delete(additionalProperties, "time_limit_override") delete(additionalProperties, "has_sensitive_variables_override") - delete(additionalProperties, "task_queues_override") + delete(additionalProperties, "job_queues_override") + delete(additionalProperties, "default_job_queue_override") + delete(additionalProperties, "is_singleton_override") + delete(additionalProperties, "default_job_queue") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_job_result.go b/model_job_result.go index 62d6184f..558533eb 100644 --- a/model_job_result.go +++ b/model_job_result.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &JobResult{} // JobResult Extends ModelSerializer to render any CustomFields and their values associated with an object. type JobResult struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -32,6 +32,7 @@ type JobResult struct { // Registered name of the Celery task for this job. Internal use only. TaskName NullableString `json:"task_name,omitempty"` DateCreated time.Time `json:"date_created"` + DateStarted NullableTime `json:"date_started,omitempty"` DateDone NullableTime `json:"date_done,omitempty"` // The data returned by the task Result interface{} `json:"result"` @@ -45,6 +46,7 @@ type JobResult struct { User NullableBulkWritableCircuitRequestTenant `json:"user,omitempty"` ScheduledJob NullableBulkWritableCircuitRequestTenant `json:"scheduled_job,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + ComputedFields map[string]interface{} `json:"computed_fields"` Files []BulkWritableCableRequestStatus `json:"files"` AdditionalProperties map[string]interface{} } @@ -55,9 +57,8 @@ type _JobResult JobResult // 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 -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 { this := JobResult{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -67,6 +68,7 @@ func NewJobResult(id string, objectType string, display string, url string, natu this.DateCreated = dateCreated this.Result = result this.Meta = meta + this.ComputedFields = computedFields this.Files = files return &this } @@ -79,28 +81,36 @@ func NewJobResultWithDefaults() *JobResult { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *JobResult) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *JobResult) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *JobResult) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *JobResult) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -313,6 +323,48 @@ func (o *JobResult) SetDateCreated(v time.Time) { o.DateCreated = v } +// GetDateStarted returns the DateStarted field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *JobResult) GetDateStarted() time.Time { + if o == nil || IsNil(o.DateStarted.Get()) { + var ret time.Time + return ret + } + return *o.DateStarted.Get() +} + +// GetDateStartedOk returns a tuple with the DateStarted field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *JobResult) GetDateStartedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.DateStarted.Get(), o.DateStarted.IsSet() +} + +// HasDateStarted returns a boolean if a field has been set. +func (o *JobResult) HasDateStarted() bool { + if o != nil && o.DateStarted.IsSet() { + return true + } + + return false +} + +// SetDateStarted gets a reference to the given NullableTime and assigns it to the DateStarted field. +func (o *JobResult) SetDateStarted(v time.Time) { + o.DateStarted.Set(&v) +} +// SetDateStartedNil sets the value for DateStarted to be an explicit nil +func (o *JobResult) SetDateStartedNil() { + o.DateStarted.Set(nil) +} + +// UnsetDateStarted ensures that no value is present for DateStarted, not even an explicit nil +func (o *JobResult) UnsetDateStarted() { + o.DateStarted.Unset() +} + // GetDateDone returns the DateDone field value if set, zero value otherwise (both if not set or set to explicit null). func (o *JobResult) GetDateDone() time.Time { if o == nil || IsNil(o.DateDone.Get()) { @@ -748,6 +800,30 @@ func (o *JobResult) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetComputedFields returns the ComputedFields field value +func (o *JobResult) GetComputedFields() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.ComputedFields +} + +// GetComputedFieldsOk returns a tuple with the ComputedFields field value +// and a boolean to check if the value has been set. +func (o *JobResult) GetComputedFieldsOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false + } + return o.ComputedFields, true +} + +// SetComputedFields sets field value +func (o *JobResult) SetComputedFields(v map[string]interface{}) { + o.ComputedFields = v +} + // GetFiles returns the Files field value func (o *JobResult) GetFiles() []BulkWritableCableRequestStatus { if o == nil { @@ -782,7 +858,9 @@ func (o JobResult) MarshalJSON() ([]byte, error) { func (o JobResult) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -793,6 +871,9 @@ func (o JobResult) ToMap() (map[string]interface{}, error) { toSerialize["task_name"] = o.TaskName.Get() } toSerialize["date_created"] = o.DateCreated + if o.DateStarted.IsSet() { + toSerialize["date_started"] = o.DateStarted.Get() + } if o.DateDone.IsSet() { toSerialize["date_done"] = o.DateDone.Get() } @@ -829,6 +910,7 @@ func (o JobResult) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + toSerialize["computed_fields"] = o.ComputedFields toSerialize["files"] = o.Files for key, value := range o.AdditionalProperties { @@ -843,7 +925,6 @@ func (o *JobResult) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -853,6 +934,7 @@ func (o *JobResult) UnmarshalJSON(data []byte) (err error) { "date_created", "result", "meta", + "computed_fields", "files", } @@ -892,6 +974,7 @@ func (o *JobResult) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "task_name") delete(additionalProperties, "date_created") + delete(additionalProperties, "date_started") delete(additionalProperties, "date_done") delete(additionalProperties, "result") delete(additionalProperties, "worker") @@ -904,6 +987,7 @@ func (o *JobResult) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "user") delete(additionalProperties, "scheduled_job") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "computed_fields") delete(additionalProperties, "files") o.AdditionalProperties = additionalProperties } diff --git a/model_job_result_status.go b/model_job_result_status.go index cb7d396b..42bf079f 100644 --- a/model_job_result_status.go +++ b/model_job_result_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. diff --git a/model_job_result_status_value.go b/model_job_result_status_value.go index 8a8c3d82..8a90cc2f 100644 --- a/model_job_result_status_value.go +++ b/model_job_result_status_value.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/model_job_run_response.go b/model_job_run_response.go index f375cf07..b441dcf3 100644 --- a/model_job_run_response.go +++ b/model_job_run_response.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/model_job_variable.go b/model_job_variable.go index 0a63ca88..a5b2b216 100644 --- a/model_job_variable.go +++ b/model_job_variable.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/model_length_unit_enum.go b/model_length_unit_enum.go index 9d7f5d9e..56bcbae3 100644 --- a/model_length_unit_enum.go +++ b/model_length_unit_enum.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/model_location.go b/model_location.go index 83f2aaa5..3ef45ebf 100644 --- a/model_location.go +++ b/model_location.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Location{} // Location Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type Location struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -69,9 +69,8 @@ type _Location Location // 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 -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 { this := Location{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -94,28 +93,36 @@ func NewLocationWithDefaults() *Location { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Location) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Location) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Location) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Location) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -1162,7 +1169,9 @@ func (o Location) MarshalJSON() ([]byte, error) { func (o Location) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -1253,7 +1262,6 @@ func (o *Location) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_location_request.go b/model_location_request.go index 0054965a..4c399e2e 100644 --- a/model_location_request.go +++ b/model_location_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &LocationRequest{} // LocationRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type LocationRequest struct { + Id *string `json:"id,omitempty"` TimeZone NullableString `json:"time_zone,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -69,6 +70,38 @@ func NewLocationRequestWithDefaults() *LocationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *LocationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LocationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *LocationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *LocationRequest) SetId(v string) { + o.Id = &v +} + // GetTimeZone returns the TimeZone field value if set, zero value otherwise (both if not set or set to explicit null). func (o *LocationRequest) GetTimeZone() string { if o == nil || IsNil(o.TimeZone.Get()) { @@ -755,6 +788,9 @@ func (o LocationRequest) MarshalJSON() ([]byte, error) { func (o LocationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.TimeZone.IsSet() { toSerialize["time_zone"] = o.TimeZone.Get() } @@ -854,6 +890,7 @@ func (o *LocationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "time_zone") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_location_type.go b/model_location_type.go index 4344fd40..7cf009c0 100644 --- a/model_location_type.go +++ b/model_location_type.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &LocationType{} // LocationType Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type LocationType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _LocationType LocationType // 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 -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 { this := LocationType{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -70,28 +69,36 @@ func NewLocationTypeWithDefaults() *LocationType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *LocationType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *LocationType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *LocationType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *LocationType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -496,7 +503,9 @@ func (o LocationType) MarshalJSON() ([]byte, error) { func (o LocationType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -534,7 +543,6 @@ func (o *LocationType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_location_type_request.go b/model_location_type_request.go index e1a732ef..3fcecb98 100644 --- a/model_location_type_request.go +++ b/model_location_type_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &LocationTypeRequest{} // LocationTypeRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type LocationTypeRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -51,6 +52,38 @@ func NewLocationTypeRequestWithDefaults() *LocationTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *LocationTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LocationTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *LocationTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *LocationTypeRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *LocationTypeRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -287,6 +320,9 @@ func (o LocationTypeRequest) MarshalJSON() ([]byte, error) { func (o LocationTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -349,6 +385,7 @@ func (o *LocationTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_log_level_enum.go b/model_log_level_enum.go index fed42d5a..71a71c52 100644 --- a/model_log_level_enum.go +++ b/model_log_level_enum.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. @@ -22,7 +22,9 @@ type LogLevelEnum string const ( LOGLEVELENUM_DEBUG LogLevelEnum = "debug" LOGLEVELENUM_INFO LogLevelEnum = "info" + LOGLEVELENUM_SUCCESS LogLevelEnum = "success" LOGLEVELENUM_WARNING LogLevelEnum = "warning" + LOGLEVELENUM_FAILURE LogLevelEnum = "failure" LOGLEVELENUM_ERROR LogLevelEnum = "error" LOGLEVELENUM_CRITICAL LogLevelEnum = "critical" ) @@ -31,7 +33,9 @@ const ( var AllowedLogLevelEnumEnumValues = []LogLevelEnum{ "debug", "info", + "success", "warning", + "failure", "error", "critical", } diff --git a/model_manufacturer.go b/model_manufacturer.go index ae57cc8f..988bfa21 100644 --- a/model_manufacturer.go +++ b/model_manufacturer.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Manufacturer{} // Manufacturer 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. type Manufacturer struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -46,9 +46,8 @@ type _Manufacturer Manufacturer // 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 -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 { this := Manufacturer{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -68,28 +67,36 @@ func NewManufacturerWithDefaults() *Manufacturer { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Manufacturer) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Manufacturer) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Manufacturer) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Manufacturer) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -490,7 +497,9 @@ func (o Manufacturer) MarshalJSON() ([]byte, error) { func (o Manufacturer) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -530,7 +539,6 @@ func (o *Manufacturer) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_manufacturer_request.go b/model_manufacturer_request.go index 516f2dbb..e76e7b49 100644 --- a/model_manufacturer_request.go +++ b/model_manufacturer_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ManufacturerRequest{} // ManufacturerRequest 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. type ManufacturerRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -47,6 +48,38 @@ func NewManufacturerRequestWithDefaults() *ManufacturerRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ManufacturerRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManufacturerRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ManufacturerRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ManufacturerRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ManufacturerRequest) GetName() string { if o == nil { @@ -177,6 +210,9 @@ func (o ManufacturerRequest) MarshalJSON() ([]byte, error) { func (o ManufacturerRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -230,6 +266,7 @@ func (o *ManufacturerRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_metadata_choice.go b/model_metadata_choice.go index 1a9a3840..9c62bae6 100644 --- a/model_metadata_choice.go +++ b/model_metadata_choice.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &MetadataChoice{} // MetadataChoice 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) type MetadataChoice struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -42,9 +42,8 @@ type _MetadataChoice MetadataChoice // 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 -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 { this := MetadataChoice{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -64,28 +63,36 @@ func NewMetadataChoiceWithDefaults() *MetadataChoice { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *MetadataChoice) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *MetadataChoice) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataChoice) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *MetadataChoice) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -326,7 +333,9 @@ func (o MetadataChoice) MarshalJSON() ([]byte, error) { func (o MetadataChoice) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -351,7 +360,6 @@ func (o *MetadataChoice) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_metadata_choice_request.go b/model_metadata_choice_request.go index 0f53b744..22ca676f 100644 --- a/model_metadata_choice_request.go +++ b/model_metadata_choice_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &MetadataChoiceRequest{} // MetadataChoiceRequest 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) type MetadataChoiceRequest struct { + Id *string `json:"id,omitempty"` Value string `json:"value"` // Higher weights appear later in the list Weight *int32 `json:"weight,omitempty"` @@ -48,6 +49,38 @@ func NewMetadataChoiceRequestWithDefaults() *MetadataChoiceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *MetadataChoiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataChoiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataChoiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *MetadataChoiceRequest) SetId(v string) { + o.Id = &v +} + // GetValue returns the Value field value func (o *MetadataChoiceRequest) GetValue() string { if o == nil { @@ -138,6 +171,9 @@ func (o MetadataChoiceRequest) MarshalJSON() ([]byte, error) { func (o MetadataChoiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["value"] = o.Value if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight @@ -187,6 +223,7 @@ func (o *MetadataChoiceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "value") delete(additionalProperties, "weight") delete(additionalProperties, "metadata_type") diff --git a/model_metadata_type.go b/model_metadata_type.go index 65266a1f..30f9da93 100644 --- a/model_metadata_type.go +++ b/model_metadata_type.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &MetadataType{} // MetadataType 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. type MetadataType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -36,6 +36,7 @@ type MetadataType struct { LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -45,9 +46,8 @@ type _MetadataType MetadataType // 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 -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 { this := MetadataType{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -69,28 +69,36 @@ func NewMetadataTypeWithDefaults() *MetadataType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *MetadataType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *MetadataType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *MetadataType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -401,6 +409,38 @@ func (o *MetadataType) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *MetadataType) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataType) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *MetadataType) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *MetadataType) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o MetadataType) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -411,7 +451,9 @@ func (o MetadataType) MarshalJSON() ([]byte, error) { func (o MetadataType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -428,6 +470,9 @@ func (o MetadataType) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -441,7 +486,6 @@ func (o *MetadataType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -494,6 +538,7 @@ func (o *MetadataType) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_metadata_type_request.go b/model_metadata_type_request.go index 692a2e57..796cf2b2 100644 --- a/model_metadata_type_request.go +++ b/model_metadata_type_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &MetadataTypeRequest{} // MetadataTypeRequest 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. type MetadataTypeRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -27,6 +28,7 @@ type MetadataTypeRequest struct { DataType DataTypeEnum `json:"data_type"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -52,6 +54,38 @@ func NewMetadataTypeRequestWithDefaults() *MetadataTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *MetadataTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *MetadataTypeRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *MetadataTypeRequest) GetContentTypes() []string { if o == nil { @@ -220,6 +254,38 @@ func (o *MetadataTypeRequest) SetRelationships(v map[string]BulkWritableCableReq o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *MetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataTypeRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *MetadataTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *MetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o MetadataTypeRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -230,6 +296,9 @@ func (o MetadataTypeRequest) MarshalJSON() ([]byte, error) { func (o MetadataTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -242,6 +311,9 @@ func (o MetadataTypeRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -287,12 +359,14 @@ func (o *MetadataTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "data_type") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_mode_enum.go b/model_mode_enum.go deleted file mode 100644 index 7980cfda..00000000 --- a/model_mode_enum.go +++ /dev/null @@ -1,113 +0,0 @@ -/* -API Documentation - -Source of truth and network automation platform - -API version: 2.3.4 (2.3) -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package nautobot - -import ( - "encoding/json" - "fmt" -) - -// ModeEnum the model 'ModeEnum' -type ModeEnum string - -// List of ModeEnum -const ( - MODEENUM_ACCESS ModeEnum = "access" - MODEENUM_TAGGED ModeEnum = "tagged" - MODEENUM_TAGGED_ALL ModeEnum = "tagged-all" -) - -// All allowed values of ModeEnum enum -var AllowedModeEnumEnumValues = []ModeEnum{ - "access", - "tagged", - "tagged-all", -} - -func (v *ModeEnum) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := ModeEnum(value) - for _, existing := range AllowedModeEnumEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid ModeEnum", value) -} - -// NewModeEnumFromValue returns a pointer to a valid ModeEnum -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewModeEnumFromValue(v string) (*ModeEnum, error) { - ev := ModeEnum(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for ModeEnum: valid values are %v", v, AllowedModeEnumEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v ModeEnum) IsValid() bool { - for _, existing := range AllowedModeEnumEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to ModeEnum value -func (v ModeEnum) Ptr() *ModeEnum { - return &v -} - -type NullableModeEnum struct { - value *ModeEnum - isSet bool -} - -func (v NullableModeEnum) Get() *ModeEnum { - return v.value -} - -func (v *NullableModeEnum) Set(val *ModeEnum) { - v.value = val - v.isSet = true -} - -func (v NullableModeEnum) IsSet() bool { - return v.isSet -} - -func (v *NullableModeEnum) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableModeEnum(val *ModeEnum) *NullableModeEnum { - return &NullableModeEnum{value: val, isSet: true} -} - -func (v NullableModeEnum) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableModeEnum) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - diff --git a/model_module.go b/model_module.go index 45e80a7c..8fa3157f 100644 --- a/model_module.go +++ b/model_module.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Module{} // Module 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. type Module struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -50,9 +50,8 @@ type _Module Module // 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 -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 { this := Module{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -73,28 +72,36 @@ func NewModuleWithDefaults() *Module { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Module) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Module) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Module) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Module) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -643,7 +650,9 @@ func (o Module) MarshalJSON() ([]byte, error) { func (o Module) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -690,7 +699,6 @@ func (o *Module) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_module_bay.go b/model_module_bay.go index 0bc140b3..66406931 100644 --- a/model_module_bay.go +++ b/model_module_bay.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. @@ -21,12 +21,14 @@ var _ MappedNullable = &ModuleBay{} // ModuleBay 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. type ModuleBay struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` Name string `json:"name"` // The position of the module bay within the parent device/module Position *string `json:"position,omitempty"` @@ -35,6 +37,7 @@ type ModuleBay struct { Description *string `json:"description,omitempty"` ParentDevice NullableBulkWritableCircuitRequestTenant `json:"parent_device,omitempty"` ParentModule NullableBulkWritableCircuitRequestTenant `json:"parent_module,omitempty"` + ModuleFamily NullableBulkWritableModuleBayRequestModuleFamily `json:"module_family,omitempty"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` @@ -49,9 +52,8 @@ type _ModuleBay ModuleBay // 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 -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 { this := ModuleBay{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +73,36 @@ func NewModuleBayWithDefaults() *ModuleBay { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ModuleBay) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ModuleBay) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *ModuleBay) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ModuleBay) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -191,6 +201,38 @@ func (o *ModuleBay) SetNaturalSlug(v string) { o.NaturalSlug = v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *ModuleBay) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleBay) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *ModuleBay) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *ModuleBay) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetName returns the Name field value func (o *ModuleBay) GetName() string { if o == nil { @@ -395,6 +437,48 @@ func (o *ModuleBay) UnsetParentModule() { o.ParentModule.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBay) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleBay) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *ModuleBay) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *ModuleBay) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *ModuleBay) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *ModuleBay) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCreated returns the Created field value // If the value is explicit nil, the zero value for time.Time will be returned func (o *ModuleBay) GetCreated() time.Time { @@ -545,11 +629,16 @@ func (o ModuleBay) MarshalJSON() ([]byte, error) { func (o ModuleBay) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } toSerialize["name"] = o.Name if !IsNil(o.Position) { toSerialize["position"] = o.Position @@ -566,6 +655,9 @@ func (o ModuleBay) ToMap() (map[string]interface{}, error) { if o.ParentModule.IsSet() { toSerialize["parent_module"] = o.ParentModule.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["notes_url"] = o.NotesUrl @@ -588,7 +680,6 @@ func (o *ModuleBay) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -631,12 +722,14 @@ func (o *ModuleBay) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "name") delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "parent_device") delete(additionalProperties, "parent_module") + delete(additionalProperties, "module_family") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") diff --git a/model_module_bay_request.go b/model_module_bay_request.go index d95cca8e..ed633833 100644 --- a/model_module_bay_request.go +++ b/model_module_bay_request.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. @@ -20,6 +20,9 @@ var _ MappedNullable = &ModuleBayRequest{} // ModuleBayRequest 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. type ModuleBayRequest struct { + Id *string `json:"id,omitempty"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` Name string `json:"name"` // The position of the module bay within the parent device/module Position *string `json:"position,omitempty"` @@ -28,6 +31,7 @@ type ModuleBayRequest struct { Description *string `json:"description,omitempty"` ParentDevice NullableBulkWritableCircuitRequestTenant `json:"parent_device,omitempty"` ParentModule NullableBulkWritableCircuitRequestTenant `json:"parent_module,omitempty"` + ModuleFamily NullableBulkWritableModuleBayRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -54,6 +58,70 @@ func NewModuleBayRequestWithDefaults() *ModuleBayRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ModuleBayRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleBayRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ModuleBayRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ModuleBayRequest) SetId(v string) { + o.Id = &v +} + +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *ModuleBayRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleBayRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *ModuleBayRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *ModuleBayRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetName returns the Name field value func (o *ModuleBayRequest) GetName() string { if o == nil { @@ -258,6 +326,48 @@ func (o *ModuleBayRequest) UnsetParentModule() { o.ParentModule.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleBayRequest) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *ModuleBayRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *ModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *ModuleBayRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *ModuleBayRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *ModuleBayRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -364,6 +474,12 @@ func (o ModuleBayRequest) MarshalJSON() ([]byte, error) { func (o ModuleBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } toSerialize["name"] = o.Name if !IsNil(o.Position) { toSerialize["position"] = o.Position @@ -380,6 +496,9 @@ func (o ModuleBayRequest) ToMap() (map[string]interface{}, error) { if o.ParentModule.IsSet() { toSerialize["parent_module"] = o.ParentModule.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -432,12 +551,15 @@ func (o *ModuleBayRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "name") delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "parent_device") delete(additionalProperties, "parent_module") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_module_bay_template.go b/model_module_bay_template.go index c0b96881..c535c502 100644 --- a/model_module_bay_template.go +++ b/model_module_bay_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ModuleBayTemplate{} // ModuleBayTemplate 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. type ModuleBayTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -34,8 +34,11 @@ type ModuleBayTemplate struct { // Physical label Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` + ModuleFamily NullableBulkWritableModuleBayTemplateRequestModuleFamily `json:"module_family,omitempty"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -48,9 +51,8 @@ type _ModuleBayTemplate ModuleBayTemplate // 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 -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 { this := ModuleBayTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -70,28 +72,36 @@ func NewModuleBayTemplateWithDefaults() *ModuleBayTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ModuleBayTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ModuleBayTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *ModuleBayTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ModuleBayTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -334,6 +344,38 @@ func (o *ModuleBayTemplate) SetDescription(v string) { o.Description = &v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *ModuleBayTemplate) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleBayTemplate) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *ModuleBayTemplate) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *ModuleBayTemplate) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ModuleBayTemplate) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -418,6 +460,48 @@ func (o *ModuleBayTemplate) UnsetModuleType() { o.ModuleType.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayTemplate) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayTemplateRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleBayTemplate) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *ModuleBayTemplate) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayTemplateRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *ModuleBayTemplate) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *ModuleBayTemplate) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *ModuleBayTemplate) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCreated returns the Created field value // If the value is explicit nil, the zero value for time.Time will be returned func (o *ModuleBayTemplate) GetCreated() time.Time { @@ -512,7 +596,9 @@ func (o ModuleBayTemplate) MarshalJSON() ([]byte, error) { func (o ModuleBayTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -528,12 +614,18 @@ func (o ModuleBayTemplate) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } if o.ModuleType.IsSet() { toSerialize["module_type"] = o.ModuleType.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() if !IsNil(o.CustomFields) { @@ -552,7 +644,6 @@ func (o *ModuleBayTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -600,8 +691,10 @@ func (o *ModuleBayTemplate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") + delete(additionalProperties, "module_family") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") delete(additionalProperties, "custom_fields") diff --git a/model_module_bay_template_request.go b/model_module_bay_template_request.go index 70d7d763..733ad0c3 100644 --- a/model_module_bay_template_request.go +++ b/model_module_bay_template_request.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. @@ -20,14 +20,18 @@ var _ MappedNullable = &ModuleBayTemplateRequest{} // ModuleBayTemplateRequest 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. type ModuleBayTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // The position of the module bay within the device or module Position *string `json:"position,omitempty"` // Physical label Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` + ModuleFamily NullableBulkWritableModuleBayTemplateRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -53,6 +57,38 @@ func NewModuleBayTemplateRequestWithDefaults() *ModuleBayTemplateRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ModuleBayTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleBayTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ModuleBayTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ModuleBayTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ModuleBayTemplateRequest) GetName() string { if o == nil { @@ -173,6 +209,38 @@ func (o *ModuleBayTemplateRequest) SetDescription(v string) { o.Description = &v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *ModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleBayTemplateRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *ModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *ModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -257,6 +325,48 @@ func (o *ModuleBayTemplateRequest) UnsetModuleType() { o.ModuleType.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayTemplateRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleBayTemplateRequest) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *ModuleBayTemplateRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayTemplateRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *ModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *ModuleBayTemplateRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *ModuleBayTemplateRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *ModuleBayTemplateRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -331,6 +441,9 @@ func (o ModuleBayTemplateRequest) MarshalJSON() ([]byte, error) { func (o ModuleBayTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Position) { toSerialize["position"] = o.Position @@ -341,12 +454,18 @@ func (o ModuleBayTemplateRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } if o.ModuleType.IsSet() { toSerialize["module_type"] = o.ModuleType.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -396,12 +515,15 @@ func (o *ModuleBayTemplateRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_module_family.go b/model_module_family.go new file mode 100644 index 00000000..e45e9481 --- /dev/null +++ b/model_module_family.go @@ -0,0 +1,562 @@ +/* +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 ( + "encoding/json" + "time" + "fmt" +) + +// checks if the ModuleFamily type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ModuleFamily{} + +// ModuleFamily API serializer for ModuleFamily objects. +type ModuleFamily struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + ModuleTypeCount *int32 `json:"module_type_count,omitempty"` + ModuleBayCount *int32 `json:"module_bay_count,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + NotesUrl string `json:"notes_url"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ModuleFamily 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 +func NewModuleFamily(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *ModuleFamily { + this := ModuleFamily{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.Name = name + this.Created = created + this.LastUpdated = lastUpdated + this.NotesUrl = notesUrl + return &this +} + +// 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 +func NewModuleFamilyWithDefaults() *ModuleFamily { + this := ModuleFamily{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ModuleFamily) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ModuleFamily) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ModuleFamily) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *ModuleFamily) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *ModuleFamily) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *ModuleFamily) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *ModuleFamily) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *ModuleFamily) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *ModuleFamily) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *ModuleFamily) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *ModuleFamily) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetModuleTypeCount returns the ModuleTypeCount field value if set, zero value otherwise. +func (o *ModuleFamily) GetModuleTypeCount() int32 { + if o == nil || IsNil(o.ModuleTypeCount) { + var ret int32 + return ret + } + return *o.ModuleTypeCount +} + +// GetModuleTypeCountOk returns a tuple with the ModuleTypeCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetModuleTypeCountOk() (*int32, bool) { + if o == nil || IsNil(o.ModuleTypeCount) { + return nil, false + } + return o.ModuleTypeCount, true +} + +// HasModuleTypeCount returns a boolean if a field has been set. +func (o *ModuleFamily) HasModuleTypeCount() bool { + if o != nil && !IsNil(o.ModuleTypeCount) { + return true + } + + return false +} + +// SetModuleTypeCount gets a reference to the given int32 and assigns it to the ModuleTypeCount field. +func (o *ModuleFamily) SetModuleTypeCount(v int32) { + o.ModuleTypeCount = &v +} + +// GetModuleBayCount returns the ModuleBayCount field value if set, zero value otherwise. +func (o *ModuleFamily) GetModuleBayCount() int32 { + if o == nil || IsNil(o.ModuleBayCount) { + var ret int32 + return ret + } + return *o.ModuleBayCount +} + +// GetModuleBayCountOk returns a tuple with the ModuleBayCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetModuleBayCountOk() (*int32, bool) { + if o == nil || IsNil(o.ModuleBayCount) { + return nil, false + } + return o.ModuleBayCount, true +} + +// HasModuleBayCount returns a boolean if a field has been set. +func (o *ModuleFamily) HasModuleBayCount() bool { + if o != nil && !IsNil(o.ModuleBayCount) { + return true + } + + return false +} + +// SetModuleBayCount gets a reference to the given int32 and assigns it to the ModuleBayCount field. +func (o *ModuleFamily) SetModuleBayCount(v int32) { + o.ModuleBayCount = &v +} + +// GetName returns the Name field value +func (o *ModuleFamily) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *ModuleFamily) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ModuleFamily) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ModuleFamily) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ModuleFamily) SetDescription(v string) { + o.Description = &v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *ModuleFamily) GetCreated() time.Time { + if o == nil || o.Created.Get() == nil { + var ret time.Time + return ret + } + + return *o.Created.Get() +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleFamily) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *ModuleFamily) SetCreated(v time.Time) { + o.Created.Set(&v) +} + +// GetLastUpdated returns the LastUpdated field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *ModuleFamily) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time + return ret + } + + return *o.LastUpdated.Get() +} + +// GetLastUpdatedOk returns a tuple with the LastUpdated field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleFamily) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *ModuleFamily) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetNotesUrl returns the NotesUrl field value +func (o *ModuleFamily) GetNotesUrl() string { + if o == nil { + var ret string + return ret + } + + return o.NotesUrl +} + +// GetNotesUrlOk returns a tuple with the NotesUrl field value +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetNotesUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NotesUrl, true +} + +// SetNotesUrl sets field value +func (o *ModuleFamily) SetNotesUrl(v string) { + o.NotesUrl = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ModuleFamily) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamily) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *ModuleFamily) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *ModuleFamily) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +func (o ModuleFamily) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ModuleFamily) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + if !IsNil(o.ModuleTypeCount) { + toSerialize["module_type_count"] = o.ModuleTypeCount + } + if !IsNil(o.ModuleBayCount) { + toSerialize["module_bay_count"] = o.ModuleBayCount + } + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["notes_url"] = o.NotesUrl + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ModuleFamily) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "name", + "created", + "last_updated", + "notes_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varModuleFamily := _ModuleFamily{} + + err = json.Unmarshal(data, &varModuleFamily) + + if err != nil { + return err + } + + *o = ModuleFamily(varModuleFamily) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "module_type_count") + delete(additionalProperties, "module_bay_count") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "notes_url") + delete(additionalProperties, "custom_fields") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableModuleFamily struct { + value *ModuleFamily + isSet bool +} + +func (v NullableModuleFamily) Get() *ModuleFamily { + return v.value +} + +func (v *NullableModuleFamily) Set(val *ModuleFamily) { + v.value = val + v.isSet = true +} + +func (v NullableModuleFamily) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleFamily) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleFamily(val *ModuleFamily) *NullableModuleFamily { + return &NullableModuleFamily{value: val, isSet: true} +} + +func (v NullableModuleFamily) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleFamily) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_module_family_request.go b/model_module_family_request.go new file mode 100644 index 00000000..0e873400 --- /dev/null +++ b/model_module_family_request.go @@ -0,0 +1,316 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the ModuleFamilyRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ModuleFamilyRequest{} + +// ModuleFamilyRequest API serializer for ModuleFamily objects. +type ModuleFamilyRequest struct { + Id *string `json:"id,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ModuleFamilyRequest 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 +func NewModuleFamilyRequest(name string) *ModuleFamilyRequest { + this := ModuleFamilyRequest{} + this.Name = name + return &this +} + +// 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 +func NewModuleFamilyRequestWithDefaults() *ModuleFamilyRequest { + this := ModuleFamilyRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ModuleFamilyRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamilyRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ModuleFamilyRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ModuleFamilyRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value +func (o *ModuleFamilyRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *ModuleFamilyRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *ModuleFamilyRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ModuleFamilyRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamilyRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ModuleFamilyRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ModuleFamilyRequest) SetDescription(v string) { + o.Description = &v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ModuleFamilyRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamilyRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *ModuleFamilyRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *ModuleFamilyRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *ModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleFamilyRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *ModuleFamilyRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *ModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o ModuleFamilyRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ModuleFamilyRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ModuleFamilyRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varModuleFamilyRequest := _ModuleFamilyRequest{} + + err = json.Unmarshal(data, &varModuleFamilyRequest) + + if err != nil { + return err + } + + *o = ModuleFamilyRequest(varModuleFamilyRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableModuleFamilyRequest struct { + value *ModuleFamilyRequest + isSet bool +} + +func (v NullableModuleFamilyRequest) Get() *ModuleFamilyRequest { + return v.value +} + +func (v *NullableModuleFamilyRequest) Set(val *ModuleFamilyRequest) { + v.value = val + v.isSet = true +} + +func (v NullableModuleFamilyRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleFamilyRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleFamilyRequest(val *ModuleFamilyRequest) *NullableModuleFamilyRequest { + return &NullableModuleFamilyRequest{value: val, isSet: true} +} + +func (v NullableModuleFamilyRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleFamilyRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_module_request.go b/model_module_request.go index 1c1a6df7..72908f3c 100644 --- a/model_module_request.go +++ b/model_module_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ModuleRequest{} // ModuleRequest 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. type ModuleRequest struct { + Id *string `json:"id,omitempty"` Serial NullableString `json:"serial,omitempty"` // A unique tag used to identify this module AssetTag NullableString `json:"asset_tag,omitempty"` @@ -56,6 +57,38 @@ func NewModuleRequestWithDefaults() *ModuleRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ModuleRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ModuleRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ModuleRequest) SetId(v string) { + o.Id = &v +} + // GetSerial returns the Serial field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ModuleRequest) GetSerial() string { if o == nil || IsNil(o.Serial.Get()) { @@ -462,6 +495,9 @@ func (o ModuleRequest) MarshalJSON() ([]byte, error) { func (o ModuleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Serial.IsSet() { toSerialize["serial"] = o.Serial.Get() } @@ -535,6 +571,7 @@ func (o *ModuleRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "serial") delete(additionalProperties, "asset_tag") delete(additionalProperties, "module_type") diff --git a/model_module_type.go b/model_module_type.go index eec3f7ee..a1eec1c6 100644 --- a/model_module_type.go +++ b/model_module_type.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ModuleType{} // ModuleType 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. type ModuleType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -32,6 +32,7 @@ type ModuleType struct { PartNumber *string `json:"part_number,omitempty"` Comments *string `json:"comments,omitempty"` Manufacturer BulkWritableCableRequestStatus `json:"manufacturer"` + ModuleFamily NullableBulkWritableCircuitRequestTenant `json:"module_family,omitempty"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` @@ -46,9 +47,8 @@ type _ModuleType ModuleType // 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 -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 { this := ModuleType{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -69,28 +69,36 @@ func NewModuleTypeWithDefaults() *ModuleType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ModuleType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ModuleType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ModuleType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ModuleType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -301,6 +309,48 @@ func (o *ModuleType) SetManufacturer(v BulkWritableCableRequestStatus) { o.Manufacturer = v } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleType) GetModuleFamily() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleType) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *ModuleType) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ModuleFamily field. +func (o *ModuleType) SetModuleFamily(v BulkWritableCircuitRequestTenant) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *ModuleType) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *ModuleType) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCreated returns the Created field value // If the value is explicit nil, the zero value for time.Time will be returned func (o *ModuleType) GetCreated() time.Time { @@ -451,7 +501,9 @@ func (o ModuleType) MarshalJSON() ([]byte, error) { func (o ModuleType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -464,6 +516,9 @@ func (o ModuleType) ToMap() (map[string]interface{}, error) { toSerialize["comments"] = o.Comments } toSerialize["manufacturer"] = o.Manufacturer + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["notes_url"] = o.NotesUrl @@ -486,7 +541,6 @@ func (o *ModuleType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -534,6 +588,7 @@ func (o *ModuleType) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "part_number") delete(additionalProperties, "comments") delete(additionalProperties, "manufacturer") + delete(additionalProperties, "module_family") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") diff --git a/model_module_type_request.go b/model_module_type_request.go index cc9a1774..cd7b85a0 100644 --- a/model_module_type_request.go +++ b/model_module_type_request.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. @@ -20,11 +20,13 @@ var _ MappedNullable = &ModuleTypeRequest{} // ModuleTypeRequest 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. type ModuleTypeRequest struct { + Id *string `json:"id,omitempty"` Model string `json:"model"` // Discrete part number (optional) PartNumber *string `json:"part_number,omitempty"` Comments *string `json:"comments,omitempty"` Manufacturer BulkWritableCableRequestStatus `json:"manufacturer"` + ModuleFamily NullableBulkWritableCircuitRequestTenant `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -52,6 +54,38 @@ func NewModuleTypeRequestWithDefaults() *ModuleTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ModuleTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ModuleTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ModuleTypeRequest) SetId(v string) { + o.Id = &v +} + // GetModel returns the Model field value func (o *ModuleTypeRequest) GetModel() string { if o == nil { @@ -164,6 +198,48 @@ func (o *ModuleTypeRequest) SetManufacturer(v BulkWritableCableRequestStatus) { o.Manufacturer = v } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleTypeRequest) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *ModuleTypeRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ModuleFamily field. +func (o *ModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *ModuleTypeRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *ModuleTypeRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *ModuleTypeRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -270,6 +346,9 @@ func (o ModuleTypeRequest) MarshalJSON() ([]byte, error) { func (o ModuleTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["model"] = o.Model if !IsNil(o.PartNumber) { toSerialize["part_number"] = o.PartNumber @@ -278,6 +357,9 @@ func (o ModuleTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize["comments"] = o.Comments } toSerialize["manufacturer"] = o.Manufacturer + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -331,10 +413,12 @@ func (o *ModuleTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "model") delete(additionalProperties, "part_number") delete(additionalProperties, "comments") delete(additionalProperties, "manufacturer") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_namespace.go b/model_namespace.go index 69713692..0534d257 100644 --- a/model_namespace.go +++ b/model_namespace.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Namespace{} // Namespace 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. type Namespace struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -44,9 +44,8 @@ type _Namespace Namespace // 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 -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 { this := Namespace{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -66,28 +65,36 @@ func NewNamespaceWithDefaults() *Namespace { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Namespace) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Namespace) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Namespace) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Namespace) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -434,7 +441,9 @@ func (o Namespace) MarshalJSON() ([]byte, error) { func (o Namespace) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -468,7 +477,6 @@ func (o *Namespace) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_namespace_request.go b/model_namespace_request.go index 9c65f58a..05d64a8b 100644 --- a/model_namespace_request.go +++ b/model_namespace_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &NamespaceRequest{} // NamespaceRequest 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. type NamespaceRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` @@ -49,6 +50,38 @@ func NewNamespaceRequestWithDefaults() *NamespaceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *NamespaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamespaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NamespaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NamespaceRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *NamespaceRequest) GetName() string { if o == nil { @@ -253,6 +286,9 @@ func (o NamespaceRequest) MarshalJSON() ([]byte, error) { func (o NamespaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -312,6 +348,7 @@ func (o *NamespaceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "location") diff --git a/model_nat__inside_.go b/model_nat__inside_.go index 9fa1f353..362805fe 100644 --- a/model_nat__inside_.go +++ b/model_nat__inside_.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/model_nested_cable.go b/model_nested_cable.go index b3c32192..0433efad 100644 --- a/model_nested_cable.go +++ b/model_nested_cable.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCable{} // NestedCable 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. type NestedCable struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCable NestedCable // 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 -func NewNestedCable(id string, objectType string, url string) *NestedCable { +func NewNestedCable(objectType string, url string) *NestedCable { this := NestedCable{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCableWithDefaults() *NestedCable { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCable) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCable) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCable) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCable) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCable) MarshalJSON() ([]byte, error) { func (o NestedCable) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCable) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_circuit.go b/model_nested_circuit.go index 58f2a7a1..8e5cf1bc 100644 --- a/model_nested_circuit.go +++ b/model_nested_circuit.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCircuit{} // NestedCircuit 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. type NestedCircuit struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCircuit NestedCircuit // 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 -func NewNestedCircuit(id string, objectType string, url string) *NestedCircuit { +func NewNestedCircuit(objectType string, url string) *NestedCircuit { this := NestedCircuit{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCircuitWithDefaults() *NestedCircuit { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCircuit) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCircuit) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCircuit) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCircuit) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCircuit) MarshalJSON() ([]byte, error) { func (o NestedCircuit) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCircuit) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_circuit_termination.go b/model_nested_circuit_termination.go index 527e3bd7..c183ae55 100644 --- a/model_nested_circuit_termination.go +++ b/model_nested_circuit_termination.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCircuitTermination{} // NestedCircuitTermination 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. type NestedCircuitTermination struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCircuitTermination NestedCircuitTermination // 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 -func NewNestedCircuitTermination(id string, objectType string, url string) *NestedCircuitTermination { +func NewNestedCircuitTermination(objectType string, url string) *NestedCircuitTermination { this := NestedCircuitTermination{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCircuitTerminationWithDefaults() *NestedCircuitTermination { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCircuitTermination) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCircuitTermination) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCircuitTermination) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCircuitTermination) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCircuitTermination) MarshalJSON() ([]byte, error) { func (o NestedCircuitTermination) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCircuitTermination) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_circuit_type.go b/model_nested_circuit_type.go index 22a22a99..6ecbe598 100644 --- a/model_nested_circuit_type.go +++ b/model_nested_circuit_type.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCircuitType{} // NestedCircuitType 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. type NestedCircuitType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCircuitType NestedCircuitType // 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 -func NewNestedCircuitType(id string, objectType string, url string) *NestedCircuitType { +func NewNestedCircuitType(objectType string, url string) *NestedCircuitType { this := NestedCircuitType{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCircuitTypeWithDefaults() *NestedCircuitType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCircuitType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCircuitType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCircuitType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCircuitType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCircuitType) MarshalJSON() ([]byte, error) { func (o NestedCircuitType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCircuitType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_cloud_account.go b/model_nested_cloud_account.go index b656b67d..3ea09254 100644 --- a/model_nested_cloud_account.go +++ b/model_nested_cloud_account.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCloudAccount{} // NestedCloudAccount 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. type NestedCloudAccount struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCloudAccount NestedCloudAccount // 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 -func NewNestedCloudAccount(id string, objectType string, url string) *NestedCloudAccount { +func NewNestedCloudAccount(objectType string, url string) *NestedCloudAccount { this := NestedCloudAccount{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCloudAccountWithDefaults() *NestedCloudAccount { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCloudAccount) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCloudAccount) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCloudAccount) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCloudAccount) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCloudAccount) MarshalJSON() ([]byte, error) { func (o NestedCloudAccount) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCloudAccount) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_cloud_network.go b/model_nested_cloud_network.go index 2a016dd4..f44e5048 100644 --- a/model_nested_cloud_network.go +++ b/model_nested_cloud_network.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCloudNetwork{} // NestedCloudNetwork 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. type NestedCloudNetwork struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCloudNetwork NestedCloudNetwork // 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 -func NewNestedCloudNetwork(id string, objectType string, url string) *NestedCloudNetwork { +func NewNestedCloudNetwork(objectType string, url string) *NestedCloudNetwork { this := NestedCloudNetwork{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCloudNetworkWithDefaults() *NestedCloudNetwork { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCloudNetwork) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCloudNetwork) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCloudNetwork) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCloudNetwork) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCloudNetwork) MarshalJSON() ([]byte, error) { func (o NestedCloudNetwork) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCloudNetwork) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_cloud_resource_type.go b/model_nested_cloud_resource_type.go index 05141450..9a76b794 100644 --- a/model_nested_cloud_resource_type.go +++ b/model_nested_cloud_resource_type.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCloudResourceType{} // NestedCloudResourceType 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. type NestedCloudResourceType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCloudResourceType NestedCloudResourceType // 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 -func NewNestedCloudResourceType(id string, objectType string, url string) *NestedCloudResourceType { +func NewNestedCloudResourceType(objectType string, url string) *NestedCloudResourceType { this := NestedCloudResourceType{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCloudResourceTypeWithDefaults() *NestedCloudResourceType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCloudResourceType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCloudResourceType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCloudResourceType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCloudResourceType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCloudResourceType) MarshalJSON() ([]byte, error) { func (o NestedCloudResourceType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCloudResourceType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_cloud_service.go b/model_nested_cloud_service.go index 7bbdd31f..5fa29691 100644 --- a/model_nested_cloud_service.go +++ b/model_nested_cloud_service.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCloudService{} // NestedCloudService 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. type NestedCloudService struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCloudService NestedCloudService // 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 -func NewNestedCloudService(id string, objectType string, url string) *NestedCloudService { +func NewNestedCloudService(objectType string, url string) *NestedCloudService { this := NestedCloudService{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCloudServiceWithDefaults() *NestedCloudService { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCloudService) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCloudService) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCloudService) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCloudService) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCloudService) MarshalJSON() ([]byte, error) { func (o NestedCloudService) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCloudService) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_cluster.go b/model_nested_cluster.go index 103de148..c31a49cd 100644 --- a/model_nested_cluster.go +++ b/model_nested_cluster.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCluster{} // NestedCluster 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. type NestedCluster struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCluster NestedCluster // 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 -func NewNestedCluster(id string, objectType string, url string) *NestedCluster { +func NewNestedCluster(objectType string, url string) *NestedCluster { this := NestedCluster{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedClusterWithDefaults() *NestedCluster { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCluster) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCluster) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCluster) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCluster) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCluster) MarshalJSON() ([]byte, error) { func (o NestedCluster) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCluster) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_cluster_group.go b/model_nested_cluster_group.go index d35ba39f..33df02de 100644 --- a/model_nested_cluster_group.go +++ b/model_nested_cluster_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedClusterGroup{} // NestedClusterGroup 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. type NestedClusterGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedClusterGroup NestedClusterGroup // 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 -func NewNestedClusterGroup(id string, objectType string, url string) *NestedClusterGroup { +func NewNestedClusterGroup(objectType string, url string) *NestedClusterGroup { this := NestedClusterGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedClusterGroupWithDefaults() *NestedClusterGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedClusterGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedClusterGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedClusterGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedClusterGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedClusterGroup) MarshalJSON() ([]byte, error) { func (o NestedClusterGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedClusterGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_cluster_type.go b/model_nested_cluster_type.go index 6b0a9b7b..cfe1d776 100644 --- a/model_nested_cluster_type.go +++ b/model_nested_cluster_type.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedClusterType{} // NestedClusterType 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. type NestedClusterType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedClusterType NestedClusterType // 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 -func NewNestedClusterType(id string, objectType string, url string) *NestedClusterType { +func NewNestedClusterType(objectType string, url string) *NestedClusterType { this := NestedClusterType{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedClusterTypeWithDefaults() *NestedClusterType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedClusterType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedClusterType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedClusterType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedClusterType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedClusterType) MarshalJSON() ([]byte, error) { func (o NestedClusterType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedClusterType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_computed_field.go b/model_nested_computed_field.go index 7554b089..d072d5ad 100644 --- a/model_nested_computed_field.go +++ b/model_nested_computed_field.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedComputedField{} // NestedComputedField 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) type NestedComputedField struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedComputedField NestedComputedField // 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 -func NewNestedComputedField(id string, objectType string, url string) *NestedComputedField { +func NewNestedComputedField(objectType string, url string) *NestedComputedField { this := NestedComputedField{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedComputedFieldWithDefaults() *NestedComputedField { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedComputedField) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedComputedField) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedComputedField) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedComputedField) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedComputedField) MarshalJSON() ([]byte, error) { func (o NestedComputedField) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedComputedField) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_config_context.go b/model_nested_config_context.go index 198d074e..72171d94 100644 --- a/model_nested_config_context.go +++ b/model_nested_config_context.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedConfigContext{} // NestedConfigContext 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) type NestedConfigContext struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedConfigContext NestedConfigContext // 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 -func NewNestedConfigContext(id string, objectType string, url string) *NestedConfigContext { +func NewNestedConfigContext(objectType string, url string) *NestedConfigContext { this := NestedConfigContext{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedConfigContextWithDefaults() *NestedConfigContext { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedConfigContext) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedConfigContext) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedConfigContext) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedConfigContext) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedConfigContext) MarshalJSON() ([]byte, error) { func (o NestedConfigContext) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedConfigContext) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_config_context_schema.go b/model_nested_config_context_schema.go index 65d02697..8e5913cd 100644 --- a/model_nested_config_context_schema.go +++ b/model_nested_config_context_schema.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedConfigContextSchema{} // NestedConfigContextSchema 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. type NestedConfigContextSchema struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedConfigContextSchema NestedConfigContextSchema // 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 -func NewNestedConfigContextSchema(id string, objectType string, url string) *NestedConfigContextSchema { +func NewNestedConfigContextSchema(objectType string, url string) *NestedConfigContextSchema { this := NestedConfigContextSchema{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedConfigContextSchemaWithDefaults() *NestedConfigContextSchema { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedConfigContextSchema) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedConfigContextSchema) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedConfigContextSchema) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedConfigContextSchema) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedConfigContextSchema) MarshalJSON() ([]byte, error) { func (o NestedConfigContextSchema) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedConfigContextSchema) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_console_port.go b/model_nested_console_port.go index 3af9548d..77f83efa 100644 --- a/model_nested_console_port.go +++ b/model_nested_console_port.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedConsolePort{} // NestedConsolePort 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. type NestedConsolePort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedConsolePort NestedConsolePort // 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 -func NewNestedConsolePort(id string, objectType string, url string) *NestedConsolePort { +func NewNestedConsolePort(objectType string, url string) *NestedConsolePort { this := NestedConsolePort{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedConsolePortWithDefaults() *NestedConsolePort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedConsolePort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedConsolePort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedConsolePort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedConsolePort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedConsolePort) MarshalJSON() ([]byte, error) { func (o NestedConsolePort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedConsolePort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_console_port_template.go b/model_nested_console_port_template.go index 3ad7438a..ce7df5ee 100644 --- a/model_nested_console_port_template.go +++ b/model_nested_console_port_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedConsolePortTemplate{} // NestedConsolePortTemplate 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. type NestedConsolePortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedConsolePortTemplate NestedConsolePortTemplate // 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 -func NewNestedConsolePortTemplate(id string, objectType string, url string) *NestedConsolePortTemplate { +func NewNestedConsolePortTemplate(objectType string, url string) *NestedConsolePortTemplate { this := NestedConsolePortTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedConsolePortTemplateWithDefaults() *NestedConsolePortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedConsolePortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedConsolePortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedConsolePortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedConsolePortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedConsolePortTemplate) MarshalJSON() ([]byte, error) { func (o NestedConsolePortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedConsolePortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_console_server_port.go b/model_nested_console_server_port.go index 11383956..b8d85bfc 100644 --- a/model_nested_console_server_port.go +++ b/model_nested_console_server_port.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedConsoleServerPort{} // NestedConsoleServerPort 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. type NestedConsoleServerPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedConsoleServerPort NestedConsoleServerPort // 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 -func NewNestedConsoleServerPort(id string, objectType string, url string) *NestedConsoleServerPort { +func NewNestedConsoleServerPort(objectType string, url string) *NestedConsoleServerPort { this := NestedConsoleServerPort{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedConsoleServerPortWithDefaults() *NestedConsoleServerPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedConsoleServerPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedConsoleServerPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedConsoleServerPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedConsoleServerPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedConsoleServerPort) MarshalJSON() ([]byte, error) { func (o NestedConsoleServerPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedConsoleServerPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_console_server_port_template.go b/model_nested_console_server_port_template.go index 39988dd5..03f4363e 100644 --- a/model_nested_console_server_port_template.go +++ b/model_nested_console_server_port_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedConsoleServerPortTemplate{} // NestedConsoleServerPortTemplate 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. type NestedConsoleServerPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedConsoleServerPortTemplate NestedConsoleServerPortTemplate // 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 -func NewNestedConsoleServerPortTemplate(id string, objectType string, url string) *NestedConsoleServerPortTemplate { +func NewNestedConsoleServerPortTemplate(objectType string, url string) *NestedConsoleServerPortTemplate { this := NestedConsoleServerPortTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedConsoleServerPortTemplateWithDefaults() *NestedConsoleServerPortTe return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedConsoleServerPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedConsoleServerPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedConsoleServerPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedConsoleServerPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedConsoleServerPortTemplate) MarshalJSON() ([]byte, error) { func (o NestedConsoleServerPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedConsoleServerPortTemplate) UnmarshalJSON(data []byte) (err error) // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_contact.go b/model_nested_contact.go index 2368b013..92400097 100644 --- a/model_nested_contact.go +++ b/model_nested_contact.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedContact{} // NestedContact 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. type NestedContact struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedContact NestedContact // 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 -func NewNestedContact(id string, objectType string, url string) *NestedContact { +func NewNestedContact(objectType string, url string) *NestedContact { this := NestedContact{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedContactWithDefaults() *NestedContact { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedContact) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedContact) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedContact) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedContact) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedContact) MarshalJSON() ([]byte, error) { func (o NestedContact) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedContact) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_contact_association.go b/model_nested_contact_association.go index 77fb7513..6b82d702 100644 --- a/model_nested_contact_association.go +++ b/model_nested_contact_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedContactAssociation{} // NestedContactAssociation 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. type NestedContactAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedContactAssociation NestedContactAssociation // 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 -func NewNestedContactAssociation(id string, objectType string, url string) *NestedContactAssociation { +func NewNestedContactAssociation(objectType string, url string) *NestedContactAssociation { this := NestedContactAssociation{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedContactAssociationWithDefaults() *NestedContactAssociation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedContactAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedContactAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedContactAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedContactAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedContactAssociation) MarshalJSON() ([]byte, error) { func (o NestedContactAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedContactAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_controller.go b/model_nested_controller.go index 310870f4..972ab561 100644 --- a/model_nested_controller.go +++ b/model_nested_controller.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedController{} // NestedController 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. type NestedController struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedController NestedController // 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 -func NewNestedController(id string, objectType string, url string) *NestedController { +func NewNestedController(objectType string, url string) *NestedController { this := NestedController{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedControllerWithDefaults() *NestedController { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedController) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedController) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedController) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedController) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedController) MarshalJSON() ([]byte, error) { func (o NestedController) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedController) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_controller_managed_device_group.go b/model_nested_controller_managed_device_group.go index e2fad70f..9fac60db 100644 --- a/model_nested_controller_managed_device_group.go +++ b/model_nested_controller_managed_device_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedControllerManagedDeviceGroup{} // NestedControllerManagedDeviceGroup 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. type NestedControllerManagedDeviceGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedControllerManagedDeviceGroup NestedControllerManagedDeviceGroup // 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 -func NewNestedControllerManagedDeviceGroup(id string, objectType string, url string) *NestedControllerManagedDeviceGroup { +func NewNestedControllerManagedDeviceGroup(objectType string, url string) *NestedControllerManagedDeviceGroup { this := NestedControllerManagedDeviceGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedControllerManagedDeviceGroupWithDefaults() *NestedControllerManage return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedControllerManagedDeviceGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedControllerManagedDeviceGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedControllerManagedDeviceGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedControllerManagedDeviceGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedControllerManagedDeviceGroup) MarshalJSON() ([]byte, error) { func (o NestedControllerManagedDeviceGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedControllerManagedDeviceGroup) UnmarshalJSON(data []byte) (err err // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_custom_field.go b/model_nested_custom_field.go index 29bc2f54..e94f9647 100644 --- a/model_nested_custom_field.go +++ b/model_nested_custom_field.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCustomField{} // NestedCustomField 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) type NestedCustomField struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCustomField NestedCustomField // 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 -func NewNestedCustomField(id string, objectType string, url string) *NestedCustomField { +func NewNestedCustomField(objectType string, url string) *NestedCustomField { this := NestedCustomField{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCustomFieldWithDefaults() *NestedCustomField { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCustomField) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCustomField) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCustomField) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCustomField) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCustomField) MarshalJSON() ([]byte, error) { func (o NestedCustomField) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCustomField) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_custom_field_choice.go b/model_nested_custom_field_choice.go index a8425b7c..8ffd1c67 100644 --- a/model_nested_custom_field_choice.go +++ b/model_nested_custom_field_choice.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCustomFieldChoice{} // NestedCustomFieldChoice 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) type NestedCustomFieldChoice struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCustomFieldChoice NestedCustomFieldChoice // 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 -func NewNestedCustomFieldChoice(id string, objectType string, url string) *NestedCustomFieldChoice { +func NewNestedCustomFieldChoice(objectType string, url string) *NestedCustomFieldChoice { this := NestedCustomFieldChoice{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCustomFieldChoiceWithDefaults() *NestedCustomFieldChoice { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCustomFieldChoice) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCustomFieldChoice) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCustomFieldChoice) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCustomFieldChoice) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCustomFieldChoice) MarshalJSON() ([]byte, error) { func (o NestedCustomFieldChoice) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCustomFieldChoice) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_custom_link.go b/model_nested_custom_link.go index eb6599b2..246edfeb 100644 --- a/model_nested_custom_link.go +++ b/model_nested_custom_link.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedCustomLink{} // NestedCustomLink 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) type NestedCustomLink struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedCustomLink NestedCustomLink // 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 -func NewNestedCustomLink(id string, objectType string, url string) *NestedCustomLink { +func NewNestedCustomLink(objectType string, url string) *NestedCustomLink { this := NestedCustomLink{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedCustomLinkWithDefaults() *NestedCustomLink { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedCustomLink) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedCustomLink) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedCustomLink) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedCustomLink) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedCustomLink) MarshalJSON() ([]byte, error) { func (o NestedCustomLink) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedCustomLink) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_device.go b/model_nested_device.go index 82f7ae9c..7f03bb94 100644 --- a/model_nested_device.go +++ b/model_nested_device.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDevice{} // NestedDevice 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. type NestedDevice struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDevice NestedDevice // 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 -func NewNestedDevice(id string, objectType string, url string) *NestedDevice { +func NewNestedDevice(objectType string, url string) *NestedDevice { this := NestedDevice{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDeviceWithDefaults() *NestedDevice { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDevice) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDevice) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDevice) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDevice) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDevice) MarshalJSON() ([]byte, error) { func (o NestedDevice) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDevice) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_device_bay.go b/model_nested_device_bay.go index 1d4ac6a1..009e9cbf 100644 --- a/model_nested_device_bay.go +++ b/model_nested_device_bay.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDeviceBay{} // NestedDeviceBay 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. type NestedDeviceBay struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDeviceBay NestedDeviceBay // 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 -func NewNestedDeviceBay(id string, objectType string, url string) *NestedDeviceBay { +func NewNestedDeviceBay(objectType string, url string) *NestedDeviceBay { this := NestedDeviceBay{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDeviceBayWithDefaults() *NestedDeviceBay { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDeviceBay) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDeviceBay) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDeviceBay) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDeviceBay) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDeviceBay) MarshalJSON() ([]byte, error) { func (o NestedDeviceBay) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDeviceBay) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_device_bay_template.go b/model_nested_device_bay_template.go index bfdc8cc7..5dd86193 100644 --- a/model_nested_device_bay_template.go +++ b/model_nested_device_bay_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDeviceBayTemplate{} // NestedDeviceBayTemplate 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. type NestedDeviceBayTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDeviceBayTemplate NestedDeviceBayTemplate // 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 -func NewNestedDeviceBayTemplate(id string, objectType string, url string) *NestedDeviceBayTemplate { +func NewNestedDeviceBayTemplate(objectType string, url string) *NestedDeviceBayTemplate { this := NestedDeviceBayTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDeviceBayTemplateWithDefaults() *NestedDeviceBayTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDeviceBayTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDeviceBayTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDeviceBayTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDeviceBayTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDeviceBayTemplate) MarshalJSON() ([]byte, error) { func (o NestedDeviceBayTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDeviceBayTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_device_family.go b/model_nested_device_family.go index 598a4e45..0f95d076 100644 --- a/model_nested_device_family.go +++ b/model_nested_device_family.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDeviceFamily{} // NestedDeviceFamily 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. type NestedDeviceFamily struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDeviceFamily NestedDeviceFamily // 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 -func NewNestedDeviceFamily(id string, objectType string, url string) *NestedDeviceFamily { +func NewNestedDeviceFamily(objectType string, url string) *NestedDeviceFamily { this := NestedDeviceFamily{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDeviceFamilyWithDefaults() *NestedDeviceFamily { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDeviceFamily) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDeviceFamily) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDeviceFamily) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDeviceFamily) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDeviceFamily) MarshalJSON() ([]byte, error) { func (o NestedDeviceFamily) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDeviceFamily) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_device_redundancy_group.go b/model_nested_device_redundancy_group.go index b9e7de31..31baf90b 100644 --- a/model_nested_device_redundancy_group.go +++ b/model_nested_device_redundancy_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDeviceRedundancyGroup{} // NestedDeviceRedundancyGroup 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. type NestedDeviceRedundancyGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDeviceRedundancyGroup NestedDeviceRedundancyGroup // 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 -func NewNestedDeviceRedundancyGroup(id string, objectType string, url string) *NestedDeviceRedundancyGroup { +func NewNestedDeviceRedundancyGroup(objectType string, url string) *NestedDeviceRedundancyGroup { this := NestedDeviceRedundancyGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDeviceRedundancyGroupWithDefaults() *NestedDeviceRedundancyGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDeviceRedundancyGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDeviceRedundancyGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDeviceRedundancyGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDeviceRedundancyGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDeviceRedundancyGroup) MarshalJSON() ([]byte, error) { func (o NestedDeviceRedundancyGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDeviceRedundancyGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_device_type.go b/model_nested_device_type.go index 99ac355e..5600c961 100644 --- a/model_nested_device_type.go +++ b/model_nested_device_type.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDeviceType{} // NestedDeviceType 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. type NestedDeviceType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDeviceType NestedDeviceType // 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 -func NewNestedDeviceType(id string, objectType string, url string) *NestedDeviceType { +func NewNestedDeviceType(objectType string, url string) *NestedDeviceType { this := NestedDeviceType{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDeviceTypeWithDefaults() *NestedDeviceType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDeviceType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDeviceType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDeviceType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDeviceType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDeviceType) MarshalJSON() ([]byte, error) { func (o NestedDeviceType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDeviceType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_device_type_to_software_image_file.go b/model_nested_device_type_to_software_image_file.go index d95efefc..5f84bfa5 100644 --- a/model_nested_device_type_to_software_image_file.go +++ b/model_nested_device_type_to_software_image_file.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDeviceTypeToSoftwareImageFile{} // NestedDeviceTypeToSoftwareImageFile 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) type NestedDeviceTypeToSoftwareImageFile struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDeviceTypeToSoftwareImageFile NestedDeviceTypeToSoftwareImageFile // 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 -func NewNestedDeviceTypeToSoftwareImageFile(id string, objectType string, url string) *NestedDeviceTypeToSoftwareImageFile { +func NewNestedDeviceTypeToSoftwareImageFile(objectType string, url string) *NestedDeviceTypeToSoftwareImageFile { this := NestedDeviceTypeToSoftwareImageFile{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDeviceTypeToSoftwareImageFileWithDefaults() *NestedDeviceTypeToSof return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDeviceTypeToSoftwareImageFile) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDeviceTypeToSoftwareImageFile) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDeviceTypeToSoftwareImageFile) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDeviceTypeToSoftwareImageFile) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDeviceTypeToSoftwareImageFile) MarshalJSON() ([]byte, error) { func (o NestedDeviceTypeToSoftwareImageFile) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDeviceTypeToSoftwareImageFile) UnmarshalJSON(data []byte) (err er // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_dynamic_group.go b/model_nested_dynamic_group.go index db66d3af..091fae4c 100644 --- a/model_nested_dynamic_group.go +++ b/model_nested_dynamic_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedDynamicGroup{} // NestedDynamicGroup 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. type NestedDynamicGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedDynamicGroup NestedDynamicGroup // 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 -func NewNestedDynamicGroup(id string, objectType string, url string) *NestedDynamicGroup { +func NewNestedDynamicGroup(objectType string, url string) *NestedDynamicGroup { this := NestedDynamicGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedDynamicGroupWithDefaults() *NestedDynamicGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedDynamicGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedDynamicGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedDynamicGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedDynamicGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedDynamicGroup) MarshalJSON() ([]byte, error) { func (o NestedDynamicGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedDynamicGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_export_template.go b/model_nested_export_template.go index 258c97a0..73d7dde0 100644 --- a/model_nested_export_template.go +++ b/model_nested_export_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedExportTemplate{} // NestedExportTemplate Extend ValidatedModelSerializer with a `relationships` field. type NestedExportTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedExportTemplate NestedExportTemplate // 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 -func NewNestedExportTemplate(id string, objectType string, url string) *NestedExportTemplate { +func NewNestedExportTemplate(objectType string, url string) *NestedExportTemplate { this := NestedExportTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedExportTemplateWithDefaults() *NestedExportTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedExportTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedExportTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedExportTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedExportTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedExportTemplate) MarshalJSON() ([]byte, error) { func (o NestedExportTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedExportTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_external_integration.go b/model_nested_external_integration.go index c2bedba7..9137a0dd 100644 --- a/model_nested_external_integration.go +++ b/model_nested_external_integration.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedExternalIntegration{} // NestedExternalIntegration 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. type NestedExternalIntegration struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedExternalIntegration NestedExternalIntegration // 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 -func NewNestedExternalIntegration(id string, objectType string, url string) *NestedExternalIntegration { +func NewNestedExternalIntegration(objectType string, url string) *NestedExternalIntegration { this := NestedExternalIntegration{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedExternalIntegrationWithDefaults() *NestedExternalIntegration { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedExternalIntegration) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedExternalIntegration) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedExternalIntegration) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedExternalIntegration) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedExternalIntegration) MarshalJSON() ([]byte, error) { func (o NestedExternalIntegration) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedExternalIntegration) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_file_proxy.go b/model_nested_file_proxy.go index e42463e4..989d9a1d 100644 --- a/model_nested_file_proxy.go +++ b/model_nested_file_proxy.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedFileProxy{} // NestedFileProxy This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type NestedFileProxy struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedFileProxy NestedFileProxy // 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 -func NewNestedFileProxy(id string, objectType string, url string) *NestedFileProxy { +func NewNestedFileProxy(objectType string, url string) *NestedFileProxy { this := NestedFileProxy{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedFileProxyWithDefaults() *NestedFileProxy { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedFileProxy) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedFileProxy) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedFileProxy) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedFileProxy) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedFileProxy) MarshalJSON() ([]byte, error) { func (o NestedFileProxy) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedFileProxy) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_front_port.go b/model_nested_front_port.go index 4f0840fa..68441a30 100644 --- a/model_nested_front_port.go +++ b/model_nested_front_port.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedFrontPort{} // NestedFrontPort 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. type NestedFrontPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedFrontPort NestedFrontPort // 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 -func NewNestedFrontPort(id string, objectType string, url string) *NestedFrontPort { +func NewNestedFrontPort(objectType string, url string) *NestedFrontPort { this := NestedFrontPort{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedFrontPortWithDefaults() *NestedFrontPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedFrontPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedFrontPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedFrontPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedFrontPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedFrontPort) MarshalJSON() ([]byte, error) { func (o NestedFrontPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedFrontPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_front_port_template.go b/model_nested_front_port_template.go index fc680245..0c88cc11 100644 --- a/model_nested_front_port_template.go +++ b/model_nested_front_port_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedFrontPortTemplate{} // NestedFrontPortTemplate 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. type NestedFrontPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedFrontPortTemplate NestedFrontPortTemplate // 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 -func NewNestedFrontPortTemplate(id string, objectType string, url string) *NestedFrontPortTemplate { +func NewNestedFrontPortTemplate(objectType string, url string) *NestedFrontPortTemplate { this := NestedFrontPortTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedFrontPortTemplateWithDefaults() *NestedFrontPortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedFrontPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedFrontPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedFrontPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedFrontPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedFrontPortTemplate) MarshalJSON() ([]byte, error) { func (o NestedFrontPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedFrontPortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_git_repository.go b/model_nested_git_repository.go index 4dd36ae0..a64761f7 100644 --- a/model_nested_git_repository.go +++ b/model_nested_git_repository.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedGitRepository{} // NestedGitRepository Git repositories defined as a data source. type NestedGitRepository struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedGitRepository NestedGitRepository // 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 -func NewNestedGitRepository(id string, objectType string, url string) *NestedGitRepository { +func NewNestedGitRepository(objectType string, url string) *NestedGitRepository { this := NestedGitRepository{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedGitRepositoryWithDefaults() *NestedGitRepository { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedGitRepository) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedGitRepository) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedGitRepository) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedGitRepository) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedGitRepository) MarshalJSON() ([]byte, error) { func (o NestedGitRepository) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedGitRepository) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_graph_ql_query.go b/model_nested_graph_ql_query.go index 374f004d..d418a853 100644 --- a/model_nested_graph_ql_query.go +++ b/model_nested_graph_ql_query.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedGraphQLQuery{} // NestedGraphQLQuery 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) type NestedGraphQLQuery struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedGraphQLQuery NestedGraphQLQuery // 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 -func NewNestedGraphQLQuery(id string, objectType string, url string) *NestedGraphQLQuery { +func NewNestedGraphQLQuery(objectType string, url string) *NestedGraphQLQuery { this := NestedGraphQLQuery{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedGraphQLQueryWithDefaults() *NestedGraphQLQuery { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedGraphQLQuery) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedGraphQLQuery) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedGraphQLQuery) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedGraphQLQuery) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedGraphQLQuery) MarshalJSON() ([]byte, error) { func (o NestedGraphQLQuery) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedGraphQLQuery) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_image_attachment.go b/model_nested_image_attachment.go index 70ebdf79..5c80bdb4 100644 --- a/model_nested_image_attachment.go +++ b/model_nested_image_attachment.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedImageAttachment{} // NestedImageAttachment 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) type NestedImageAttachment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedImageAttachment NestedImageAttachment // 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 -func NewNestedImageAttachment(id string, objectType string, url string) *NestedImageAttachment { +func NewNestedImageAttachment(objectType string, url string) *NestedImageAttachment { this := NestedImageAttachment{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedImageAttachmentWithDefaults() *NestedImageAttachment { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedImageAttachment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedImageAttachment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedImageAttachment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedImageAttachment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedImageAttachment) MarshalJSON() ([]byte, error) { func (o NestedImageAttachment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedImageAttachment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_interface.go b/model_nested_interface.go index f33ecd57..af0e93de 100644 --- a/model_nested_interface.go +++ b/model_nested_interface.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedInterface{} // NestedInterface 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. type NestedInterface struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedInterface NestedInterface // 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 -func NewNestedInterface(id string, objectType string, url string) *NestedInterface { +func NewNestedInterface(objectType string, url string) *NestedInterface { this := NestedInterface{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedInterfaceWithDefaults() *NestedInterface { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedInterface) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedInterface) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedInterface) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedInterface) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedInterface) MarshalJSON() ([]byte, error) { func (o NestedInterface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedInterface) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_interface_redundancy_group.go b/model_nested_interface_redundancy_group.go index 63100209..17ac021f 100644 --- a/model_nested_interface_redundancy_group.go +++ b/model_nested_interface_redundancy_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedInterfaceRedundancyGroup{} // NestedInterfaceRedundancyGroup InterfaceRedundancyGroup Serializer. type NestedInterfaceRedundancyGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedInterfaceRedundancyGroup NestedInterfaceRedundancyGroup // 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 -func NewNestedInterfaceRedundancyGroup(id string, objectType string, url string) *NestedInterfaceRedundancyGroup { +func NewNestedInterfaceRedundancyGroup(objectType string, url string) *NestedInterfaceRedundancyGroup { this := NestedInterfaceRedundancyGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedInterfaceRedundancyGroupWithDefaults() *NestedInterfaceRedundancyG return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedInterfaceRedundancyGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedInterfaceRedundancyGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedInterfaceRedundancyGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedInterfaceRedundancyGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedInterfaceRedundancyGroup) MarshalJSON() ([]byte, error) { func (o NestedInterfaceRedundancyGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedInterfaceRedundancyGroup) UnmarshalJSON(data []byte) (err error) // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_interface_redundancy_group_association.go b/model_nested_interface_redundancy_group_association.go index 68e0883c..46481d23 100644 --- a/model_nested_interface_redundancy_group_association.go +++ b/model_nested_interface_redundancy_group_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedInterfaceRedundancyGroupAssociation{} // NestedInterfaceRedundancyGroupAssociation InterfaceRedundancyGroupAssociation Serializer. type NestedInterfaceRedundancyGroupAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedInterfaceRedundancyGroupAssociation NestedInterfaceRedundancyGroupAs // 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 -func NewNestedInterfaceRedundancyGroupAssociation(id string, objectType string, url string) *NestedInterfaceRedundancyGroupAssociation { +func NewNestedInterfaceRedundancyGroupAssociation(objectType string, url string) *NestedInterfaceRedundancyGroupAssociation { this := NestedInterfaceRedundancyGroupAssociation{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedInterfaceRedundancyGroupAssociationWithDefaults() *NestedInterface return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedInterfaceRedundancyGroupAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedInterfaceRedundancyGroupAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedInterfaceRedundancyGroupAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedInterfaceRedundancyGroupAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedInterfaceRedundancyGroupAssociation) MarshalJSON() ([]byte, error) func (o NestedInterfaceRedundancyGroupAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedInterfaceRedundancyGroupAssociation) UnmarshalJSON(data []byte) ( // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_interface_template.go b/model_nested_interface_template.go index feee1e33..39d00c2d 100644 --- a/model_nested_interface_template.go +++ b/model_nested_interface_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedInterfaceTemplate{} // NestedInterfaceTemplate 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. type NestedInterfaceTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedInterfaceTemplate NestedInterfaceTemplate // 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 -func NewNestedInterfaceTemplate(id string, objectType string, url string) *NestedInterfaceTemplate { +func NewNestedInterfaceTemplate(objectType string, url string) *NestedInterfaceTemplate { this := NestedInterfaceTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedInterfaceTemplateWithDefaults() *NestedInterfaceTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedInterfaceTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedInterfaceTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedInterfaceTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedInterfaceTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedInterfaceTemplate) MarshalJSON() ([]byte, error) { func (o NestedInterfaceTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedInterfaceTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_interface_vdc_assignment.go b/model_nested_interface_vdc_assignment.go new file mode 100644 index 00000000..648ab7a3 --- /dev/null +++ b/model_nested_interface_vdc_assignment.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the NestedInterfaceVDCAssignment type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedInterfaceVDCAssignment{} + +// NestedInterfaceVDCAssignment 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) +type NestedInterfaceVDCAssignment struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _NestedInterfaceVDCAssignment 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 +func NewNestedInterfaceVDCAssignment(objectType string, url string) *NestedInterfaceVDCAssignment { + this := NestedInterfaceVDCAssignment{} + this.ObjectType = objectType + this.Url = url + return &this +} + +// 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 +func NewNestedInterfaceVDCAssignmentWithDefaults() *NestedInterfaceVDCAssignment { + this := NestedInterfaceVDCAssignment{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NestedInterfaceVDCAssignment) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedInterfaceVDCAssignment) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedInterfaceVDCAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NestedInterfaceVDCAssignment) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *NestedInterfaceVDCAssignment) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *NestedInterfaceVDCAssignment) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NestedInterfaceVDCAssignment) SetObjectType(v string) { + o.ObjectType = v +} + +// GetUrl returns the Url field value +func (o *NestedInterfaceVDCAssignment) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *NestedInterfaceVDCAssignment) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedInterfaceVDCAssignment) SetUrl(v string) { + o.Url = v +} + +func (o NestedInterfaceVDCAssignment) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedInterfaceVDCAssignment) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedInterfaceVDCAssignment) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varNestedInterfaceVDCAssignment := _NestedInterfaceVDCAssignment{} + + err = json.Unmarshal(data, &varNestedInterfaceVDCAssignment) + + if err != nil { + return err + } + + *o = NestedInterfaceVDCAssignment(varNestedInterfaceVDCAssignment) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedInterfaceVDCAssignment struct { + value *NestedInterfaceVDCAssignment + isSet bool +} + +func (v NullableNestedInterfaceVDCAssignment) Get() *NestedInterfaceVDCAssignment { + return v.value +} + +func (v *NullableNestedInterfaceVDCAssignment) Set(val *NestedInterfaceVDCAssignment) { + v.value = val + v.isSet = true +} + +func (v NullableNestedInterfaceVDCAssignment) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedInterfaceVDCAssignment) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedInterfaceVDCAssignment(val *NestedInterfaceVDCAssignment) *NullableNestedInterfaceVDCAssignment { + return &NullableNestedInterfaceVDCAssignment{value: val, isSet: true} +} + +func (v NullableNestedInterfaceVDCAssignment) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedInterfaceVDCAssignment) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_nested_inventory_item.go b/model_nested_inventory_item.go index 6ab687ce..8ee86858 100644 --- a/model_nested_inventory_item.go +++ b/model_nested_inventory_item.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedInventoryItem{} // NestedInventoryItem Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type NestedInventoryItem struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedInventoryItem NestedInventoryItem // 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 -func NewNestedInventoryItem(id string, objectType string, url string) *NestedInventoryItem { +func NewNestedInventoryItem(objectType string, url string) *NestedInventoryItem { this := NestedInventoryItem{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedInventoryItemWithDefaults() *NestedInventoryItem { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedInventoryItem) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedInventoryItem) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedInventoryItem) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedInventoryItem) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedInventoryItem) MarshalJSON() ([]byte, error) { func (o NestedInventoryItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedInventoryItem) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_ip_address.go b/model_nested_ip_address.go index ba68cbee..98678090 100644 --- a/model_nested_ip_address.go +++ b/model_nested_ip_address.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedIPAddress{} // NestedIPAddress 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. type NestedIPAddress struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedIPAddress NestedIPAddress // 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 -func NewNestedIPAddress(id string, objectType string, url string) *NestedIPAddress { +func NewNestedIPAddress(objectType string, url string) *NestedIPAddress { this := NestedIPAddress{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedIPAddressWithDefaults() *NestedIPAddress { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedIPAddress) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedIPAddress) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedIPAddress) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedIPAddress) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedIPAddress) MarshalJSON() ([]byte, error) { func (o NestedIPAddress) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedIPAddress) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_job.go b/model_nested_job.go index 365ad2b7..a9340437 100644 --- a/model_nested_job.go +++ b/model_nested_job.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedJob{} // NestedJob 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. type NestedJob struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedJob NestedJob // 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 -func NewNestedJob(id string, objectType string, url string) *NestedJob { +func NewNestedJob(objectType string, url string) *NestedJob { this := NestedJob{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedJobWithDefaults() *NestedJob { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedJob) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedJob) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedJob) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedJob) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedJob) MarshalJSON() ([]byte, error) { func (o NestedJob) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedJob) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_job_button.go b/model_nested_job_button.go index 25cc2fcf..6eda2348 100644 --- a/model_nested_job_button.go +++ b/model_nested_job_button.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedJobButton{} // NestedJobButton 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) type NestedJobButton struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedJobButton NestedJobButton // 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 -func NewNestedJobButton(id string, objectType string, url string) *NestedJobButton { +func NewNestedJobButton(objectType string, url string) *NestedJobButton { this := NestedJobButton{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedJobButtonWithDefaults() *NestedJobButton { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedJobButton) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedJobButton) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedJobButton) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedJobButton) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedJobButton) MarshalJSON() ([]byte, error) { func (o NestedJobButton) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedJobButton) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_job_hook.go b/model_nested_job_hook.go index 551a329f..d42e0b89 100644 --- a/model_nested_job_hook.go +++ b/model_nested_job_hook.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedJobHook{} // NestedJobHook 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. type NestedJobHook struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedJobHook NestedJobHook // 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 -func NewNestedJobHook(id string, objectType string, url string) *NestedJobHook { +func NewNestedJobHook(objectType string, url string) *NestedJobHook { this := NestedJobHook{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedJobHookWithDefaults() *NestedJobHook { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedJobHook) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedJobHook) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedJobHook) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedJobHook) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedJobHook) MarshalJSON() ([]byte, error) { func (o NestedJobHook) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedJobHook) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_job_queue.go b/model_nested_job_queue.go new file mode 100644 index 00000000..31bb5994 --- /dev/null +++ b/model_nested_job_queue.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the NestedJobQueue type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedJobQueue{} + +// NestedJobQueue 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. +type NestedJobQueue struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _NestedJobQueue NestedJobQueue + +// 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 +func NewNestedJobQueue(objectType string, url string) *NestedJobQueue { + this := NestedJobQueue{} + this.ObjectType = objectType + this.Url = url + return &this +} + +// 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 +func NewNestedJobQueueWithDefaults() *NestedJobQueue { + this := NestedJobQueue{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NestedJobQueue) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedJobQueue) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedJobQueue) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NestedJobQueue) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *NestedJobQueue) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *NestedJobQueue) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NestedJobQueue) SetObjectType(v string) { + o.ObjectType = v +} + +// GetUrl returns the Url field value +func (o *NestedJobQueue) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *NestedJobQueue) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedJobQueue) SetUrl(v string) { + o.Url = v +} + +func (o NestedJobQueue) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedJobQueue) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedJobQueue) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varNestedJobQueue := _NestedJobQueue{} + + err = json.Unmarshal(data, &varNestedJobQueue) + + if err != nil { + return err + } + + *o = NestedJobQueue(varNestedJobQueue) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedJobQueue struct { + value *NestedJobQueue + isSet bool +} + +func (v NullableNestedJobQueue) Get() *NestedJobQueue { + return v.value +} + +func (v *NullableNestedJobQueue) Set(val *NestedJobQueue) { + v.value = val + v.isSet = true +} + +func (v NullableNestedJobQueue) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedJobQueue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedJobQueue(val *NestedJobQueue) *NullableNestedJobQueue { + return &NullableNestedJobQueue{value: val, isSet: true} +} + +func (v NullableNestedJobQueue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedJobQueue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_nested_job_result.go b/model_nested_job_result.go index 369d1090..f71708a1 100644 --- a/model_nested_job_result.go +++ b/model_nested_job_result.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedJobResult{} // NestedJobResult Extends ModelSerializer to render any CustomFields and their values associated with an object. type NestedJobResult struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedJobResult NestedJobResult // 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 -func NewNestedJobResult(id string, objectType string, url string) *NestedJobResult { +func NewNestedJobResult(objectType string, url string) *NestedJobResult { this := NestedJobResult{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedJobResultWithDefaults() *NestedJobResult { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedJobResult) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedJobResult) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedJobResult) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedJobResult) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedJobResult) MarshalJSON() ([]byte, error) { func (o NestedJobResult) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedJobResult) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_location.go b/model_nested_location.go index 8e3f1c77..61cc7bd5 100644 --- a/model_nested_location.go +++ b/model_nested_location.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedLocation{} // NestedLocation Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type NestedLocation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedLocation NestedLocation // 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 -func NewNestedLocation(id string, objectType string, url string) *NestedLocation { +func NewNestedLocation(objectType string, url string) *NestedLocation { this := NestedLocation{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedLocationWithDefaults() *NestedLocation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedLocation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedLocation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedLocation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedLocation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedLocation) MarshalJSON() ([]byte, error) { func (o NestedLocation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedLocation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_location_type.go b/model_nested_location_type.go index 0b2e7e1b..fbbbb8e0 100644 --- a/model_nested_location_type.go +++ b/model_nested_location_type.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedLocationType{} // NestedLocationType Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type NestedLocationType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedLocationType NestedLocationType // 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 -func NewNestedLocationType(id string, objectType string, url string) *NestedLocationType { +func NewNestedLocationType(objectType string, url string) *NestedLocationType { this := NestedLocationType{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedLocationTypeWithDefaults() *NestedLocationType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedLocationType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedLocationType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedLocationType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedLocationType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedLocationType) MarshalJSON() ([]byte, error) { func (o NestedLocationType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedLocationType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_manufacturer.go b/model_nested_manufacturer.go index 3a2135d5..7aeb5f3b 100644 --- a/model_nested_manufacturer.go +++ b/model_nested_manufacturer.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedManufacturer{} // NestedManufacturer 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. type NestedManufacturer struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedManufacturer NestedManufacturer // 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 -func NewNestedManufacturer(id string, objectType string, url string) *NestedManufacturer { +func NewNestedManufacturer(objectType string, url string) *NestedManufacturer { this := NestedManufacturer{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedManufacturerWithDefaults() *NestedManufacturer { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedManufacturer) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedManufacturer) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedManufacturer) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedManufacturer) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedManufacturer) MarshalJSON() ([]byte, error) { func (o NestedManufacturer) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedManufacturer) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_metadata_choice.go b/model_nested_metadata_choice.go index ddd690fa..2916611a 100644 --- a/model_nested_metadata_choice.go +++ b/model_nested_metadata_choice.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedMetadataChoice{} // NestedMetadataChoice 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) type NestedMetadataChoice struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedMetadataChoice NestedMetadataChoice // 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 -func NewNestedMetadataChoice(id string, objectType string, url string) *NestedMetadataChoice { +func NewNestedMetadataChoice(objectType string, url string) *NestedMetadataChoice { this := NestedMetadataChoice{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedMetadataChoiceWithDefaults() *NestedMetadataChoice { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedMetadataChoice) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedMetadataChoice) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedMetadataChoice) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedMetadataChoice) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedMetadataChoice) MarshalJSON() ([]byte, error) { func (o NestedMetadataChoice) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedMetadataChoice) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_metadata_type.go b/model_nested_metadata_type.go index b415bec3..fb59a1d0 100644 --- a/model_nested_metadata_type.go +++ b/model_nested_metadata_type.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedMetadataType{} // NestedMetadataType 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. type NestedMetadataType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedMetadataType NestedMetadataType // 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 -func NewNestedMetadataType(id string, objectType string, url string) *NestedMetadataType { +func NewNestedMetadataType(objectType string, url string) *NestedMetadataType { this := NestedMetadataType{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedMetadataTypeWithDefaults() *NestedMetadataType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedMetadataType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedMetadataType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedMetadataType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedMetadataType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedMetadataType) MarshalJSON() ([]byte, error) { func (o NestedMetadataType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedMetadataType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_module.go b/model_nested_module.go index bf692ace..d4f6538e 100644 --- a/model_nested_module.go +++ b/model_nested_module.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedModule{} // NestedModule 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. type NestedModule struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedModule NestedModule // 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 -func NewNestedModule(id string, objectType string, url string) *NestedModule { +func NewNestedModule(objectType string, url string) *NestedModule { this := NestedModule{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedModuleWithDefaults() *NestedModule { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedModule) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedModule) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedModule) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedModule) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedModule) MarshalJSON() ([]byte, error) { func (o NestedModule) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedModule) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_module_bay.go b/model_nested_module_bay.go index 11f8cada..09025b44 100644 --- a/model_nested_module_bay.go +++ b/model_nested_module_bay.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedModuleBay{} // NestedModuleBay 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. type NestedModuleBay struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedModuleBay NestedModuleBay // 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 -func NewNestedModuleBay(id string, objectType string, url string) *NestedModuleBay { +func NewNestedModuleBay(objectType string, url string) *NestedModuleBay { this := NestedModuleBay{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedModuleBayWithDefaults() *NestedModuleBay { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedModuleBay) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedModuleBay) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedModuleBay) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedModuleBay) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedModuleBay) MarshalJSON() ([]byte, error) { func (o NestedModuleBay) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedModuleBay) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_module_bay_template.go b/model_nested_module_bay_template.go index 3138dcdf..9d0431ed 100644 --- a/model_nested_module_bay_template.go +++ b/model_nested_module_bay_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedModuleBayTemplate{} // NestedModuleBayTemplate 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. type NestedModuleBayTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedModuleBayTemplate NestedModuleBayTemplate // 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 -func NewNestedModuleBayTemplate(id string, objectType string, url string) *NestedModuleBayTemplate { +func NewNestedModuleBayTemplate(objectType string, url string) *NestedModuleBayTemplate { this := NestedModuleBayTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedModuleBayTemplateWithDefaults() *NestedModuleBayTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedModuleBayTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedModuleBayTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedModuleBayTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedModuleBayTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedModuleBayTemplate) MarshalJSON() ([]byte, error) { func (o NestedModuleBayTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedModuleBayTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_module_family.go b/model_nested_module_family.go new file mode 100644 index 00000000..61d80b1e --- /dev/null +++ b/model_nested_module_family.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the NestedModuleFamily type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedModuleFamily{} + +// NestedModuleFamily API serializer for ModuleFamily objects. +type NestedModuleFamily struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _NestedModuleFamily NestedModuleFamily + +// 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 +func NewNestedModuleFamily(objectType string, url string) *NestedModuleFamily { + this := NestedModuleFamily{} + this.ObjectType = objectType + this.Url = url + return &this +} + +// 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 +func NewNestedModuleFamilyWithDefaults() *NestedModuleFamily { + this := NestedModuleFamily{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NestedModuleFamily) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedModuleFamily) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedModuleFamily) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NestedModuleFamily) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *NestedModuleFamily) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *NestedModuleFamily) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NestedModuleFamily) SetObjectType(v string) { + o.ObjectType = v +} + +// GetUrl returns the Url field value +func (o *NestedModuleFamily) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *NestedModuleFamily) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedModuleFamily) SetUrl(v string) { + o.Url = v +} + +func (o NestedModuleFamily) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedModuleFamily) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedModuleFamily) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varNestedModuleFamily := _NestedModuleFamily{} + + err = json.Unmarshal(data, &varNestedModuleFamily) + + if err != nil { + return err + } + + *o = NestedModuleFamily(varNestedModuleFamily) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedModuleFamily struct { + value *NestedModuleFamily + isSet bool +} + +func (v NullableNestedModuleFamily) Get() *NestedModuleFamily { + return v.value +} + +func (v *NullableNestedModuleFamily) Set(val *NestedModuleFamily) { + v.value = val + v.isSet = true +} + +func (v NullableNestedModuleFamily) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedModuleFamily) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedModuleFamily(val *NestedModuleFamily) *NullableNestedModuleFamily { + return &NullableNestedModuleFamily{value: val, isSet: true} +} + +func (v NullableNestedModuleFamily) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedModuleFamily) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_nested_module_type.go b/model_nested_module_type.go index 2837d2b8..11a768e3 100644 --- a/model_nested_module_type.go +++ b/model_nested_module_type.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedModuleType{} // NestedModuleType 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. type NestedModuleType struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedModuleType NestedModuleType // 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 -func NewNestedModuleType(id string, objectType string, url string) *NestedModuleType { +func NewNestedModuleType(objectType string, url string) *NestedModuleType { this := NestedModuleType{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedModuleTypeWithDefaults() *NestedModuleType { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedModuleType) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedModuleType) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedModuleType) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedModuleType) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedModuleType) MarshalJSON() ([]byte, error) { func (o NestedModuleType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedModuleType) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_namespace.go b/model_nested_namespace.go index d9f06260..1031a54a 100644 --- a/model_nested_namespace.go +++ b/model_nested_namespace.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedNamespace{} // NestedNamespace 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. type NestedNamespace struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedNamespace NestedNamespace // 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 -func NewNestedNamespace(id string, objectType string, url string) *NestedNamespace { +func NewNestedNamespace(objectType string, url string) *NestedNamespace { this := NestedNamespace{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedNamespaceWithDefaults() *NestedNamespace { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedNamespace) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedNamespace) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedNamespace) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedNamespace) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedNamespace) MarshalJSON() ([]byte, error) { func (o NestedNamespace) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedNamespace) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_note.go b/model_nested_note.go index 81c41a31..5e1b448c 100644 --- a/model_nested_note.go +++ b/model_nested_note.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedNote{} // NestedNote This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type NestedNote struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedNote NestedNote // 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 -func NewNestedNote(id string, objectType string, url string) *NestedNote { +func NewNestedNote(objectType string, url string) *NestedNote { this := NestedNote{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedNoteWithDefaults() *NestedNote { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedNote) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedNote) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedNote) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedNote) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedNote) MarshalJSON() ([]byte, error) { func (o NestedNote) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedNote) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_object_change.go b/model_nested_object_change.go index 7105d75e..cbfa33ce 100644 --- a/model_nested_object_change.go +++ b/model_nested_object_change.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedObjectChange{} // NestedObjectChange This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type NestedObjectChange struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedObjectChange NestedObjectChange // 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 -func NewNestedObjectChange(id string, objectType string, url string) *NestedObjectChange { +func NewNestedObjectChange(objectType string, url string) *NestedObjectChange { this := NestedObjectChange{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedObjectChangeWithDefaults() *NestedObjectChange { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedObjectChange) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedObjectChange) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedObjectChange) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedObjectChange) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedObjectChange) MarshalJSON() ([]byte, error) { func (o NestedObjectChange) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedObjectChange) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_object_metadata.go b/model_nested_object_metadata.go index 53a8f95b..a72af660 100644 --- a/model_nested_object_metadata.go +++ b/model_nested_object_metadata.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedObjectMetadata{} // NestedObjectMetadata 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) type NestedObjectMetadata struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedObjectMetadata NestedObjectMetadata // 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 -func NewNestedObjectMetadata(id string, objectType string, url string) *NestedObjectMetadata { +func NewNestedObjectMetadata(objectType string, url string) *NestedObjectMetadata { this := NestedObjectMetadata{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedObjectMetadataWithDefaults() *NestedObjectMetadata { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedObjectMetadata) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedObjectMetadata) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedObjectMetadata) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedObjectMetadata) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedObjectMetadata) MarshalJSON() ([]byte, error) { func (o NestedObjectMetadata) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedObjectMetadata) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_object_permission.go b/model_nested_object_permission.go index 2d1fa158..2f1acff7 100644 --- a/model_nested_object_permission.go +++ b/model_nested_object_permission.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedObjectPermission{} // NestedObjectPermission 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) type NestedObjectPermission struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedObjectPermission NestedObjectPermission // 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 -func NewNestedObjectPermission(id string, objectType string, url string) *NestedObjectPermission { +func NewNestedObjectPermission(objectType string, url string) *NestedObjectPermission { this := NestedObjectPermission{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedObjectPermissionWithDefaults() *NestedObjectPermission { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedObjectPermission) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedObjectPermission) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedObjectPermission) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedObjectPermission) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedObjectPermission) MarshalJSON() ([]byte, error) { func (o NestedObjectPermission) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedObjectPermission) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_platform.go b/model_nested_platform.go index fa267254..4b94f9b6 100644 --- a/model_nested_platform.go +++ b/model_nested_platform.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPlatform{} // NestedPlatform 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. type NestedPlatform struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPlatform NestedPlatform // 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 -func NewNestedPlatform(id string, objectType string, url string) *NestedPlatform { +func NewNestedPlatform(objectType string, url string) *NestedPlatform { this := NestedPlatform{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPlatformWithDefaults() *NestedPlatform { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPlatform) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPlatform) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPlatform) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPlatform) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPlatform) MarshalJSON() ([]byte, error) { func (o NestedPlatform) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPlatform) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_power_feed.go b/model_nested_power_feed.go index 3e05eb8c..aac34e07 100644 --- a/model_nested_power_feed.go +++ b/model_nested_power_feed.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPowerFeed{} // NestedPowerFeed 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. type NestedPowerFeed struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPowerFeed NestedPowerFeed // 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 -func NewNestedPowerFeed(id string, objectType string, url string) *NestedPowerFeed { +func NewNestedPowerFeed(objectType string, url string) *NestedPowerFeed { this := NestedPowerFeed{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPowerFeedWithDefaults() *NestedPowerFeed { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPowerFeed) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPowerFeed) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPowerFeed) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPowerFeed) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPowerFeed) MarshalJSON() ([]byte, error) { func (o NestedPowerFeed) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPowerFeed) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_power_outlet.go b/model_nested_power_outlet.go index bca71f34..4fdc9fb1 100644 --- a/model_nested_power_outlet.go +++ b/model_nested_power_outlet.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPowerOutlet{} // NestedPowerOutlet 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. type NestedPowerOutlet struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPowerOutlet NestedPowerOutlet // 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 -func NewNestedPowerOutlet(id string, objectType string, url string) *NestedPowerOutlet { +func NewNestedPowerOutlet(objectType string, url string) *NestedPowerOutlet { this := NestedPowerOutlet{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPowerOutletWithDefaults() *NestedPowerOutlet { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPowerOutlet) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPowerOutlet) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPowerOutlet) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPowerOutlet) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPowerOutlet) MarshalJSON() ([]byte, error) { func (o NestedPowerOutlet) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPowerOutlet) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_power_outlet_template.go b/model_nested_power_outlet_template.go index 547b1bd7..d9c4a37d 100644 --- a/model_nested_power_outlet_template.go +++ b/model_nested_power_outlet_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPowerOutletTemplate{} // NestedPowerOutletTemplate 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. type NestedPowerOutletTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPowerOutletTemplate NestedPowerOutletTemplate // 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 -func NewNestedPowerOutletTemplate(id string, objectType string, url string) *NestedPowerOutletTemplate { +func NewNestedPowerOutletTemplate(objectType string, url string) *NestedPowerOutletTemplate { this := NestedPowerOutletTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPowerOutletTemplateWithDefaults() *NestedPowerOutletTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPowerOutletTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPowerOutletTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPowerOutletTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPowerOutletTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPowerOutletTemplate) MarshalJSON() ([]byte, error) { func (o NestedPowerOutletTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPowerOutletTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_power_panel.go b/model_nested_power_panel.go index 7e327a1b..836b41ca 100644 --- a/model_nested_power_panel.go +++ b/model_nested_power_panel.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPowerPanel{} // NestedPowerPanel 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. type NestedPowerPanel struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPowerPanel NestedPowerPanel // 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 -func NewNestedPowerPanel(id string, objectType string, url string) *NestedPowerPanel { +func NewNestedPowerPanel(objectType string, url string) *NestedPowerPanel { this := NestedPowerPanel{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPowerPanelWithDefaults() *NestedPowerPanel { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPowerPanel) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPowerPanel) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPowerPanel) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPowerPanel) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPowerPanel) MarshalJSON() ([]byte, error) { func (o NestedPowerPanel) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPowerPanel) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_power_port.go b/model_nested_power_port.go index c5668f9a..88d08098 100644 --- a/model_nested_power_port.go +++ b/model_nested_power_port.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPowerPort{} // NestedPowerPort 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. type NestedPowerPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPowerPort NestedPowerPort // 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 -func NewNestedPowerPort(id string, objectType string, url string) *NestedPowerPort { +func NewNestedPowerPort(objectType string, url string) *NestedPowerPort { this := NestedPowerPort{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPowerPortWithDefaults() *NestedPowerPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPowerPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPowerPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPowerPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPowerPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPowerPort) MarshalJSON() ([]byte, error) { func (o NestedPowerPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPowerPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_power_port_template.go b/model_nested_power_port_template.go index a6eafbcf..33f00925 100644 --- a/model_nested_power_port_template.go +++ b/model_nested_power_port_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPowerPortTemplate{} // NestedPowerPortTemplate 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. type NestedPowerPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPowerPortTemplate NestedPowerPortTemplate // 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 -func NewNestedPowerPortTemplate(id string, objectType string, url string) *NestedPowerPortTemplate { +func NewNestedPowerPortTemplate(objectType string, url string) *NestedPowerPortTemplate { this := NestedPowerPortTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPowerPortTemplateWithDefaults() *NestedPowerPortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPowerPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPowerPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPowerPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPowerPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPowerPortTemplate) MarshalJSON() ([]byte, error) { func (o NestedPowerPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPowerPortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_prefix.go b/model_nested_prefix.go index 1af7d4a5..8d13b6f1 100644 --- a/model_nested_prefix.go +++ b/model_nested_prefix.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedPrefix{} // NestedPrefix 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. type NestedPrefix struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedPrefix NestedPrefix // 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 -func NewNestedPrefix(id string, objectType string, url string) *NestedPrefix { +func NewNestedPrefix(objectType string, url string) *NestedPrefix { this := NestedPrefix{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedPrefixWithDefaults() *NestedPrefix { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedPrefix) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedPrefix) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedPrefix) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedPrefix) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedPrefix) MarshalJSON() ([]byte, error) { func (o NestedPrefix) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedPrefix) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_provider.go b/model_nested_provider.go index 414e58fc..cace24fd 100644 --- a/model_nested_provider.go +++ b/model_nested_provider.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedProvider{} // NestedProvider 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. type NestedProvider struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedProvider NestedProvider // 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 -func NewNestedProvider(id string, objectType string, url string) *NestedProvider { +func NewNestedProvider(objectType string, url string) *NestedProvider { this := NestedProvider{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedProviderWithDefaults() *NestedProvider { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedProvider) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedProvider) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedProvider) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedProvider) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedProvider) MarshalJSON() ([]byte, error) { func (o NestedProvider) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedProvider) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_provider_network.go b/model_nested_provider_network.go index c12be379..2c4ec763 100644 --- a/model_nested_provider_network.go +++ b/model_nested_provider_network.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedProviderNetwork{} // NestedProviderNetwork 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. type NestedProviderNetwork struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedProviderNetwork NestedProviderNetwork // 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 -func NewNestedProviderNetwork(id string, objectType string, url string) *NestedProviderNetwork { +func NewNestedProviderNetwork(objectType string, url string) *NestedProviderNetwork { this := NestedProviderNetwork{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedProviderNetworkWithDefaults() *NestedProviderNetwork { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedProviderNetwork) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedProviderNetwork) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedProviderNetwork) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedProviderNetwork) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedProviderNetwork) MarshalJSON() ([]byte, error) { func (o NestedProviderNetwork) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedProviderNetwork) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_rack.go b/model_nested_rack.go index d5f5d529..9d6c1044 100644 --- a/model_nested_rack.go +++ b/model_nested_rack.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRack{} // NestedRack 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. type NestedRack struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRack NestedRack // 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 -func NewNestedRack(id string, objectType string, url string) *NestedRack { +func NewNestedRack(objectType string, url string) *NestedRack { this := NestedRack{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRackWithDefaults() *NestedRack { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRack) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRack) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRack) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRack) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRack) MarshalJSON() ([]byte, error) { func (o NestedRack) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRack) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_rack_group.go b/model_nested_rack_group.go index 4e35f414..1e6b4bfb 100644 --- a/model_nested_rack_group.go +++ b/model_nested_rack_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRackGroup{} // NestedRackGroup Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type NestedRackGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRackGroup NestedRackGroup // 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 -func NewNestedRackGroup(id string, objectType string, url string) *NestedRackGroup { +func NewNestedRackGroup(objectType string, url string) *NestedRackGroup { this := NestedRackGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRackGroupWithDefaults() *NestedRackGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRackGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRackGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRackGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRackGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRackGroup) MarshalJSON() ([]byte, error) { func (o NestedRackGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRackGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_rack_reservation.go b/model_nested_rack_reservation.go index 85dfeab4..74201110 100644 --- a/model_nested_rack_reservation.go +++ b/model_nested_rack_reservation.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRackReservation{} // NestedRackReservation 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. type NestedRackReservation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRackReservation NestedRackReservation // 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 -func NewNestedRackReservation(id string, objectType string, url string) *NestedRackReservation { +func NewNestedRackReservation(objectType string, url string) *NestedRackReservation { this := NestedRackReservation{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRackReservationWithDefaults() *NestedRackReservation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRackReservation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRackReservation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRackReservation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRackReservation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRackReservation) MarshalJSON() ([]byte, error) { func (o NestedRackReservation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRackReservation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_radio_profile.go b/model_nested_radio_profile.go new file mode 100644 index 00000000..552a2b91 --- /dev/null +++ b/model_nested_radio_profile.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the NestedRadioProfile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedRadioProfile{} + +// NestedRadioProfile 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. +type NestedRadioProfile struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _NestedRadioProfile NestedRadioProfile + +// 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 +func NewNestedRadioProfile(objectType string, url string) *NestedRadioProfile { + this := NestedRadioProfile{} + this.ObjectType = objectType + this.Url = url + return &this +} + +// 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 +func NewNestedRadioProfileWithDefaults() *NestedRadioProfile { + this := NestedRadioProfile{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NestedRadioProfile) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedRadioProfile) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRadioProfile) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NestedRadioProfile) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *NestedRadioProfile) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *NestedRadioProfile) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NestedRadioProfile) SetObjectType(v string) { + o.ObjectType = v +} + +// GetUrl returns the Url field value +func (o *NestedRadioProfile) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *NestedRadioProfile) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedRadioProfile) SetUrl(v string) { + o.Url = v +} + +func (o NestedRadioProfile) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedRadioProfile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedRadioProfile) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varNestedRadioProfile := _NestedRadioProfile{} + + err = json.Unmarshal(data, &varNestedRadioProfile) + + if err != nil { + return err + } + + *o = NestedRadioProfile(varNestedRadioProfile) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedRadioProfile struct { + value *NestedRadioProfile + isSet bool +} + +func (v NullableNestedRadioProfile) Get() *NestedRadioProfile { + return v.value +} + +func (v *NullableNestedRadioProfile) Set(val *NestedRadioProfile) { + v.value = val + v.isSet = true +} + +func (v NullableNestedRadioProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedRadioProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedRadioProfile(val *NestedRadioProfile) *NullableNestedRadioProfile { + return &NullableNestedRadioProfile{value: val, isSet: true} +} + +func (v NullableNestedRadioProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedRadioProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_nested_rear_port.go b/model_nested_rear_port.go index 6e4abf63..ef83c07c 100644 --- a/model_nested_rear_port.go +++ b/model_nested_rear_port.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRearPort{} // NestedRearPort 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. type NestedRearPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRearPort NestedRearPort // 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 -func NewNestedRearPort(id string, objectType string, url string) *NestedRearPort { +func NewNestedRearPort(objectType string, url string) *NestedRearPort { this := NestedRearPort{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRearPortWithDefaults() *NestedRearPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRearPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRearPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRearPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRearPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRearPort) MarshalJSON() ([]byte, error) { func (o NestedRearPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRearPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_rear_port_template.go b/model_nested_rear_port_template.go index 7eaf0075..687a4775 100644 --- a/model_nested_rear_port_template.go +++ b/model_nested_rear_port_template.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRearPortTemplate{} // NestedRearPortTemplate 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. type NestedRearPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRearPortTemplate NestedRearPortTemplate // 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 -func NewNestedRearPortTemplate(id string, objectType string, url string) *NestedRearPortTemplate { +func NewNestedRearPortTemplate(objectType string, url string) *NestedRearPortTemplate { this := NestedRearPortTemplate{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRearPortTemplateWithDefaults() *NestedRearPortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRearPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRearPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRearPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRearPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRearPortTemplate) MarshalJSON() ([]byte, error) { func (o NestedRearPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRearPortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_relationship.go b/model_nested_relationship.go index 96b7e4fa..bf660038 100644 --- a/model_nested_relationship.go +++ b/model_nested_relationship.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRelationship{} // NestedRelationship 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) type NestedRelationship struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRelationship NestedRelationship // 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 -func NewNestedRelationship(id string, objectType string, url string) *NestedRelationship { +func NewNestedRelationship(objectType string, url string) *NestedRelationship { this := NestedRelationship{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRelationshipWithDefaults() *NestedRelationship { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRelationship) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRelationship) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRelationship) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRelationship) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRelationship) MarshalJSON() ([]byte, error) { func (o NestedRelationship) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRelationship) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_relationship_association.go b/model_nested_relationship_association.go index 9cbe8838..0f24f357 100644 --- a/model_nested_relationship_association.go +++ b/model_nested_relationship_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRelationshipAssociation{} // NestedRelationshipAssociation 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) type NestedRelationshipAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRelationshipAssociation NestedRelationshipAssociation // 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 -func NewNestedRelationshipAssociation(id string, objectType string, url string) *NestedRelationshipAssociation { +func NewNestedRelationshipAssociation(objectType string, url string) *NestedRelationshipAssociation { this := NestedRelationshipAssociation{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRelationshipAssociationWithDefaults() *NestedRelationshipAssociati return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRelationshipAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRelationshipAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRelationshipAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRelationshipAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRelationshipAssociation) MarshalJSON() ([]byte, error) { func (o NestedRelationshipAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRelationshipAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_rir.go b/model_nested_rir.go index a707c2c0..e91f176e 100644 --- a/model_nested_rir.go +++ b/model_nested_rir.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRIR{} // NestedRIR 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. type NestedRIR struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRIR NestedRIR // 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 -func NewNestedRIR(id string, objectType string, url string) *NestedRIR { +func NewNestedRIR(objectType string, url string) *NestedRIR { this := NestedRIR{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRIRWithDefaults() *NestedRIR { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRIR) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRIR) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRIR) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRIR) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRIR) MarshalJSON() ([]byte, error) { func (o NestedRIR) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRIR) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_role.go b/model_nested_role.go index d666e19e..c9951fcc 100644 --- a/model_nested_role.go +++ b/model_nested_role.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRole{} // NestedRole Serializer for `Role` objects. type NestedRole struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRole NestedRole // 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 -func NewNestedRole(id string, objectType string, url string) *NestedRole { +func NewNestedRole(objectType string, url string) *NestedRole { this := NestedRole{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRoleWithDefaults() *NestedRole { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRole) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRole) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRole) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRole) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRole) MarshalJSON() ([]byte, error) { func (o NestedRole) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRole) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_route_target.go b/model_nested_route_target.go index e451bb7b..268e924f 100644 --- a/model_nested_route_target.go +++ b/model_nested_route_target.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedRouteTarget{} // NestedRouteTarget 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. type NestedRouteTarget struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedRouteTarget NestedRouteTarget // 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 -func NewNestedRouteTarget(id string, objectType string, url string) *NestedRouteTarget { +func NewNestedRouteTarget(objectType string, url string) *NestedRouteTarget { this := NestedRouteTarget{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedRouteTargetWithDefaults() *NestedRouteTarget { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedRouteTarget) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedRouteTarget) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedRouteTarget) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedRouteTarget) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedRouteTarget) MarshalJSON() ([]byte, error) { func (o NestedRouteTarget) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedRouteTarget) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_saved_view.go b/model_nested_saved_view.go index cbdac82e..554ac54f 100644 --- a/model_nested_saved_view.go +++ b/model_nested_saved_view.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedSavedView{} // NestedSavedView 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) type NestedSavedView struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedSavedView NestedSavedView // 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 -func NewNestedSavedView(id string, objectType string, url string) *NestedSavedView { +func NewNestedSavedView(objectType string, url string) *NestedSavedView { this := NestedSavedView{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedSavedViewWithDefaults() *NestedSavedView { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedSavedView) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedSavedView) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedSavedView) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedSavedView) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedSavedView) MarshalJSON() ([]byte, error) { func (o NestedSavedView) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedSavedView) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_scheduled_job.go b/model_nested_scheduled_job.go index 2c552c0c..56cd8e81 100644 --- a/model_nested_scheduled_job.go +++ b/model_nested_scheduled_job.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedScheduledJob{} // NestedScheduledJob This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type NestedScheduledJob struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedScheduledJob NestedScheduledJob // 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 -func NewNestedScheduledJob(id string, objectType string, url string) *NestedScheduledJob { +func NewNestedScheduledJob(objectType string, url string) *NestedScheduledJob { this := NestedScheduledJob{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedScheduledJobWithDefaults() *NestedScheduledJob { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedScheduledJob) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedScheduledJob) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedScheduledJob) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedScheduledJob) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedScheduledJob) MarshalJSON() ([]byte, error) { func (o NestedScheduledJob) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedScheduledJob) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_secret.go b/model_nested_secret.go index 17ec778a..7090aaa3 100644 --- a/model_nested_secret.go +++ b/model_nested_secret.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedSecret{} // NestedSecret Serializer for `Secret` objects. type NestedSecret struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedSecret NestedSecret // 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 -func NewNestedSecret(id string, objectType string, url string) *NestedSecret { +func NewNestedSecret(objectType string, url string) *NestedSecret { this := NestedSecret{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedSecretWithDefaults() *NestedSecret { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedSecret) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedSecret) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedSecret) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedSecret) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedSecret) MarshalJSON() ([]byte, error) { func (o NestedSecret) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedSecret) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_secrets_group.go b/model_nested_secrets_group.go index 86a2a506..844154d2 100644 --- a/model_nested_secrets_group.go +++ b/model_nested_secrets_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedSecretsGroup{} // NestedSecretsGroup Serializer for `SecretsGroup` objects. type NestedSecretsGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedSecretsGroup NestedSecretsGroup // 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 -func NewNestedSecretsGroup(id string, objectType string, url string) *NestedSecretsGroup { +func NewNestedSecretsGroup(objectType string, url string) *NestedSecretsGroup { this := NestedSecretsGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedSecretsGroupWithDefaults() *NestedSecretsGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedSecretsGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedSecretsGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedSecretsGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedSecretsGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedSecretsGroup) MarshalJSON() ([]byte, error) { func (o NestedSecretsGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedSecretsGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_secrets_group_association.go b/model_nested_secrets_group_association.go index a5d65c75..5131105b 100644 --- a/model_nested_secrets_group_association.go +++ b/model_nested_secrets_group_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedSecretsGroupAssociation{} // NestedSecretsGroupAssociation Serializer for `SecretsGroupAssociation` objects. type NestedSecretsGroupAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedSecretsGroupAssociation NestedSecretsGroupAssociation // 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 -func NewNestedSecretsGroupAssociation(id string, objectType string, url string) *NestedSecretsGroupAssociation { +func NewNestedSecretsGroupAssociation(objectType string, url string) *NestedSecretsGroupAssociation { this := NestedSecretsGroupAssociation{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedSecretsGroupAssociationWithDefaults() *NestedSecretsGroupAssociati return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedSecretsGroupAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedSecretsGroupAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedSecretsGroupAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedSecretsGroupAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedSecretsGroupAssociation) MarshalJSON() ([]byte, error) { func (o NestedSecretsGroupAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedSecretsGroupAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_service.go b/model_nested_service.go index 1c07d416..6cd6baf5 100644 --- a/model_nested_service.go +++ b/model_nested_service.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedService{} // NestedService 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. type NestedService struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedService NestedService // 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 -func NewNestedService(id string, objectType string, url string) *NestedService { +func NewNestedService(objectType string, url string) *NestedService { this := NestedService{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedServiceWithDefaults() *NestedService { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedService) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedService) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedService) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedService) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedService) MarshalJSON() ([]byte, error) { func (o NestedService) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedService) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_software_image_file.go b/model_nested_software_image_file.go index 2ee6e203..06dc9142 100644 --- a/model_nested_software_image_file.go +++ b/model_nested_software_image_file.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedSoftwareImageFile{} // NestedSoftwareImageFile 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. type NestedSoftwareImageFile struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedSoftwareImageFile NestedSoftwareImageFile // 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 -func NewNestedSoftwareImageFile(id string, objectType string, url string) *NestedSoftwareImageFile { +func NewNestedSoftwareImageFile(objectType string, url string) *NestedSoftwareImageFile { this := NestedSoftwareImageFile{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedSoftwareImageFileWithDefaults() *NestedSoftwareImageFile { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedSoftwareImageFile) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedSoftwareImageFile) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedSoftwareImageFile) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedSoftwareImageFile) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedSoftwareImageFile) MarshalJSON() ([]byte, error) { func (o NestedSoftwareImageFile) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedSoftwareImageFile) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_software_version.go b/model_nested_software_version.go index d05de660..57d154d1 100644 --- a/model_nested_software_version.go +++ b/model_nested_software_version.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedSoftwareVersion{} // NestedSoftwareVersion 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. type NestedSoftwareVersion struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedSoftwareVersion NestedSoftwareVersion // 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 -func NewNestedSoftwareVersion(id string, objectType string, url string) *NestedSoftwareVersion { +func NewNestedSoftwareVersion(objectType string, url string) *NestedSoftwareVersion { this := NestedSoftwareVersion{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedSoftwareVersionWithDefaults() *NestedSoftwareVersion { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedSoftwareVersion) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedSoftwareVersion) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedSoftwareVersion) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedSoftwareVersion) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedSoftwareVersion) MarshalJSON() ([]byte, error) { func (o NestedSoftwareVersion) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedSoftwareVersion) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_static_group_association.go b/model_nested_static_group_association.go index eb469e73..1259b643 100644 --- a/model_nested_static_group_association.go +++ b/model_nested_static_group_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedStaticGroupAssociation{} // NestedStaticGroupAssociation 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. type NestedStaticGroupAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedStaticGroupAssociation NestedStaticGroupAssociation // 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 -func NewNestedStaticGroupAssociation(id string, objectType string, url string) *NestedStaticGroupAssociation { +func NewNestedStaticGroupAssociation(objectType string, url string) *NestedStaticGroupAssociation { this := NestedStaticGroupAssociation{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedStaticGroupAssociationWithDefaults() *NestedStaticGroupAssociation return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedStaticGroupAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedStaticGroupAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedStaticGroupAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedStaticGroupAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedStaticGroupAssociation) MarshalJSON() ([]byte, error) { func (o NestedStaticGroupAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedStaticGroupAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_status.go b/model_nested_status.go index 4db482f2..2c27d5d0 100644 --- a/model_nested_status.go +++ b/model_nested_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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedStatus{} // NestedStatus Serializer for `Status` objects. type NestedStatus struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedStatus NestedStatus // 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 -func NewNestedStatus(id string, objectType string, url string) *NestedStatus { +func NewNestedStatus(objectType string, url string) *NestedStatus { this := NestedStatus{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedStatusWithDefaults() *NestedStatus { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedStatus) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedStatus) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedStatus) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedStatus) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedStatus) MarshalJSON() ([]byte, error) { func (o NestedStatus) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedStatus) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_supported_data_rate.go b/model_nested_supported_data_rate.go new file mode 100644 index 00000000..3cc278de --- /dev/null +++ b/model_nested_supported_data_rate.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the NestedSupportedDataRate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedSupportedDataRate{} + +// NestedSupportedDataRate 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. +type NestedSupportedDataRate struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _NestedSupportedDataRate 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 +func NewNestedSupportedDataRate(objectType string, url string) *NestedSupportedDataRate { + this := NestedSupportedDataRate{} + this.ObjectType = objectType + this.Url = url + return &this +} + +// 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 +func NewNestedSupportedDataRateWithDefaults() *NestedSupportedDataRate { + this := NestedSupportedDataRate{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NestedSupportedDataRate) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedSupportedDataRate) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedSupportedDataRate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NestedSupportedDataRate) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *NestedSupportedDataRate) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *NestedSupportedDataRate) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NestedSupportedDataRate) SetObjectType(v string) { + o.ObjectType = v +} + +// GetUrl returns the Url field value +func (o *NestedSupportedDataRate) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *NestedSupportedDataRate) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedSupportedDataRate) SetUrl(v string) { + o.Url = v +} + +func (o NestedSupportedDataRate) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedSupportedDataRate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedSupportedDataRate) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varNestedSupportedDataRate := _NestedSupportedDataRate{} + + err = json.Unmarshal(data, &varNestedSupportedDataRate) + + if err != nil { + return err + } + + *o = NestedSupportedDataRate(varNestedSupportedDataRate) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedSupportedDataRate struct { + value *NestedSupportedDataRate + isSet bool +} + +func (v NullableNestedSupportedDataRate) Get() *NestedSupportedDataRate { + return v.value +} + +func (v *NullableNestedSupportedDataRate) Set(val *NestedSupportedDataRate) { + v.value = val + v.isSet = true +} + +func (v NullableNestedSupportedDataRate) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedSupportedDataRate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedSupportedDataRate(val *NestedSupportedDataRate) *NullableNestedSupportedDataRate { + return &NullableNestedSupportedDataRate{value: val, isSet: true} +} + +func (v NullableNestedSupportedDataRate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedSupportedDataRate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_nested_tag.go b/model_nested_tag.go index dafefd2a..5c23100d 100644 --- a/model_nested_tag.go +++ b/model_nested_tag.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedTag{} // NestedTag 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. type NestedTag struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedTag NestedTag // 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 -func NewNestedTag(id string, objectType string, url string) *NestedTag { +func NewNestedTag(objectType string, url string) *NestedTag { this := NestedTag{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedTagWithDefaults() *NestedTag { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedTag) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedTag) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedTag) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedTag) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedTag) MarshalJSON() ([]byte, error) { func (o NestedTag) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedTag) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_team.go b/model_nested_team.go index 5ea9aa0e..64efc164 100644 --- a/model_nested_team.go +++ b/model_nested_team.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedTeam{} // NestedTeam 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. type NestedTeam struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedTeam NestedTeam // 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 -func NewNestedTeam(id string, objectType string, url string) *NestedTeam { +func NewNestedTeam(objectType string, url string) *NestedTeam { this := NestedTeam{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedTeamWithDefaults() *NestedTeam { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedTeam) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedTeam) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedTeam) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedTeam) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedTeam) MarshalJSON() ([]byte, error) { func (o NestedTeam) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedTeam) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_tenant.go b/model_nested_tenant.go index c1958140..75ebfdea 100644 --- a/model_nested_tenant.go +++ b/model_nested_tenant.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedTenant{} // NestedTenant 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. type NestedTenant struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedTenant NestedTenant // 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 -func NewNestedTenant(id string, objectType string, url string) *NestedTenant { +func NewNestedTenant(objectType string, url string) *NestedTenant { this := NestedTenant{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedTenantWithDefaults() *NestedTenant { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedTenant) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedTenant) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedTenant) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedTenant) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedTenant) MarshalJSON() ([]byte, error) { func (o NestedTenant) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedTenant) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_tenant_group.go b/model_nested_tenant_group.go index 57c08376..c69f0a27 100644 --- a/model_nested_tenant_group.go +++ b/model_nested_tenant_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedTenantGroup{} // NestedTenantGroup 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. type NestedTenantGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedTenantGroup NestedTenantGroup // 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 -func NewNestedTenantGroup(id string, objectType string, url string) *NestedTenantGroup { +func NewNestedTenantGroup(objectType string, url string) *NestedTenantGroup { this := NestedTenantGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedTenantGroupWithDefaults() *NestedTenantGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedTenantGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedTenantGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedTenantGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedTenantGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedTenantGroup) MarshalJSON() ([]byte, error) { func (o NestedTenantGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedTenantGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_virtual_chassis.go b/model_nested_virtual_chassis.go index 5f83ea12..bf799747 100644 --- a/model_nested_virtual_chassis.go +++ b/model_nested_virtual_chassis.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedVirtualChassis{} // NestedVirtualChassis 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. type NestedVirtualChassis struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedVirtualChassis NestedVirtualChassis // 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 -func NewNestedVirtualChassis(id string, objectType string, url string) *NestedVirtualChassis { +func NewNestedVirtualChassis(objectType string, url string) *NestedVirtualChassis { this := NestedVirtualChassis{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedVirtualChassisWithDefaults() *NestedVirtualChassis { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedVirtualChassis) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedVirtualChassis) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedVirtualChassis) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedVirtualChassis) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedVirtualChassis) MarshalJSON() ([]byte, error) { func (o NestedVirtualChassis) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedVirtualChassis) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_virtual_device_context.go b/model_nested_virtual_device_context.go new file mode 100644 index 00000000..8d68a818 --- /dev/null +++ b/model_nested_virtual_device_context.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the NestedVirtualDeviceContext type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedVirtualDeviceContext{} + +// NestedVirtualDeviceContext 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. +type NestedVirtualDeviceContext struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _NestedVirtualDeviceContext 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 +func NewNestedVirtualDeviceContext(objectType string, url string) *NestedVirtualDeviceContext { + this := NestedVirtualDeviceContext{} + this.ObjectType = objectType + this.Url = url + return &this +} + +// 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 +func NewNestedVirtualDeviceContextWithDefaults() *NestedVirtualDeviceContext { + this := NestedVirtualDeviceContext{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NestedVirtualDeviceContext) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedVirtualDeviceContext) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedVirtualDeviceContext) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NestedVirtualDeviceContext) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *NestedVirtualDeviceContext) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *NestedVirtualDeviceContext) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NestedVirtualDeviceContext) SetObjectType(v string) { + o.ObjectType = v +} + +// GetUrl returns the Url field value +func (o *NestedVirtualDeviceContext) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *NestedVirtualDeviceContext) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedVirtualDeviceContext) SetUrl(v string) { + o.Url = v +} + +func (o NestedVirtualDeviceContext) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedVirtualDeviceContext) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedVirtualDeviceContext) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varNestedVirtualDeviceContext := _NestedVirtualDeviceContext{} + + err = json.Unmarshal(data, &varNestedVirtualDeviceContext) + + if err != nil { + return err + } + + *o = NestedVirtualDeviceContext(varNestedVirtualDeviceContext) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedVirtualDeviceContext struct { + value *NestedVirtualDeviceContext + isSet bool +} + +func (v NullableNestedVirtualDeviceContext) Get() *NestedVirtualDeviceContext { + return v.value +} + +func (v *NullableNestedVirtualDeviceContext) Set(val *NestedVirtualDeviceContext) { + v.value = val + v.isSet = true +} + +func (v NullableNestedVirtualDeviceContext) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedVirtualDeviceContext) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedVirtualDeviceContext(val *NestedVirtualDeviceContext) *NullableNestedVirtualDeviceContext { + return &NullableNestedVirtualDeviceContext{value: val, isSet: true} +} + +func (v NullableNestedVirtualDeviceContext) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedVirtualDeviceContext) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_nested_virtual_machine.go b/model_nested_virtual_machine.go index 6b229238..3fe25898 100644 --- a/model_nested_virtual_machine.go +++ b/model_nested_virtual_machine.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedVirtualMachine{} // NestedVirtualMachine 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. type NestedVirtualMachine struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedVirtualMachine NestedVirtualMachine // 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 -func NewNestedVirtualMachine(id string, objectType string, url string) *NestedVirtualMachine { +func NewNestedVirtualMachine(objectType string, url string) *NestedVirtualMachine { this := NestedVirtualMachine{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedVirtualMachineWithDefaults() *NestedVirtualMachine { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedVirtualMachine) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedVirtualMachine) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedVirtualMachine) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedVirtualMachine) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedVirtualMachine) MarshalJSON() ([]byte, error) { func (o NestedVirtualMachine) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedVirtualMachine) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_vlan.go b/model_nested_vlan.go index 1065622b..539b1aaa 100644 --- a/model_nested_vlan.go +++ b/model_nested_vlan.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedVLAN{} // NestedVLAN 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. type NestedVLAN struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedVLAN NestedVLAN // 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 -func NewNestedVLAN(id string, objectType string, url string) *NestedVLAN { +func NewNestedVLAN(objectType string, url string) *NestedVLAN { this := NestedVLAN{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedVLANWithDefaults() *NestedVLAN { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedVLAN) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedVLAN) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedVLAN) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedVLAN) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedVLAN) MarshalJSON() ([]byte, error) { func (o NestedVLAN) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedVLAN) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_vlan_group.go b/model_nested_vlan_group.go index 10aac575..8e737be4 100644 --- a/model_nested_vlan_group.go +++ b/model_nested_vlan_group.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedVLANGroup{} // NestedVLANGroup 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. type NestedVLANGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedVLANGroup NestedVLANGroup // 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 -func NewNestedVLANGroup(id string, objectType string, url string) *NestedVLANGroup { +func NewNestedVLANGroup(objectType string, url string) *NestedVLANGroup { this := NestedVLANGroup{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedVLANGroupWithDefaults() *NestedVLANGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedVLANGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedVLANGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedVLANGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedVLANGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedVLANGroup) MarshalJSON() ([]byte, error) { func (o NestedVLANGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedVLANGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_vm_interface.go b/model_nested_vm_interface.go index 7a7e9e00..d6a6d41e 100644 --- a/model_nested_vm_interface.go +++ b/model_nested_vm_interface.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedVMInterface{} // NestedVMInterface 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. type NestedVMInterface struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedVMInterface NestedVMInterface // 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 -func NewNestedVMInterface(id string, objectType string, url string) *NestedVMInterface { +func NewNestedVMInterface(objectType string, url string) *NestedVMInterface { this := NestedVMInterface{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedVMInterfaceWithDefaults() *NestedVMInterface { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedVMInterface) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedVMInterface) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedVMInterface) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedVMInterface) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedVMInterface) MarshalJSON() ([]byte, error) { func (o NestedVMInterface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedVMInterface) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_vrf.go b/model_nested_vrf.go index e816244c..1b611d96 100644 --- a/model_nested_vrf.go +++ b/model_nested_vrf.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedVRF{} // NestedVRF 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. type NestedVRF struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedVRF NestedVRF // 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 -func NewNestedVRF(id string, objectType string, url string) *NestedVRF { +func NewNestedVRF(objectType string, url string) *NestedVRF { this := NestedVRF{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedVRFWithDefaults() *NestedVRF { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedVRF) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedVRF) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedVRF) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedVRF) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedVRF) MarshalJSON() ([]byte, error) { func (o NestedVRF) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedVRF) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_webhook.go b/model_nested_webhook.go index 74f0f693..a03da72e 100644 --- a/model_nested_webhook.go +++ b/model_nested_webhook.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &NestedWebhook{} // NestedWebhook 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) type NestedWebhook struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` Url string `json:"url"` AdditionalProperties map[string]interface{} @@ -32,9 +32,8 @@ type _NestedWebhook NestedWebhook // 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 -func NewNestedWebhook(id string, objectType string, url string) *NestedWebhook { +func NewNestedWebhook(objectType string, url string) *NestedWebhook { this := NestedWebhook{} - this.Id = id this.ObjectType = objectType this.Url = url return &this @@ -48,28 +47,36 @@ func NewNestedWebhookWithDefaults() *NestedWebhook { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NestedWebhook) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NestedWebhook) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedWebhook) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NestedWebhook) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -130,7 +137,9 @@ func (o NestedWebhook) MarshalJSON() ([]byte, error) { func (o NestedWebhook) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["url"] = o.Url @@ -146,7 +155,6 @@ func (o *NestedWebhook) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "url", } diff --git a/model_nested_wireless_network.go b/model_nested_wireless_network.go new file mode 100644 index 00000000..16b8f30a --- /dev/null +++ b/model_nested_wireless_network.go @@ -0,0 +1,234 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the NestedWirelessNetwork type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedWirelessNetwork{} + +// NestedWirelessNetwork 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. +type NestedWirelessNetwork struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _NestedWirelessNetwork 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 +func NewNestedWirelessNetwork(objectType string, url string) *NestedWirelessNetwork { + this := NestedWirelessNetwork{} + this.ObjectType = objectType + this.Url = url + return &this +} + +// 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 +func NewNestedWirelessNetworkWithDefaults() *NestedWirelessNetwork { + this := NestedWirelessNetwork{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NestedWirelessNetwork) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedWirelessNetwork) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NestedWirelessNetwork) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NestedWirelessNetwork) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *NestedWirelessNetwork) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *NestedWirelessNetwork) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NestedWirelessNetwork) SetObjectType(v string) { + o.ObjectType = v +} + +// GetUrl returns the Url field value +func (o *NestedWirelessNetwork) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *NestedWirelessNetwork) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedWirelessNetwork) SetUrl(v string) { + o.Url = v +} + +func (o NestedWirelessNetwork) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedWirelessNetwork) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedWirelessNetwork) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varNestedWirelessNetwork := _NestedWirelessNetwork{} + + err = json.Unmarshal(data, &varNestedWirelessNetwork) + + if err != nil { + return err + } + + *o = NestedWirelessNetwork(varNestedWirelessNetwork) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedWirelessNetwork struct { + value *NestedWirelessNetwork + isSet bool +} + +func (v NullableNestedWirelessNetwork) Get() *NestedWirelessNetwork { + return v.value +} + +func (v *NullableNestedWirelessNetwork) Set(val *NestedWirelessNetwork) { + v.value = val + v.isSet = true +} + +func (v NullableNestedWirelessNetwork) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedWirelessNetwork) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedWirelessNetwork(val *NestedWirelessNetwork) *NullableNestedWirelessNetwork { + return &NullableNestedWirelessNetwork{value: val, isSet: true} +} + +func (v NullableNestedWirelessNetwork) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedWirelessNetwork) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_note.go b/model_note.go index 4c3e88ee..638a1562 100644 --- a/model_note.go +++ b/model_note.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Note{} // Note This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type Note struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -44,9 +44,8 @@ type _Note Note // 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 -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 { this := Note{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -69,28 +68,36 @@ func NewNoteWithDefaults() *Note { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Note) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Note) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Note) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Note) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -415,7 +422,9 @@ func (o Note) MarshalJSON() ([]byte, error) { func (o Note) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -443,7 +452,6 @@ func (o *Note) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_note_assigned_object.go b/model_note_assigned_object.go index 4060d15b..db66bace 100644 --- a/model_note_assigned_object.go +++ b/model_note_assigned_object.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // NoteAssignedObject - struct for NoteAssignedObject @@ -58,12 +58,14 @@ type NoteAssignedObject struct { NestedJob *NestedJob NestedJobButton *NestedJobButton NestedJobHook *NestedJobHook + NestedJobQueue *NestedJobQueue NestedLocation *NestedLocation NestedLocationType *NestedLocationType NestedManufacturer *NestedManufacturer NestedMetadataType *NestedMetadataType NestedModule *NestedModule NestedModuleBay *NestedModuleBay + NestedModuleFamily *NestedModuleFamily NestedModuleType *NestedModuleType NestedNamespace *NestedNamespace NestedPlatform *NestedPlatform @@ -78,6 +80,7 @@ type NoteAssignedObject struct { NestedRack *NestedRack NestedRackGroup *NestedRackGroup NestedRackReservation *NestedRackReservation + NestedRadioProfile *NestedRadioProfile NestedRearPort *NestedRearPort NestedRelationship *NestedRelationship NestedRole *NestedRole @@ -89,6 +92,7 @@ type NoteAssignedObject struct { NestedSoftwareVersion *NestedSoftwareVersion NestedStaticGroupAssociation *NestedStaticGroupAssociation NestedStatus *NestedStatus + NestedSupportedDataRate *NestedSupportedDataRate NestedTag *NestedTag NestedTeam *NestedTeam NestedTenant *NestedTenant @@ -98,8 +102,10 @@ type NoteAssignedObject struct { NestedVMInterface *NestedVMInterface NestedVRF *NestedVRF NestedVirtualChassis *NestedVirtualChassis + NestedVirtualDeviceContext *NestedVirtualDeviceContext NestedVirtualMachine *NestedVirtualMachine NestedWebhook *NestedWebhook + NestedWirelessNetwork *NestedWirelessNetwork } // NestedCableAsNoteAssignedObject is a convenience function that returns NestedCable wrapped in NoteAssignedObject @@ -382,6 +388,13 @@ func NestedJobHookAsNoteAssignedObject(v *NestedJobHook) NoteAssignedObject { } } +// NestedJobQueueAsNoteAssignedObject is a convenience function that returns NestedJobQueue wrapped in NoteAssignedObject +func NestedJobQueueAsNoteAssignedObject(v *NestedJobQueue) NoteAssignedObject { + return NoteAssignedObject{ + NestedJobQueue: v, + } +} + // NestedLocationAsNoteAssignedObject is a convenience function that returns NestedLocation wrapped in NoteAssignedObject func NestedLocationAsNoteAssignedObject(v *NestedLocation) NoteAssignedObject { return NoteAssignedObject{ @@ -424,6 +437,13 @@ func NestedModuleBayAsNoteAssignedObject(v *NestedModuleBay) NoteAssignedObject } } +// NestedModuleFamilyAsNoteAssignedObject is a convenience function that returns NestedModuleFamily wrapped in NoteAssignedObject +func NestedModuleFamilyAsNoteAssignedObject(v *NestedModuleFamily) NoteAssignedObject { + return NoteAssignedObject{ + NestedModuleFamily: v, + } +} + // NestedModuleTypeAsNoteAssignedObject is a convenience function that returns NestedModuleType wrapped in NoteAssignedObject func NestedModuleTypeAsNoteAssignedObject(v *NestedModuleType) NoteAssignedObject { return NoteAssignedObject{ @@ -522,6 +542,13 @@ func NestedRackReservationAsNoteAssignedObject(v *NestedRackReservation) NoteAss } } +// NestedRadioProfileAsNoteAssignedObject is a convenience function that returns NestedRadioProfile wrapped in NoteAssignedObject +func NestedRadioProfileAsNoteAssignedObject(v *NestedRadioProfile) NoteAssignedObject { + return NoteAssignedObject{ + NestedRadioProfile: v, + } +} + // NestedRearPortAsNoteAssignedObject is a convenience function that returns NestedRearPort wrapped in NoteAssignedObject func NestedRearPortAsNoteAssignedObject(v *NestedRearPort) NoteAssignedObject { return NoteAssignedObject{ @@ -599,6 +626,13 @@ func NestedStatusAsNoteAssignedObject(v *NestedStatus) NoteAssignedObject { } } +// NestedSupportedDataRateAsNoteAssignedObject is a convenience function that returns NestedSupportedDataRate wrapped in NoteAssignedObject +func NestedSupportedDataRateAsNoteAssignedObject(v *NestedSupportedDataRate) NoteAssignedObject { + return NoteAssignedObject{ + NestedSupportedDataRate: v, + } +} + // NestedTagAsNoteAssignedObject is a convenience function that returns NestedTag wrapped in NoteAssignedObject func NestedTagAsNoteAssignedObject(v *NestedTag) NoteAssignedObject { return NoteAssignedObject{ @@ -662,6 +696,13 @@ func NestedVirtualChassisAsNoteAssignedObject(v *NestedVirtualChassis) NoteAssig } } +// NestedVirtualDeviceContextAsNoteAssignedObject is a convenience function that returns NestedVirtualDeviceContext wrapped in NoteAssignedObject +func NestedVirtualDeviceContextAsNoteAssignedObject(v *NestedVirtualDeviceContext) NoteAssignedObject { + return NoteAssignedObject{ + NestedVirtualDeviceContext: v, + } +} + // NestedVirtualMachineAsNoteAssignedObject is a convenience function that returns NestedVirtualMachine wrapped in NoteAssignedObject func NestedVirtualMachineAsNoteAssignedObject(v *NestedVirtualMachine) NoteAssignedObject { return NoteAssignedObject{ @@ -676,6 +717,13 @@ func NestedWebhookAsNoteAssignedObject(v *NestedWebhook) NoteAssignedObject { } } +// NestedWirelessNetworkAsNoteAssignedObject is a convenience function that returns NestedWirelessNetwork wrapped in NoteAssignedObject +func NestedWirelessNetworkAsNoteAssignedObject(v *NestedWirelessNetwork) NoteAssignedObject { + return NoteAssignedObject{ + NestedWirelessNetwork: v, + } +} + // Unmarshal JSON data into one of the pointers in the struct func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { @@ -1361,6 +1409,23 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedJobHook = nil } + // try to unmarshal data into NestedJobQueue + err = newStrictDecoder(data).Decode(&dst.NestedJobQueue) + if err == nil { + jsonNestedJobQueue, _ := json.Marshal(dst.NestedJobQueue) + if string(jsonNestedJobQueue) == "{}" { // empty struct + dst.NestedJobQueue = nil + } else { + if err = validator.Validate(dst.NestedJobQueue); err != nil { + dst.NestedJobQueue = nil + } else { + match++ + } + } + } else { + dst.NestedJobQueue = nil + } + // try to unmarshal data into NestedLocation err = newStrictDecoder(data).Decode(&dst.NestedLocation) if err == nil { @@ -1463,6 +1528,23 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedModuleBay = nil } + // try to unmarshal data into NestedModuleFamily + err = newStrictDecoder(data).Decode(&dst.NestedModuleFamily) + if err == nil { + jsonNestedModuleFamily, _ := json.Marshal(dst.NestedModuleFamily) + if string(jsonNestedModuleFamily) == "{}" { // empty struct + dst.NestedModuleFamily = nil + } else { + if err = validator.Validate(dst.NestedModuleFamily); err != nil { + dst.NestedModuleFamily = nil + } else { + match++ + } + } + } else { + dst.NestedModuleFamily = nil + } + // try to unmarshal data into NestedModuleType err = newStrictDecoder(data).Decode(&dst.NestedModuleType) if err == nil { @@ -1701,6 +1783,23 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedRackReservation = nil } + // try to unmarshal data into NestedRadioProfile + err = newStrictDecoder(data).Decode(&dst.NestedRadioProfile) + if err == nil { + jsonNestedRadioProfile, _ := json.Marshal(dst.NestedRadioProfile) + if string(jsonNestedRadioProfile) == "{}" { // empty struct + dst.NestedRadioProfile = nil + } else { + if err = validator.Validate(dst.NestedRadioProfile); err != nil { + dst.NestedRadioProfile = nil + } else { + match++ + } + } + } else { + dst.NestedRadioProfile = nil + } + // try to unmarshal data into NestedRearPort err = newStrictDecoder(data).Decode(&dst.NestedRearPort) if err == nil { @@ -1888,6 +1987,23 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedStatus = nil } + // try to unmarshal data into NestedSupportedDataRate + err = newStrictDecoder(data).Decode(&dst.NestedSupportedDataRate) + if err == nil { + jsonNestedSupportedDataRate, _ := json.Marshal(dst.NestedSupportedDataRate) + if string(jsonNestedSupportedDataRate) == "{}" { // empty struct + dst.NestedSupportedDataRate = nil + } else { + if err = validator.Validate(dst.NestedSupportedDataRate); err != nil { + dst.NestedSupportedDataRate = nil + } else { + match++ + } + } + } else { + dst.NestedSupportedDataRate = nil + } + // try to unmarshal data into NestedTag err = newStrictDecoder(data).Decode(&dst.NestedTag) if err == nil { @@ -2041,6 +2157,23 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedVirtualChassis = nil } + // try to unmarshal data into NestedVirtualDeviceContext + err = newStrictDecoder(data).Decode(&dst.NestedVirtualDeviceContext) + if err == nil { + jsonNestedVirtualDeviceContext, _ := json.Marshal(dst.NestedVirtualDeviceContext) + if string(jsonNestedVirtualDeviceContext) == "{}" { // empty struct + dst.NestedVirtualDeviceContext = nil + } else { + if err = validator.Validate(dst.NestedVirtualDeviceContext); err != nil { + dst.NestedVirtualDeviceContext = nil + } else { + match++ + } + } + } else { + dst.NestedVirtualDeviceContext = nil + } + // try to unmarshal data into NestedVirtualMachine err = newStrictDecoder(data).Decode(&dst.NestedVirtualMachine) if err == nil { @@ -2075,6 +2208,23 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedWebhook = nil } + // try to unmarshal data into NestedWirelessNetwork + err = newStrictDecoder(data).Decode(&dst.NestedWirelessNetwork) + if err == nil { + jsonNestedWirelessNetwork, _ := json.Marshal(dst.NestedWirelessNetwork) + if string(jsonNestedWirelessNetwork) == "{}" { // empty struct + dst.NestedWirelessNetwork = nil + } else { + if err = validator.Validate(dst.NestedWirelessNetwork); err != nil { + dst.NestedWirelessNetwork = nil + } else { + match++ + } + } + } else { + dst.NestedWirelessNetwork = nil + } + if match > 1 { // more than 1 match // reset to nil dst.NestedCable = nil @@ -2117,12 +2267,14 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedJob = nil dst.NestedJobButton = nil dst.NestedJobHook = nil + dst.NestedJobQueue = nil dst.NestedLocation = nil dst.NestedLocationType = nil dst.NestedManufacturer = nil dst.NestedMetadataType = nil dst.NestedModule = nil dst.NestedModuleBay = nil + dst.NestedModuleFamily = nil dst.NestedModuleType = nil dst.NestedNamespace = nil dst.NestedPlatform = nil @@ -2137,6 +2289,7 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedRack = nil dst.NestedRackGroup = nil dst.NestedRackReservation = nil + dst.NestedRadioProfile = nil dst.NestedRearPort = nil dst.NestedRelationship = nil dst.NestedRole = nil @@ -2148,6 +2301,7 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedSoftwareVersion = nil dst.NestedStaticGroupAssociation = nil dst.NestedStatus = nil + dst.NestedSupportedDataRate = nil dst.NestedTag = nil dst.NestedTeam = nil dst.NestedTenant = nil @@ -2157,8 +2311,10 @@ func (dst *NoteAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedVMInterface = nil dst.NestedVRF = nil dst.NestedVirtualChassis = nil + dst.NestedVirtualDeviceContext = nil dst.NestedVirtualMachine = nil dst.NestedWebhook = nil + dst.NestedWirelessNetwork = nil return fmt.Errorf("data matches more than one schema in oneOf(NoteAssignedObject)") } else if match == 1 { @@ -2330,6 +2486,10 @@ func (src NoteAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedJobHook) } + if src.NestedJobQueue != nil { + return json.Marshal(&src.NestedJobQueue) + } + if src.NestedLocation != nil { return json.Marshal(&src.NestedLocation) } @@ -2354,6 +2514,10 @@ func (src NoteAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedModuleBay) } + if src.NestedModuleFamily != nil { + return json.Marshal(&src.NestedModuleFamily) + } + if src.NestedModuleType != nil { return json.Marshal(&src.NestedModuleType) } @@ -2410,6 +2574,10 @@ func (src NoteAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedRackReservation) } + if src.NestedRadioProfile != nil { + return json.Marshal(&src.NestedRadioProfile) + } + if src.NestedRearPort != nil { return json.Marshal(&src.NestedRearPort) } @@ -2454,6 +2622,10 @@ func (src NoteAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedStatus) } + if src.NestedSupportedDataRate != nil { + return json.Marshal(&src.NestedSupportedDataRate) + } + if src.NestedTag != nil { return json.Marshal(&src.NestedTag) } @@ -2490,6 +2662,10 @@ func (src NoteAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedVirtualChassis) } + if src.NestedVirtualDeviceContext != nil { + return json.Marshal(&src.NestedVirtualDeviceContext) + } + if src.NestedVirtualMachine != nil { return json.Marshal(&src.NestedVirtualMachine) } @@ -2498,6 +2674,10 @@ func (src NoteAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedWebhook) } + if src.NestedWirelessNetwork != nil { + return json.Marshal(&src.NestedWirelessNetwork) + } + return nil, nil // no data in oneOf schemas } @@ -2666,6 +2846,10 @@ func (obj *NoteAssignedObject) GetActualInstance() (interface{}) { return obj.NestedJobHook } + if obj.NestedJobQueue != nil { + return obj.NestedJobQueue + } + if obj.NestedLocation != nil { return obj.NestedLocation } @@ -2690,6 +2874,10 @@ func (obj *NoteAssignedObject) GetActualInstance() (interface{}) { return obj.NestedModuleBay } + if obj.NestedModuleFamily != nil { + return obj.NestedModuleFamily + } + if obj.NestedModuleType != nil { return obj.NestedModuleType } @@ -2746,6 +2934,10 @@ func (obj *NoteAssignedObject) GetActualInstance() (interface{}) { return obj.NestedRackReservation } + if obj.NestedRadioProfile != nil { + return obj.NestedRadioProfile + } + if obj.NestedRearPort != nil { return obj.NestedRearPort } @@ -2790,6 +2982,10 @@ func (obj *NoteAssignedObject) GetActualInstance() (interface{}) { return obj.NestedStatus } + if obj.NestedSupportedDataRate != nil { + return obj.NestedSupportedDataRate + } + if obj.NestedTag != nil { return obj.NestedTag } @@ -2826,6 +3022,10 @@ func (obj *NoteAssignedObject) GetActualInstance() (interface{}) { return obj.NestedVirtualChassis } + if obj.NestedVirtualDeviceContext != nil { + return obj.NestedVirtualDeviceContext + } + if obj.NestedVirtualMachine != nil { return obj.NestedVirtualMachine } @@ -2834,6 +3034,368 @@ func (obj *NoteAssignedObject) GetActualInstance() (interface{}) { return obj.NestedWebhook } + if obj.NestedWirelessNetwork != nil { + return obj.NestedWirelessNetwork + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj NoteAssignedObject) GetActualInstanceValue() (interface{}) { + if obj.NestedCable != nil { + return *obj.NestedCable + } + + if obj.NestedCircuit != nil { + return *obj.NestedCircuit + } + + if obj.NestedCircuitTermination != nil { + return *obj.NestedCircuitTermination + } + + if obj.NestedCircuitType != nil { + return *obj.NestedCircuitType + } + + if obj.NestedCloudAccount != nil { + return *obj.NestedCloudAccount + } + + if obj.NestedCloudNetwork != nil { + return *obj.NestedCloudNetwork + } + + if obj.NestedCloudResourceType != nil { + return *obj.NestedCloudResourceType + } + + if obj.NestedCloudService != nil { + return *obj.NestedCloudService + } + + if obj.NestedCluster != nil { + return *obj.NestedCluster + } + + if obj.NestedClusterGroup != nil { + return *obj.NestedClusterGroup + } + + if obj.NestedClusterType != nil { + return *obj.NestedClusterType + } + + if obj.NestedComputedField != nil { + return *obj.NestedComputedField + } + + if obj.NestedConfigContext != nil { + return *obj.NestedConfigContext + } + + if obj.NestedConfigContextSchema != nil { + return *obj.NestedConfigContextSchema + } + + if obj.NestedConsolePort != nil { + return *obj.NestedConsolePort + } + + if obj.NestedConsoleServerPort != nil { + return *obj.NestedConsoleServerPort + } + + if obj.NestedContact != nil { + return *obj.NestedContact + } + + if obj.NestedContactAssociation != nil { + return *obj.NestedContactAssociation + } + + if obj.NestedController != nil { + return *obj.NestedController + } + + if obj.NestedControllerManagedDeviceGroup != nil { + return *obj.NestedControllerManagedDeviceGroup + } + + if obj.NestedCustomField != nil { + return *obj.NestedCustomField + } + + if obj.NestedCustomLink != nil { + return *obj.NestedCustomLink + } + + if obj.NestedDevice != nil { + return *obj.NestedDevice + } + + if obj.NestedDeviceBay != nil { + return *obj.NestedDeviceBay + } + + if obj.NestedDeviceFamily != nil { + return *obj.NestedDeviceFamily + } + + if obj.NestedDeviceRedundancyGroup != nil { + return *obj.NestedDeviceRedundancyGroup + } + + if obj.NestedDeviceType != nil { + return *obj.NestedDeviceType + } + + if obj.NestedDynamicGroup != nil { + return *obj.NestedDynamicGroup + } + + if obj.NestedExportTemplate != nil { + return *obj.NestedExportTemplate + } + + if obj.NestedExternalIntegration != nil { + return *obj.NestedExternalIntegration + } + + if obj.NestedFrontPort != nil { + return *obj.NestedFrontPort + } + + if obj.NestedGitRepository != nil { + return *obj.NestedGitRepository + } + + if obj.NestedGraphQLQuery != nil { + return *obj.NestedGraphQLQuery + } + + if obj.NestedIPAddress != nil { + return *obj.NestedIPAddress + } + + if obj.NestedInterface != nil { + return *obj.NestedInterface + } + + if obj.NestedInterfaceRedundancyGroup != nil { + return *obj.NestedInterfaceRedundancyGroup + } + + if obj.NestedInventoryItem != nil { + return *obj.NestedInventoryItem + } + + if obj.NestedJob != nil { + return *obj.NestedJob + } + + if obj.NestedJobButton != nil { + return *obj.NestedJobButton + } + + if obj.NestedJobHook != nil { + return *obj.NestedJobHook + } + + if obj.NestedJobQueue != nil { + return *obj.NestedJobQueue + } + + if obj.NestedLocation != nil { + return *obj.NestedLocation + } + + if obj.NestedLocationType != nil { + return *obj.NestedLocationType + } + + if obj.NestedManufacturer != nil { + return *obj.NestedManufacturer + } + + if obj.NestedMetadataType != nil { + return *obj.NestedMetadataType + } + + if obj.NestedModule != nil { + return *obj.NestedModule + } + + if obj.NestedModuleBay != nil { + return *obj.NestedModuleBay + } + + if obj.NestedModuleFamily != nil { + return *obj.NestedModuleFamily + } + + if obj.NestedModuleType != nil { + return *obj.NestedModuleType + } + + if obj.NestedNamespace != nil { + return *obj.NestedNamespace + } + + if obj.NestedPlatform != nil { + return *obj.NestedPlatform + } + + if obj.NestedPowerFeed != nil { + return *obj.NestedPowerFeed + } + + if obj.NestedPowerOutlet != nil { + return *obj.NestedPowerOutlet + } + + if obj.NestedPowerPanel != nil { + return *obj.NestedPowerPanel + } + + if obj.NestedPowerPort != nil { + return *obj.NestedPowerPort + } + + if obj.NestedPrefix != nil { + return *obj.NestedPrefix + } + + if obj.NestedProvider != nil { + return *obj.NestedProvider + } + + if obj.NestedProviderNetwork != nil { + return *obj.NestedProviderNetwork + } + + if obj.NestedRIR != nil { + return *obj.NestedRIR + } + + if obj.NestedRack != nil { + return *obj.NestedRack + } + + if obj.NestedRackGroup != nil { + return *obj.NestedRackGroup + } + + if obj.NestedRackReservation != nil { + return *obj.NestedRackReservation + } + + if obj.NestedRadioProfile != nil { + return *obj.NestedRadioProfile + } + + if obj.NestedRearPort != nil { + return *obj.NestedRearPort + } + + if obj.NestedRelationship != nil { + return *obj.NestedRelationship + } + + if obj.NestedRole != nil { + return *obj.NestedRole + } + + if obj.NestedRouteTarget != nil { + return *obj.NestedRouteTarget + } + + if obj.NestedSecret != nil { + return *obj.NestedSecret + } + + if obj.NestedSecretsGroup != nil { + return *obj.NestedSecretsGroup + } + + if obj.NestedService != nil { + return *obj.NestedService + } + + if obj.NestedSoftwareImageFile != nil { + return *obj.NestedSoftwareImageFile + } + + if obj.NestedSoftwareVersion != nil { + return *obj.NestedSoftwareVersion + } + + if obj.NestedStaticGroupAssociation != nil { + return *obj.NestedStaticGroupAssociation + } + + if obj.NestedStatus != nil { + return *obj.NestedStatus + } + + if obj.NestedSupportedDataRate != nil { + return *obj.NestedSupportedDataRate + } + + if obj.NestedTag != nil { + return *obj.NestedTag + } + + if obj.NestedTeam != nil { + return *obj.NestedTeam + } + + if obj.NestedTenant != nil { + return *obj.NestedTenant + } + + if obj.NestedTenantGroup != nil { + return *obj.NestedTenantGroup + } + + if obj.NestedVLAN != nil { + return *obj.NestedVLAN + } + + if obj.NestedVLANGroup != nil { + return *obj.NestedVLANGroup + } + + if obj.NestedVMInterface != nil { + return *obj.NestedVMInterface + } + + if obj.NestedVRF != nil { + return *obj.NestedVRF + } + + if obj.NestedVirtualChassis != nil { + return *obj.NestedVirtualChassis + } + + if obj.NestedVirtualDeviceContext != nil { + return *obj.NestedVirtualDeviceContext + } + + if obj.NestedVirtualMachine != nil { + return *obj.NestedVirtualMachine + } + + if obj.NestedWebhook != nil { + return *obj.NestedWebhook + } + + if obj.NestedWirelessNetwork != nil { + return *obj.NestedWirelessNetwork + } + // all schemas are nil return nil } diff --git a/model_note_input_request.go b/model_note_input_request.go index a0105b7e..9d41dec1 100644 --- a/model_note_input_request.go +++ b/model_note_input_request.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/model_note_request.go b/model_note_request.go index d2f4d67a..08d9c511 100644 --- a/model_note_request.go +++ b/model_note_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &NoteRequest{} // NoteRequest This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type NoteRequest struct { + Id *string `json:"id,omitempty"` AssignedObjectType string `json:"assigned_object_type"` AssignedObjectId string `json:"assigned_object_id"` Note string `json:"note"` @@ -49,6 +50,38 @@ func NewNoteRequestWithDefaults() *NoteRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *NoteRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NoteRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NoteRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *NoteRequest) SetId(v string) { + o.Id = &v +} + // GetAssignedObjectType returns the AssignedObjectType field value func (o *NoteRequest) GetAssignedObjectType() string { if o == nil { @@ -173,6 +206,9 @@ func (o NoteRequest) MarshalJSON() ([]byte, error) { func (o NoteRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["assigned_object_type"] = o.AssignedObjectType toSerialize["assigned_object_id"] = o.AssignedObjectId toSerialize["note"] = o.Note @@ -224,6 +260,7 @@ func (o *NoteRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "assigned_object_type") delete(additionalProperties, "assigned_object_id") delete(additionalProperties, "note") diff --git a/model_null_enum.go b/model_null_enum.go new file mode 100644 index 00000000..13b8b189 --- /dev/null +++ b/model_null_enum.go @@ -0,0 +1,107 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// NullEnum the model 'NullEnum' +type NullEnum string + +// List of NullEnum +const ( +) + +// All allowed values of NullEnum enum +var AllowedNullEnumEnumValues = []NullEnum{ +} + +func (v *NullEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := NullEnum(value) + for _, existing := range AllowedNullEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid NullEnum", value) +} + +// NewNullEnumFromValue returns a pointer to a valid NullEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewNullEnumFromValue(v string) (*NullEnum, error) { + ev := NullEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for NullEnum: valid values are %v", v, AllowedNullEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v NullEnum) IsValid() bool { + for _, existing := range AllowedNullEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to NullEnum value +func (v NullEnum) Ptr() *NullEnum { + return &v +} + +type NullableNullEnum struct { + value *NullEnum + isSet bool +} + +func (v NullableNullEnum) Get() *NullEnum { + return v.value +} + +func (v *NullableNullEnum) Set(val *NullEnum) { + v.value = val + v.isSet = true +} + +func (v NullableNullEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableNullEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNullEnum(val *NullEnum) *NullableNullEnum { + return &NullableNullEnum{value: val, isSet: true} +} + +func (v NullableNullEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNullEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_object_change.go b/model_object_change.go index 44909490..1974d376 100644 --- a/model_object_change.go +++ b/model_object_change.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ObjectChange{} // ObjectChange This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type ObjectChange struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -51,9 +51,8 @@ type _ObjectChange ObjectChange // 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 -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 { this := ObjectChange{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -82,28 +81,36 @@ func NewObjectChangeWithDefaults() *ObjectChange { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ObjectChange) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ObjectChange) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ObjectChange) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ObjectChange) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -614,7 +621,9 @@ func (o ObjectChange) MarshalJSON() ([]byte, error) { func (o ObjectChange) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -655,7 +664,6 @@ func (o *ObjectChange) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_object_change_action.go b/model_object_change_action.go index ee3bca6c..ef1baf66 100644 --- a/model_object_change_action.go +++ b/model_object_change_action.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/model_object_change_action_label.go b/model_object_change_action_label.go index dbdd4db9..8e45ab9d 100644 --- a/model_object_change_action_label.go +++ b/model_object_change_action_label.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/model_object_change_action_value.go b/model_object_change_action_value.go index 1f0a4876..767b005b 100644 --- a/model_object_change_action_value.go +++ b/model_object_change_action_value.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/model_object_change_changed_object.go b/model_object_change_changed_object.go index cc559fae..4568a315 100644 --- a/model_object_change_changed_object.go +++ b/model_object_change_changed_object.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // ObjectChangeChangedObject - struct for ObjectChangeChangedObject @@ -66,6 +66,7 @@ type ObjectChangeChangedObject struct { NestedJob *NestedJob NestedJobButton *NestedJobButton NestedJobHook *NestedJobHook + NestedJobQueue *NestedJobQueue NestedLocation *NestedLocation NestedLocationType *NestedLocationType NestedManufacturer *NestedManufacturer @@ -74,6 +75,7 @@ type ObjectChangeChangedObject struct { NestedModule *NestedModule NestedModuleBay *NestedModuleBay NestedModuleBayTemplate *NestedModuleBayTemplate + NestedModuleFamily *NestedModuleFamily NestedModuleType *NestedModuleType NestedNamespace *NestedNamespace NestedNote *NestedNote @@ -93,6 +95,7 @@ type ObjectChangeChangedObject struct { NestedRack *NestedRack NestedRackGroup *NestedRackGroup NestedRackReservation *NestedRackReservation + NestedRadioProfile *NestedRadioProfile NestedRearPort *NestedRearPort NestedRearPortTemplate *NestedRearPortTemplate NestedRelationship *NestedRelationship @@ -106,6 +109,7 @@ type ObjectChangeChangedObject struct { NestedSoftwareVersion *NestedSoftwareVersion NestedStaticGroupAssociation *NestedStaticGroupAssociation NestedStatus *NestedStatus + NestedSupportedDataRate *NestedSupportedDataRate NestedTag *NestedTag NestedTeam *NestedTeam NestedTenant *NestedTenant @@ -115,8 +119,10 @@ type ObjectChangeChangedObject struct { NestedVMInterface *NestedVMInterface NestedVRF *NestedVRF NestedVirtualChassis *NestedVirtualChassis + NestedVirtualDeviceContext *NestedVirtualDeviceContext NestedVirtualMachine *NestedVirtualMachine NestedWebhook *NestedWebhook + NestedWirelessNetwork *NestedWirelessNetwork } // NestedCableAsObjectChangeChangedObject is a convenience function that returns NestedCable wrapped in ObjectChangeChangedObject @@ -455,6 +461,13 @@ func NestedJobHookAsObjectChangeChangedObject(v *NestedJobHook) ObjectChangeChan } } +// NestedJobQueueAsObjectChangeChangedObject is a convenience function that returns NestedJobQueue wrapped in ObjectChangeChangedObject +func NestedJobQueueAsObjectChangeChangedObject(v *NestedJobQueue) ObjectChangeChangedObject { + return ObjectChangeChangedObject{ + NestedJobQueue: v, + } +} + // NestedLocationAsObjectChangeChangedObject is a convenience function that returns NestedLocation wrapped in ObjectChangeChangedObject func NestedLocationAsObjectChangeChangedObject(v *NestedLocation) ObjectChangeChangedObject { return ObjectChangeChangedObject{ @@ -511,6 +524,13 @@ func NestedModuleBayTemplateAsObjectChangeChangedObject(v *NestedModuleBayTempla } } +// NestedModuleFamilyAsObjectChangeChangedObject is a convenience function that returns NestedModuleFamily wrapped in ObjectChangeChangedObject +func NestedModuleFamilyAsObjectChangeChangedObject(v *NestedModuleFamily) ObjectChangeChangedObject { + return ObjectChangeChangedObject{ + NestedModuleFamily: v, + } +} + // NestedModuleTypeAsObjectChangeChangedObject is a convenience function that returns NestedModuleType wrapped in ObjectChangeChangedObject func NestedModuleTypeAsObjectChangeChangedObject(v *NestedModuleType) ObjectChangeChangedObject { return ObjectChangeChangedObject{ @@ -644,6 +664,13 @@ func NestedRackReservationAsObjectChangeChangedObject(v *NestedRackReservation) } } +// NestedRadioProfileAsObjectChangeChangedObject is a convenience function that returns NestedRadioProfile wrapped in ObjectChangeChangedObject +func NestedRadioProfileAsObjectChangeChangedObject(v *NestedRadioProfile) ObjectChangeChangedObject { + return ObjectChangeChangedObject{ + NestedRadioProfile: v, + } +} + // NestedRearPortAsObjectChangeChangedObject is a convenience function that returns NestedRearPort wrapped in ObjectChangeChangedObject func NestedRearPortAsObjectChangeChangedObject(v *NestedRearPort) ObjectChangeChangedObject { return ObjectChangeChangedObject{ @@ -735,6 +762,13 @@ func NestedStatusAsObjectChangeChangedObject(v *NestedStatus) ObjectChangeChange } } +// NestedSupportedDataRateAsObjectChangeChangedObject is a convenience function that returns NestedSupportedDataRate wrapped in ObjectChangeChangedObject +func NestedSupportedDataRateAsObjectChangeChangedObject(v *NestedSupportedDataRate) ObjectChangeChangedObject { + return ObjectChangeChangedObject{ + NestedSupportedDataRate: v, + } +} + // NestedTagAsObjectChangeChangedObject is a convenience function that returns NestedTag wrapped in ObjectChangeChangedObject func NestedTagAsObjectChangeChangedObject(v *NestedTag) ObjectChangeChangedObject { return ObjectChangeChangedObject{ @@ -798,6 +832,13 @@ func NestedVirtualChassisAsObjectChangeChangedObject(v *NestedVirtualChassis) Ob } } +// NestedVirtualDeviceContextAsObjectChangeChangedObject is a convenience function that returns NestedVirtualDeviceContext wrapped in ObjectChangeChangedObject +func NestedVirtualDeviceContextAsObjectChangeChangedObject(v *NestedVirtualDeviceContext) ObjectChangeChangedObject { + return ObjectChangeChangedObject{ + NestedVirtualDeviceContext: v, + } +} + // NestedVirtualMachineAsObjectChangeChangedObject is a convenience function that returns NestedVirtualMachine wrapped in ObjectChangeChangedObject func NestedVirtualMachineAsObjectChangeChangedObject(v *NestedVirtualMachine) ObjectChangeChangedObject { return ObjectChangeChangedObject{ @@ -812,6 +853,13 @@ func NestedWebhookAsObjectChangeChangedObject(v *NestedWebhook) ObjectChangeChan } } +// NestedWirelessNetworkAsObjectChangeChangedObject is a convenience function that returns NestedWirelessNetwork wrapped in ObjectChangeChangedObject +func NestedWirelessNetworkAsObjectChangeChangedObject(v *NestedWirelessNetwork) ObjectChangeChangedObject { + return ObjectChangeChangedObject{ + NestedWirelessNetwork: v, + } +} + // Unmarshal JSON data into one of the pointers in the struct func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { @@ -1633,6 +1681,23 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedJobHook = nil } + // try to unmarshal data into NestedJobQueue + err = newStrictDecoder(data).Decode(&dst.NestedJobQueue) + if err == nil { + jsonNestedJobQueue, _ := json.Marshal(dst.NestedJobQueue) + if string(jsonNestedJobQueue) == "{}" { // empty struct + dst.NestedJobQueue = nil + } else { + if err = validator.Validate(dst.NestedJobQueue); err != nil { + dst.NestedJobQueue = nil + } else { + match++ + } + } + } else { + dst.NestedJobQueue = nil + } + // try to unmarshal data into NestedLocation err = newStrictDecoder(data).Decode(&dst.NestedLocation) if err == nil { @@ -1769,6 +1834,23 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedModuleBayTemplate = nil } + // try to unmarshal data into NestedModuleFamily + err = newStrictDecoder(data).Decode(&dst.NestedModuleFamily) + if err == nil { + jsonNestedModuleFamily, _ := json.Marshal(dst.NestedModuleFamily) + if string(jsonNestedModuleFamily) == "{}" { // empty struct + dst.NestedModuleFamily = nil + } else { + if err = validator.Validate(dst.NestedModuleFamily); err != nil { + dst.NestedModuleFamily = nil + } else { + match++ + } + } + } else { + dst.NestedModuleFamily = nil + } + // try to unmarshal data into NestedModuleType err = newStrictDecoder(data).Decode(&dst.NestedModuleType) if err == nil { @@ -2092,6 +2174,23 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedRackReservation = nil } + // try to unmarshal data into NestedRadioProfile + err = newStrictDecoder(data).Decode(&dst.NestedRadioProfile) + if err == nil { + jsonNestedRadioProfile, _ := json.Marshal(dst.NestedRadioProfile) + if string(jsonNestedRadioProfile) == "{}" { // empty struct + dst.NestedRadioProfile = nil + } else { + if err = validator.Validate(dst.NestedRadioProfile); err != nil { + dst.NestedRadioProfile = nil + } else { + match++ + } + } + } else { + dst.NestedRadioProfile = nil + } + // try to unmarshal data into NestedRearPort err = newStrictDecoder(data).Decode(&dst.NestedRearPort) if err == nil { @@ -2313,6 +2412,23 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedStatus = nil } + // try to unmarshal data into NestedSupportedDataRate + err = newStrictDecoder(data).Decode(&dst.NestedSupportedDataRate) + if err == nil { + jsonNestedSupportedDataRate, _ := json.Marshal(dst.NestedSupportedDataRate) + if string(jsonNestedSupportedDataRate) == "{}" { // empty struct + dst.NestedSupportedDataRate = nil + } else { + if err = validator.Validate(dst.NestedSupportedDataRate); err != nil { + dst.NestedSupportedDataRate = nil + } else { + match++ + } + } + } else { + dst.NestedSupportedDataRate = nil + } + // try to unmarshal data into NestedTag err = newStrictDecoder(data).Decode(&dst.NestedTag) if err == nil { @@ -2466,6 +2582,23 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedVirtualChassis = nil } + // try to unmarshal data into NestedVirtualDeviceContext + err = newStrictDecoder(data).Decode(&dst.NestedVirtualDeviceContext) + if err == nil { + jsonNestedVirtualDeviceContext, _ := json.Marshal(dst.NestedVirtualDeviceContext) + if string(jsonNestedVirtualDeviceContext) == "{}" { // empty struct + dst.NestedVirtualDeviceContext = nil + } else { + if err = validator.Validate(dst.NestedVirtualDeviceContext); err != nil { + dst.NestedVirtualDeviceContext = nil + } else { + match++ + } + } + } else { + dst.NestedVirtualDeviceContext = nil + } + // try to unmarshal data into NestedVirtualMachine err = newStrictDecoder(data).Decode(&dst.NestedVirtualMachine) if err == nil { @@ -2500,6 +2633,23 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedWebhook = nil } + // try to unmarshal data into NestedWirelessNetwork + err = newStrictDecoder(data).Decode(&dst.NestedWirelessNetwork) + if err == nil { + jsonNestedWirelessNetwork, _ := json.Marshal(dst.NestedWirelessNetwork) + if string(jsonNestedWirelessNetwork) == "{}" { // empty struct + dst.NestedWirelessNetwork = nil + } else { + if err = validator.Validate(dst.NestedWirelessNetwork); err != nil { + dst.NestedWirelessNetwork = nil + } else { + match++ + } + } + } else { + dst.NestedWirelessNetwork = nil + } + if match > 1 { // more than 1 match // reset to nil dst.NestedCable = nil @@ -2550,6 +2700,7 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedJob = nil dst.NestedJobButton = nil dst.NestedJobHook = nil + dst.NestedJobQueue = nil dst.NestedLocation = nil dst.NestedLocationType = nil dst.NestedManufacturer = nil @@ -2558,6 +2709,7 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedModule = nil dst.NestedModuleBay = nil dst.NestedModuleBayTemplate = nil + dst.NestedModuleFamily = nil dst.NestedModuleType = nil dst.NestedNamespace = nil dst.NestedNote = nil @@ -2577,6 +2729,7 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedRack = nil dst.NestedRackGroup = nil dst.NestedRackReservation = nil + dst.NestedRadioProfile = nil dst.NestedRearPort = nil dst.NestedRearPortTemplate = nil dst.NestedRelationship = nil @@ -2590,6 +2743,7 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedSoftwareVersion = nil dst.NestedStaticGroupAssociation = nil dst.NestedStatus = nil + dst.NestedSupportedDataRate = nil dst.NestedTag = nil dst.NestedTeam = nil dst.NestedTenant = nil @@ -2599,8 +2753,10 @@ func (dst *ObjectChangeChangedObject) UnmarshalJSON(data []byte) error { dst.NestedVMInterface = nil dst.NestedVRF = nil dst.NestedVirtualChassis = nil + dst.NestedVirtualDeviceContext = nil dst.NestedVirtualMachine = nil dst.NestedWebhook = nil + dst.NestedWirelessNetwork = nil return fmt.Errorf("data matches more than one schema in oneOf(ObjectChangeChangedObject)") } else if match == 1 { @@ -2804,6 +2960,10 @@ func (src ObjectChangeChangedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedJobHook) } + if src.NestedJobQueue != nil { + return json.Marshal(&src.NestedJobQueue) + } + if src.NestedLocation != nil { return json.Marshal(&src.NestedLocation) } @@ -2836,6 +2996,10 @@ func (src ObjectChangeChangedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedModuleBayTemplate) } + if src.NestedModuleFamily != nil { + return json.Marshal(&src.NestedModuleFamily) + } + if src.NestedModuleType != nil { return json.Marshal(&src.NestedModuleType) } @@ -2912,6 +3076,10 @@ func (src ObjectChangeChangedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedRackReservation) } + if src.NestedRadioProfile != nil { + return json.Marshal(&src.NestedRadioProfile) + } + if src.NestedRearPort != nil { return json.Marshal(&src.NestedRearPort) } @@ -2964,6 +3132,10 @@ func (src ObjectChangeChangedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedStatus) } + if src.NestedSupportedDataRate != nil { + return json.Marshal(&src.NestedSupportedDataRate) + } + if src.NestedTag != nil { return json.Marshal(&src.NestedTag) } @@ -3000,6 +3172,10 @@ func (src ObjectChangeChangedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedVirtualChassis) } + if src.NestedVirtualDeviceContext != nil { + return json.Marshal(&src.NestedVirtualDeviceContext) + } + if src.NestedVirtualMachine != nil { return json.Marshal(&src.NestedVirtualMachine) } @@ -3008,6 +3184,10 @@ func (src ObjectChangeChangedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedWebhook) } + if src.NestedWirelessNetwork != nil { + return json.Marshal(&src.NestedWirelessNetwork) + } + return nil, nil // no data in oneOf schemas } @@ -3208,6 +3388,10 @@ func (obj *ObjectChangeChangedObject) GetActualInstance() (interface{}) { return obj.NestedJobHook } + if obj.NestedJobQueue != nil { + return obj.NestedJobQueue + } + if obj.NestedLocation != nil { return obj.NestedLocation } @@ -3240,6 +3424,10 @@ func (obj *ObjectChangeChangedObject) GetActualInstance() (interface{}) { return obj.NestedModuleBayTemplate } + if obj.NestedModuleFamily != nil { + return obj.NestedModuleFamily + } + if obj.NestedModuleType != nil { return obj.NestedModuleType } @@ -3316,6 +3504,10 @@ func (obj *ObjectChangeChangedObject) GetActualInstance() (interface{}) { return obj.NestedRackReservation } + if obj.NestedRadioProfile != nil { + return obj.NestedRadioProfile + } + if obj.NestedRearPort != nil { return obj.NestedRearPort } @@ -3368,6 +3560,10 @@ func (obj *ObjectChangeChangedObject) GetActualInstance() (interface{}) { return obj.NestedStatus } + if obj.NestedSupportedDataRate != nil { + return obj.NestedSupportedDataRate + } + if obj.NestedTag != nil { return obj.NestedTag } @@ -3404,6 +3600,10 @@ func (obj *ObjectChangeChangedObject) GetActualInstance() (interface{}) { return obj.NestedVirtualChassis } + if obj.NestedVirtualDeviceContext != nil { + return obj.NestedVirtualDeviceContext + } + if obj.NestedVirtualMachine != nil { return obj.NestedVirtualMachine } @@ -3412,6 +3612,436 @@ func (obj *ObjectChangeChangedObject) GetActualInstance() (interface{}) { return obj.NestedWebhook } + if obj.NestedWirelessNetwork != nil { + return obj.NestedWirelessNetwork + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj ObjectChangeChangedObject) GetActualInstanceValue() (interface{}) { + if obj.NestedCable != nil { + return *obj.NestedCable + } + + if obj.NestedCircuit != nil { + return *obj.NestedCircuit + } + + if obj.NestedCircuitTermination != nil { + return *obj.NestedCircuitTermination + } + + if obj.NestedCircuitType != nil { + return *obj.NestedCircuitType + } + + if obj.NestedCloudAccount != nil { + return *obj.NestedCloudAccount + } + + if obj.NestedCloudNetwork != nil { + return *obj.NestedCloudNetwork + } + + if obj.NestedCloudResourceType != nil { + return *obj.NestedCloudResourceType + } + + if obj.NestedCloudService != nil { + return *obj.NestedCloudService + } + + if obj.NestedCluster != nil { + return *obj.NestedCluster + } + + if obj.NestedClusterGroup != nil { + return *obj.NestedClusterGroup + } + + if obj.NestedClusterType != nil { + return *obj.NestedClusterType + } + + if obj.NestedComputedField != nil { + return *obj.NestedComputedField + } + + if obj.NestedConfigContext != nil { + return *obj.NestedConfigContext + } + + if obj.NestedConfigContextSchema != nil { + return *obj.NestedConfigContextSchema + } + + if obj.NestedConsolePort != nil { + return *obj.NestedConsolePort + } + + if obj.NestedConsolePortTemplate != nil { + return *obj.NestedConsolePortTemplate + } + + if obj.NestedConsoleServerPort != nil { + return *obj.NestedConsoleServerPort + } + + if obj.NestedConsoleServerPortTemplate != nil { + return *obj.NestedConsoleServerPortTemplate + } + + if obj.NestedContact != nil { + return *obj.NestedContact + } + + if obj.NestedContactAssociation != nil { + return *obj.NestedContactAssociation + } + + if obj.NestedController != nil { + return *obj.NestedController + } + + if obj.NestedControllerManagedDeviceGroup != nil { + return *obj.NestedControllerManagedDeviceGroup + } + + if obj.NestedCustomField != nil { + return *obj.NestedCustomField + } + + if obj.NestedCustomFieldChoice != nil { + return *obj.NestedCustomFieldChoice + } + + if obj.NestedCustomLink != nil { + return *obj.NestedCustomLink + } + + if obj.NestedDevice != nil { + return *obj.NestedDevice + } + + if obj.NestedDeviceBay != nil { + return *obj.NestedDeviceBay + } + + if obj.NestedDeviceBayTemplate != nil { + return *obj.NestedDeviceBayTemplate + } + + if obj.NestedDeviceFamily != nil { + return *obj.NestedDeviceFamily + } + + if obj.NestedDeviceRedundancyGroup != nil { + return *obj.NestedDeviceRedundancyGroup + } + + if obj.NestedDeviceType != nil { + return *obj.NestedDeviceType + } + + if obj.NestedDeviceTypeToSoftwareImageFile != nil { + return *obj.NestedDeviceTypeToSoftwareImageFile + } + + if obj.NestedDynamicGroup != nil { + return *obj.NestedDynamicGroup + } + + if obj.NestedExportTemplate != nil { + return *obj.NestedExportTemplate + } + + if obj.NestedExternalIntegration != nil { + return *obj.NestedExternalIntegration + } + + if obj.NestedFrontPort != nil { + return *obj.NestedFrontPort + } + + if obj.NestedFrontPortTemplate != nil { + return *obj.NestedFrontPortTemplate + } + + if obj.NestedGitRepository != nil { + return *obj.NestedGitRepository + } + + if obj.NestedGraphQLQuery != nil { + return *obj.NestedGraphQLQuery + } + + if obj.NestedIPAddress != nil { + return *obj.NestedIPAddress + } + + if obj.NestedInterface != nil { + return *obj.NestedInterface + } + + if obj.NestedInterfaceRedundancyGroup != nil { + return *obj.NestedInterfaceRedundancyGroup + } + + if obj.NestedInterfaceRedundancyGroupAssociation != nil { + return *obj.NestedInterfaceRedundancyGroupAssociation + } + + if obj.NestedInterfaceTemplate != nil { + return *obj.NestedInterfaceTemplate + } + + if obj.NestedInventoryItem != nil { + return *obj.NestedInventoryItem + } + + if obj.NestedJob != nil { + return *obj.NestedJob + } + + if obj.NestedJobButton != nil { + return *obj.NestedJobButton + } + + if obj.NestedJobHook != nil { + return *obj.NestedJobHook + } + + if obj.NestedJobQueue != nil { + return *obj.NestedJobQueue + } + + if obj.NestedLocation != nil { + return *obj.NestedLocation + } + + if obj.NestedLocationType != nil { + return *obj.NestedLocationType + } + + if obj.NestedManufacturer != nil { + return *obj.NestedManufacturer + } + + if obj.NestedMetadataChoice != nil { + return *obj.NestedMetadataChoice + } + + if obj.NestedMetadataType != nil { + return *obj.NestedMetadataType + } + + if obj.NestedModule != nil { + return *obj.NestedModule + } + + if obj.NestedModuleBay != nil { + return *obj.NestedModuleBay + } + + if obj.NestedModuleBayTemplate != nil { + return *obj.NestedModuleBayTemplate + } + + if obj.NestedModuleFamily != nil { + return *obj.NestedModuleFamily + } + + if obj.NestedModuleType != nil { + return *obj.NestedModuleType + } + + if obj.NestedNamespace != nil { + return *obj.NestedNamespace + } + + if obj.NestedNote != nil { + return *obj.NestedNote + } + + if obj.NestedObjectMetadata != nil { + return *obj.NestedObjectMetadata + } + + if obj.NestedObjectPermission != nil { + return *obj.NestedObjectPermission + } + + if obj.NestedPlatform != nil { + return *obj.NestedPlatform + } + + if obj.NestedPowerFeed != nil { + return *obj.NestedPowerFeed + } + + if obj.NestedPowerOutlet != nil { + return *obj.NestedPowerOutlet + } + + if obj.NestedPowerOutletTemplate != nil { + return *obj.NestedPowerOutletTemplate + } + + if obj.NestedPowerPanel != nil { + return *obj.NestedPowerPanel + } + + if obj.NestedPowerPort != nil { + return *obj.NestedPowerPort + } + + if obj.NestedPowerPortTemplate != nil { + return *obj.NestedPowerPortTemplate + } + + if obj.NestedPrefix != nil { + return *obj.NestedPrefix + } + + if obj.NestedProvider != nil { + return *obj.NestedProvider + } + + if obj.NestedProviderNetwork != nil { + return *obj.NestedProviderNetwork + } + + if obj.NestedRIR != nil { + return *obj.NestedRIR + } + + if obj.NestedRack != nil { + return *obj.NestedRack + } + + if obj.NestedRackGroup != nil { + return *obj.NestedRackGroup + } + + if obj.NestedRackReservation != nil { + return *obj.NestedRackReservation + } + + if obj.NestedRadioProfile != nil { + return *obj.NestedRadioProfile + } + + if obj.NestedRearPort != nil { + return *obj.NestedRearPort + } + + if obj.NestedRearPortTemplate != nil { + return *obj.NestedRearPortTemplate + } + + if obj.NestedRelationship != nil { + return *obj.NestedRelationship + } + + if obj.NestedRole != nil { + return *obj.NestedRole + } + + if obj.NestedRouteTarget != nil { + return *obj.NestedRouteTarget + } + + if obj.NestedSavedView != nil { + return *obj.NestedSavedView + } + + if obj.NestedSecret != nil { + return *obj.NestedSecret + } + + if obj.NestedSecretsGroup != nil { + return *obj.NestedSecretsGroup + } + + if obj.NestedService != nil { + return *obj.NestedService + } + + if obj.NestedSoftwareImageFile != nil { + return *obj.NestedSoftwareImageFile + } + + if obj.NestedSoftwareVersion != nil { + return *obj.NestedSoftwareVersion + } + + if obj.NestedStaticGroupAssociation != nil { + return *obj.NestedStaticGroupAssociation + } + + if obj.NestedStatus != nil { + return *obj.NestedStatus + } + + if obj.NestedSupportedDataRate != nil { + return *obj.NestedSupportedDataRate + } + + if obj.NestedTag != nil { + return *obj.NestedTag + } + + if obj.NestedTeam != nil { + return *obj.NestedTeam + } + + if obj.NestedTenant != nil { + return *obj.NestedTenant + } + + if obj.NestedTenantGroup != nil { + return *obj.NestedTenantGroup + } + + if obj.NestedVLAN != nil { + return *obj.NestedVLAN + } + + if obj.NestedVLANGroup != nil { + return *obj.NestedVLANGroup + } + + if obj.NestedVMInterface != nil { + return *obj.NestedVMInterface + } + + if obj.NestedVRF != nil { + return *obj.NestedVRF + } + + if obj.NestedVirtualChassis != nil { + return *obj.NestedVirtualChassis + } + + if obj.NestedVirtualDeviceContext != nil { + return *obj.NestedVirtualDeviceContext + } + + if obj.NestedVirtualMachine != nil { + return *obj.NestedVirtualMachine + } + + if obj.NestedWebhook != nil { + return *obj.NestedWebhook + } + + if obj.NestedWirelessNetwork != nil { + return *obj.NestedWirelessNetwork + } + // all schemas are nil return nil } diff --git a/model_object_metadata.go b/model_object_metadata.go index 809c4511..299bf41f 100644 --- a/model_object_metadata.go +++ b/model_object_metadata.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ObjectMetadata{} // ObjectMetadata 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) type ObjectMetadata struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _ObjectMetadata ObjectMetadata // 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 -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 { this := ObjectMetadata{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewObjectMetadataWithDefaults() *ObjectMetadata { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ObjectMetadata) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ObjectMetadata) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ObjectMetadata) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ObjectMetadata) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -501,7 +508,9 @@ func (o ObjectMetadata) MarshalJSON() ([]byte, error) { func (o ObjectMetadata) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -537,7 +546,6 @@ func (o *ObjectMetadata) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_object_metadata_assigned_object.go b/model_object_metadata_assigned_object.go index 7ccfaf56..2a92f4a2 100644 --- a/model_object_metadata_assigned_object.go +++ b/model_object_metadata_assigned_object.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // ObjectMetadataAssignedObject - struct for ObjectMetadataAssignedObject @@ -61,10 +61,12 @@ type ObjectMetadataAssignedObject struct { NestedInterface *NestedInterface NestedInterfaceRedundancyGroup *NestedInterfaceRedundancyGroup NestedInterfaceTemplate *NestedInterfaceTemplate + NestedInterfaceVDCAssignment *NestedInterfaceVDCAssignment NestedInventoryItem *NestedInventoryItem NestedJob *NestedJob NestedJobButton *NestedJobButton NestedJobHook *NestedJobHook + NestedJobQueue *NestedJobQueue NestedJobResult *NestedJobResult NestedLocation *NestedLocation NestedLocationType *NestedLocationType @@ -73,10 +75,10 @@ type ObjectMetadataAssignedObject struct { NestedModule *NestedModule NestedModuleBay *NestedModuleBay NestedModuleBayTemplate *NestedModuleBayTemplate + NestedModuleFamily *NestedModuleFamily NestedModuleType *NestedModuleType NestedNamespace *NestedNamespace NestedObjectChange *NestedObjectChange - NestedObjectMetadata *NestedObjectMetadata NestedPlatform *NestedPlatform NestedPowerFeed *NestedPowerFeed NestedPowerOutlet *NestedPowerOutlet @@ -91,6 +93,7 @@ type ObjectMetadataAssignedObject struct { NestedRack *NestedRack NestedRackGroup *NestedRackGroup NestedRackReservation *NestedRackReservation + NestedRadioProfile *NestedRadioProfile NestedRearPort *NestedRearPort NestedRearPortTemplate *NestedRearPortTemplate NestedRelationship *NestedRelationship @@ -107,6 +110,7 @@ type ObjectMetadataAssignedObject struct { NestedSoftwareVersion *NestedSoftwareVersion NestedStaticGroupAssociation *NestedStaticGroupAssociation NestedStatus *NestedStatus + NestedSupportedDataRate *NestedSupportedDataRate NestedTag *NestedTag NestedTeam *NestedTeam NestedTenant *NestedTenant @@ -116,8 +120,10 @@ type ObjectMetadataAssignedObject struct { NestedVMInterface *NestedVMInterface NestedVRF *NestedVRF NestedVirtualChassis *NestedVirtualChassis + NestedVirtualDeviceContext *NestedVirtualDeviceContext NestedVirtualMachine *NestedVirtualMachine NestedWebhook *NestedWebhook + NestedWirelessNetwork *NestedWirelessNetwork } // NestedCableAsObjectMetadataAssignedObject is a convenience function that returns NestedCable wrapped in ObjectMetadataAssignedObject @@ -421,6 +427,13 @@ func NestedInterfaceTemplateAsObjectMetadataAssignedObject(v *NestedInterfaceTem } } +// NestedInterfaceVDCAssignmentAsObjectMetadataAssignedObject is a convenience function that returns NestedInterfaceVDCAssignment wrapped in ObjectMetadataAssignedObject +func NestedInterfaceVDCAssignmentAsObjectMetadataAssignedObject(v *NestedInterfaceVDCAssignment) ObjectMetadataAssignedObject { + return ObjectMetadataAssignedObject{ + NestedInterfaceVDCAssignment: v, + } +} + // NestedInventoryItemAsObjectMetadataAssignedObject is a convenience function that returns NestedInventoryItem wrapped in ObjectMetadataAssignedObject func NestedInventoryItemAsObjectMetadataAssignedObject(v *NestedInventoryItem) ObjectMetadataAssignedObject { return ObjectMetadataAssignedObject{ @@ -449,6 +462,13 @@ func NestedJobHookAsObjectMetadataAssignedObject(v *NestedJobHook) ObjectMetadat } } +// NestedJobQueueAsObjectMetadataAssignedObject is a convenience function that returns NestedJobQueue wrapped in ObjectMetadataAssignedObject +func NestedJobQueueAsObjectMetadataAssignedObject(v *NestedJobQueue) ObjectMetadataAssignedObject { + return ObjectMetadataAssignedObject{ + NestedJobQueue: v, + } +} + // NestedJobResultAsObjectMetadataAssignedObject is a convenience function that returns NestedJobResult wrapped in ObjectMetadataAssignedObject func NestedJobResultAsObjectMetadataAssignedObject(v *NestedJobResult) ObjectMetadataAssignedObject { return ObjectMetadataAssignedObject{ @@ -505,6 +525,13 @@ func NestedModuleBayTemplateAsObjectMetadataAssignedObject(v *NestedModuleBayTem } } +// NestedModuleFamilyAsObjectMetadataAssignedObject is a convenience function that returns NestedModuleFamily wrapped in ObjectMetadataAssignedObject +func NestedModuleFamilyAsObjectMetadataAssignedObject(v *NestedModuleFamily) ObjectMetadataAssignedObject { + return ObjectMetadataAssignedObject{ + NestedModuleFamily: v, + } +} + // NestedModuleTypeAsObjectMetadataAssignedObject is a convenience function that returns NestedModuleType wrapped in ObjectMetadataAssignedObject func NestedModuleTypeAsObjectMetadataAssignedObject(v *NestedModuleType) ObjectMetadataAssignedObject { return ObjectMetadataAssignedObject{ @@ -526,13 +553,6 @@ func NestedObjectChangeAsObjectMetadataAssignedObject(v *NestedObjectChange) Obj } } -// NestedObjectMetadataAsObjectMetadataAssignedObject is a convenience function that returns NestedObjectMetadata wrapped in ObjectMetadataAssignedObject -func NestedObjectMetadataAsObjectMetadataAssignedObject(v *NestedObjectMetadata) ObjectMetadataAssignedObject { - return ObjectMetadataAssignedObject{ - NestedObjectMetadata: v, - } -} - // NestedPlatformAsObjectMetadataAssignedObject is a convenience function that returns NestedPlatform wrapped in ObjectMetadataAssignedObject func NestedPlatformAsObjectMetadataAssignedObject(v *NestedPlatform) ObjectMetadataAssignedObject { return ObjectMetadataAssignedObject{ @@ -631,6 +651,13 @@ func NestedRackReservationAsObjectMetadataAssignedObject(v *NestedRackReservatio } } +// NestedRadioProfileAsObjectMetadataAssignedObject is a convenience function that returns NestedRadioProfile wrapped in ObjectMetadataAssignedObject +func NestedRadioProfileAsObjectMetadataAssignedObject(v *NestedRadioProfile) ObjectMetadataAssignedObject { + return ObjectMetadataAssignedObject{ + NestedRadioProfile: v, + } +} + // NestedRearPortAsObjectMetadataAssignedObject is a convenience function that returns NestedRearPort wrapped in ObjectMetadataAssignedObject func NestedRearPortAsObjectMetadataAssignedObject(v *NestedRearPort) ObjectMetadataAssignedObject { return ObjectMetadataAssignedObject{ @@ -743,6 +770,13 @@ func NestedStatusAsObjectMetadataAssignedObject(v *NestedStatus) ObjectMetadataA } } +// NestedSupportedDataRateAsObjectMetadataAssignedObject is a convenience function that returns NestedSupportedDataRate wrapped in ObjectMetadataAssignedObject +func NestedSupportedDataRateAsObjectMetadataAssignedObject(v *NestedSupportedDataRate) ObjectMetadataAssignedObject { + return ObjectMetadataAssignedObject{ + NestedSupportedDataRate: v, + } +} + // NestedTagAsObjectMetadataAssignedObject is a convenience function that returns NestedTag wrapped in ObjectMetadataAssignedObject func NestedTagAsObjectMetadataAssignedObject(v *NestedTag) ObjectMetadataAssignedObject { return ObjectMetadataAssignedObject{ @@ -806,6 +840,13 @@ func NestedVirtualChassisAsObjectMetadataAssignedObject(v *NestedVirtualChassis) } } +// NestedVirtualDeviceContextAsObjectMetadataAssignedObject is a convenience function that returns NestedVirtualDeviceContext wrapped in ObjectMetadataAssignedObject +func NestedVirtualDeviceContextAsObjectMetadataAssignedObject(v *NestedVirtualDeviceContext) ObjectMetadataAssignedObject { + return ObjectMetadataAssignedObject{ + NestedVirtualDeviceContext: v, + } +} + // NestedVirtualMachineAsObjectMetadataAssignedObject is a convenience function that returns NestedVirtualMachine wrapped in ObjectMetadataAssignedObject func NestedVirtualMachineAsObjectMetadataAssignedObject(v *NestedVirtualMachine) ObjectMetadataAssignedObject { return ObjectMetadataAssignedObject{ @@ -820,6 +861,13 @@ func NestedWebhookAsObjectMetadataAssignedObject(v *NestedWebhook) ObjectMetadat } } +// NestedWirelessNetworkAsObjectMetadataAssignedObject is a convenience function that returns NestedWirelessNetwork wrapped in ObjectMetadataAssignedObject +func NestedWirelessNetworkAsObjectMetadataAssignedObject(v *NestedWirelessNetwork) ObjectMetadataAssignedObject { + return ObjectMetadataAssignedObject{ + NestedWirelessNetwork: v, + } +} + // Unmarshal JSON data into one of the pointers in the struct func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { @@ -1556,6 +1604,23 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedInterfaceTemplate = nil } + // try to unmarshal data into NestedInterfaceVDCAssignment + err = newStrictDecoder(data).Decode(&dst.NestedInterfaceVDCAssignment) + if err == nil { + jsonNestedInterfaceVDCAssignment, _ := json.Marshal(dst.NestedInterfaceVDCAssignment) + if string(jsonNestedInterfaceVDCAssignment) == "{}" { // empty struct + dst.NestedInterfaceVDCAssignment = nil + } else { + if err = validator.Validate(dst.NestedInterfaceVDCAssignment); err != nil { + dst.NestedInterfaceVDCAssignment = nil + } else { + match++ + } + } + } else { + dst.NestedInterfaceVDCAssignment = nil + } + // try to unmarshal data into NestedInventoryItem err = newStrictDecoder(data).Decode(&dst.NestedInventoryItem) if err == nil { @@ -1624,6 +1689,23 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedJobHook = nil } + // try to unmarshal data into NestedJobQueue + err = newStrictDecoder(data).Decode(&dst.NestedJobQueue) + if err == nil { + jsonNestedJobQueue, _ := json.Marshal(dst.NestedJobQueue) + if string(jsonNestedJobQueue) == "{}" { // empty struct + dst.NestedJobQueue = nil + } else { + if err = validator.Validate(dst.NestedJobQueue); err != nil { + dst.NestedJobQueue = nil + } else { + match++ + } + } + } else { + dst.NestedJobQueue = nil + } + // try to unmarshal data into NestedJobResult err = newStrictDecoder(data).Decode(&dst.NestedJobResult) if err == nil { @@ -1760,6 +1842,23 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedModuleBayTemplate = nil } + // try to unmarshal data into NestedModuleFamily + err = newStrictDecoder(data).Decode(&dst.NestedModuleFamily) + if err == nil { + jsonNestedModuleFamily, _ := json.Marshal(dst.NestedModuleFamily) + if string(jsonNestedModuleFamily) == "{}" { // empty struct + dst.NestedModuleFamily = nil + } else { + if err = validator.Validate(dst.NestedModuleFamily); err != nil { + dst.NestedModuleFamily = nil + } else { + match++ + } + } + } else { + dst.NestedModuleFamily = nil + } + // try to unmarshal data into NestedModuleType err = newStrictDecoder(data).Decode(&dst.NestedModuleType) if err == nil { @@ -1811,23 +1910,6 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedObjectChange = nil } - // try to unmarshal data into NestedObjectMetadata - err = newStrictDecoder(data).Decode(&dst.NestedObjectMetadata) - if err == nil { - jsonNestedObjectMetadata, _ := json.Marshal(dst.NestedObjectMetadata) - if string(jsonNestedObjectMetadata) == "{}" { // empty struct - dst.NestedObjectMetadata = nil - } else { - if err = validator.Validate(dst.NestedObjectMetadata); err != nil { - dst.NestedObjectMetadata = nil - } else { - match++ - } - } - } else { - dst.NestedObjectMetadata = nil - } - // try to unmarshal data into NestedPlatform err = newStrictDecoder(data).Decode(&dst.NestedPlatform) if err == nil { @@ -2066,6 +2148,23 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedRackReservation = nil } + // try to unmarshal data into NestedRadioProfile + err = newStrictDecoder(data).Decode(&dst.NestedRadioProfile) + if err == nil { + jsonNestedRadioProfile, _ := json.Marshal(dst.NestedRadioProfile) + if string(jsonNestedRadioProfile) == "{}" { // empty struct + dst.NestedRadioProfile = nil + } else { + if err = validator.Validate(dst.NestedRadioProfile); err != nil { + dst.NestedRadioProfile = nil + } else { + match++ + } + } + } else { + dst.NestedRadioProfile = nil + } + // try to unmarshal data into NestedRearPort err = newStrictDecoder(data).Decode(&dst.NestedRearPort) if err == nil { @@ -2338,6 +2437,23 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedStatus = nil } + // try to unmarshal data into NestedSupportedDataRate + err = newStrictDecoder(data).Decode(&dst.NestedSupportedDataRate) + if err == nil { + jsonNestedSupportedDataRate, _ := json.Marshal(dst.NestedSupportedDataRate) + if string(jsonNestedSupportedDataRate) == "{}" { // empty struct + dst.NestedSupportedDataRate = nil + } else { + if err = validator.Validate(dst.NestedSupportedDataRate); err != nil { + dst.NestedSupportedDataRate = nil + } else { + match++ + } + } + } else { + dst.NestedSupportedDataRate = nil + } + // try to unmarshal data into NestedTag err = newStrictDecoder(data).Decode(&dst.NestedTag) if err == nil { @@ -2491,6 +2607,23 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedVirtualChassis = nil } + // try to unmarshal data into NestedVirtualDeviceContext + err = newStrictDecoder(data).Decode(&dst.NestedVirtualDeviceContext) + if err == nil { + jsonNestedVirtualDeviceContext, _ := json.Marshal(dst.NestedVirtualDeviceContext) + if string(jsonNestedVirtualDeviceContext) == "{}" { // empty struct + dst.NestedVirtualDeviceContext = nil + } else { + if err = validator.Validate(dst.NestedVirtualDeviceContext); err != nil { + dst.NestedVirtualDeviceContext = nil + } else { + match++ + } + } + } else { + dst.NestedVirtualDeviceContext = nil + } + // try to unmarshal data into NestedVirtualMachine err = newStrictDecoder(data).Decode(&dst.NestedVirtualMachine) if err == nil { @@ -2525,6 +2658,23 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedWebhook = nil } + // try to unmarshal data into NestedWirelessNetwork + err = newStrictDecoder(data).Decode(&dst.NestedWirelessNetwork) + if err == nil { + jsonNestedWirelessNetwork, _ := json.Marshal(dst.NestedWirelessNetwork) + if string(jsonNestedWirelessNetwork) == "{}" { // empty struct + dst.NestedWirelessNetwork = nil + } else { + if err = validator.Validate(dst.NestedWirelessNetwork); err != nil { + dst.NestedWirelessNetwork = nil + } else { + match++ + } + } + } else { + dst.NestedWirelessNetwork = nil + } + if match > 1 { // more than 1 match // reset to nil dst.NestedCable = nil @@ -2570,10 +2720,12 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedInterface = nil dst.NestedInterfaceRedundancyGroup = nil dst.NestedInterfaceTemplate = nil + dst.NestedInterfaceVDCAssignment = nil dst.NestedInventoryItem = nil dst.NestedJob = nil dst.NestedJobButton = nil dst.NestedJobHook = nil + dst.NestedJobQueue = nil dst.NestedJobResult = nil dst.NestedLocation = nil dst.NestedLocationType = nil @@ -2582,10 +2734,10 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedModule = nil dst.NestedModuleBay = nil dst.NestedModuleBayTemplate = nil + dst.NestedModuleFamily = nil dst.NestedModuleType = nil dst.NestedNamespace = nil dst.NestedObjectChange = nil - dst.NestedObjectMetadata = nil dst.NestedPlatform = nil dst.NestedPowerFeed = nil dst.NestedPowerOutlet = nil @@ -2600,6 +2752,7 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedRack = nil dst.NestedRackGroup = nil dst.NestedRackReservation = nil + dst.NestedRadioProfile = nil dst.NestedRearPort = nil dst.NestedRearPortTemplate = nil dst.NestedRelationship = nil @@ -2616,6 +2769,7 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedSoftwareVersion = nil dst.NestedStaticGroupAssociation = nil dst.NestedStatus = nil + dst.NestedSupportedDataRate = nil dst.NestedTag = nil dst.NestedTeam = nil dst.NestedTenant = nil @@ -2625,8 +2779,10 @@ func (dst *ObjectMetadataAssignedObject) UnmarshalJSON(data []byte) error { dst.NestedVMInterface = nil dst.NestedVRF = nil dst.NestedVirtualChassis = nil + dst.NestedVirtualDeviceContext = nil dst.NestedVirtualMachine = nil dst.NestedWebhook = nil + dst.NestedWirelessNetwork = nil return fmt.Errorf("data matches more than one schema in oneOf(ObjectMetadataAssignedObject)") } else if match == 1 { @@ -2810,6 +2966,10 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedInterfaceTemplate) } + if src.NestedInterfaceVDCAssignment != nil { + return json.Marshal(&src.NestedInterfaceVDCAssignment) + } + if src.NestedInventoryItem != nil { return json.Marshal(&src.NestedInventoryItem) } @@ -2826,6 +2986,10 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedJobHook) } + if src.NestedJobQueue != nil { + return json.Marshal(&src.NestedJobQueue) + } + if src.NestedJobResult != nil { return json.Marshal(&src.NestedJobResult) } @@ -2858,6 +3022,10 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedModuleBayTemplate) } + if src.NestedModuleFamily != nil { + return json.Marshal(&src.NestedModuleFamily) + } + if src.NestedModuleType != nil { return json.Marshal(&src.NestedModuleType) } @@ -2870,10 +3038,6 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedObjectChange) } - if src.NestedObjectMetadata != nil { - return json.Marshal(&src.NestedObjectMetadata) - } - if src.NestedPlatform != nil { return json.Marshal(&src.NestedPlatform) } @@ -2930,6 +3094,10 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedRackReservation) } + if src.NestedRadioProfile != nil { + return json.Marshal(&src.NestedRadioProfile) + } + if src.NestedRearPort != nil { return json.Marshal(&src.NestedRearPort) } @@ -2994,6 +3162,10 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedStatus) } + if src.NestedSupportedDataRate != nil { + return json.Marshal(&src.NestedSupportedDataRate) + } + if src.NestedTag != nil { return json.Marshal(&src.NestedTag) } @@ -3030,6 +3202,10 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedVirtualChassis) } + if src.NestedVirtualDeviceContext != nil { + return json.Marshal(&src.NestedVirtualDeviceContext) + } + if src.NestedVirtualMachine != nil { return json.Marshal(&src.NestedVirtualMachine) } @@ -3038,6 +3214,10 @@ func (src ObjectMetadataAssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(&src.NestedWebhook) } + if src.NestedWirelessNetwork != nil { + return json.Marshal(&src.NestedWirelessNetwork) + } + return nil, nil // no data in oneOf schemas } @@ -3218,6 +3398,10 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedInterfaceTemplate } + if obj.NestedInterfaceVDCAssignment != nil { + return obj.NestedInterfaceVDCAssignment + } + if obj.NestedInventoryItem != nil { return obj.NestedInventoryItem } @@ -3234,6 +3418,10 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedJobHook } + if obj.NestedJobQueue != nil { + return obj.NestedJobQueue + } + if obj.NestedJobResult != nil { return obj.NestedJobResult } @@ -3266,6 +3454,10 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedModuleBayTemplate } + if obj.NestedModuleFamily != nil { + return obj.NestedModuleFamily + } + if obj.NestedModuleType != nil { return obj.NestedModuleType } @@ -3278,10 +3470,6 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedObjectChange } - if obj.NestedObjectMetadata != nil { - return obj.NestedObjectMetadata - } - if obj.NestedPlatform != nil { return obj.NestedPlatform } @@ -3338,6 +3526,10 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedRackReservation } + if obj.NestedRadioProfile != nil { + return obj.NestedRadioProfile + } + if obj.NestedRearPort != nil { return obj.NestedRearPort } @@ -3402,6 +3594,10 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedStatus } + if obj.NestedSupportedDataRate != nil { + return obj.NestedSupportedDataRate + } + if obj.NestedTag != nil { return obj.NestedTag } @@ -3438,6 +3634,10 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedVirtualChassis } + if obj.NestedVirtualDeviceContext != nil { + return obj.NestedVirtualDeviceContext + } + if obj.NestedVirtualMachine != nil { return obj.NestedVirtualMachine } @@ -3446,6 +3646,440 @@ func (obj *ObjectMetadataAssignedObject) GetActualInstance() (interface{}) { return obj.NestedWebhook } + if obj.NestedWirelessNetwork != nil { + return obj.NestedWirelessNetwork + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj ObjectMetadataAssignedObject) GetActualInstanceValue() (interface{}) { + if obj.NestedCable != nil { + return *obj.NestedCable + } + + if obj.NestedCircuit != nil { + return *obj.NestedCircuit + } + + if obj.NestedCircuitTermination != nil { + return *obj.NestedCircuitTermination + } + + if obj.NestedCircuitType != nil { + return *obj.NestedCircuitType + } + + if obj.NestedCloudAccount != nil { + return *obj.NestedCloudAccount + } + + if obj.NestedCloudNetwork != nil { + return *obj.NestedCloudNetwork + } + + if obj.NestedCloudResourceType != nil { + return *obj.NestedCloudResourceType + } + + if obj.NestedCloudService != nil { + return *obj.NestedCloudService + } + + if obj.NestedCluster != nil { + return *obj.NestedCluster + } + + if obj.NestedClusterGroup != nil { + return *obj.NestedClusterGroup + } + + if obj.NestedClusterType != nil { + return *obj.NestedClusterType + } + + if obj.NestedComputedField != nil { + return *obj.NestedComputedField + } + + if obj.NestedConfigContext != nil { + return *obj.NestedConfigContext + } + + if obj.NestedConfigContextSchema != nil { + return *obj.NestedConfigContextSchema + } + + if obj.NestedConsolePort != nil { + return *obj.NestedConsolePort + } + + if obj.NestedConsolePortTemplate != nil { + return *obj.NestedConsolePortTemplate + } + + if obj.NestedConsoleServerPort != nil { + return *obj.NestedConsoleServerPort + } + + if obj.NestedConsoleServerPortTemplate != nil { + return *obj.NestedConsoleServerPortTemplate + } + + if obj.NestedContact != nil { + return *obj.NestedContact + } + + if obj.NestedContactAssociation != nil { + return *obj.NestedContactAssociation + } + + if obj.NestedController != nil { + return *obj.NestedController + } + + if obj.NestedControllerManagedDeviceGroup != nil { + return *obj.NestedControllerManagedDeviceGroup + } + + if obj.NestedCustomField != nil { + return *obj.NestedCustomField + } + + if obj.NestedCustomLink != nil { + return *obj.NestedCustomLink + } + + if obj.NestedDevice != nil { + return *obj.NestedDevice + } + + if obj.NestedDeviceBay != nil { + return *obj.NestedDeviceBay + } + + if obj.NestedDeviceBayTemplate != nil { + return *obj.NestedDeviceBayTemplate + } + + if obj.NestedDeviceFamily != nil { + return *obj.NestedDeviceFamily + } + + if obj.NestedDeviceRedundancyGroup != nil { + return *obj.NestedDeviceRedundancyGroup + } + + if obj.NestedDeviceType != nil { + return *obj.NestedDeviceType + } + + if obj.NestedDynamicGroup != nil { + return *obj.NestedDynamicGroup + } + + if obj.NestedExportTemplate != nil { + return *obj.NestedExportTemplate + } + + if obj.NestedExternalIntegration != nil { + return *obj.NestedExternalIntegration + } + + if obj.NestedFileProxy != nil { + return *obj.NestedFileProxy + } + + if obj.NestedFrontPort != nil { + return *obj.NestedFrontPort + } + + if obj.NestedFrontPortTemplate != nil { + return *obj.NestedFrontPortTemplate + } + + if obj.NestedGitRepository != nil { + return *obj.NestedGitRepository + } + + if obj.NestedGraphQLQuery != nil { + return *obj.NestedGraphQLQuery + } + + if obj.NestedIPAddress != nil { + return *obj.NestedIPAddress + } + + if obj.NestedImageAttachment != nil { + return *obj.NestedImageAttachment + } + + if obj.NestedInterface != nil { + return *obj.NestedInterface + } + + if obj.NestedInterfaceRedundancyGroup != nil { + return *obj.NestedInterfaceRedundancyGroup + } + + if obj.NestedInterfaceTemplate != nil { + return *obj.NestedInterfaceTemplate + } + + if obj.NestedInterfaceVDCAssignment != nil { + return *obj.NestedInterfaceVDCAssignment + } + + if obj.NestedInventoryItem != nil { + return *obj.NestedInventoryItem + } + + if obj.NestedJob != nil { + return *obj.NestedJob + } + + if obj.NestedJobButton != nil { + return *obj.NestedJobButton + } + + if obj.NestedJobHook != nil { + return *obj.NestedJobHook + } + + if obj.NestedJobQueue != nil { + return *obj.NestedJobQueue + } + + if obj.NestedJobResult != nil { + return *obj.NestedJobResult + } + + if obj.NestedLocation != nil { + return *obj.NestedLocation + } + + if obj.NestedLocationType != nil { + return *obj.NestedLocationType + } + + if obj.NestedManufacturer != nil { + return *obj.NestedManufacturer + } + + if obj.NestedMetadataType != nil { + return *obj.NestedMetadataType + } + + if obj.NestedModule != nil { + return *obj.NestedModule + } + + if obj.NestedModuleBay != nil { + return *obj.NestedModuleBay + } + + if obj.NestedModuleBayTemplate != nil { + return *obj.NestedModuleBayTemplate + } + + if obj.NestedModuleFamily != nil { + return *obj.NestedModuleFamily + } + + if obj.NestedModuleType != nil { + return *obj.NestedModuleType + } + + if obj.NestedNamespace != nil { + return *obj.NestedNamespace + } + + if obj.NestedObjectChange != nil { + return *obj.NestedObjectChange + } + + if obj.NestedPlatform != nil { + return *obj.NestedPlatform + } + + if obj.NestedPowerFeed != nil { + return *obj.NestedPowerFeed + } + + if obj.NestedPowerOutlet != nil { + return *obj.NestedPowerOutlet + } + + if obj.NestedPowerOutletTemplate != nil { + return *obj.NestedPowerOutletTemplate + } + + if obj.NestedPowerPanel != nil { + return *obj.NestedPowerPanel + } + + if obj.NestedPowerPort != nil { + return *obj.NestedPowerPort + } + + if obj.NestedPowerPortTemplate != nil { + return *obj.NestedPowerPortTemplate + } + + if obj.NestedPrefix != nil { + return *obj.NestedPrefix + } + + if obj.NestedProvider != nil { + return *obj.NestedProvider + } + + if obj.NestedProviderNetwork != nil { + return *obj.NestedProviderNetwork + } + + if obj.NestedRIR != nil { + return *obj.NestedRIR + } + + if obj.NestedRack != nil { + return *obj.NestedRack + } + + if obj.NestedRackGroup != nil { + return *obj.NestedRackGroup + } + + if obj.NestedRackReservation != nil { + return *obj.NestedRackReservation + } + + if obj.NestedRadioProfile != nil { + return *obj.NestedRadioProfile + } + + if obj.NestedRearPort != nil { + return *obj.NestedRearPort + } + + if obj.NestedRearPortTemplate != nil { + return *obj.NestedRearPortTemplate + } + + if obj.NestedRelationship != nil { + return *obj.NestedRelationship + } + + if obj.NestedRelationshipAssociation != nil { + return *obj.NestedRelationshipAssociation + } + + if obj.NestedRole != nil { + return *obj.NestedRole + } + + if obj.NestedRouteTarget != nil { + return *obj.NestedRouteTarget + } + + if obj.NestedSavedView != nil { + return *obj.NestedSavedView + } + + if obj.NestedScheduledJob != nil { + return *obj.NestedScheduledJob + } + + if obj.NestedSecret != nil { + return *obj.NestedSecret + } + + if obj.NestedSecretsGroup != nil { + return *obj.NestedSecretsGroup + } + + if obj.NestedSecretsGroupAssociation != nil { + return *obj.NestedSecretsGroupAssociation + } + + if obj.NestedService != nil { + return *obj.NestedService + } + + if obj.NestedSoftwareImageFile != nil { + return *obj.NestedSoftwareImageFile + } + + if obj.NestedSoftwareVersion != nil { + return *obj.NestedSoftwareVersion + } + + if obj.NestedStaticGroupAssociation != nil { + return *obj.NestedStaticGroupAssociation + } + + if obj.NestedStatus != nil { + return *obj.NestedStatus + } + + if obj.NestedSupportedDataRate != nil { + return *obj.NestedSupportedDataRate + } + + if obj.NestedTag != nil { + return *obj.NestedTag + } + + if obj.NestedTeam != nil { + return *obj.NestedTeam + } + + if obj.NestedTenant != nil { + return *obj.NestedTenant + } + + if obj.NestedTenantGroup != nil { + return *obj.NestedTenantGroup + } + + if obj.NestedVLAN != nil { + return *obj.NestedVLAN + } + + if obj.NestedVLANGroup != nil { + return *obj.NestedVLANGroup + } + + if obj.NestedVMInterface != nil { + return *obj.NestedVMInterface + } + + if obj.NestedVRF != nil { + return *obj.NestedVRF + } + + if obj.NestedVirtualChassis != nil { + return *obj.NestedVirtualChassis + } + + if obj.NestedVirtualDeviceContext != nil { + return *obj.NestedVirtualDeviceContext + } + + if obj.NestedVirtualMachine != nil { + return *obj.NestedVirtualMachine + } + + if obj.NestedWebhook != nil { + return *obj.NestedWebhook + } + + if obj.NestedWirelessNetwork != nil { + return *obj.NestedWirelessNetwork + } + // all schemas are nil return nil } diff --git a/model_object_metadata_request.go b/model_object_metadata_request.go index 0e1a14cf..24fe5db4 100644 --- a/model_object_metadata_request.go +++ b/model_object_metadata_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ObjectMetadataRequest{} // ObjectMetadataRequest 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) type ObjectMetadataRequest struct { + Id *string `json:"id,omitempty"` AssignedObjectType string `json:"assigned_object_type"` Value interface{} `json:"value,omitempty"` // List of scoped fields, only direct fields on the model @@ -53,6 +54,38 @@ func NewObjectMetadataRequestWithDefaults() *ObjectMetadataRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ObjectMetadataRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ObjectMetadataRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ObjectMetadataRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ObjectMetadataRequest) SetId(v string) { + o.Id = &v +} + // GetAssignedObjectType returns the AssignedObjectType field value func (o *ObjectMetadataRequest) GetAssignedObjectType() string { if o == nil { @@ -285,6 +318,9 @@ func (o ObjectMetadataRequest) MarshalJSON() ([]byte, error) { func (o ObjectMetadataRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["assigned_object_type"] = o.AssignedObjectType if o.Value != nil { toSerialize["value"] = o.Value @@ -345,6 +381,7 @@ func (o *ObjectMetadataRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "assigned_object_type") delete(additionalProperties, "value") delete(additionalProperties, "scoped_fields") diff --git a/model_object_permission.go b/model_object_permission.go index f94a872d..4fc111db 100644 --- a/model_object_permission.go +++ b/model_object_permission.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ObjectPermission{} // ObjectPermission 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) type ObjectPermission struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -48,9 +48,8 @@ type _ObjectPermission ObjectPermission // 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 -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 { this := ObjectPermission{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewObjectPermissionWithDefaults() *ObjectPermission { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ObjectPermission) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ObjectPermission) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ObjectPermission) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ObjectPermission) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -488,7 +495,9 @@ func (o ObjectPermission) MarshalJSON() ([]byte, error) { func (o ObjectPermission) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -528,7 +537,6 @@ func (o *ObjectPermission) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_object_permission_request.go b/model_object_permission_request.go index 3ad936b3..550c8349 100644 --- a/model_object_permission_request.go +++ b/model_object_permission_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ObjectPermissionRequest{} // ObjectPermissionRequest 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) type ObjectPermissionRequest struct { + Id *string `json:"id,omitempty"` ObjectTypes []string `json:"object_types"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -55,6 +56,38 @@ func NewObjectPermissionRequestWithDefaults() *ObjectPermissionRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ObjectPermissionRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ObjectPermissionRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ObjectPermissionRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ObjectPermissionRequest) SetId(v string) { + o.Id = &v +} + // GetObjectTypes returns the ObjectTypes field value func (o *ObjectPermissionRequest) GetObjectTypes() []string { if o == nil { @@ -300,6 +333,9 @@ func (o ObjectPermissionRequest) MarshalJSON() ([]byte, error) { func (o ObjectPermissionRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_types"] = o.ObjectTypes toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -365,6 +401,7 @@ func (o *ObjectPermissionRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "object_types") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_operator_enum.go b/model_operator_enum.go index e05a3ba3..a10e4dd5 100644 --- a/model_operator_enum.go +++ b/model_operator_enum.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/model_outer_unit_enum.go b/model_outer_unit_enum.go index ad28b041..b5c9b097 100644 --- a/model_outer_unit_enum.go +++ b/model_outer_unit_enum.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/model_paginated_available_ip_list.go b/model_paginated_available_ip_list.go index 2753f396..c86f7dca 100644 --- a/model_paginated_available_ip_list.go +++ b/model_paginated_available_ip_list.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/model_paginated_available_prefix_list.go b/model_paginated_available_prefix_list.go index 9bddca9e..78437e10 100644 --- a/model_paginated_available_prefix_list.go +++ b/model_paginated_available_prefix_list.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/model_paginated_cable_list.go b/model_paginated_cable_list.go index b5ded5e9..0e223e23 100644 --- a/model_paginated_cable_list.go +++ b/model_paginated_cable_list.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/model_paginated_cable_path_list.go b/model_paginated_cable_path_list.go index cc72dfbd..1ed38339 100644 --- a/model_paginated_cable_path_list.go +++ b/model_paginated_cable_path_list.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/model_paginated_circuit_list.go b/model_paginated_circuit_list.go index 0d1a05cf..6fa38ef3 100644 --- a/model_paginated_circuit_list.go +++ b/model_paginated_circuit_list.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/model_paginated_circuit_termination_list.go b/model_paginated_circuit_termination_list.go index 941d7c6b..fb9ceff9 100644 --- a/model_paginated_circuit_termination_list.go +++ b/model_paginated_circuit_termination_list.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/model_paginated_circuit_type_list.go b/model_paginated_circuit_type_list.go index f7e8a130..3aacb350 100644 --- a/model_paginated_circuit_type_list.go +++ b/model_paginated_circuit_type_list.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/model_paginated_cloud_account_list.go b/model_paginated_cloud_account_list.go index 0a822d7b..f69b2a57 100644 --- a/model_paginated_cloud_account_list.go +++ b/model_paginated_cloud_account_list.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/model_paginated_cloud_network_list.go b/model_paginated_cloud_network_list.go index 89a1cd53..3fe2ce07 100644 --- a/model_paginated_cloud_network_list.go +++ b/model_paginated_cloud_network_list.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/model_paginated_cloud_network_prefix_assignment_list.go b/model_paginated_cloud_network_prefix_assignment_list.go index 10bcd8f4..e9d3595f 100644 --- a/model_paginated_cloud_network_prefix_assignment_list.go +++ b/model_paginated_cloud_network_prefix_assignment_list.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/model_paginated_cloud_resource_type_list.go b/model_paginated_cloud_resource_type_list.go index 520a2348..46a4de57 100644 --- a/model_paginated_cloud_resource_type_list.go +++ b/model_paginated_cloud_resource_type_list.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/model_paginated_cloud_service_list.go b/model_paginated_cloud_service_list.go index acf46788..29d0ee17 100644 --- a/model_paginated_cloud_service_list.go +++ b/model_paginated_cloud_service_list.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/model_paginated_cloud_service_network_assignment_list.go b/model_paginated_cloud_service_network_assignment_list.go index 5849a321..ba7a7068 100644 --- a/model_paginated_cloud_service_network_assignment_list.go +++ b/model_paginated_cloud_service_network_assignment_list.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/model_paginated_cluster_group_list.go b/model_paginated_cluster_group_list.go index 54546940..6ca38b97 100644 --- a/model_paginated_cluster_group_list.go +++ b/model_paginated_cluster_group_list.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/model_paginated_cluster_list.go b/model_paginated_cluster_list.go index f93574ff..c994b644 100644 --- a/model_paginated_cluster_list.go +++ b/model_paginated_cluster_list.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/model_paginated_cluster_type_list.go b/model_paginated_cluster_type_list.go index 781838dc..6c243867 100644 --- a/model_paginated_cluster_type_list.go +++ b/model_paginated_cluster_type_list.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/model_paginated_computed_field_list.go b/model_paginated_computed_field_list.go index 257796ee..8dfeb423 100644 --- a/model_paginated_computed_field_list.go +++ b/model_paginated_computed_field_list.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/model_paginated_config_context_list.go b/model_paginated_config_context_list.go index 9fcc3b89..ea8f5e82 100644 --- a/model_paginated_config_context_list.go +++ b/model_paginated_config_context_list.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/model_paginated_config_context_schema_list.go b/model_paginated_config_context_schema_list.go index fdeef3f4..4d5f2ede 100644 --- a/model_paginated_config_context_schema_list.go +++ b/model_paginated_config_context_schema_list.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/model_paginated_console_port_list.go b/model_paginated_console_port_list.go index 0ffefec8..8d354a0a 100644 --- a/model_paginated_console_port_list.go +++ b/model_paginated_console_port_list.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/model_paginated_console_port_template_list.go b/model_paginated_console_port_template_list.go index b2447f86..337d0619 100644 --- a/model_paginated_console_port_template_list.go +++ b/model_paginated_console_port_template_list.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/model_paginated_console_server_port_list.go b/model_paginated_console_server_port_list.go index 2c18163f..8f737154 100644 --- a/model_paginated_console_server_port_list.go +++ b/model_paginated_console_server_port_list.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/model_paginated_console_server_port_template_list.go b/model_paginated_console_server_port_template_list.go index 66928c39..fc887113 100644 --- a/model_paginated_console_server_port_template_list.go +++ b/model_paginated_console_server_port_template_list.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/model_paginated_contact_association_list.go b/model_paginated_contact_association_list.go index 8adf9382..3f48b40f 100644 --- a/model_paginated_contact_association_list.go +++ b/model_paginated_contact_association_list.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/model_paginated_contact_list.go b/model_paginated_contact_list.go index 28f6d1e8..debf088c 100644 --- a/model_paginated_contact_list.go +++ b/model_paginated_contact_list.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/model_paginated_content_type_list.go b/model_paginated_content_type_list.go index 471cf863..2d6e41fd 100644 --- a/model_paginated_content_type_list.go +++ b/model_paginated_content_type_list.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/model_paginated_controller_list.go b/model_paginated_controller_list.go index 6f245117..3b6e93fe 100644 --- a/model_paginated_controller_list.go +++ b/model_paginated_controller_list.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/model_paginated_controller_managed_device_group_list.go b/model_paginated_controller_managed_device_group_list.go index 123c6f15..b772e07a 100644 --- a/model_paginated_controller_managed_device_group_list.go +++ b/model_paginated_controller_managed_device_group_list.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/model_paginated_controller_managed_device_group_radio_profile_assignment_list.go b/model_paginated_controller_managed_device_group_radio_profile_assignment_list.go new file mode 100644 index 00000000..5c7aeeb6 --- /dev/null +++ b/model_paginated_controller_managed_device_group_radio_profile_assignment_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList{} + +// PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList struct for PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList +type PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []ControllerManagedDeviceGroupRadioProfileAssignment `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList 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 +func NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentList(count int32, results []ControllerManagedDeviceGroupRadioProfileAssignment) *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList { + this := PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentListWithDefaults() *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList { + this := PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetResults() []ControllerManagedDeviceGroupRadioProfileAssignment { + if o == nil { + var ret []ControllerManagedDeviceGroupRadioProfileAssignment + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetResultsOk() ([]ControllerManagedDeviceGroupRadioProfileAssignment, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetResults(v []ControllerManagedDeviceGroupRadioProfileAssignment) { + o.Results = v +} + +func (o PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedControllerManagedDeviceGroupRadioProfileAssignmentList := _PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList{} + + err = json.Unmarshal(data, &varPaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) + + if err != nil { + return err + } + + *o = PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList(varPaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList struct { + value *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList + isSet bool +} + +func (v NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) Get() *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList { + return v.value +} + +func (v *NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) Set(val *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList(val *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) *NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList { + return &NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList{value: val, isSet: true} +} + +func (v NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_controller_managed_device_group_wireless_network_assignment_list.go b/model_paginated_controller_managed_device_group_wireless_network_assignment_list.go new file mode 100644 index 00000000..e1c34721 --- /dev/null +++ b/model_paginated_controller_managed_device_group_wireless_network_assignment_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList{} + +// PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList struct for PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList +type PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []ControllerManagedDeviceGroupWirelessNetworkAssignment `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList 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 +func NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList(count int32, results []ControllerManagedDeviceGroupWirelessNetworkAssignment) *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList { + this := PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentListWithDefaults() *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList { + this := PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetResults() []ControllerManagedDeviceGroupWirelessNetworkAssignment { + if o == nil { + var ret []ControllerManagedDeviceGroupWirelessNetworkAssignment + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetResultsOk() ([]ControllerManagedDeviceGroupWirelessNetworkAssignment, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetResults(v []ControllerManagedDeviceGroupWirelessNetworkAssignment) { + o.Results = v +} + +func (o PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList := _PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList{} + + err = json.Unmarshal(data, &varPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) + + if err != nil { + return err + } + + *o = PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList(varPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList struct { + value *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList + isSet bool +} + +func (v NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) Get() *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList { + return v.value +} + +func (v *NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) Set(val *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList(val *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) *NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList { + return &NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList{value: val, isSet: true} +} + +func (v NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_custom_field_choice_list.go b/model_paginated_custom_field_choice_list.go index df5627b4..72866b1f 100644 --- a/model_paginated_custom_field_choice_list.go +++ b/model_paginated_custom_field_choice_list.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/model_paginated_custom_field_list.go b/model_paginated_custom_field_list.go index e90893f4..2f3388be 100644 --- a/model_paginated_custom_field_list.go +++ b/model_paginated_custom_field_list.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/model_paginated_custom_link_list.go b/model_paginated_custom_link_list.go index dccac98b..d1e16508 100644 --- a/model_paginated_custom_link_list.go +++ b/model_paginated_custom_link_list.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/model_paginated_device_bay_list.go b/model_paginated_device_bay_list.go index da04745a..a6b37299 100644 --- a/model_paginated_device_bay_list.go +++ b/model_paginated_device_bay_list.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/model_paginated_device_bay_template_list.go b/model_paginated_device_bay_template_list.go index 575d172a..3523d204 100644 --- a/model_paginated_device_bay_template_list.go +++ b/model_paginated_device_bay_template_list.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/model_paginated_device_family_list.go b/model_paginated_device_family_list.go index 0f5df6fc..717546e3 100644 --- a/model_paginated_device_family_list.go +++ b/model_paginated_device_family_list.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/model_paginated_device_list.go b/model_paginated_device_list.go index 8a138cd8..4cd5cd7a 100644 --- a/model_paginated_device_list.go +++ b/model_paginated_device_list.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/model_paginated_device_redundancy_group_list.go b/model_paginated_device_redundancy_group_list.go index 59e0b66c..c8ae2521 100644 --- a/model_paginated_device_redundancy_group_list.go +++ b/model_paginated_device_redundancy_group_list.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/model_paginated_device_type_list.go b/model_paginated_device_type_list.go index 4681bf2b..c5d579a4 100644 --- a/model_paginated_device_type_list.go +++ b/model_paginated_device_type_list.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/model_paginated_device_type_to_software_image_file_list.go b/model_paginated_device_type_to_software_image_file_list.go index 73d5b42a..55a70990 100644 --- a/model_paginated_device_type_to_software_image_file_list.go +++ b/model_paginated_device_type_to_software_image_file_list.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/model_paginated_dynamic_group_list.go b/model_paginated_dynamic_group_list.go index 57243a1e..21fc8d9b 100644 --- a/model_paginated_dynamic_group_list.go +++ b/model_paginated_dynamic_group_list.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/model_paginated_dynamic_group_membership_list.go b/model_paginated_dynamic_group_membership_list.go index 90007a3f..9a3e592a 100644 --- a/model_paginated_dynamic_group_membership_list.go +++ b/model_paginated_dynamic_group_membership_list.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/model_paginated_export_template_list.go b/model_paginated_export_template_list.go index ee406ab1..5cb288a6 100644 --- a/model_paginated_export_template_list.go +++ b/model_paginated_export_template_list.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/model_paginated_external_integration_list.go b/model_paginated_external_integration_list.go index 355ae8c0..50390d0f 100644 --- a/model_paginated_external_integration_list.go +++ b/model_paginated_external_integration_list.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/model_paginated_file_proxy_list.go b/model_paginated_file_proxy_list.go index 5c66a799..ed50d62f 100644 --- a/model_paginated_file_proxy_list.go +++ b/model_paginated_file_proxy_list.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/model_paginated_front_port_list.go b/model_paginated_front_port_list.go index e0a73e5b..c396bcc5 100644 --- a/model_paginated_front_port_list.go +++ b/model_paginated_front_port_list.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/model_paginated_front_port_template_list.go b/model_paginated_front_port_template_list.go index 62ec0026..70367b09 100644 --- a/model_paginated_front_port_template_list.go +++ b/model_paginated_front_port_template_list.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/model_paginated_git_repository_list.go b/model_paginated_git_repository_list.go index a5521ffb..fb9a88f9 100644 --- a/model_paginated_git_repository_list.go +++ b/model_paginated_git_repository_list.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/model_paginated_graph_ql_query_list.go b/model_paginated_graph_ql_query_list.go index 27997421..e0c4d3bd 100644 --- a/model_paginated_graph_ql_query_list.go +++ b/model_paginated_graph_ql_query_list.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/model_paginated_group_list.go b/model_paginated_group_list.go index 847b9531..ba03b9de 100644 --- a/model_paginated_group_list.go +++ b/model_paginated_group_list.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/model_paginated_image_attachment_list.go b/model_paginated_image_attachment_list.go index 9db6df12..02e503fe 100644 --- a/model_paginated_image_attachment_list.go +++ b/model_paginated_image_attachment_list.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/model_paginated_interface_connection_list.go b/model_paginated_interface_connection_list.go index 2d43464d..6fa748c9 100644 --- a/model_paginated_interface_connection_list.go +++ b/model_paginated_interface_connection_list.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/model_paginated_interface_list.go b/model_paginated_interface_list.go index ac09fb57..f57e25af 100644 --- a/model_paginated_interface_list.go +++ b/model_paginated_interface_list.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/model_paginated_interface_redundancy_group_association_list.go b/model_paginated_interface_redundancy_group_association_list.go index 35a1707f..fc6eb2ff 100644 --- a/model_paginated_interface_redundancy_group_association_list.go +++ b/model_paginated_interface_redundancy_group_association_list.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/model_paginated_interface_redundancy_group_list.go b/model_paginated_interface_redundancy_group_list.go index fe3fb021..8e8a3ac8 100644 --- a/model_paginated_interface_redundancy_group_list.go +++ b/model_paginated_interface_redundancy_group_list.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/model_paginated_interface_template_list.go b/model_paginated_interface_template_list.go index 63b7dbb2..f9a14fd8 100644 --- a/model_paginated_interface_template_list.go +++ b/model_paginated_interface_template_list.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/model_paginated_interface_vdc_assignment_list.go b/model_paginated_interface_vdc_assignment_list.go new file mode 100644 index 00000000..70f01e98 --- /dev/null +++ b/model_paginated_interface_vdc_assignment_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedInterfaceVDCAssignmentList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedInterfaceVDCAssignmentList{} + +// PaginatedInterfaceVDCAssignmentList struct for PaginatedInterfaceVDCAssignmentList +type PaginatedInterfaceVDCAssignmentList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []InterfaceVDCAssignment `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedInterfaceVDCAssignmentList 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 +func NewPaginatedInterfaceVDCAssignmentList(count int32, results []InterfaceVDCAssignment) *PaginatedInterfaceVDCAssignmentList { + this := PaginatedInterfaceVDCAssignmentList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedInterfaceVDCAssignmentListWithDefaults() *PaginatedInterfaceVDCAssignmentList { + this := PaginatedInterfaceVDCAssignmentList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedInterfaceVDCAssignmentList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedInterfaceVDCAssignmentList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedInterfaceVDCAssignmentList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedInterfaceVDCAssignmentList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedInterfaceVDCAssignmentList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedInterfaceVDCAssignmentList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedInterfaceVDCAssignmentList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedInterfaceVDCAssignmentList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedInterfaceVDCAssignmentList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedInterfaceVDCAssignmentList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedInterfaceVDCAssignmentList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedInterfaceVDCAssignmentList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedInterfaceVDCAssignmentList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedInterfaceVDCAssignmentList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedInterfaceVDCAssignmentList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedInterfaceVDCAssignmentList) GetResults() []InterfaceVDCAssignment { + if o == nil { + var ret []InterfaceVDCAssignment + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedInterfaceVDCAssignmentList) GetResultsOk() ([]InterfaceVDCAssignment, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedInterfaceVDCAssignmentList) SetResults(v []InterfaceVDCAssignment) { + o.Results = v +} + +func (o PaginatedInterfaceVDCAssignmentList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedInterfaceVDCAssignmentList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedInterfaceVDCAssignmentList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedInterfaceVDCAssignmentList := _PaginatedInterfaceVDCAssignmentList{} + + err = json.Unmarshal(data, &varPaginatedInterfaceVDCAssignmentList) + + if err != nil { + return err + } + + *o = PaginatedInterfaceVDCAssignmentList(varPaginatedInterfaceVDCAssignmentList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedInterfaceVDCAssignmentList struct { + value *PaginatedInterfaceVDCAssignmentList + isSet bool +} + +func (v NullablePaginatedInterfaceVDCAssignmentList) Get() *PaginatedInterfaceVDCAssignmentList { + return v.value +} + +func (v *NullablePaginatedInterfaceVDCAssignmentList) Set(val *PaginatedInterfaceVDCAssignmentList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedInterfaceVDCAssignmentList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedInterfaceVDCAssignmentList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedInterfaceVDCAssignmentList(val *PaginatedInterfaceVDCAssignmentList) *NullablePaginatedInterfaceVDCAssignmentList { + return &NullablePaginatedInterfaceVDCAssignmentList{value: val, isSet: true} +} + +func (v NullablePaginatedInterfaceVDCAssignmentList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedInterfaceVDCAssignmentList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_inventory_item_list.go b/model_paginated_inventory_item_list.go index 96f50e08..394268e2 100644 --- a/model_paginated_inventory_item_list.go +++ b/model_paginated_inventory_item_list.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/model_paginated_ip_address_list.go b/model_paginated_ip_address_list.go index f7df373d..42d69074 100644 --- a/model_paginated_ip_address_list.go +++ b/model_paginated_ip_address_list.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/model_paginated_ip_address_to_interface_list.go b/model_paginated_ip_address_to_interface_list.go index bffe7ca9..402e4324 100644 --- a/model_paginated_ip_address_to_interface_list.go +++ b/model_paginated_ip_address_to_interface_list.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/model_paginated_job_button_list.go b/model_paginated_job_button_list.go index 0ac13f7b..7dd32354 100644 --- a/model_paginated_job_button_list.go +++ b/model_paginated_job_button_list.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/model_paginated_job_hook_list.go b/model_paginated_job_hook_list.go index 9e425f8e..3994c7b6 100644 --- a/model_paginated_job_hook_list.go +++ b/model_paginated_job_hook_list.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/model_paginated_job_list.go b/model_paginated_job_list.go index a3c5c9e1..17c29e3d 100644 --- a/model_paginated_job_list.go +++ b/model_paginated_job_list.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/model_paginated_job_log_entry_list.go b/model_paginated_job_log_entry_list.go index 7162a35e..505bb57d 100644 --- a/model_paginated_job_log_entry_list.go +++ b/model_paginated_job_log_entry_list.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/model_paginated_job_queue_assignment_list.go b/model_paginated_job_queue_assignment_list.go new file mode 100644 index 00000000..ed42a9a6 --- /dev/null +++ b/model_paginated_job_queue_assignment_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedJobQueueAssignmentList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedJobQueueAssignmentList{} + +// PaginatedJobQueueAssignmentList struct for PaginatedJobQueueAssignmentList +type PaginatedJobQueueAssignmentList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []JobQueueAssignment `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedJobQueueAssignmentList 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 +func NewPaginatedJobQueueAssignmentList(count int32, results []JobQueueAssignment) *PaginatedJobQueueAssignmentList { + this := PaginatedJobQueueAssignmentList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedJobQueueAssignmentListWithDefaults() *PaginatedJobQueueAssignmentList { + this := PaginatedJobQueueAssignmentList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedJobQueueAssignmentList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedJobQueueAssignmentList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedJobQueueAssignmentList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedJobQueueAssignmentList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedJobQueueAssignmentList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedJobQueueAssignmentList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedJobQueueAssignmentList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedJobQueueAssignmentList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedJobQueueAssignmentList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedJobQueueAssignmentList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedJobQueueAssignmentList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedJobQueueAssignmentList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedJobQueueAssignmentList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedJobQueueAssignmentList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedJobQueueAssignmentList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedJobQueueAssignmentList) GetResults() []JobQueueAssignment { + if o == nil { + var ret []JobQueueAssignment + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedJobQueueAssignmentList) GetResultsOk() ([]JobQueueAssignment, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedJobQueueAssignmentList) SetResults(v []JobQueueAssignment) { + o.Results = v +} + +func (o PaginatedJobQueueAssignmentList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedJobQueueAssignmentList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedJobQueueAssignmentList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedJobQueueAssignmentList := _PaginatedJobQueueAssignmentList{} + + err = json.Unmarshal(data, &varPaginatedJobQueueAssignmentList) + + if err != nil { + return err + } + + *o = PaginatedJobQueueAssignmentList(varPaginatedJobQueueAssignmentList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedJobQueueAssignmentList struct { + value *PaginatedJobQueueAssignmentList + isSet bool +} + +func (v NullablePaginatedJobQueueAssignmentList) Get() *PaginatedJobQueueAssignmentList { + return v.value +} + +func (v *NullablePaginatedJobQueueAssignmentList) Set(val *PaginatedJobQueueAssignmentList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedJobQueueAssignmentList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedJobQueueAssignmentList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedJobQueueAssignmentList(val *PaginatedJobQueueAssignmentList) *NullablePaginatedJobQueueAssignmentList { + return &NullablePaginatedJobQueueAssignmentList{value: val, isSet: true} +} + +func (v NullablePaginatedJobQueueAssignmentList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedJobQueueAssignmentList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_job_queue_list.go b/model_paginated_job_queue_list.go new file mode 100644 index 00000000..fc341c83 --- /dev/null +++ b/model_paginated_job_queue_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedJobQueueList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedJobQueueList{} + +// PaginatedJobQueueList struct for PaginatedJobQueueList +type PaginatedJobQueueList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []JobQueue `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedJobQueueList 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 +func NewPaginatedJobQueueList(count int32, results []JobQueue) *PaginatedJobQueueList { + this := PaginatedJobQueueList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedJobQueueListWithDefaults() *PaginatedJobQueueList { + this := PaginatedJobQueueList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedJobQueueList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedJobQueueList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedJobQueueList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedJobQueueList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedJobQueueList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedJobQueueList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedJobQueueList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedJobQueueList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedJobQueueList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedJobQueueList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedJobQueueList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedJobQueueList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedJobQueueList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedJobQueueList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedJobQueueList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedJobQueueList) GetResults() []JobQueue { + if o == nil { + var ret []JobQueue + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedJobQueueList) GetResultsOk() ([]JobQueue, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedJobQueueList) SetResults(v []JobQueue) { + o.Results = v +} + +func (o PaginatedJobQueueList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedJobQueueList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedJobQueueList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedJobQueueList := _PaginatedJobQueueList{} + + err = json.Unmarshal(data, &varPaginatedJobQueueList) + + if err != nil { + return err + } + + *o = PaginatedJobQueueList(varPaginatedJobQueueList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedJobQueueList struct { + value *PaginatedJobQueueList + isSet bool +} + +func (v NullablePaginatedJobQueueList) Get() *PaginatedJobQueueList { + return v.value +} + +func (v *NullablePaginatedJobQueueList) Set(val *PaginatedJobQueueList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedJobQueueList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedJobQueueList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedJobQueueList(val *PaginatedJobQueueList) *NullablePaginatedJobQueueList { + return &NullablePaginatedJobQueueList{value: val, isSet: true} +} + +func (v NullablePaginatedJobQueueList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedJobQueueList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_job_result_list.go b/model_paginated_job_result_list.go index b3e44215..28cad295 100644 --- a/model_paginated_job_result_list.go +++ b/model_paginated_job_result_list.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/model_paginated_job_variable_list.go b/model_paginated_job_variable_list.go index b2b54fad..5075f6c2 100644 --- a/model_paginated_job_variable_list.go +++ b/model_paginated_job_variable_list.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/model_paginated_location_list.go b/model_paginated_location_list.go index 8fa93229..39720981 100644 --- a/model_paginated_location_list.go +++ b/model_paginated_location_list.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/model_paginated_location_type_list.go b/model_paginated_location_type_list.go index 062f35d1..a1b51535 100644 --- a/model_paginated_location_type_list.go +++ b/model_paginated_location_type_list.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/model_paginated_manufacturer_list.go b/model_paginated_manufacturer_list.go index 4fe5286b..e7cd1267 100644 --- a/model_paginated_manufacturer_list.go +++ b/model_paginated_manufacturer_list.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/model_paginated_metadata_choice_list.go b/model_paginated_metadata_choice_list.go index 22407ee2..d5278bd5 100644 --- a/model_paginated_metadata_choice_list.go +++ b/model_paginated_metadata_choice_list.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/model_paginated_metadata_type_list.go b/model_paginated_metadata_type_list.go index 6797c7ca..5a96a12f 100644 --- a/model_paginated_metadata_type_list.go +++ b/model_paginated_metadata_type_list.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/model_paginated_module_bay_list.go b/model_paginated_module_bay_list.go index 599e8888..d9a1439f 100644 --- a/model_paginated_module_bay_list.go +++ b/model_paginated_module_bay_list.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/model_paginated_module_bay_template_list.go b/model_paginated_module_bay_template_list.go index 59be22ba..4db18806 100644 --- a/model_paginated_module_bay_template_list.go +++ b/model_paginated_module_bay_template_list.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/model_paginated_module_family_list.go b/model_paginated_module_family_list.go new file mode 100644 index 00000000..18583df5 --- /dev/null +++ b/model_paginated_module_family_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedModuleFamilyList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedModuleFamilyList{} + +// PaginatedModuleFamilyList struct for PaginatedModuleFamilyList +type PaginatedModuleFamilyList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []ModuleFamily `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedModuleFamilyList 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 +func NewPaginatedModuleFamilyList(count int32, results []ModuleFamily) *PaginatedModuleFamilyList { + this := PaginatedModuleFamilyList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedModuleFamilyListWithDefaults() *PaginatedModuleFamilyList { + this := PaginatedModuleFamilyList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedModuleFamilyList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedModuleFamilyList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedModuleFamilyList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedModuleFamilyList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedModuleFamilyList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedModuleFamilyList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedModuleFamilyList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedModuleFamilyList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedModuleFamilyList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedModuleFamilyList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedModuleFamilyList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedModuleFamilyList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedModuleFamilyList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedModuleFamilyList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedModuleFamilyList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedModuleFamilyList) GetResults() []ModuleFamily { + if o == nil { + var ret []ModuleFamily + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedModuleFamilyList) GetResultsOk() ([]ModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedModuleFamilyList) SetResults(v []ModuleFamily) { + o.Results = v +} + +func (o PaginatedModuleFamilyList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedModuleFamilyList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedModuleFamilyList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedModuleFamilyList := _PaginatedModuleFamilyList{} + + err = json.Unmarshal(data, &varPaginatedModuleFamilyList) + + if err != nil { + return err + } + + *o = PaginatedModuleFamilyList(varPaginatedModuleFamilyList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedModuleFamilyList struct { + value *PaginatedModuleFamilyList + isSet bool +} + +func (v NullablePaginatedModuleFamilyList) Get() *PaginatedModuleFamilyList { + return v.value +} + +func (v *NullablePaginatedModuleFamilyList) Set(val *PaginatedModuleFamilyList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedModuleFamilyList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedModuleFamilyList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedModuleFamilyList(val *PaginatedModuleFamilyList) *NullablePaginatedModuleFamilyList { + return &NullablePaginatedModuleFamilyList{value: val, isSet: true} +} + +func (v NullablePaginatedModuleFamilyList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedModuleFamilyList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_module_list.go b/model_paginated_module_list.go index ed333dd5..5b0e0f62 100644 --- a/model_paginated_module_list.go +++ b/model_paginated_module_list.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/model_paginated_module_type_list.go b/model_paginated_module_type_list.go index 8b7773c8..1ebbb7b7 100644 --- a/model_paginated_module_type_list.go +++ b/model_paginated_module_type_list.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/model_paginated_namespace_list.go b/model_paginated_namespace_list.go index d1fa9163..f87c1fe7 100644 --- a/model_paginated_namespace_list.go +++ b/model_paginated_namespace_list.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/model_paginated_note_list.go b/model_paginated_note_list.go index e21e893a..753323a8 100644 --- a/model_paginated_note_list.go +++ b/model_paginated_note_list.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/model_paginated_object_change_list.go b/model_paginated_object_change_list.go index fa508c87..b47c14c6 100644 --- a/model_paginated_object_change_list.go +++ b/model_paginated_object_change_list.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/model_paginated_object_metadata_list.go b/model_paginated_object_metadata_list.go index 232eb45c..01a59a2a 100644 --- a/model_paginated_object_metadata_list.go +++ b/model_paginated_object_metadata_list.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/model_paginated_object_permission_list.go b/model_paginated_object_permission_list.go index 1f052b98..a7a7c889 100644 --- a/model_paginated_object_permission_list.go +++ b/model_paginated_object_permission_list.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/model_paginated_platform_list.go b/model_paginated_platform_list.go index 7c940513..49547501 100644 --- a/model_paginated_platform_list.go +++ b/model_paginated_platform_list.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/model_paginated_power_feed_list.go b/model_paginated_power_feed_list.go index 5d5278ab..9026edfa 100644 --- a/model_paginated_power_feed_list.go +++ b/model_paginated_power_feed_list.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/model_paginated_power_outlet_list.go b/model_paginated_power_outlet_list.go index 78b8c3c8..97019fa0 100644 --- a/model_paginated_power_outlet_list.go +++ b/model_paginated_power_outlet_list.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/model_paginated_power_outlet_template_list.go b/model_paginated_power_outlet_template_list.go index 12b55875..f40bf2a0 100644 --- a/model_paginated_power_outlet_template_list.go +++ b/model_paginated_power_outlet_template_list.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/model_paginated_power_panel_list.go b/model_paginated_power_panel_list.go index 5edc39a2..d2a58917 100644 --- a/model_paginated_power_panel_list.go +++ b/model_paginated_power_panel_list.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/model_paginated_power_port_list.go b/model_paginated_power_port_list.go index 0e2c56b1..c5ebe976 100644 --- a/model_paginated_power_port_list.go +++ b/model_paginated_power_port_list.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/model_paginated_power_port_template_list.go b/model_paginated_power_port_template_list.go index 7f8eeacd..927db2bb 100644 --- a/model_paginated_power_port_template_list.go +++ b/model_paginated_power_port_template_list.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/model_paginated_prefix_list.go b/model_paginated_prefix_list.go index 09684787..dfb2b189 100644 --- a/model_paginated_prefix_list.go +++ b/model_paginated_prefix_list.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/model_paginated_prefix_location_assignment_list.go b/model_paginated_prefix_location_assignment_list.go index 05a99733..ee612f7d 100644 --- a/model_paginated_prefix_location_assignment_list.go +++ b/model_paginated_prefix_location_assignment_list.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/model_paginated_provider_list.go b/model_paginated_provider_list.go index 8f8d5c4a..eac9bc20 100644 --- a/model_paginated_provider_list.go +++ b/model_paginated_provider_list.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/model_paginated_provider_network_list.go b/model_paginated_provider_network_list.go index 5c121d3d..43bc4c88 100644 --- a/model_paginated_provider_network_list.go +++ b/model_paginated_provider_network_list.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/model_paginated_rack_group_list.go b/model_paginated_rack_group_list.go index 3d9504ee..520a4242 100644 --- a/model_paginated_rack_group_list.go +++ b/model_paginated_rack_group_list.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/model_paginated_rack_list.go b/model_paginated_rack_list.go index c3df9786..0fdafd09 100644 --- a/model_paginated_rack_list.go +++ b/model_paginated_rack_list.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/model_paginated_rack_reservation_list.go b/model_paginated_rack_reservation_list.go index 2db1577e..08de34ab 100644 --- a/model_paginated_rack_reservation_list.go +++ b/model_paginated_rack_reservation_list.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/model_paginated_rack_unit_list.go b/model_paginated_rack_unit_list.go index 9abf7bfb..81589f84 100644 --- a/model_paginated_rack_unit_list.go +++ b/model_paginated_rack_unit_list.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/model_paginated_radio_profile_list.go b/model_paginated_radio_profile_list.go new file mode 100644 index 00000000..763192b7 --- /dev/null +++ b/model_paginated_radio_profile_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedRadioProfileList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedRadioProfileList{} + +// PaginatedRadioProfileList struct for PaginatedRadioProfileList +type PaginatedRadioProfileList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []RadioProfile `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedRadioProfileList 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 +func NewPaginatedRadioProfileList(count int32, results []RadioProfile) *PaginatedRadioProfileList { + this := PaginatedRadioProfileList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedRadioProfileListWithDefaults() *PaginatedRadioProfileList { + this := PaginatedRadioProfileList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedRadioProfileList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedRadioProfileList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedRadioProfileList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedRadioProfileList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedRadioProfileList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedRadioProfileList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedRadioProfileList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedRadioProfileList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedRadioProfileList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedRadioProfileList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedRadioProfileList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedRadioProfileList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedRadioProfileList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedRadioProfileList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedRadioProfileList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedRadioProfileList) GetResults() []RadioProfile { + if o == nil { + var ret []RadioProfile + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedRadioProfileList) GetResultsOk() ([]RadioProfile, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedRadioProfileList) SetResults(v []RadioProfile) { + o.Results = v +} + +func (o PaginatedRadioProfileList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedRadioProfileList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedRadioProfileList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedRadioProfileList := _PaginatedRadioProfileList{} + + err = json.Unmarshal(data, &varPaginatedRadioProfileList) + + if err != nil { + return err + } + + *o = PaginatedRadioProfileList(varPaginatedRadioProfileList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedRadioProfileList struct { + value *PaginatedRadioProfileList + isSet bool +} + +func (v NullablePaginatedRadioProfileList) Get() *PaginatedRadioProfileList { + return v.value +} + +func (v *NullablePaginatedRadioProfileList) Set(val *PaginatedRadioProfileList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedRadioProfileList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedRadioProfileList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedRadioProfileList(val *PaginatedRadioProfileList) *NullablePaginatedRadioProfileList { + return &NullablePaginatedRadioProfileList{value: val, isSet: true} +} + +func (v NullablePaginatedRadioProfileList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedRadioProfileList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_rear_port_list.go b/model_paginated_rear_port_list.go index bae9e880..ed5a4bd6 100644 --- a/model_paginated_rear_port_list.go +++ b/model_paginated_rear_port_list.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/model_paginated_rear_port_template_list.go b/model_paginated_rear_port_template_list.go index 164fbc31..0bc09bc1 100644 --- a/model_paginated_rear_port_template_list.go +++ b/model_paginated_rear_port_template_list.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/model_paginated_relationship_association_list.go b/model_paginated_relationship_association_list.go index f609928d..834d42e2 100644 --- a/model_paginated_relationship_association_list.go +++ b/model_paginated_relationship_association_list.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/model_paginated_relationship_list.go b/model_paginated_relationship_list.go index 2bf53ff3..46ce6ee0 100644 --- a/model_paginated_relationship_list.go +++ b/model_paginated_relationship_list.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/model_paginated_rir_list.go b/model_paginated_rir_list.go index 7393233d..3af65611 100644 --- a/model_paginated_rir_list.go +++ b/model_paginated_rir_list.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/model_paginated_role_list.go b/model_paginated_role_list.go index e4b9cb09..ee6716ab 100644 --- a/model_paginated_role_list.go +++ b/model_paginated_role_list.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/model_paginated_route_target_list.go b/model_paginated_route_target_list.go index 193021fa..1816175b 100644 --- a/model_paginated_route_target_list.go +++ b/model_paginated_route_target_list.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/model_paginated_saved_view_list.go b/model_paginated_saved_view_list.go index 2dbdc75d..d1c6e317 100644 --- a/model_paginated_saved_view_list.go +++ b/model_paginated_saved_view_list.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/model_paginated_scheduled_job_list.go b/model_paginated_scheduled_job_list.go index 96cda9b6..c0269f63 100644 --- a/model_paginated_scheduled_job_list.go +++ b/model_paginated_scheduled_job_list.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/model_paginated_secret_list.go b/model_paginated_secret_list.go index eb7e164c..360f718d 100644 --- a/model_paginated_secret_list.go +++ b/model_paginated_secret_list.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/model_paginated_secrets_group_association_list.go b/model_paginated_secrets_group_association_list.go index 4a7d19ff..9ca42779 100644 --- a/model_paginated_secrets_group_association_list.go +++ b/model_paginated_secrets_group_association_list.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/model_paginated_secrets_group_list.go b/model_paginated_secrets_group_list.go index b396a8c3..1ac91d5e 100644 --- a/model_paginated_secrets_group_list.go +++ b/model_paginated_secrets_group_list.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/model_paginated_service_list.go b/model_paginated_service_list.go index 4a336280..4dd9ea5a 100644 --- a/model_paginated_service_list.go +++ b/model_paginated_service_list.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/model_paginated_software_image_file_list.go b/model_paginated_software_image_file_list.go index 6b5fa0f1..e30f158c 100644 --- a/model_paginated_software_image_file_list.go +++ b/model_paginated_software_image_file_list.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/model_paginated_software_version_list.go b/model_paginated_software_version_list.go index af1dda5d..8978d1cb 100644 --- a/model_paginated_software_version_list.go +++ b/model_paginated_software_version_list.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/model_paginated_static_group_association_list.go b/model_paginated_static_group_association_list.go index 42c39d6e..34b085fe 100644 --- a/model_paginated_static_group_association_list.go +++ b/model_paginated_static_group_association_list.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/model_paginated_status_list.go b/model_paginated_status_list.go index 7d122285..1931ed4b 100644 --- a/model_paginated_status_list.go +++ b/model_paginated_status_list.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/model_paginated_supported_data_rate_list.go b/model_paginated_supported_data_rate_list.go new file mode 100644 index 00000000..b630abbf --- /dev/null +++ b/model_paginated_supported_data_rate_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedSupportedDataRateList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedSupportedDataRateList{} + +// PaginatedSupportedDataRateList struct for PaginatedSupportedDataRateList +type PaginatedSupportedDataRateList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []SupportedDataRate `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedSupportedDataRateList 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 +func NewPaginatedSupportedDataRateList(count int32, results []SupportedDataRate) *PaginatedSupportedDataRateList { + this := PaginatedSupportedDataRateList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedSupportedDataRateListWithDefaults() *PaginatedSupportedDataRateList { + this := PaginatedSupportedDataRateList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedSupportedDataRateList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedSupportedDataRateList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedSupportedDataRateList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedSupportedDataRateList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedSupportedDataRateList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedSupportedDataRateList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedSupportedDataRateList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedSupportedDataRateList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedSupportedDataRateList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedSupportedDataRateList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedSupportedDataRateList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedSupportedDataRateList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedSupportedDataRateList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedSupportedDataRateList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedSupportedDataRateList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedSupportedDataRateList) GetResults() []SupportedDataRate { + if o == nil { + var ret []SupportedDataRate + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedSupportedDataRateList) GetResultsOk() ([]SupportedDataRate, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedSupportedDataRateList) SetResults(v []SupportedDataRate) { + o.Results = v +} + +func (o PaginatedSupportedDataRateList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedSupportedDataRateList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedSupportedDataRateList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedSupportedDataRateList := _PaginatedSupportedDataRateList{} + + err = json.Unmarshal(data, &varPaginatedSupportedDataRateList) + + if err != nil { + return err + } + + *o = PaginatedSupportedDataRateList(varPaginatedSupportedDataRateList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedSupportedDataRateList struct { + value *PaginatedSupportedDataRateList + isSet bool +} + +func (v NullablePaginatedSupportedDataRateList) Get() *PaginatedSupportedDataRateList { + return v.value +} + +func (v *NullablePaginatedSupportedDataRateList) Set(val *PaginatedSupportedDataRateList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedSupportedDataRateList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedSupportedDataRateList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedSupportedDataRateList(val *PaginatedSupportedDataRateList) *NullablePaginatedSupportedDataRateList { + return &NullablePaginatedSupportedDataRateList{value: val, isSet: true} +} + +func (v NullablePaginatedSupportedDataRateList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedSupportedDataRateList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_tag_list.go b/model_paginated_tag_list.go index f826f09a..7076228d 100644 --- a/model_paginated_tag_list.go +++ b/model_paginated_tag_list.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/model_paginated_team_list.go b/model_paginated_team_list.go index 690be5a1..33261453 100644 --- a/model_paginated_team_list.go +++ b/model_paginated_team_list.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/model_paginated_tenant_group_list.go b/model_paginated_tenant_group_list.go index 1b096a16..4d0349ce 100644 --- a/model_paginated_tenant_group_list.go +++ b/model_paginated_tenant_group_list.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/model_paginated_tenant_list.go b/model_paginated_tenant_list.go index f3789ba4..6755a993 100644 --- a/model_paginated_tenant_list.go +++ b/model_paginated_tenant_list.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/model_paginated_token_list.go b/model_paginated_token_list.go index b00205db..23f2f206 100644 --- a/model_paginated_token_list.go +++ b/model_paginated_token_list.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/model_paginated_user_list.go b/model_paginated_user_list.go index 5ba72156..178b3b3e 100644 --- a/model_paginated_user_list.go +++ b/model_paginated_user_list.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/model_paginated_user_saved_view_association_list.go b/model_paginated_user_saved_view_association_list.go index c929b44f..2e366a00 100644 --- a/model_paginated_user_saved_view_association_list.go +++ b/model_paginated_user_saved_view_association_list.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/model_paginated_virtual_chassis_list.go b/model_paginated_virtual_chassis_list.go index 5331867c..7360dbf1 100644 --- a/model_paginated_virtual_chassis_list.go +++ b/model_paginated_virtual_chassis_list.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/model_paginated_virtual_device_context_list.go b/model_paginated_virtual_device_context_list.go new file mode 100644 index 00000000..90572f70 --- /dev/null +++ b/model_paginated_virtual_device_context_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedVirtualDeviceContextList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedVirtualDeviceContextList{} + +// PaginatedVirtualDeviceContextList struct for PaginatedVirtualDeviceContextList +type PaginatedVirtualDeviceContextList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []VirtualDeviceContext `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedVirtualDeviceContextList 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 +func NewPaginatedVirtualDeviceContextList(count int32, results []VirtualDeviceContext) *PaginatedVirtualDeviceContextList { + this := PaginatedVirtualDeviceContextList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedVirtualDeviceContextListWithDefaults() *PaginatedVirtualDeviceContextList { + this := PaginatedVirtualDeviceContextList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedVirtualDeviceContextList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedVirtualDeviceContextList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedVirtualDeviceContextList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedVirtualDeviceContextList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedVirtualDeviceContextList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedVirtualDeviceContextList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedVirtualDeviceContextList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedVirtualDeviceContextList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedVirtualDeviceContextList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedVirtualDeviceContextList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedVirtualDeviceContextList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedVirtualDeviceContextList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedVirtualDeviceContextList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedVirtualDeviceContextList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedVirtualDeviceContextList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedVirtualDeviceContextList) GetResults() []VirtualDeviceContext { + if o == nil { + var ret []VirtualDeviceContext + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedVirtualDeviceContextList) GetResultsOk() ([]VirtualDeviceContext, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedVirtualDeviceContextList) SetResults(v []VirtualDeviceContext) { + o.Results = v +} + +func (o PaginatedVirtualDeviceContextList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedVirtualDeviceContextList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedVirtualDeviceContextList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedVirtualDeviceContextList := _PaginatedVirtualDeviceContextList{} + + err = json.Unmarshal(data, &varPaginatedVirtualDeviceContextList) + + if err != nil { + return err + } + + *o = PaginatedVirtualDeviceContextList(varPaginatedVirtualDeviceContextList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedVirtualDeviceContextList struct { + value *PaginatedVirtualDeviceContextList + isSet bool +} + +func (v NullablePaginatedVirtualDeviceContextList) Get() *PaginatedVirtualDeviceContextList { + return v.value +} + +func (v *NullablePaginatedVirtualDeviceContextList) Set(val *PaginatedVirtualDeviceContextList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedVirtualDeviceContextList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedVirtualDeviceContextList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedVirtualDeviceContextList(val *PaginatedVirtualDeviceContextList) *NullablePaginatedVirtualDeviceContextList { + return &NullablePaginatedVirtualDeviceContextList{value: val, isSet: true} +} + +func (v NullablePaginatedVirtualDeviceContextList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedVirtualDeviceContextList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_paginated_virtual_machine_list.go b/model_paginated_virtual_machine_list.go index f76247f8..56c2854e 100644 --- a/model_paginated_virtual_machine_list.go +++ b/model_paginated_virtual_machine_list.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/model_paginated_vlan_group_list.go b/model_paginated_vlan_group_list.go index e7e33603..b4750dd2 100644 --- a/model_paginated_vlan_group_list.go +++ b/model_paginated_vlan_group_list.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/model_paginated_vlan_list.go b/model_paginated_vlan_list.go index 2a927774..3abd96b7 100644 --- a/model_paginated_vlan_list.go +++ b/model_paginated_vlan_list.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/model_paginated_vlan_location_assignment_list.go b/model_paginated_vlan_location_assignment_list.go index 6fbecf7e..55df54a0 100644 --- a/model_paginated_vlan_location_assignment_list.go +++ b/model_paginated_vlan_location_assignment_list.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/model_paginated_vm_interface_list.go b/model_paginated_vm_interface_list.go index 50d807f1..4af754cb 100644 --- a/model_paginated_vm_interface_list.go +++ b/model_paginated_vm_interface_list.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/model_paginated_vrf_device_assignment_list.go b/model_paginated_vrf_device_assignment_list.go index 9fbab394..3c912aed 100644 --- a/model_paginated_vrf_device_assignment_list.go +++ b/model_paginated_vrf_device_assignment_list.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/model_paginated_vrf_list.go b/model_paginated_vrf_list.go index 4e3168eb..10426d3d 100644 --- a/model_paginated_vrf_list.go +++ b/model_paginated_vrf_list.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/model_paginated_vrf_prefix_assignment_list.go b/model_paginated_vrf_prefix_assignment_list.go index 005a1f49..57c55520 100644 --- a/model_paginated_vrf_prefix_assignment_list.go +++ b/model_paginated_vrf_prefix_assignment_list.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/model_paginated_webhook_list.go b/model_paginated_webhook_list.go index 42ec3a69..af640a07 100644 --- a/model_paginated_webhook_list.go +++ b/model_paginated_webhook_list.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/model_paginated_wireless_network_list.go b/model_paginated_wireless_network_list.go new file mode 100644 index 00000000..f8f26115 --- /dev/null +++ b/model_paginated_wireless_network_list.go @@ -0,0 +1,291 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedWirelessNetworkList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedWirelessNetworkList{} + +// PaginatedWirelessNetworkList struct for PaginatedWirelessNetworkList +type PaginatedWirelessNetworkList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []WirelessNetwork `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedWirelessNetworkList 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 +func NewPaginatedWirelessNetworkList(count int32, results []WirelessNetwork) *PaginatedWirelessNetworkList { + this := PaginatedWirelessNetworkList{} + this.Count = count + this.Results = results + return &this +} + +// 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 +func NewPaginatedWirelessNetworkListWithDefaults() *PaginatedWirelessNetworkList { + this := PaginatedWirelessNetworkList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedWirelessNetworkList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedWirelessNetworkList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedWirelessNetworkList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedWirelessNetworkList) GetNext() string { + if o == nil || IsNil(o.Next.Get()) { + var ret string + return ret + } + return *o.Next.Get() +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedWirelessNetworkList) GetNextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Next.Get(), o.Next.IsSet() +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedWirelessNetworkList) HasNext() bool { + if o != nil && o.Next.IsSet() { + return true + } + + return false +} + +// SetNext gets a reference to the given NullableString and assigns it to the Next field. +func (o *PaginatedWirelessNetworkList) SetNext(v string) { + o.Next.Set(&v) +} +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedWirelessNetworkList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedWirelessNetworkList) UnsetNext() { + o.Next.Unset() +} + +// GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PaginatedWirelessNetworkList) GetPrevious() string { + if o == nil || IsNil(o.Previous.Get()) { + var ret string + return ret + } + return *o.Previous.Get() +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PaginatedWirelessNetworkList) GetPreviousOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Previous.Get(), o.Previous.IsSet() +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedWirelessNetworkList) HasPrevious() bool { + if o != nil && o.Previous.IsSet() { + return true + } + + return false +} + +// SetPrevious gets a reference to the given NullableString and assigns it to the Previous field. +func (o *PaginatedWirelessNetworkList) SetPrevious(v string) { + o.Previous.Set(&v) +} +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedWirelessNetworkList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedWirelessNetworkList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedWirelessNetworkList) GetResults() []WirelessNetwork { + if o == nil { + var ret []WirelessNetwork + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedWirelessNetworkList) GetResultsOk() ([]WirelessNetwork, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedWirelessNetworkList) SetResults(v []WirelessNetwork) { + o.Results = v +} + +func (o PaginatedWirelessNetworkList) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedWirelessNetworkList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if o.Next.IsSet() { + toSerialize["next"] = o.Next.Get() + } + if o.Previous.IsSet() { + toSerialize["previous"] = o.Previous.Get() + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedWirelessNetworkList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedWirelessNetworkList := _PaginatedWirelessNetworkList{} + + err = json.Unmarshal(data, &varPaginatedWirelessNetworkList) + + if err != nil { + return err + } + + *o = PaginatedWirelessNetworkList(varPaginatedWirelessNetworkList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedWirelessNetworkList struct { + value *PaginatedWirelessNetworkList + isSet bool +} + +func (v NullablePaginatedWirelessNetworkList) Get() *PaginatedWirelessNetworkList { + return v.value +} + +func (v *NullablePaginatedWirelessNetworkList) Set(val *PaginatedWirelessNetworkList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedWirelessNetworkList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedWirelessNetworkList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedWirelessNetworkList(val *PaginatedWirelessNetworkList) *NullablePaginatedWirelessNetworkList { + return &NullablePaginatedWirelessNetworkList{value: val, isSet: true} +} + +func (v NullablePaginatedWirelessNetworkList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedWirelessNetworkList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_panel_type_enum.go b/model_panel_type_enum.go new file mode 100644 index 00000000..8b876bb7 --- /dev/null +++ b/model_panel_type_enum.go @@ -0,0 +1,127 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PanelTypeEnum the model 'PanelTypeEnum' +type PanelTypeEnum string + +// List of PanelTypeEnum +const ( + PANELTYPEENUM_UTILITY PanelTypeEnum = "utility" + PANELTYPEENUM_GENERATOR PanelTypeEnum = "generator" + PANELTYPEENUM_SWITCHGEAR PanelTypeEnum = "switchgear" + PANELTYPEENUM_MDP PanelTypeEnum = "mdp" + PANELTYPEENUM_UPS PanelTypeEnum = "ups" + PANELTYPEENUM_TRANSFER_SWITCH PanelTypeEnum = "transfer-switch" + PANELTYPEENUM_PDU PanelTypeEnum = "pdu" + PANELTYPEENUM_PANELBOARD PanelTypeEnum = "panelboard" + PANELTYPEENUM_MLC PanelTypeEnum = "mlc" + PANELTYPEENUM_RPP PanelTypeEnum = "rpp" +) + +// All allowed values of PanelTypeEnum enum +var AllowedPanelTypeEnumEnumValues = []PanelTypeEnum{ + "utility", + "generator", + "switchgear", + "mdp", + "ups", + "transfer-switch", + "pdu", + "panelboard", + "mlc", + "rpp", +} + +func (v *PanelTypeEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PanelTypeEnum(value) + for _, existing := range AllowedPanelTypeEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PanelTypeEnum", value) +} + +// NewPanelTypeEnumFromValue returns a pointer to a valid PanelTypeEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPanelTypeEnumFromValue(v string) (*PanelTypeEnum, error) { + ev := PanelTypeEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PanelTypeEnum: valid values are %v", v, AllowedPanelTypeEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PanelTypeEnum) IsValid() bool { + for _, existing := range AllowedPanelTypeEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PanelTypeEnum value +func (v PanelTypeEnum) Ptr() *PanelTypeEnum { + return &v +} + +type NullablePanelTypeEnum struct { + value *PanelTypeEnum + isSet bool +} + +func (v NullablePanelTypeEnum) Get() *PanelTypeEnum { + return v.value +} + +func (v *NullablePanelTypeEnum) Set(val *PanelTypeEnum) { + v.value = val + v.isSet = true +} + +func (v NullablePanelTypeEnum) IsSet() bool { + return v.isSet +} + +func (v *NullablePanelTypeEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePanelTypeEnum(val *PanelTypeEnum) *NullablePanelTypeEnum { + return &NullablePanelTypeEnum{value: val, isSet: true} +} + +func (v NullablePanelTypeEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePanelTypeEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_parent_child_status.go b/model_parent_child_status.go index e9739778..ccce3266 100644 --- a/model_parent_child_status.go +++ b/model_parent_child_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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // ParentChildStatus - Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. @@ -118,6 +118,20 @@ func (obj *ParentChildStatus) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj ParentChildStatus) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.SubdeviceRoleEnum != nil { + return *obj.SubdeviceRoleEnum + } + + // all schemas are nil + return nil +} + type NullableParentChildStatus struct { value *ParentChildStatus isSet bool diff --git a/model_parent_lag.go b/model_parent_lag.go index d59a9c79..c0849d92 100644 --- a/model_parent_lag.go +++ b/model_parent_lag.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/model_patched_bulk_writable_cable_request.go b/model_patched_bulk_writable_cable_request.go index b26ba05f..b93dfc17 100644 --- a/model_patched_bulk_writable_cable_request.go +++ b/model_patched_bulk_writable_cable_request.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/model_patched_bulk_writable_circuit_request.go b/model_patched_bulk_writable_circuit_request.go index c7278f35..e7825529 100644 --- a/model_patched_bulk_writable_circuit_request.go +++ b/model_patched_bulk_writable_circuit_request.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/model_patched_bulk_writable_circuit_termination_request.go b/model_patched_bulk_writable_circuit_termination_request.go index 795277bc..f796d2d6 100644 --- a/model_patched_bulk_writable_circuit_termination_request.go +++ b/model_patched_bulk_writable_circuit_termination_request.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. @@ -32,6 +32,7 @@ type PatchedBulkWritableCircuitTerminationRequest struct { Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` ProviderNetwork NullableBulkWritableCircuitRequestTenant `json:"provider_network,omitempty"` CloudNetwork NullableBulkWritableCircuitRequestTenant `json:"cloud_network,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -451,6 +452,38 @@ func (o *PatchedBulkWritableCircuitTerminationRequest) UnsetCloudNetwork() { o.CloudNetwork.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableCircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableCircuitTerminationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableCircuitTerminationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableCircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedBulkWritableCircuitTerminationRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -556,6 +589,9 @@ func (o PatchedBulkWritableCircuitTerminationRequest) ToMap() (map[string]interf if o.CloudNetwork.IsSet() { toSerialize["cloud_network"] = o.CloudNetwork.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -616,6 +652,7 @@ func (o *PatchedBulkWritableCircuitTerminationRequest) UnmarshalJSON(data []byte delete(additionalProperties, "location") delete(additionalProperties, "provider_network") delete(additionalProperties, "cloud_network") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_patched_bulk_writable_circuit_type_request.go b/model_patched_bulk_writable_circuit_type_request.go index b8af5d31..46441d19 100644 --- a/model_patched_bulk_writable_circuit_type_request.go +++ b/model_patched_bulk_writable_circuit_type_request.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/model_patched_bulk_writable_cloud_account_request.go b/model_patched_bulk_writable_cloud_account_request.go index 16e33f9c..1b584cbb 100644 --- a/model_patched_bulk_writable_cloud_account_request.go +++ b/model_patched_bulk_writable_cloud_account_request.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/model_patched_bulk_writable_cloud_network_prefix_assignment_request.go b/model_patched_bulk_writable_cloud_network_prefix_assignment_request.go index 9c153b05..431c885a 100644 --- a/model_patched_bulk_writable_cloud_network_prefix_assignment_request.go +++ b/model_patched_bulk_writable_cloud_network_prefix_assignment_request.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/model_patched_bulk_writable_cloud_network_request.go b/model_patched_bulk_writable_cloud_network_request.go index 3b2389f3..44f59c04 100644 --- a/model_patched_bulk_writable_cloud_network_request.go +++ b/model_patched_bulk_writable_cloud_network_request.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/model_patched_bulk_writable_cloud_resource_type_request.go b/model_patched_bulk_writable_cloud_resource_type_request.go index 94bd75e3..b96f84e1 100644 --- a/model_patched_bulk_writable_cloud_resource_type_request.go +++ b/model_patched_bulk_writable_cloud_resource_type_request.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/model_patched_bulk_writable_cloud_service_network_assignment_request.go b/model_patched_bulk_writable_cloud_service_network_assignment_request.go index 9827b7ad..da4ee515 100644 --- a/model_patched_bulk_writable_cloud_service_network_assignment_request.go +++ b/model_patched_bulk_writable_cloud_service_network_assignment_request.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/model_patched_bulk_writable_cloud_service_request.go b/model_patched_bulk_writable_cloud_service_request.go index 29fa181c..2cd0d49d 100644 --- a/model_patched_bulk_writable_cloud_service_request.go +++ b/model_patched_bulk_writable_cloud_service_request.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/model_patched_bulk_writable_cluster_group_request.go b/model_patched_bulk_writable_cluster_group_request.go index 9bd0af2b..b876dd1d 100644 --- a/model_patched_bulk_writable_cluster_group_request.go +++ b/model_patched_bulk_writable_cluster_group_request.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/model_patched_bulk_writable_cluster_request.go b/model_patched_bulk_writable_cluster_request.go index 5b2da0c7..bfb52ffe 100644 --- a/model_patched_bulk_writable_cluster_request.go +++ b/model_patched_bulk_writable_cluster_request.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/model_patched_bulk_writable_cluster_type_request.go b/model_patched_bulk_writable_cluster_type_request.go index d2b71d20..5649017f 100644 --- a/model_patched_bulk_writable_cluster_type_request.go +++ b/model_patched_bulk_writable_cluster_type_request.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/model_patched_bulk_writable_computed_field_request.go b/model_patched_bulk_writable_computed_field_request.go index 7bdb3d2e..035bb96a 100644 --- a/model_patched_bulk_writable_computed_field_request.go +++ b/model_patched_bulk_writable_computed_field_request.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/model_patched_bulk_writable_config_context_request.go b/model_patched_bulk_writable_config_context_request.go index 27ec3779..080f6e04 100644 --- a/model_patched_bulk_writable_config_context_request.go +++ b/model_patched_bulk_writable_config_context_request.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/model_patched_bulk_writable_config_context_schema_request.go b/model_patched_bulk_writable_config_context_schema_request.go index 029c0242..79302e1c 100644 --- a/model_patched_bulk_writable_config_context_schema_request.go +++ b/model_patched_bulk_writable_config_context_schema_request.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/model_patched_bulk_writable_console_port_request.go b/model_patched_bulk_writable_console_port_request.go index be9e4a80..57c5efc9 100644 --- a/model_patched_bulk_writable_console_port_request.go +++ b/model_patched_bulk_writable_console_port_request.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/model_patched_bulk_writable_console_port_template_request.go b/model_patched_bulk_writable_console_port_template_request.go index b7952658..620734b1 100644 --- a/model_patched_bulk_writable_console_port_template_request.go +++ b/model_patched_bulk_writable_console_port_template_request.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/model_patched_bulk_writable_console_server_port_request.go b/model_patched_bulk_writable_console_server_port_request.go index 53b4d3f2..edbb751e 100644 --- a/model_patched_bulk_writable_console_server_port_request.go +++ b/model_patched_bulk_writable_console_server_port_request.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/model_patched_bulk_writable_console_server_port_template_request.go b/model_patched_bulk_writable_console_server_port_template_request.go index bb745be2..5fde6168 100644 --- a/model_patched_bulk_writable_console_server_port_template_request.go +++ b/model_patched_bulk_writable_console_server_port_template_request.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/model_patched_bulk_writable_contact_association_request.go b/model_patched_bulk_writable_contact_association_request.go index cfa6c5bf..5b0e5a37 100644 --- a/model_patched_bulk_writable_contact_association_request.go +++ b/model_patched_bulk_writable_contact_association_request.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/model_patched_bulk_writable_contact_request.go b/model_patched_bulk_writable_contact_request.go index 96eee72b..5cdec095 100644 --- a/model_patched_bulk_writable_contact_request.go +++ b/model_patched_bulk_writable_contact_request.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. @@ -21,7 +21,6 @@ var _ MappedNullable = &PatchedBulkWritableContactRequest{} // PatchedBulkWritableContactRequest 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. type PatchedBulkWritableContactRequest struct { Id string `json:"id"` - Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` Name *string `json:"name,omitempty"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` @@ -29,6 +28,8 @@ type PatchedBulkWritableContactRequest struct { Comments *string `json:"comments,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` AdditionalProperties map[string]interface{} } @@ -84,38 +85,6 @@ func (o *PatchedBulkWritableContactRequest) SetId(v string) { o.Id = v } -// GetTeams returns the Teams field value if set, zero value otherwise. -func (o *PatchedBulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Teams) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Teams -} - -// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedBulkWritableContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Teams) { - return nil, false - } - return o.Teams, true -} - -// HasTeams returns a boolean if a field has been set. -func (o *PatchedBulkWritableContactRequest) HasTeams() bool { - if o != nil && !IsNil(o.Teams) { - return true - } - - return false -} - -// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. -func (o *PatchedBulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { - o.Teams = v -} - // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritableContactRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -340,6 +309,70 @@ func (o *PatchedBulkWritableContactRequest) SetRelationships(v map[string]BulkWr o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableContactRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableContactRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableContactRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableContactRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *PatchedBulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Teams) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *PatchedBulkWritableContactRequest) HasTeams() bool { + if o != nil && !IsNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. +func (o *PatchedBulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { + o.Teams = v +} + func (o PatchedBulkWritableContactRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -351,9 +384,6 @@ func (o PatchedBulkWritableContactRequest) MarshalJSON() ([]byte, error) { func (o PatchedBulkWritableContactRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id - if !IsNil(o.Teams) { - toSerialize["teams"] = o.Teams - } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -375,6 +405,12 @@ func (o PatchedBulkWritableContactRequest) ToMap() (map[string]interface{}, erro if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.Teams) { + toSerialize["teams"] = o.Teams + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -419,7 +455,6 @@ func (o *PatchedBulkWritableContactRequest) UnmarshalJSON(data []byte) (err erro if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") - delete(additionalProperties, "teams") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") @@ -427,6 +462,8 @@ func (o *PatchedBulkWritableContactRequest) UnmarshalJSON(data []byte) (err erro delete(additionalProperties, "comments") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + delete(additionalProperties, "teams") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go b/model_patched_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go new file mode 100644 index 00000000..23518d3a --- /dev/null +++ b/model_patched_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go @@ -0,0 +1,242 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + +// PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest 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) +type PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + Id string `json:"id"` + ControllerManagedDeviceGroup *BulkWritableCableRequestStatus `json:"controller_managed_device_group,omitempty"` + RadioProfile *BulkWritableCableRequestStatus `json:"radio_profile,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest 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 +func NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(id string) *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + this.Id = id + return &this +} + +// 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 +func NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value if set, zero value otherwise. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + return nil, false + } + return o.ControllerManagedDeviceGroup, true +} + +// HasControllerManagedDeviceGroup returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasControllerManagedDeviceGroup() bool { + if o != nil && !IsNil(o.ControllerManagedDeviceGroup) { + return true + } + + return false +} + +// SetControllerManagedDeviceGroup gets a reference to the given BulkWritableCableRequestStatus and assigns it to the ControllerManagedDeviceGroup field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = &v +} + +// GetRadioProfile returns the RadioProfile field value if set, zero value otherwise. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.RadioProfile) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.RadioProfile +} + +// GetRadioProfileOk returns a tuple with the RadioProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.RadioProfile) { + return nil, false + } + return o.RadioProfile, true +} + +// HasRadioProfile returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasRadioProfile() bool { + if o != nil && !IsNil(o.RadioProfile) { + return true + } + + return false +} + +// SetRadioProfile gets a reference to the given BulkWritableCableRequestStatus and assigns it to the RadioProfile field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus) { + o.RadioProfile = &v +} + +func (o PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.ControllerManagedDeviceGroup) { + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + } + if !IsNil(o.RadioProfile) { + toSerialize["radio_profile"] = o.RadioProfile + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest := _PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(varPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "radio_profile") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + value *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest + isSet bool +} + +func (v NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Get() *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Set(val *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(val *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) *NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return &NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_controller_managed_device_group_request.go b/model_patched_bulk_writable_controller_managed_device_group_request.go index ac3d7e35..3e15f7ca 100644 --- a/model_patched_bulk_writable_controller_managed_device_group_request.go +++ b/model_patched_bulk_writable_controller_managed_device_group_request.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. @@ -21,12 +21,15 @@ var _ MappedNullable = &PatchedBulkWritableControllerManagedDeviceGroupRequest{} // PatchedBulkWritableControllerManagedDeviceGroupRequest 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. type PatchedBulkWritableControllerManagedDeviceGroupRequest struct { Id string `json:"id"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` // Name of the controller device group Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` // Weight of the controller device group, used to sort the groups within its parent group Weight *int32 `json:"weight,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` Controller *BulkWritableControllerManagedDeviceGroupRequestController `json:"controller,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -77,6 +80,39 @@ func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetId(v string) o.Id = v } +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -109,6 +145,38 @@ func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetName(v strin o.Name = &v } +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetDescription(v string) { + o.Description = &v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -215,6 +283,48 @@ func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetController(v o.Controller = &v } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) UnsetTenant() { + o.Tenant.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -322,9 +432,15 @@ func (o PatchedBulkWritableControllerManagedDeviceGroupRequest) MarshalJSON() ([ func (o PatchedBulkWritableControllerManagedDeviceGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -334,6 +450,9 @@ func (o PatchedBulkWritableControllerManagedDeviceGroupRequest) ToMap() (map[str if !IsNil(o.Controller) { toSerialize["controller"] = o.Controller } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -387,10 +506,13 @@ func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) UnmarshalJSON(d if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") + delete(additionalProperties, "description") delete(additionalProperties, "weight") delete(additionalProperties, "parent") delete(additionalProperties, "controller") + delete(additionalProperties, "tenant") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_patched_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go b/model_patched_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go new file mode 100644 index 00000000..34a835e8 --- /dev/null +++ b/model_patched_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go @@ -0,0 +1,289 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + +// PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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) +type PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + Id string `json:"id"` + ControllerManagedDeviceGroup *BulkWritableCableRequestStatus `json:"controller_managed_device_group,omitempty"` + WirelessNetwork *BulkWritableCableRequestStatus `json:"wireless_network,omitempty"` + Vlan NullableBulkWritableCircuitRequestTenant `json:"vlan,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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 +func NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(id string) *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + this.Id = id + return &this +} + +// 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 +func NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value if set, zero value otherwise. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + return nil, false + } + return o.ControllerManagedDeviceGroup, true +} + +// HasControllerManagedDeviceGroup returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasControllerManagedDeviceGroup() bool { + if o != nil && !IsNil(o.ControllerManagedDeviceGroup) { + return true + } + + return false +} + +// SetControllerManagedDeviceGroup gets a reference to the given BulkWritableCableRequestStatus and assigns it to the ControllerManagedDeviceGroup field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = &v +} + +// GetWirelessNetwork returns the WirelessNetwork field value if set, zero value otherwise. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.WirelessNetwork) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.WirelessNetwork +} + +// GetWirelessNetworkOk returns a tuple with the WirelessNetwork field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.WirelessNetwork) { + return nil, false + } + return o.WirelessNetwork, true +} + +// HasWirelessNetwork returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasWirelessNetwork() bool { + if o != nil && !IsNil(o.WirelessNetwork) { + return true + } + + return false +} + +// SetWirelessNetwork gets a reference to the given BulkWritableCableRequestStatus and assigns it to the WirelessNetwork field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus) { + o.WirelessNetwork = &v +} + +// GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Vlan.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Vlan.Get() +} + +// GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Vlan.Get(), o.Vlan.IsSet() +} + +// HasVlan returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool { + if o != nil && o.Vlan.IsSet() { + return true + } + + return false +} + +// SetVlan gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Vlan field. +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant) { + o.Vlan.Set(&v) +} +// SetVlanNil sets the value for Vlan to be an explicit nil +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil() { + o.Vlan.Set(nil) +} + +// UnsetVlan ensures that no value is present for Vlan, not even an explicit nil +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnsetVlan() { + o.Vlan.Unset() +} + +func (o PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.ControllerManagedDeviceGroup) { + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + } + if !IsNil(o.WirelessNetwork) { + toSerialize["wireless_network"] = o.WirelessNetwork + } + if o.Vlan.IsSet() { + toSerialize["vlan"] = o.Vlan.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest := _PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(varPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "wireless_network") + delete(additionalProperties, "vlan") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + value *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest + isSet bool +} + +func (v NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Get() *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Set(val *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(val *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) *NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return &NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_controller_request.go b/model_patched_bulk_writable_controller_request.go index f04105c6..589cb347 100644 --- a/model_patched_bulk_writable_controller_request.go +++ b/model_patched_bulk_writable_controller_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &PatchedBulkWritableControllerRequest{} // PatchedBulkWritableControllerRequest 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. type PatchedBulkWritableControllerRequest struct { Id string `json:"id"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Status *BulkWritableCableRequestStatus `json:"status,omitempty"` @@ -81,6 +82,39 @@ func (o *PatchedBulkWritableControllerRequest) SetId(v string) { o.Id = v } +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableControllerRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableControllerRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *PatchedBulkWritableControllerRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *PatchedBulkWritableControllerRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritableControllerRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -568,6 +602,9 @@ func (o PatchedBulkWritableControllerRequest) MarshalJSON() ([]byte, error) { func (o PatchedBulkWritableControllerRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -651,6 +688,7 @@ func (o *PatchedBulkWritableControllerRequest) UnmarshalJSON(data []byte) (err e if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "status") diff --git a/model_patched_bulk_writable_custom_field_choice_request.go b/model_patched_bulk_writable_custom_field_choice_request.go index f2904472..bf7eb8da 100644 --- a/model_patched_bulk_writable_custom_field_choice_request.go +++ b/model_patched_bulk_writable_custom_field_choice_request.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/model_patched_bulk_writable_custom_field_request.go b/model_patched_bulk_writable_custom_field_request.go index efa969bd..f00d5afc 100644 --- a/model_patched_bulk_writable_custom_field_request.go +++ b/model_patched_bulk_writable_custom_field_request.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/model_patched_bulk_writable_custom_link_request.go b/model_patched_bulk_writable_custom_link_request.go index c6cc9d93..1ecd804c 100644 --- a/model_patched_bulk_writable_custom_link_request.go +++ b/model_patched_bulk_writable_custom_link_request.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/model_patched_bulk_writable_device_bay_request.go b/model_patched_bulk_writable_device_bay_request.go index 26f40645..7a9b0e87 100644 --- a/model_patched_bulk_writable_device_bay_request.go +++ b/model_patched_bulk_writable_device_bay_request.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/model_patched_bulk_writable_device_bay_template_request.go b/model_patched_bulk_writable_device_bay_template_request.go index 582c1490..c37b81d9 100644 --- a/model_patched_bulk_writable_device_bay_template_request.go +++ b/model_patched_bulk_writable_device_bay_template_request.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/model_patched_bulk_writable_device_family_request.go b/model_patched_bulk_writable_device_family_request.go index e91945ec..303d7a81 100644 --- a/model_patched_bulk_writable_device_family_request.go +++ b/model_patched_bulk_writable_device_family_request.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. @@ -25,6 +25,7 @@ type PatchedBulkWritableDeviceFamilyRequest struct { Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -200,6 +201,38 @@ func (o *PatchedBulkWritableDeviceFamilyRequest) SetRelationships(v map[string]B o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableDeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableDeviceFamilyRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableDeviceFamilyRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableDeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedBulkWritableDeviceFamilyRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -223,6 +256,9 @@ func (o PatchedBulkWritableDeviceFamilyRequest) ToMap() (map[string]interface{}, if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -271,6 +307,7 @@ func (o *PatchedBulkWritableDeviceFamilyRequest) UnmarshalJSON(data []byte) (err delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_bulk_writable_device_redundancy_group_request.go b/model_patched_bulk_writable_device_redundancy_group_request.go index 2ff5816a..2a26cdc3 100644 --- a/model_patched_bulk_writable_device_redundancy_group_request.go +++ b/model_patched_bulk_writable_device_redundancy_group_request.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. @@ -42,6 +42,8 @@ type _PatchedBulkWritableDeviceRedundancyGroupRequest PatchedBulkWritableDeviceR func NewPatchedBulkWritableDeviceRedundancyGroupRequest(id string) *PatchedBulkWritableDeviceRedundancyGroupRequest { this := PatchedBulkWritableDeviceRedundancyGroupRequest{} this.Id = id + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy return &this } @@ -50,6 +52,8 @@ func NewPatchedBulkWritableDeviceRedundancyGroupRequest(id string) *PatchedBulkW // but it doesn't guarantee that properties required by API are set func NewPatchedBulkWritableDeviceRedundancyGroupRequestWithDefaults() *PatchedBulkWritableDeviceRedundancyGroupRequest { this := PatchedBulkWritableDeviceRedundancyGroupRequest{} + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy return &this } diff --git a/model_patched_bulk_writable_device_request.go b/model_patched_bulk_writable_device_request.go index c7f57c98..2aee9313 100644 --- a/model_patched_bulk_writable_device_request.go +++ b/model_patched_bulk_writable_device_request.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/model_patched_bulk_writable_device_type_request.go b/model_patched_bulk_writable_device_type_request.go index 378bb450..bd0e875d 100644 --- a/model_patched_bulk_writable_device_type_request.go +++ b/model_patched_bulk_writable_device_type_request.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/model_patched_bulk_writable_device_type_to_software_image_file_request.go b/model_patched_bulk_writable_device_type_to_software_image_file_request.go index 921e5bd1..12cb2591 100644 --- a/model_patched_bulk_writable_device_type_to_software_image_file_request.go +++ b/model_patched_bulk_writable_device_type_to_software_image_file_request.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/model_patched_bulk_writable_dynamic_group_membership_request.go b/model_patched_bulk_writable_dynamic_group_membership_request.go index b71d41e4..c476fd0e 100644 --- a/model_patched_bulk_writable_dynamic_group_membership_request.go +++ b/model_patched_bulk_writable_dynamic_group_membership_request.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/model_patched_bulk_writable_dynamic_group_request.go b/model_patched_bulk_writable_dynamic_group_request.go index e5475570..e558bd80 100644 --- a/model_patched_bulk_writable_dynamic_group_request.go +++ b/model_patched_bulk_writable_dynamic_group_request.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/model_patched_bulk_writable_export_template_request.go b/model_patched_bulk_writable_export_template_request.go index ee7fa311..f3da3390 100644 --- a/model_patched_bulk_writable_export_template_request.go +++ b/model_patched_bulk_writable_export_template_request.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/model_patched_bulk_writable_external_integration_request.go b/model_patched_bulk_writable_external_integration_request.go index 9cfde95e..183804f8 100644 --- a/model_patched_bulk_writable_external_integration_request.go +++ b/model_patched_bulk_writable_external_integration_request.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. @@ -36,6 +36,7 @@ type PatchedBulkWritableExternalIntegrationRequest struct { SecretsGroup NullableBulkWritableExternalIntegrationRequestSecretsGroup `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -447,6 +448,38 @@ func (o *PatchedBulkWritableExternalIntegrationRequest) SetRelationships(v map[s o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableExternalIntegrationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableExternalIntegrationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedBulkWritableExternalIntegrationRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -491,6 +524,9 @@ func (o PatchedBulkWritableExternalIntegrationRequest) ToMap() (map[string]inter if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -546,6 +582,7 @@ func (o *PatchedBulkWritableExternalIntegrationRequest) UnmarshalJSON(data []byt delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_bulk_writable_front_port_request.go b/model_patched_bulk_writable_front_port_request.go index 5358247d..ac66f28e 100644 --- a/model_patched_bulk_writable_front_port_request.go +++ b/model_patched_bulk_writable_front_port_request.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/model_patched_bulk_writable_front_port_template_request.go b/model_patched_bulk_writable_front_port_template_request.go index 77abfdac..6e2bcdab 100644 --- a/model_patched_bulk_writable_front_port_template_request.go +++ b/model_patched_bulk_writable_front_port_template_request.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/model_patched_bulk_writable_git_repository_request.go b/model_patched_bulk_writable_git_repository_request.go index 66bd5db0..102b5940 100644 --- a/model_patched_bulk_writable_git_repository_request.go +++ b/model_patched_bulk_writable_git_repository_request.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. @@ -34,6 +34,7 @@ type PatchedBulkWritableGitRepositoryRequest struct { SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -379,6 +380,38 @@ func (o *PatchedBulkWritableGitRepositoryRequest) SetRelationships(v map[string] o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableGitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableGitRepositoryRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableGitRepositoryRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableGitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedBulkWritableGitRepositoryRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -417,6 +450,9 @@ func (o PatchedBulkWritableGitRepositoryRequest) ToMap() (map[string]interface{} if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -470,6 +506,7 @@ func (o *PatchedBulkWritableGitRepositoryRequest) UnmarshalJSON(data []byte) (er delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_bulk_writable_graph_ql_query_request.go b/model_patched_bulk_writable_graph_ql_query_request.go index 778b69a7..7c7d17e9 100644 --- a/model_patched_bulk_writable_graph_ql_query_request.go +++ b/model_patched_bulk_writable_graph_ql_query_request.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. @@ -21,6 +21,8 @@ var _ MappedNullable = &PatchedBulkWritableGraphQLQueryRequest{} // PatchedBulkWritableGraphQLQueryRequest 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) type PatchedBulkWritableGraphQLQueryRequest struct { Id string `json:"id"` + OwnerContentType NullableString `json:"owner_content_type,omitempty"` + OwnerObjectId NullableString `json:"owner_object_id,omitempty"` Name *string `json:"name,omitempty"` Query *string `json:"query,omitempty"` AdditionalProperties map[string]interface{} @@ -70,6 +72,90 @@ func (o *PatchedBulkWritableGraphQLQueryRequest) SetId(v string) { o.Id = v } +// GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerContentType() string { + if o == nil || IsNil(o.OwnerContentType.Get()) { + var ret string + return ret + } + return *o.OwnerContentType.Get() +} + +// GetOwnerContentTypeOk returns a tuple with the OwnerContentType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerContentType.Get(), o.OwnerContentType.IsSet() +} + +// HasOwnerContentType returns a boolean if a field has been set. +func (o *PatchedBulkWritableGraphQLQueryRequest) HasOwnerContentType() bool { + if o != nil && o.OwnerContentType.IsSet() { + return true + } + + return false +} + +// SetOwnerContentType gets a reference to the given NullableString and assigns it to the OwnerContentType field. +func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerContentType(v string) { + o.OwnerContentType.Set(&v) +} +// SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil +func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerContentTypeNil() { + o.OwnerContentType.Set(nil) +} + +// UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil +func (o *PatchedBulkWritableGraphQLQueryRequest) UnsetOwnerContentType() { + o.OwnerContentType.Unset() +} + +// GetOwnerObjectId returns the OwnerObjectId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerObjectId() string { + if o == nil || IsNil(o.OwnerObjectId.Get()) { + var ret string + return ret + } + return *o.OwnerObjectId.Get() +} + +// GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerObjectIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerObjectId.Get(), o.OwnerObjectId.IsSet() +} + +// HasOwnerObjectId returns a boolean if a field has been set. +func (o *PatchedBulkWritableGraphQLQueryRequest) HasOwnerObjectId() bool { + if o != nil && o.OwnerObjectId.IsSet() { + return true + } + + return false +} + +// SetOwnerObjectId gets a reference to the given NullableString and assigns it to the OwnerObjectId field. +func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerObjectId(v string) { + o.OwnerObjectId.Set(&v) +} +// SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil +func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerObjectIdNil() { + o.OwnerObjectId.Set(nil) +} + +// UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil +func (o *PatchedBulkWritableGraphQLQueryRequest) UnsetOwnerObjectId() { + o.OwnerObjectId.Unset() +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritableGraphQLQueryRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -145,6 +231,12 @@ func (o PatchedBulkWritableGraphQLQueryRequest) MarshalJSON() ([]byte, error) { func (o PatchedBulkWritableGraphQLQueryRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if o.OwnerContentType.IsSet() { + toSerialize["owner_content_type"] = o.OwnerContentType.Get() + } + if o.OwnerObjectId.IsSet() { + toSerialize["owner_object_id"] = o.OwnerObjectId.Get() + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -195,6 +287,8 @@ func (o *PatchedBulkWritableGraphQLQueryRequest) UnmarshalJSON(data []byte) (err if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "owner_content_type") + delete(additionalProperties, "owner_object_id") delete(additionalProperties, "name") delete(additionalProperties, "query") o.AdditionalProperties = additionalProperties diff --git a/model_patched_bulk_writable_group_request.go b/model_patched_bulk_writable_group_request.go index adf88783..bb135a32 100644 --- a/model_patched_bulk_writable_group_request.go +++ b/model_patched_bulk_writable_group_request.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/model_patched_bulk_writable_image_attachment_request.go b/model_patched_bulk_writable_image_attachment_request.go index 0918f9ea..d1fbef50 100644 --- a/model_patched_bulk_writable_image_attachment_request.go +++ b/model_patched_bulk_writable_image_attachment_request.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/model_patched_bulk_writable_interface_redundancy_group_association_request.go b/model_patched_bulk_writable_interface_redundancy_group_association_request.go index e2904316..f500d467 100644 --- a/model_patched_bulk_writable_interface_redundancy_group_association_request.go +++ b/model_patched_bulk_writable_interface_redundancy_group_association_request.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/model_patched_bulk_writable_interface_redundancy_group_request.go b/model_patched_bulk_writable_interface_redundancy_group_request.go index e90141a5..2a60bcbe 100644 --- a/model_patched_bulk_writable_interface_redundancy_group_request.go +++ b/model_patched_bulk_writable_interface_redundancy_group_request.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/model_patched_bulk_writable_interface_request.go b/model_patched_bulk_writable_interface_request.go index c994d116..a7a62cd4 100644 --- a/model_patched_bulk_writable_interface_request.go +++ b/model_patched_bulk_writable_interface_request.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. @@ -22,7 +22,7 @@ var _ MappedNullable = &PatchedBulkWritableInterfaceRequest{} type PatchedBulkWritableInterfaceRequest struct { Id string `json:"id"` Type *InterfaceTypeChoices `json:"type,omitempty"` - Mode *ModeEnum `json:"mode,omitempty"` + Mode *InterfaceModeChoices `json:"mode,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Name *string `json:"name,omitempty"` // Physical label @@ -125,9 +125,9 @@ func (o *PatchedBulkWritableInterfaceRequest) SetType(v InterfaceTypeChoices) { } // GetMode returns the Mode field value if set, zero value otherwise. -func (o *PatchedBulkWritableInterfaceRequest) GetMode() ModeEnum { +func (o *PatchedBulkWritableInterfaceRequest) GetMode() InterfaceModeChoices { if o == nil || IsNil(o.Mode) { - var ret ModeEnum + var ret InterfaceModeChoices return ret } return *o.Mode @@ -135,7 +135,7 @@ func (o *PatchedBulkWritableInterfaceRequest) GetMode() ModeEnum { // GetModeOk returns a tuple with the Mode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedBulkWritableInterfaceRequest) GetModeOk() (*ModeEnum, bool) { +func (o *PatchedBulkWritableInterfaceRequest) GetModeOk() (*InterfaceModeChoices, bool) { if o == nil || IsNil(o.Mode) { return nil, false } @@ -151,8 +151,8 @@ func (o *PatchedBulkWritableInterfaceRequest) HasMode() bool { return false } -// SetMode gets a reference to the given ModeEnum and assigns it to the Mode field. -func (o *PatchedBulkWritableInterfaceRequest) SetMode(v ModeEnum) { +// SetMode gets a reference to the given InterfaceModeChoices and assigns it to the Mode field. +func (o *PatchedBulkWritableInterfaceRequest) SetMode(v InterfaceModeChoices) { o.Mode = &v } diff --git a/model_patched_bulk_writable_interface_template_request.go b/model_patched_bulk_writable_interface_template_request.go index 4f2bfb44..69e59446 100644 --- a/model_patched_bulk_writable_interface_template_request.go +++ b/model_patched_bulk_writable_interface_template_request.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/model_patched_bulk_writable_interface_vdc_assignment_request.go b/model_patched_bulk_writable_interface_vdc_assignment_request.go new file mode 100644 index 00000000..59a341a6 --- /dev/null +++ b/model_patched_bulk_writable_interface_vdc_assignment_request.go @@ -0,0 +1,242 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableInterfaceVDCAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableInterfaceVDCAssignmentRequest{} + +// PatchedBulkWritableInterfaceVDCAssignmentRequest 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) +type PatchedBulkWritableInterfaceVDCAssignmentRequest struct { + Id string `json:"id"` + VirtualDeviceContext *BulkWritableCableRequestStatus `json:"virtual_device_context,omitempty"` + Interface *BulkWritableCableRequestStatus `json:"interface,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableInterfaceVDCAssignmentRequest 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 +func NewPatchedBulkWritableInterfaceVDCAssignmentRequest(id string) *PatchedBulkWritableInterfaceVDCAssignmentRequest { + this := PatchedBulkWritableInterfaceVDCAssignmentRequest{} + this.Id = id + return &this +} + +// 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 +func NewPatchedBulkWritableInterfaceVDCAssignmentRequestWithDefaults() *PatchedBulkWritableInterfaceVDCAssignmentRequest { + this := PatchedBulkWritableInterfaceVDCAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetVirtualDeviceContext returns the VirtualDeviceContext field value if set, zero value otherwise. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.VirtualDeviceContext) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.VirtualDeviceContext +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.VirtualDeviceContext) { + return nil, false + } + return o.VirtualDeviceContext, true +} + +// HasVirtualDeviceContext returns a boolean if a field has been set. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) HasVirtualDeviceContext() bool { + if o != nil && !IsNil(o.VirtualDeviceContext) { + return true + } + + return false +} + +// SetVirtualDeviceContext gets a reference to the given BulkWritableCableRequestStatus and assigns it to the VirtualDeviceContext field. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus) { + o.VirtualDeviceContext = &v +} + +// GetInterface returns the Interface field value if set, zero value otherwise. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Interface) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Interface +} + +// GetInterfaceOk returns a tuple with the Interface field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Interface) { + return nil, false + } + return o.Interface, true +} + +// HasInterface returns a boolean if a field has been set. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) HasInterface() bool { + if o != nil && !IsNil(o.Interface) { + return true + } + + return false +} + +// SetInterface gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Interface field. +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus) { + o.Interface = &v +} + +func (o PatchedBulkWritableInterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableInterfaceVDCAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.VirtualDeviceContext) { + toSerialize["virtual_device_context"] = o.VirtualDeviceContext + } + if !IsNil(o.Interface) { + toSerialize["interface"] = o.Interface + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableInterfaceVDCAssignmentRequest := _PatchedBulkWritableInterfaceVDCAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableInterfaceVDCAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableInterfaceVDCAssignmentRequest(varPatchedBulkWritableInterfaceVDCAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "virtual_device_context") + delete(additionalProperties, "interface") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableInterfaceVDCAssignmentRequest struct { + value *PatchedBulkWritableInterfaceVDCAssignmentRequest + isSet bool +} + +func (v NullablePatchedBulkWritableInterfaceVDCAssignmentRequest) Get() *PatchedBulkWritableInterfaceVDCAssignmentRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableInterfaceVDCAssignmentRequest) Set(val *PatchedBulkWritableInterfaceVDCAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableInterfaceVDCAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableInterfaceVDCAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableInterfaceVDCAssignmentRequest(val *PatchedBulkWritableInterfaceVDCAssignmentRequest) *NullablePatchedBulkWritableInterfaceVDCAssignmentRequest { + return &NullablePatchedBulkWritableInterfaceVDCAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableInterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableInterfaceVDCAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_inventory_item_request.go b/model_patched_bulk_writable_inventory_item_request.go index 9051de9b..c9fa6833 100644 --- a/model_patched_bulk_writable_inventory_item_request.go +++ b/model_patched_bulk_writable_inventory_item_request.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/model_patched_bulk_writable_ip_address_request.go b/model_patched_bulk_writable_ip_address_request.go index b39cbb10..d33db1f6 100644 --- a/model_patched_bulk_writable_ip_address_request.go +++ b/model_patched_bulk_writable_ip_address_request.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/model_patched_bulk_writable_ip_address_to_interface_request.go b/model_patched_bulk_writable_ip_address_to_interface_request.go index 92230745..1f2b022a 100644 --- a/model_patched_bulk_writable_ip_address_to_interface_request.go +++ b/model_patched_bulk_writable_ip_address_to_interface_request.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/model_patched_bulk_writable_job_button_request.go b/model_patched_bulk_writable_job_button_request.go index cffab788..c0d32eb5 100644 --- a/model_patched_bulk_writable_job_button_request.go +++ b/model_patched_bulk_writable_job_button_request.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/model_patched_bulk_writable_job_hook_request.go b/model_patched_bulk_writable_job_hook_request.go index d86de76d..0112f1b5 100644 --- a/model_patched_bulk_writable_job_hook_request.go +++ b/model_patched_bulk_writable_job_hook_request.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/model_patched_bulk_writable_job_queue_assignment_request.go b/model_patched_bulk_writable_job_queue_assignment_request.go new file mode 100644 index 00000000..cab3223f --- /dev/null +++ b/model_patched_bulk_writable_job_queue_assignment_request.go @@ -0,0 +1,242 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableJobQueueAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableJobQueueAssignmentRequest{} + +// PatchedBulkWritableJobQueueAssignmentRequest 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) +type PatchedBulkWritableJobQueueAssignmentRequest struct { + Id string `json:"id"` + Job *BulkWritableCableRequestStatus `json:"job,omitempty"` + JobQueue *BulkWritableCableRequestStatus `json:"job_queue,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableJobQueueAssignmentRequest 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 +func NewPatchedBulkWritableJobQueueAssignmentRequest(id string) *PatchedBulkWritableJobQueueAssignmentRequest { + this := PatchedBulkWritableJobQueueAssignmentRequest{} + this.Id = id + return &this +} + +// 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 +func NewPatchedBulkWritableJobQueueAssignmentRequestWithDefaults() *PatchedBulkWritableJobQueueAssignmentRequest { + this := PatchedBulkWritableJobQueueAssignmentRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableJobQueueAssignmentRequest) SetId(v string) { + o.Id = v +} + +// GetJob returns the Job field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Job) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Job +} + +// GetJobOk returns a tuple with the Job field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJobOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Job) { + return nil, false + } + return o.Job, true +} + +// HasJob returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) HasJob() bool { + if o != nil && !IsNil(o.Job) { + return true + } + + return false +} + +// SetJob gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Job field. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus) { + o.Job = &v +} + +// GetJobQueue returns the JobQueue field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.JobQueue) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.JobQueue +} + +// GetJobQueueOk returns a tuple with the JobQueue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.JobQueue) { + return nil, false + } + return o.JobQueue, true +} + +// HasJobQueue returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) HasJobQueue() bool { + if o != nil && !IsNil(o.JobQueue) { + return true + } + + return false +} + +// SetJobQueue gets a reference to the given BulkWritableCableRequestStatus and assigns it to the JobQueue field. +func (o *PatchedBulkWritableJobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus) { + o.JobQueue = &v +} + +func (o PatchedBulkWritableJobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableJobQueueAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.Job) { + toSerialize["job"] = o.Job + } + if !IsNil(o.JobQueue) { + toSerialize["job_queue"] = o.JobQueue + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableJobQueueAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableJobQueueAssignmentRequest := _PatchedBulkWritableJobQueueAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableJobQueueAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableJobQueueAssignmentRequest(varPatchedBulkWritableJobQueueAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "job") + delete(additionalProperties, "job_queue") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableJobQueueAssignmentRequest struct { + value *PatchedBulkWritableJobQueueAssignmentRequest + isSet bool +} + +func (v NullablePatchedBulkWritableJobQueueAssignmentRequest) Get() *PatchedBulkWritableJobQueueAssignmentRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableJobQueueAssignmentRequest) Set(val *PatchedBulkWritableJobQueueAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableJobQueueAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableJobQueueAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableJobQueueAssignmentRequest(val *PatchedBulkWritableJobQueueAssignmentRequest) *NullablePatchedBulkWritableJobQueueAssignmentRequest { + return &NullablePatchedBulkWritableJobQueueAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableJobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableJobQueueAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_job_queue_request.go b/model_patched_bulk_writable_job_queue_request.go new file mode 100644 index 00000000..ca3eb458 --- /dev/null +++ b/model_patched_bulk_writable_job_queue_request.go @@ -0,0 +1,437 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableJobQueueRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableJobQueueRequest{} + +// PatchedBulkWritableJobQueueRequest 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. +type PatchedBulkWritableJobQueueRequest struct { + Id string `json:"id"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + QueueType *QueueTypeEnum `json:"queue_type,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableJobQueueRequest 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 +func NewPatchedBulkWritableJobQueueRequest(id string) *PatchedBulkWritableJobQueueRequest { + this := PatchedBulkWritableJobQueueRequest{} + this.Id = id + return &this +} + +// 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 +func NewPatchedBulkWritableJobQueueRequestWithDefaults() *PatchedBulkWritableJobQueueRequest { + this := PatchedBulkWritableJobQueueRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableJobQueueRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableJobQueueRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedBulkWritableJobQueueRequest) SetName(v string) { + o.Name = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedBulkWritableJobQueueRequest) SetDescription(v string) { + o.Description = &v +} + +// GetQueueType returns the QueueType field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueRequest) GetQueueType() QueueTypeEnum { + if o == nil || IsNil(o.QueueType) { + var ret QueueTypeEnum + return ret + } + return *o.QueueType +} + +// GetQueueTypeOk returns a tuple with the QueueType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueRequest) GetQueueTypeOk() (*QueueTypeEnum, bool) { + if o == nil || IsNil(o.QueueType) { + return nil, false + } + return o.QueueType, true +} + +// HasQueueType returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueRequest) HasQueueType() bool { + if o != nil && !IsNil(o.QueueType) { + return true + } + + return false +} + +// SetQueueType gets a reference to the given QueueTypeEnum and assigns it to the QueueType field. +func (o *PatchedBulkWritableJobQueueRequest) SetQueueType(v QueueTypeEnum) { + o.QueueType = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableJobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableJobQueueRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedBulkWritableJobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedBulkWritableJobQueueRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedBulkWritableJobQueueRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableJobQueueRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedBulkWritableJobQueueRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobQueueRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobQueueRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedBulkWritableJobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o PatchedBulkWritableJobQueueRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableJobQueueRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.QueueType) { + toSerialize["queue_type"] = o.QueueType + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableJobQueueRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableJobQueueRequest := _PatchedBulkWritableJobQueueRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableJobQueueRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableJobQueueRequest(varPatchedBulkWritableJobQueueRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "queue_type") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableJobQueueRequest struct { + value *PatchedBulkWritableJobQueueRequest + isSet bool +} + +func (v NullablePatchedBulkWritableJobQueueRequest) Get() *PatchedBulkWritableJobQueueRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableJobQueueRequest) Set(val *PatchedBulkWritableJobQueueRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableJobQueueRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableJobQueueRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableJobQueueRequest(val *PatchedBulkWritableJobQueueRequest) *NullablePatchedBulkWritableJobQueueRequest { + return &NullablePatchedBulkWritableJobQueueRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableJobQueueRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableJobQueueRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_job_request.go b/model_patched_bulk_writable_job_request.go index 0e09287f..85ce38fc 100644 --- a/model_patched_bulk_writable_job_request.go +++ b/model_patched_bulk_writable_job_request.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. @@ -31,6 +31,8 @@ type PatchedBulkWritableJobRequest struct { Enabled *bool `json:"enabled,omitempty"` // Whether this job contains sensitive variables HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + // Whether this job should fail to run if another instance of this job is already running + IsSingleton *bool `json:"is_singleton,omitempty"` // Whether the job requires approval from another user before running ApprovalRequired *bool `json:"approval_required,omitempty"` // Whether the job defaults to not being shown in the UI @@ -41,8 +43,6 @@ type PatchedBulkWritableJobRequest struct { SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` // Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default TimeLimit *float64 `json:"time_limit,omitempty"` - // Comma separated list of task queues that this job can run on. A blank list will use the default queue - TaskQueues interface{} `json:"task_queues,omitempty"` // If set, the configured grouping will remain even if the underlying Job source code changes GroupingOverride *bool `json:"grouping_override,omitempty"` // If set, the configured name will remain even if the underlying Job source code changes @@ -62,7 +62,12 @@ type PatchedBulkWritableJobRequest struct { // If set, the configured value will remain even if the underlying Job source code changes HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` // If set, the configured value will remain even if the underlying Job source code changes - TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + JobQueuesOverride *bool `json:"job_queues_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + DefaultJobQueueOverride *bool `json:"default_job_queue_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + IsSingletonOverride *bool `json:"is_singleton_override,omitempty"` + DefaultJobQueue *BulkWritableCableRequestStatus `json:"default_job_queue,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -273,6 +278,38 @@ func (o *PatchedBulkWritableJobRequest) SetHasSensitiveVariables(v bool) { o.HasSensitiveVariables = &v } +// GetIsSingleton returns the IsSingleton field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobRequest) GetIsSingleton() bool { + if o == nil || IsNil(o.IsSingleton) { + var ret bool + return ret + } + return *o.IsSingleton +} + +// GetIsSingletonOk returns a tuple with the IsSingleton field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobRequest) GetIsSingletonOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingleton) { + return nil, false + } + return o.IsSingleton, true +} + +// HasIsSingleton returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobRequest) HasIsSingleton() bool { + if o != nil && !IsNil(o.IsSingleton) { + return true + } + + return false +} + +// SetIsSingleton gets a reference to the given bool and assigns it to the IsSingleton field. +func (o *PatchedBulkWritableJobRequest) SetIsSingleton(v bool) { + o.IsSingleton = &v +} + // GetApprovalRequired returns the ApprovalRequired field value if set, zero value otherwise. func (o *PatchedBulkWritableJobRequest) GetApprovalRequired() bool { if o == nil || IsNil(o.ApprovalRequired) { @@ -433,39 +470,6 @@ func (o *PatchedBulkWritableJobRequest) SetTimeLimit(v float64) { o.TimeLimit = &v } -// GetTaskQueues returns the TaskQueues field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedBulkWritableJobRequest) GetTaskQueues() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.TaskQueues -} - -// GetTaskQueuesOk returns a tuple with the TaskQueues field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedBulkWritableJobRequest) GetTaskQueuesOk() (*interface{}, bool) { - if o == nil || IsNil(o.TaskQueues) { - return nil, false - } - return &o.TaskQueues, true -} - -// HasTaskQueues returns a boolean if a field has been set. -func (o *PatchedBulkWritableJobRequest) HasTaskQueues() bool { - if o != nil && !IsNil(o.TaskQueues) { - return true - } - - return false -} - -// SetTaskQueues gets a reference to the given interface{} and assigns it to the TaskQueues field. -func (o *PatchedBulkWritableJobRequest) SetTaskQueues(v interface{}) { - o.TaskQueues = v -} - // GetGroupingOverride returns the GroupingOverride field value if set, zero value otherwise. func (o *PatchedBulkWritableJobRequest) GetGroupingOverride() bool { if o == nil || IsNil(o.GroupingOverride) { @@ -754,36 +758,132 @@ func (o *PatchedBulkWritableJobRequest) SetHasSensitiveVariablesOverride(v bool) o.HasSensitiveVariablesOverride = &v } -// GetTaskQueuesOverride returns the TaskQueuesOverride field value if set, zero value otherwise. -func (o *PatchedBulkWritableJobRequest) GetTaskQueuesOverride() bool { - if o == nil || IsNil(o.TaskQueuesOverride) { +// GetJobQueuesOverride returns the JobQueuesOverride field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobRequest) GetJobQueuesOverride() bool { + if o == nil || IsNil(o.JobQueuesOverride) { + var ret bool + return ret + } + return *o.JobQueuesOverride +} + +// GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobRequest) GetJobQueuesOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.JobQueuesOverride) { + return nil, false + } + return o.JobQueuesOverride, true +} + +// HasJobQueuesOverride returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobRequest) HasJobQueuesOverride() bool { + if o != nil && !IsNil(o.JobQueuesOverride) { + return true + } + + return false +} + +// SetJobQueuesOverride gets a reference to the given bool and assigns it to the JobQueuesOverride field. +func (o *PatchedBulkWritableJobRequest) SetJobQueuesOverride(v bool) { + o.JobQueuesOverride = &v +} + +// GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueueOverride() bool { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + var ret bool + return ret + } + return *o.DefaultJobQueueOverride +} + +// GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueueOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.DefaultJobQueueOverride) { + return nil, false + } + return o.DefaultJobQueueOverride, true +} + +// HasDefaultJobQueueOverride returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobRequest) HasDefaultJobQueueOverride() bool { + if o != nil && !IsNil(o.DefaultJobQueueOverride) { + return true + } + + return false +} + +// SetDefaultJobQueueOverride gets a reference to the given bool and assigns it to the DefaultJobQueueOverride field. +func (o *PatchedBulkWritableJobRequest) SetDefaultJobQueueOverride(v bool) { + o.DefaultJobQueueOverride = &v +} + +// GetIsSingletonOverride returns the IsSingletonOverride field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobRequest) GetIsSingletonOverride() bool { + if o == nil || IsNil(o.IsSingletonOverride) { var ret bool return ret } - return *o.TaskQueuesOverride + return *o.IsSingletonOverride +} + +// GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableJobRequest) GetIsSingletonOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingletonOverride) { + return nil, false + } + return o.IsSingletonOverride, true +} + +// HasIsSingletonOverride returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobRequest) HasIsSingletonOverride() bool { + if o != nil && !IsNil(o.IsSingletonOverride) { + return true + } + + return false +} + +// SetIsSingletonOverride gets a reference to the given bool and assigns it to the IsSingletonOverride field. +func (o *PatchedBulkWritableJobRequest) SetIsSingletonOverride(v bool) { + o.IsSingletonOverride = &v +} + +// GetDefaultJobQueue returns the DefaultJobQueue field value if set, zero value otherwise. +func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueue() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.DefaultJobQueue) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.DefaultJobQueue } -// GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field value if set, nil otherwise +// GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedBulkWritableJobRequest) GetTaskQueuesOverrideOk() (*bool, bool) { - if o == nil || IsNil(o.TaskQueuesOverride) { +func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.DefaultJobQueue) { return nil, false } - return o.TaskQueuesOverride, true + return o.DefaultJobQueue, true } -// HasTaskQueuesOverride returns a boolean if a field has been set. -func (o *PatchedBulkWritableJobRequest) HasTaskQueuesOverride() bool { - if o != nil && !IsNil(o.TaskQueuesOverride) { +// HasDefaultJobQueue returns a boolean if a field has been set. +func (o *PatchedBulkWritableJobRequest) HasDefaultJobQueue() bool { + if o != nil && !IsNil(o.DefaultJobQueue) { return true } return false } -// SetTaskQueuesOverride gets a reference to the given bool and assigns it to the TaskQueuesOverride field. -func (o *PatchedBulkWritableJobRequest) SetTaskQueuesOverride(v bool) { - o.TaskQueuesOverride = &v +// SetDefaultJobQueue gets a reference to the given BulkWritableCableRequestStatus and assigns it to the DefaultJobQueue field. +func (o *PatchedBulkWritableJobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus) { + o.DefaultJobQueue = &v } // GetTags returns the Tags field value if set, zero value otherwise. @@ -908,6 +1008,9 @@ func (o PatchedBulkWritableJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariables) { toSerialize["has_sensitive_variables"] = o.HasSensitiveVariables } + if !IsNil(o.IsSingleton) { + toSerialize["is_singleton"] = o.IsSingleton + } if !IsNil(o.ApprovalRequired) { toSerialize["approval_required"] = o.ApprovalRequired } @@ -923,9 +1026,6 @@ func (o PatchedBulkWritableJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.TimeLimit) { toSerialize["time_limit"] = o.TimeLimit } - if o.TaskQueues != nil { - toSerialize["task_queues"] = o.TaskQueues - } if !IsNil(o.GroupingOverride) { toSerialize["grouping_override"] = o.GroupingOverride } @@ -953,8 +1053,17 @@ func (o PatchedBulkWritableJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariablesOverride) { toSerialize["has_sensitive_variables_override"] = o.HasSensitiveVariablesOverride } - if !IsNil(o.TaskQueuesOverride) { - toSerialize["task_queues_override"] = o.TaskQueuesOverride + if !IsNil(o.JobQueuesOverride) { + toSerialize["job_queues_override"] = o.JobQueuesOverride + } + if !IsNil(o.DefaultJobQueueOverride) { + toSerialize["default_job_queue_override"] = o.DefaultJobQueueOverride + } + if !IsNil(o.IsSingletonOverride) { + toSerialize["is_singleton_override"] = o.IsSingletonOverride + } + if !IsNil(o.DefaultJobQueue) { + toSerialize["default_job_queue"] = o.DefaultJobQueue } if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags @@ -1014,12 +1123,12 @@ func (o *PatchedBulkWritableJobRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "description") delete(additionalProperties, "enabled") delete(additionalProperties, "has_sensitive_variables") + delete(additionalProperties, "is_singleton") delete(additionalProperties, "approval_required") delete(additionalProperties, "hidden") delete(additionalProperties, "dryrun_default") delete(additionalProperties, "soft_time_limit") delete(additionalProperties, "time_limit") - delete(additionalProperties, "task_queues") delete(additionalProperties, "grouping_override") delete(additionalProperties, "name_override") delete(additionalProperties, "description_override") @@ -1029,7 +1138,10 @@ func (o *PatchedBulkWritableJobRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "soft_time_limit_override") delete(additionalProperties, "time_limit_override") delete(additionalProperties, "has_sensitive_variables_override") - delete(additionalProperties, "task_queues_override") + delete(additionalProperties, "job_queues_override") + delete(additionalProperties, "default_job_queue_override") + delete(additionalProperties, "is_singleton_override") + delete(additionalProperties, "default_job_queue") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_patched_bulk_writable_location_request.go b/model_patched_bulk_writable_location_request.go index b937d078..ec5e5c10 100644 --- a/model_patched_bulk_writable_location_request.go +++ b/model_patched_bulk_writable_location_request.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/model_patched_bulk_writable_location_type_request.go b/model_patched_bulk_writable_location_type_request.go index df8bee34..dfaa39af 100644 --- a/model_patched_bulk_writable_location_type_request.go +++ b/model_patched_bulk_writable_location_type_request.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/model_patched_bulk_writable_manufacturer_request.go b/model_patched_bulk_writable_manufacturer_request.go index 6e3aec01..c1a2261c 100644 --- a/model_patched_bulk_writable_manufacturer_request.go +++ b/model_patched_bulk_writable_manufacturer_request.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/model_patched_bulk_writable_metadata_choice_request.go b/model_patched_bulk_writable_metadata_choice_request.go index 09de4770..099b8890 100644 --- a/model_patched_bulk_writable_metadata_choice_request.go +++ b/model_patched_bulk_writable_metadata_choice_request.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/model_patched_bulk_writable_metadata_type_request.go b/model_patched_bulk_writable_metadata_type_request.go index f94707d2..a74e688b 100644 --- a/model_patched_bulk_writable_metadata_type_request.go +++ b/model_patched_bulk_writable_metadata_type_request.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 PatchedBulkWritableMetadataTypeRequest struct { DataType *DataTypeEnum `json:"data_type,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -267,6 +268,38 @@ func (o *PatchedBulkWritableMetadataTypeRequest) SetRelationships(v map[string]B o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableMetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableMetadataTypeRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableMetadataTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableMetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedBulkWritableMetadataTypeRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -296,6 +329,9 @@ func (o PatchedBulkWritableMetadataTypeRequest) ToMap() (map[string]interface{}, if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -346,6 +382,7 @@ func (o *PatchedBulkWritableMetadataTypeRequest) UnmarshalJSON(data []byte) (err delete(additionalProperties, "data_type") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_bulk_writable_module_bay_request.go b/model_patched_bulk_writable_module_bay_request.go index 5df0e64b..b31f3bb1 100644 --- a/model_patched_bulk_writable_module_bay_request.go +++ b/model_patched_bulk_writable_module_bay_request.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. @@ -21,6 +21,8 @@ var _ MappedNullable = &PatchedBulkWritableModuleBayRequest{} // PatchedBulkWritableModuleBayRequest 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. type PatchedBulkWritableModuleBayRequest struct { Id string `json:"id"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` Name *string `json:"name,omitempty"` // The position of the module bay within the parent device/module Position *string `json:"position,omitempty"` @@ -29,6 +31,7 @@ type PatchedBulkWritableModuleBayRequest struct { Description *string `json:"description,omitempty"` ParentDevice NullableBulkWritableCircuitRequestTenant `json:"parent_device,omitempty"` ParentModule NullableBulkWritableCircuitRequestTenant `json:"parent_module,omitempty"` + ModuleFamily NullableBulkWritableModuleBayRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -79,6 +82,38 @@ func (o *PatchedBulkWritableModuleBayRequest) SetId(v string) { o.Id = v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *PatchedBulkWritableModuleBayRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableModuleBayRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleBayRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *PatchedBulkWritableModuleBayRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritableModuleBayRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -291,6 +326,48 @@ func (o *PatchedBulkWritableModuleBayRequest) UnsetParentModule() { o.ParentModule.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableModuleBayRequest) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleBayRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *PatchedBulkWritableModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *PatchedBulkWritableModuleBayRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *PatchedBulkWritableModuleBayRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedBulkWritableModuleBayRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -398,6 +475,9 @@ func (o PatchedBulkWritableModuleBayRequest) MarshalJSON() ([]byte, error) { func (o PatchedBulkWritableModuleBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -416,6 +496,9 @@ func (o PatchedBulkWritableModuleBayRequest) ToMap() (map[string]interface{}, er if o.ParentModule.IsSet() { toSerialize["parent_module"] = o.ParentModule.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -469,12 +552,14 @@ func (o *PatchedBulkWritableModuleBayRequest) UnmarshalJSON(data []byte) (err er if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "name") delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "parent_device") delete(additionalProperties, "parent_module") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_patched_bulk_writable_module_bay_template_request.go b/model_patched_bulk_writable_module_bay_template_request.go index af4a1851..1549b0d4 100644 --- a/model_patched_bulk_writable_module_bay_template_request.go +++ b/model_patched_bulk_writable_module_bay_template_request.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,8 +27,11 @@ type PatchedBulkWritableModuleBayTemplateRequest struct { // Physical label Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` + ModuleFamily NullableBulkWritableModuleBayTemplateRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -206,6 +209,38 @@ func (o *PatchedBulkWritableModuleBayTemplateRequest) SetDescription(v string) { o.Description = &v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *PatchedBulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *PatchedBulkWritableModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedBulkWritableModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -290,6 +325,48 @@ func (o *PatchedBulkWritableModuleBayTemplateRequest) UnsetModuleType() { o.ModuleType.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayTemplateRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableModuleBayTemplateRequest) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleBayTemplateRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayTemplateRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *PatchedBulkWritableModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *PatchedBulkWritableModuleBayTemplateRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *PatchedBulkWritableModuleBayTemplateRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedBulkWritableModuleBayTemplateRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -377,12 +454,18 @@ func (o PatchedBulkWritableModuleBayTemplateRequest) ToMap() (map[string]interfa if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } if o.ModuleType.IsSet() { toSerialize["module_type"] = o.ModuleType.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -437,8 +520,10 @@ func (o *PatchedBulkWritableModuleBayTemplateRequest) UnmarshalJSON(data []byte) delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_patched_bulk_writable_module_family_request.go b/model_patched_bulk_writable_module_family_request.go new file mode 100644 index 00000000..f39b5a31 --- /dev/null +++ b/model_patched_bulk_writable_module_family_request.go @@ -0,0 +1,316 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableModuleFamilyRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableModuleFamilyRequest{} + +// PatchedBulkWritableModuleFamilyRequest API serializer for ModuleFamily objects. +type PatchedBulkWritableModuleFamilyRequest struct { + Id string `json:"id"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableModuleFamilyRequest 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 +func NewPatchedBulkWritableModuleFamilyRequest(id string) *PatchedBulkWritableModuleFamilyRequest { + this := PatchedBulkWritableModuleFamilyRequest{} + this.Id = id + return &this +} + +// 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 +func NewPatchedBulkWritableModuleFamilyRequestWithDefaults() *PatchedBulkWritableModuleFamilyRequest { + this := PatchedBulkWritableModuleFamilyRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableModuleFamilyRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableModuleFamilyRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedBulkWritableModuleFamilyRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedBulkWritableModuleFamilyRequest) SetName(v string) { + o.Name = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedBulkWritableModuleFamilyRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedBulkWritableModuleFamilyRequest) SetDescription(v string) { + o.Description = &v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedBulkWritableModuleFamilyRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedBulkWritableModuleFamilyRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedBulkWritableModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleFamilyRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedBulkWritableModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o PatchedBulkWritableModuleFamilyRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableModuleFamilyRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableModuleFamilyRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableModuleFamilyRequest := _PatchedBulkWritableModuleFamilyRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableModuleFamilyRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableModuleFamilyRequest(varPatchedBulkWritableModuleFamilyRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableModuleFamilyRequest struct { + value *PatchedBulkWritableModuleFamilyRequest + isSet bool +} + +func (v NullablePatchedBulkWritableModuleFamilyRequest) Get() *PatchedBulkWritableModuleFamilyRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableModuleFamilyRequest) Set(val *PatchedBulkWritableModuleFamilyRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableModuleFamilyRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableModuleFamilyRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableModuleFamilyRequest(val *PatchedBulkWritableModuleFamilyRequest) *NullablePatchedBulkWritableModuleFamilyRequest { + return &NullablePatchedBulkWritableModuleFamilyRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableModuleFamilyRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableModuleFamilyRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_module_request.go b/model_patched_bulk_writable_module_request.go index 79324db8..8d542cac 100644 --- a/model_patched_bulk_writable_module_request.go +++ b/model_patched_bulk_writable_module_request.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/model_patched_bulk_writable_module_type_request.go b/model_patched_bulk_writable_module_type_request.go index 331ac59a..192daf62 100644 --- a/model_patched_bulk_writable_module_type_request.go +++ b/model_patched_bulk_writable_module_type_request.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. @@ -26,6 +26,7 @@ type PatchedBulkWritableModuleTypeRequest struct { PartNumber *string `json:"part_number,omitempty"` Comments *string `json:"comments,omitempty"` Manufacturer *BulkWritableCableRequestStatus `json:"manufacturer,omitempty"` + ModuleFamily NullableBulkWritableCircuitRequestTenant `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -204,6 +205,48 @@ func (o *PatchedBulkWritableModuleTypeRequest) SetManufacturer(v BulkWritableCab o.Manufacturer = &v } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableModuleTypeRequest) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *PatchedBulkWritableModuleTypeRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ModuleFamily field. +func (o *PatchedBulkWritableModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *PatchedBulkWritableModuleTypeRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *PatchedBulkWritableModuleTypeRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedBulkWritableModuleTypeRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -323,6 +366,9 @@ func (o PatchedBulkWritableModuleTypeRequest) ToMap() (map[string]interface{}, e if !IsNil(o.Manufacturer) { toSerialize["manufacturer"] = o.Manufacturer } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -380,6 +426,7 @@ func (o *PatchedBulkWritableModuleTypeRequest) UnmarshalJSON(data []byte) (err e delete(additionalProperties, "part_number") delete(additionalProperties, "comments") delete(additionalProperties, "manufacturer") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_patched_bulk_writable_namespace_request.go b/model_patched_bulk_writable_namespace_request.go index 59b2639b..9a3fe084 100644 --- a/model_patched_bulk_writable_namespace_request.go +++ b/model_patched_bulk_writable_namespace_request.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/model_patched_bulk_writable_note_request.go b/model_patched_bulk_writable_note_request.go index c3b3c8d3..2aeb8344 100644 --- a/model_patched_bulk_writable_note_request.go +++ b/model_patched_bulk_writable_note_request.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/model_patched_bulk_writable_object_metadata_request.go b/model_patched_bulk_writable_object_metadata_request.go index 125eff9a..15abfaf3 100644 --- a/model_patched_bulk_writable_object_metadata_request.go +++ b/model_patched_bulk_writable_object_metadata_request.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/model_patched_bulk_writable_object_permission_request.go b/model_patched_bulk_writable_object_permission_request.go index 45f63302..961e0a3c 100644 --- a/model_patched_bulk_writable_object_permission_request.go +++ b/model_patched_bulk_writable_object_permission_request.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/model_patched_bulk_writable_platform_request.go b/model_patched_bulk_writable_platform_request.go index 4533a1d9..91304697 100644 --- a/model_patched_bulk_writable_platform_request.go +++ b/model_patched_bulk_writable_platform_request.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/model_patched_bulk_writable_power_feed_request.go b/model_patched_bulk_writable_power_feed_request.go index cb927d00..b6e90d42 100644 --- a/model_patched_bulk_writable_power_feed_request.go +++ b/model_patched_bulk_writable_power_feed_request.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. @@ -22,16 +22,21 @@ var _ MappedNullable = &PatchedBulkWritablePowerFeedRequest{} type PatchedBulkWritablePowerFeedRequest struct { Id string `json:"id"` Type *PowerFeedTypeChoices `json:"type,omitempty"` + PowerPath *PowerPathEnum `json:"power_path,omitempty"` Supply *SupplyEnum `json:"supply,omitempty"` Phase *PhaseEnum `json:"phase,omitempty"` + BreakerPoleCount NullableBreakerPoleCountEnum `json:"breaker_pole_count,omitempty"` Name *string `json:"name,omitempty"` Voltage *int32 `json:"voltage,omitempty"` Amperage *int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` + // Starting circuit breaker position in panel + BreakerPosition NullableInt32 `json:"breaker_position,omitempty"` Comments *string `json:"comments,omitempty"` Cable NullableBulkWritableCircuitRequestTenant `json:"cable,omitempty"` - PowerPanel *BulkWritableCableRequestStatus `json:"power_panel,omitempty"` + PowerPanel *BulkWritablePowerFeedRequestPowerPanel `json:"power_panel,omitempty"` + DestinationPanel NullableBulkWritablePowerFeedRequestDestinationPanel `json:"destination_panel,omitempty"` Rack NullableBulkWritableCircuitRequestTenant `json:"rack,omitempty"` Status *BulkWritableCableRequestStatus `json:"status,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -49,11 +54,11 @@ type _PatchedBulkWritablePowerFeedRequest PatchedBulkWritablePowerFeedRequest func NewPatchedBulkWritablePowerFeedRequest(id string) *PatchedBulkWritablePowerFeedRequest { this := PatchedBulkWritablePowerFeedRequest{} this.Id = id - var type_ PowerFeedTypeChoices = "{\"value\":\"primary\",\"label\":\"Primary\"}" + var type_ PowerFeedTypeChoices = POWERFEEDTYPECHOICES_PRIMARY this.Type = &type_ - var supply SupplyEnum = "{\"value\":\"ac\",\"label\":\"AC\"}" + var supply SupplyEnum = SUPPLYENUM_AC this.Supply = &supply - var phase PhaseEnum = "{\"value\":\"single-phase\",\"label\":\"Single phase\"}" + var phase PhaseEnum = PHASEENUM_SINGLE_PHASE this.Phase = &phase return &this } @@ -63,11 +68,11 @@ func NewPatchedBulkWritablePowerFeedRequest(id string) *PatchedBulkWritablePower // but it doesn't guarantee that properties required by API are set func NewPatchedBulkWritablePowerFeedRequestWithDefaults() *PatchedBulkWritablePowerFeedRequest { this := PatchedBulkWritablePowerFeedRequest{} - var type_ PowerFeedTypeChoices = "{\"value\":\"primary\",\"label\":\"Primary\"}" + var type_ PowerFeedTypeChoices = POWERFEEDTYPECHOICES_PRIMARY this.Type = &type_ - var supply SupplyEnum = "{\"value\":\"ac\",\"label\":\"AC\"}" + var supply SupplyEnum = SUPPLYENUM_AC this.Supply = &supply - var phase PhaseEnum = "{\"value\":\"single-phase\",\"label\":\"Single phase\"}" + var phase PhaseEnum = PHASEENUM_SINGLE_PHASE this.Phase = &phase return &this } @@ -128,6 +133,38 @@ func (o *PatchedBulkWritablePowerFeedRequest) SetType(v PowerFeedTypeChoices) { o.Type = &v } +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPath() PowerPathEnum { + if o == nil || IsNil(o.PowerPath) { + var ret PowerPathEnum + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPathOk() (*PowerPathEnum, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerFeedRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PowerPathEnum and assigns it to the PowerPath field. +func (o *PatchedBulkWritablePowerFeedRequest) SetPowerPath(v PowerPathEnum) { + o.PowerPath = &v +} + // GetSupply returns the Supply field value if set, zero value otherwise. func (o *PatchedBulkWritablePowerFeedRequest) GetSupply() SupplyEnum { if o == nil || IsNil(o.Supply) { @@ -192,6 +229,48 @@ func (o *PatchedBulkWritablePowerFeedRequest) SetPhase(v PhaseEnum) { o.Phase = &v } +// GetBreakerPoleCount returns the BreakerPoleCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum { + if o == nil || IsNil(o.BreakerPoleCount.Get()) { + var ret BreakerPoleCountEnum + return ret + } + return *o.BreakerPoleCount.Get() +} + +// GetBreakerPoleCountOk returns a tuple with the BreakerPoleCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritablePowerFeedRequest) GetBreakerPoleCountOk() (*BreakerPoleCountEnum, bool) { + if o == nil { + return nil, false + } + return o.BreakerPoleCount.Get(), o.BreakerPoleCount.IsSet() +} + +// HasBreakerPoleCount returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerFeedRequest) HasBreakerPoleCount() bool { + if o != nil && o.BreakerPoleCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPoleCount gets a reference to the given NullableBreakerPoleCountEnum and assigns it to the BreakerPoleCount field. +func (o *PatchedBulkWritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum) { + o.BreakerPoleCount.Set(&v) +} +// SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil +func (o *PatchedBulkWritablePowerFeedRequest) SetBreakerPoleCountNil() { + o.BreakerPoleCount.Set(nil) +} + +// UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil +func (o *PatchedBulkWritablePowerFeedRequest) UnsetBreakerPoleCount() { + o.BreakerPoleCount.Unset() +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritablePowerFeedRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -320,6 +399,48 @@ func (o *PatchedBulkWritablePowerFeedRequest) SetMaxUtilization(v int32) { o.MaxUtilization = &v } +// GetBreakerPosition returns the BreakerPosition field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritablePowerFeedRequest) GetBreakerPosition() int32 { + if o == nil || IsNil(o.BreakerPosition.Get()) { + var ret int32 + return ret + } + return *o.BreakerPosition.Get() +} + +// GetBreakerPositionOk returns a tuple with the BreakerPosition field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritablePowerFeedRequest) GetBreakerPositionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPosition.Get(), o.BreakerPosition.IsSet() +} + +// HasBreakerPosition returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerFeedRequest) HasBreakerPosition() bool { + if o != nil && o.BreakerPosition.IsSet() { + return true + } + + return false +} + +// SetBreakerPosition gets a reference to the given NullableInt32 and assigns it to the BreakerPosition field. +func (o *PatchedBulkWritablePowerFeedRequest) SetBreakerPosition(v int32) { + o.BreakerPosition.Set(&v) +} +// SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil +func (o *PatchedBulkWritablePowerFeedRequest) SetBreakerPositionNil() { + o.BreakerPosition.Set(nil) +} + +// UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil +func (o *PatchedBulkWritablePowerFeedRequest) UnsetBreakerPosition() { + o.BreakerPosition.Unset() +} + // GetComments returns the Comments field value if set, zero value otherwise. func (o *PatchedBulkWritablePowerFeedRequest) GetComments() string { if o == nil || IsNil(o.Comments) { @@ -395,9 +516,9 @@ func (o *PatchedBulkWritablePowerFeedRequest) UnsetCable() { } // GetPowerPanel returns the PowerPanel field value if set, zero value otherwise. -func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus { +func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel { if o == nil || IsNil(o.PowerPanel) { - var ret BulkWritableCableRequestStatus + var ret BulkWritablePowerFeedRequestPowerPanel return ret } return *o.PowerPanel @@ -405,7 +526,7 @@ func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableR // GetPowerPanelOk returns a tuple with the PowerPanel field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool) { +func (o *PatchedBulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritablePowerFeedRequestPowerPanel, bool) { if o == nil || IsNil(o.PowerPanel) { return nil, false } @@ -421,11 +542,53 @@ func (o *PatchedBulkWritablePowerFeedRequest) HasPowerPanel() bool { return false } -// SetPowerPanel gets a reference to the given BulkWritableCableRequestStatus and assigns it to the PowerPanel field. -func (o *PatchedBulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus) { +// SetPowerPanel gets a reference to the given BulkWritablePowerFeedRequestPowerPanel and assigns it to the PowerPanel field. +func (o *PatchedBulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel) { o.PowerPanel = &v } +// GetDestinationPanel returns the DestinationPanel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel { + if o == nil || IsNil(o.DestinationPanel.Get()) { + var ret BulkWritablePowerFeedRequestDestinationPanel + return ret + } + return *o.DestinationPanel.Get() +} + +// GetDestinationPanelOk returns a tuple with the DestinationPanel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritablePowerFeedRequest) GetDestinationPanelOk() (*BulkWritablePowerFeedRequestDestinationPanel, bool) { + if o == nil { + return nil, false + } + return o.DestinationPanel.Get(), o.DestinationPanel.IsSet() +} + +// HasDestinationPanel returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerFeedRequest) HasDestinationPanel() bool { + if o != nil && o.DestinationPanel.IsSet() { + return true + } + + return false +} + +// SetDestinationPanel gets a reference to the given NullableBulkWritablePowerFeedRequestDestinationPanel and assigns it to the DestinationPanel field. +func (o *PatchedBulkWritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel) { + o.DestinationPanel.Set(&v) +} +// SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil +func (o *PatchedBulkWritablePowerFeedRequest) SetDestinationPanelNil() { + o.DestinationPanel.Set(nil) +} + +// UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil +func (o *PatchedBulkWritablePowerFeedRequest) UnsetDestinationPanel() { + o.DestinationPanel.Unset() +} + // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedBulkWritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Rack.Get()) { @@ -610,12 +773,18 @@ func (o PatchedBulkWritablePowerFeedRequest) ToMap() (map[string]interface{}, er if !IsNil(o.Type) { toSerialize["type"] = o.Type } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } if !IsNil(o.Supply) { toSerialize["supply"] = o.Supply } if !IsNil(o.Phase) { toSerialize["phase"] = o.Phase } + if o.BreakerPoleCount.IsSet() { + toSerialize["breaker_pole_count"] = o.BreakerPoleCount.Get() + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -628,6 +797,9 @@ func (o PatchedBulkWritablePowerFeedRequest) ToMap() (map[string]interface{}, er if !IsNil(o.MaxUtilization) { toSerialize["max_utilization"] = o.MaxUtilization } + if o.BreakerPosition.IsSet() { + toSerialize["breaker_position"] = o.BreakerPosition.Get() + } if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } @@ -637,6 +809,9 @@ func (o PatchedBulkWritablePowerFeedRequest) ToMap() (map[string]interface{}, er if !IsNil(o.PowerPanel) { toSerialize["power_panel"] = o.PowerPanel } + if o.DestinationPanel.IsSet() { + toSerialize["destination_panel"] = o.DestinationPanel.Get() + } if o.Rack.IsSet() { toSerialize["rack"] = o.Rack.Get() } @@ -697,15 +872,19 @@ func (o *PatchedBulkWritablePowerFeedRequest) UnmarshalJSON(data []byte) (err er if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "type") + delete(additionalProperties, "power_path") delete(additionalProperties, "supply") delete(additionalProperties, "phase") + delete(additionalProperties, "breaker_pole_count") delete(additionalProperties, "name") delete(additionalProperties, "voltage") delete(additionalProperties, "amperage") delete(additionalProperties, "max_utilization") + delete(additionalProperties, "breaker_position") delete(additionalProperties, "comments") delete(additionalProperties, "cable") delete(additionalProperties, "power_panel") + delete(additionalProperties, "destination_panel") delete(additionalProperties, "rack") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") diff --git a/model_patched_bulk_writable_power_outlet_request.go b/model_patched_bulk_writable_power_outlet_request.go index 3bc1598a..e457789a 100644 --- a/model_patched_bulk_writable_power_outlet_request.go +++ b/model_patched_bulk_writable_power_outlet_request.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/model_patched_bulk_writable_power_outlet_template_request.go b/model_patched_bulk_writable_power_outlet_template_request.go index 44e39ae3..5ffc81e9 100644 --- a/model_patched_bulk_writable_power_outlet_template_request.go +++ b/model_patched_bulk_writable_power_outlet_template_request.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/model_patched_bulk_writable_power_panel_request.go b/model_patched_bulk_writable_power_panel_request.go index 46ff42e2..ddb06f5f 100644 --- a/model_patched_bulk_writable_power_panel_request.go +++ b/model_patched_bulk_writable_power_panel_request.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. @@ -21,7 +21,11 @@ var _ MappedNullable = &PatchedBulkWritablePowerPanelRequest{} // PatchedBulkWritablePowerPanelRequest 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. type PatchedBulkWritablePowerPanelRequest struct { Id string `json:"id"` + PanelType *PanelTypeEnum `json:"panel_type,omitempty"` + PowerPath *PowerPathEnum `json:"power_path,omitempty"` Name *string `json:"name,omitempty"` + // Total number of breaker positions in the panel (e.g., 42) + BreakerPositionCount NullableInt32 `json:"breaker_position_count,omitempty"` Location *BulkWritableCableRequestStatus `json:"location,omitempty"` RackGroup NullableBulkWritableCircuitRequestTenant `json:"rack_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -74,6 +78,70 @@ func (o *PatchedBulkWritablePowerPanelRequest) SetId(v string) { o.Id = v } +// GetPanelType returns the PanelType field value if set, zero value otherwise. +func (o *PatchedBulkWritablePowerPanelRequest) GetPanelType() PanelTypeEnum { + if o == nil || IsNil(o.PanelType) { + var ret PanelTypeEnum + return ret + } + return *o.PanelType +} + +// GetPanelTypeOk returns a tuple with the PanelType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritablePowerPanelRequest) GetPanelTypeOk() (*PanelTypeEnum, bool) { + if o == nil || IsNil(o.PanelType) { + return nil, false + } + return o.PanelType, true +} + +// HasPanelType returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerPanelRequest) HasPanelType() bool { + if o != nil && !IsNil(o.PanelType) { + return true + } + + return false +} + +// SetPanelType gets a reference to the given PanelTypeEnum and assigns it to the PanelType field. +func (o *PatchedBulkWritablePowerPanelRequest) SetPanelType(v PanelTypeEnum) { + o.PanelType = &v +} + +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *PatchedBulkWritablePowerPanelRequest) GetPowerPath() PowerPathEnum { + if o == nil || IsNil(o.PowerPath) { + var ret PowerPathEnum + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritablePowerPanelRequest) GetPowerPathOk() (*PowerPathEnum, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerPanelRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PowerPathEnum and assigns it to the PowerPath field. +func (o *PatchedBulkWritablePowerPanelRequest) SetPowerPath(v PowerPathEnum) { + o.PowerPath = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritablePowerPanelRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -106,6 +174,48 @@ func (o *PatchedBulkWritablePowerPanelRequest) SetName(v string) { o.Name = &v } +// GetBreakerPositionCount returns the BreakerPositionCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritablePowerPanelRequest) GetBreakerPositionCount() int32 { + if o == nil || IsNil(o.BreakerPositionCount.Get()) { + var ret int32 + return ret + } + return *o.BreakerPositionCount.Get() +} + +// GetBreakerPositionCountOk returns a tuple with the BreakerPositionCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritablePowerPanelRequest) GetBreakerPositionCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPositionCount.Get(), o.BreakerPositionCount.IsSet() +} + +// HasBreakerPositionCount returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerPanelRequest) HasBreakerPositionCount() bool { + if o != nil && o.BreakerPositionCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPositionCount gets a reference to the given NullableInt32 and assigns it to the BreakerPositionCount field. +func (o *PatchedBulkWritablePowerPanelRequest) SetBreakerPositionCount(v int32) { + o.BreakerPositionCount.Set(&v) +} +// SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil +func (o *PatchedBulkWritablePowerPanelRequest) SetBreakerPositionCountNil() { + o.BreakerPositionCount.Set(nil) +} + +// UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil +func (o *PatchedBulkWritablePowerPanelRequest) UnsetBreakerPositionCount() { + o.BreakerPositionCount.Unset() +} + // GetLocation returns the Location field value if set, zero value otherwise. func (o *PatchedBulkWritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus { if o == nil || IsNil(o.Location) { @@ -287,9 +397,18 @@ func (o PatchedBulkWritablePowerPanelRequest) MarshalJSON() ([]byte, error) { func (o PatchedBulkWritablePowerPanelRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if !IsNil(o.PanelType) { + toSerialize["panel_type"] = o.PanelType + } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } + if o.BreakerPositionCount.IsSet() { + toSerialize["breaker_position_count"] = o.BreakerPositionCount.Get() + } if !IsNil(o.Location) { toSerialize["location"] = o.Location } @@ -349,7 +468,10 @@ func (o *PatchedBulkWritablePowerPanelRequest) UnmarshalJSON(data []byte) (err e if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "panel_type") + delete(additionalProperties, "power_path") delete(additionalProperties, "name") + delete(additionalProperties, "breaker_position_count") delete(additionalProperties, "location") delete(additionalProperties, "rack_group") delete(additionalProperties, "custom_fields") diff --git a/model_patched_bulk_writable_power_port_request.go b/model_patched_bulk_writable_power_port_request.go index abafe4d8..ebaa5069 100644 --- a/model_patched_bulk_writable_power_port_request.go +++ b/model_patched_bulk_writable_power_port_request.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,8 @@ type PatchedBulkWritablePowerPortRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` Module NullableBulkWritableCircuitRequestTenant `json:"module,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -294,6 +296,38 @@ func (o *PatchedBulkWritablePowerPortRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *PatchedBulkWritablePowerPortRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritablePowerPortRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerPortRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *PatchedBulkWritablePowerPortRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedBulkWritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Device.Get()) { @@ -503,6 +537,9 @@ func (o PatchedBulkWritablePowerPortRequest) ToMap() (map[string]interface{}, er if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } @@ -568,6 +605,7 @@ func (o *PatchedBulkWritablePowerPortRequest) UnmarshalJSON(data []byte) (err er delete(additionalProperties, "description") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device") delete(additionalProperties, "module") delete(additionalProperties, "custom_fields") diff --git a/model_patched_bulk_writable_power_port_template_request.go b/model_patched_bulk_writable_power_port_template_request.go index 63e97bbd..002d141b 100644 --- a/model_patched_bulk_writable_power_port_template_request.go +++ b/model_patched_bulk_writable_power_port_template_request.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,8 @@ type PatchedBulkWritablePowerPortTemplateRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -293,6 +295,38 @@ func (o *PatchedBulkWritablePowerPortTemplateRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *PatchedBulkWritablePowerPortTemplateRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritablePowerPortTemplateRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *PatchedBulkWritablePowerPortTemplateRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *PatchedBulkWritablePowerPortTemplateRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedBulkWritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -470,6 +504,9 @@ func (o PatchedBulkWritablePowerPortTemplateRequest) ToMap() (map[string]interfa if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } @@ -532,6 +569,7 @@ func (o *PatchedBulkWritablePowerPortTemplateRequest) UnmarshalJSON(data []byte) delete(additionalProperties, "description") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") delete(additionalProperties, "custom_fields") diff --git a/model_patched_bulk_writable_prefix_location_assignment_request.go b/model_patched_bulk_writable_prefix_location_assignment_request.go index f7e3cde6..5ee61e49 100644 --- a/model_patched_bulk_writable_prefix_location_assignment_request.go +++ b/model_patched_bulk_writable_prefix_location_assignment_request.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/model_patched_bulk_writable_prefix_request.go b/model_patched_bulk_writable_prefix_request.go index e5c5b26c..60ad98d3 100644 --- a/model_patched_bulk_writable_prefix_request.go +++ b/model_patched_bulk_writable_prefix_request.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. @@ -50,7 +50,7 @@ type _PatchedBulkWritablePrefixRequest PatchedBulkWritablePrefixRequest func NewPatchedBulkWritablePrefixRequest(id string) *PatchedBulkWritablePrefixRequest { this := PatchedBulkWritablePrefixRequest{} this.Id = id - var type_ PrefixTypeChoices = "{\"value\":\"network\",\"label\":\"Network\"}" + var type_ PrefixTypeChoices = PREFIXTYPECHOICES_NETWORK this.Type = &type_ return &this } @@ -60,7 +60,7 @@ func NewPatchedBulkWritablePrefixRequest(id string) *PatchedBulkWritablePrefixRe // but it doesn't guarantee that properties required by API are set func NewPatchedBulkWritablePrefixRequestWithDefaults() *PatchedBulkWritablePrefixRequest { this := PatchedBulkWritablePrefixRequest{} - var type_ PrefixTypeChoices = "{\"value\":\"network\",\"label\":\"Network\"}" + var type_ PrefixTypeChoices = PREFIXTYPECHOICES_NETWORK this.Type = &type_ return &this } diff --git a/model_patched_bulk_writable_provider_network_request.go b/model_patched_bulk_writable_provider_network_request.go index 254c2e26..d59d3256 100644 --- a/model_patched_bulk_writable_provider_network_request.go +++ b/model_patched_bulk_writable_provider_network_request.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/model_patched_bulk_writable_provider_request.go b/model_patched_bulk_writable_provider_request.go index 7ad2d65e..ce30cba8 100644 --- a/model_patched_bulk_writable_provider_request.go +++ b/model_patched_bulk_writable_provider_request.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/model_patched_bulk_writable_rack_group_request.go b/model_patched_bulk_writable_rack_group_request.go index 74915d57..7c775467 100644 --- a/model_patched_bulk_writable_rack_group_request.go +++ b/model_patched_bulk_writable_rack_group_request.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/model_patched_bulk_writable_rack_request.go b/model_patched_bulk_writable_rack_request.go index 7f225d14..534ac8f6 100644 --- a/model_patched_bulk_writable_rack_request.go +++ b/model_patched_bulk_writable_rack_request.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/model_patched_bulk_writable_rack_reservation_request.go b/model_patched_bulk_writable_rack_reservation_request.go index aeb04c6a..8c7a7b8b 100644 --- a/model_patched_bulk_writable_rack_reservation_request.go +++ b/model_patched_bulk_writable_rack_reservation_request.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/model_patched_bulk_writable_radio_profile_request.go b/model_patched_bulk_writable_radio_profile_request.go new file mode 100644 index 00000000..a6116f7d --- /dev/null +++ b/model_patched_bulk_writable_radio_profile_request.go @@ -0,0 +1,642 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableRadioProfileRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableRadioProfileRequest{} + +// PatchedBulkWritableRadioProfileRequest 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. +type PatchedBulkWritableRadioProfileRequest struct { + Id string `json:"id"` + ChannelWidth []ChannelWidthEnum `json:"channel_width,omitempty"` + AllowedChannelList []int32 `json:"allowed_channel_list,omitempty"` + Name *string `json:"name,omitempty"` + Frequency *BulkWritableRadioProfileRequestFrequency `json:"frequency,omitempty"` + TxPowerMin NullableInt32 `json:"tx_power_min,omitempty"` + TxPowerMax NullableInt32 `json:"tx_power_max,omitempty"` + RegulatoryDomain *RegulatoryDomainEnum `json:"regulatory_domain,omitempty"` + RxPowerMin NullableInt32 `json:"rx_power_min,omitempty"` + SupportedDataRates []BulkWritableCableRequestStatus `json:"supported_data_rates,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableRadioProfileRequest PatchedBulkWritableRadioProfileRequest + +// NewPatchedBulkWritableRadioProfileRequest instantiates a new PatchedBulkWritableRadioProfileRequest 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 +func NewPatchedBulkWritableRadioProfileRequest(id string) *PatchedBulkWritableRadioProfileRequest { + this := PatchedBulkWritableRadioProfileRequest{} + this.Id = id + return &this +} + +// NewPatchedBulkWritableRadioProfileRequestWithDefaults instantiates a new PatchedBulkWritableRadioProfileRequest 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 +func NewPatchedBulkWritableRadioProfileRequestWithDefaults() *PatchedBulkWritableRadioProfileRequest { + this := PatchedBulkWritableRadioProfileRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableRadioProfileRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableRadioProfileRequest) SetId(v string) { + o.Id = v +} + +// GetChannelWidth returns the ChannelWidth field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetChannelWidth() []ChannelWidthEnum { + if o == nil || IsNil(o.ChannelWidth) { + var ret []ChannelWidthEnum + return ret + } + return o.ChannelWidth +} + +// GetChannelWidthOk returns a tuple with the ChannelWidth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetChannelWidthOk() ([]ChannelWidthEnum, bool) { + if o == nil || IsNil(o.ChannelWidth) { + return nil, false + } + return o.ChannelWidth, true +} + +// HasChannelWidth returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasChannelWidth() bool { + if o != nil && !IsNil(o.ChannelWidth) { + return true + } + + return false +} + +// SetChannelWidth gets a reference to the given []ChannelWidthEnum and assigns it to the ChannelWidth field. +func (o *PatchedBulkWritableRadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum) { + o.ChannelWidth = v +} + +// GetAllowedChannelList returns the AllowedChannelList field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetAllowedChannelList() []int32 { + if o == nil || IsNil(o.AllowedChannelList) { + var ret []int32 + return ret + } + return o.AllowedChannelList +} + +// GetAllowedChannelListOk returns a tuple with the AllowedChannelList field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetAllowedChannelListOk() ([]int32, bool) { + if o == nil || IsNil(o.AllowedChannelList) { + return nil, false + } + return o.AllowedChannelList, true +} + +// HasAllowedChannelList returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasAllowedChannelList() bool { + if o != nil && !IsNil(o.AllowedChannelList) { + return true + } + + return false +} + +// SetAllowedChannelList gets a reference to the given []int32 and assigns it to the AllowedChannelList field. +func (o *PatchedBulkWritableRadioProfileRequest) SetAllowedChannelList(v []int32) { + o.AllowedChannelList = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedBulkWritableRadioProfileRequest) SetName(v string) { + o.Name = &v +} + +// GetFrequency returns the Frequency field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency { + if o == nil || IsNil(o.Frequency) { + var ret BulkWritableRadioProfileRequestFrequency + return ret + } + return *o.Frequency +} + +// GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetFrequencyOk() (*BulkWritableRadioProfileRequestFrequency, bool) { + if o == nil || IsNil(o.Frequency) { + return nil, false + } + return o.Frequency, true +} + +// HasFrequency returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasFrequency() bool { + if o != nil && !IsNil(o.Frequency) { + return true + } + + return false +} + +// SetFrequency gets a reference to the given BulkWritableRadioProfileRequestFrequency and assigns it to the Frequency field. +func (o *PatchedBulkWritableRadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency) { + o.Frequency = &v +} + +// GetTxPowerMin returns the TxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableRadioProfileRequest) GetTxPowerMin() int32 { + if o == nil || IsNil(o.TxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMin.Get() +} + +// GetTxPowerMinOk returns a tuple with the TxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableRadioProfileRequest) GetTxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMin.Get(), o.TxPowerMin.IsSet() +} + +// HasTxPowerMin returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasTxPowerMin() bool { + if o != nil && o.TxPowerMin.IsSet() { + return true + } + + return false +} + +// SetTxPowerMin gets a reference to the given NullableInt32 and assigns it to the TxPowerMin field. +func (o *PatchedBulkWritableRadioProfileRequest) SetTxPowerMin(v int32) { + o.TxPowerMin.Set(&v) +} +// SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil +func (o *PatchedBulkWritableRadioProfileRequest) SetTxPowerMinNil() { + o.TxPowerMin.Set(nil) +} + +// UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +func (o *PatchedBulkWritableRadioProfileRequest) UnsetTxPowerMin() { + o.TxPowerMin.Unset() +} + +// GetTxPowerMax returns the TxPowerMax field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableRadioProfileRequest) GetTxPowerMax() int32 { + if o == nil || IsNil(o.TxPowerMax.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMax.Get() +} + +// GetTxPowerMaxOk returns a tuple with the TxPowerMax field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableRadioProfileRequest) GetTxPowerMaxOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMax.Get(), o.TxPowerMax.IsSet() +} + +// HasTxPowerMax returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasTxPowerMax() bool { + if o != nil && o.TxPowerMax.IsSet() { + return true + } + + return false +} + +// SetTxPowerMax gets a reference to the given NullableInt32 and assigns it to the TxPowerMax field. +func (o *PatchedBulkWritableRadioProfileRequest) SetTxPowerMax(v int32) { + o.TxPowerMax.Set(&v) +} +// SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil +func (o *PatchedBulkWritableRadioProfileRequest) SetTxPowerMaxNil() { + o.TxPowerMax.Set(nil) +} + +// UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +func (o *PatchedBulkWritableRadioProfileRequest) UnsetTxPowerMax() { + o.TxPowerMax.Unset() +} + +// GetRegulatoryDomain returns the RegulatoryDomain field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum { + if o == nil || IsNil(o.RegulatoryDomain) { + var ret RegulatoryDomainEnum + return ret + } + return *o.RegulatoryDomain +} + +// GetRegulatoryDomainOk returns a tuple with the RegulatoryDomain field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetRegulatoryDomainOk() (*RegulatoryDomainEnum, bool) { + if o == nil || IsNil(o.RegulatoryDomain) { + return nil, false + } + return o.RegulatoryDomain, true +} + +// HasRegulatoryDomain returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasRegulatoryDomain() bool { + if o != nil && !IsNil(o.RegulatoryDomain) { + return true + } + + return false +} + +// SetRegulatoryDomain gets a reference to the given RegulatoryDomainEnum and assigns it to the RegulatoryDomain field. +func (o *PatchedBulkWritableRadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum) { + o.RegulatoryDomain = &v +} + +// GetRxPowerMin returns the RxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableRadioProfileRequest) GetRxPowerMin() int32 { + if o == nil || IsNil(o.RxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.RxPowerMin.Get() +} + +// GetRxPowerMinOk returns a tuple with the RxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableRadioProfileRequest) GetRxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.RxPowerMin.Get(), o.RxPowerMin.IsSet() +} + +// HasRxPowerMin returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasRxPowerMin() bool { + if o != nil && o.RxPowerMin.IsSet() { + return true + } + + return false +} + +// SetRxPowerMin gets a reference to the given NullableInt32 and assigns it to the RxPowerMin field. +func (o *PatchedBulkWritableRadioProfileRequest) SetRxPowerMin(v int32) { + o.RxPowerMin.Set(&v) +} +// SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil +func (o *PatchedBulkWritableRadioProfileRequest) SetRxPowerMinNil() { + o.RxPowerMin.Set(nil) +} + +// UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +func (o *PatchedBulkWritableRadioProfileRequest) UnsetRxPowerMin() { + o.RxPowerMin.Unset() +} + +// GetSupportedDataRates returns the SupportedDataRates field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.SupportedDataRates) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.SupportedDataRates +} + +// GetSupportedDataRatesOk returns a tuple with the SupportedDataRates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetSupportedDataRatesOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.SupportedDataRates) { + return nil, false + } + return o.SupportedDataRates, true +} + +// HasSupportedDataRates returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasSupportedDataRates() bool { + if o != nil && !IsNil(o.SupportedDataRates) { + return true + } + + return false +} + +// SetSupportedDataRates gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the SupportedDataRates field. +func (o *PatchedBulkWritableRadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus) { + o.SupportedDataRates = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedBulkWritableRadioProfileRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedBulkWritableRadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableRadioProfileRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableRadioProfileRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableRadioProfileRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableRadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedBulkWritableRadioProfileRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableRadioProfileRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.ChannelWidth) { + toSerialize["channel_width"] = o.ChannelWidth + } + if !IsNil(o.AllowedChannelList) { + toSerialize["allowed_channel_list"] = o.AllowedChannelList + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Frequency) { + toSerialize["frequency"] = o.Frequency + } + if o.TxPowerMin.IsSet() { + toSerialize["tx_power_min"] = o.TxPowerMin.Get() + } + if o.TxPowerMax.IsSet() { + toSerialize["tx_power_max"] = o.TxPowerMax.Get() + } + if !IsNil(o.RegulatoryDomain) { + toSerialize["regulatory_domain"] = o.RegulatoryDomain + } + if o.RxPowerMin.IsSet() { + toSerialize["rx_power_min"] = o.RxPowerMin.Get() + } + if !IsNil(o.SupportedDataRates) { + toSerialize["supported_data_rates"] = o.SupportedDataRates + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableRadioProfileRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableRadioProfileRequest := _PatchedBulkWritableRadioProfileRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableRadioProfileRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableRadioProfileRequest(varPatchedBulkWritableRadioProfileRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "channel_width") + delete(additionalProperties, "allowed_channel_list") + delete(additionalProperties, "name") + delete(additionalProperties, "frequency") + delete(additionalProperties, "tx_power_min") + delete(additionalProperties, "tx_power_max") + delete(additionalProperties, "regulatory_domain") + delete(additionalProperties, "rx_power_min") + delete(additionalProperties, "supported_data_rates") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableRadioProfileRequest struct { + value *PatchedBulkWritableRadioProfileRequest + isSet bool +} + +func (v NullablePatchedBulkWritableRadioProfileRequest) Get() *PatchedBulkWritableRadioProfileRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableRadioProfileRequest) Set(val *PatchedBulkWritableRadioProfileRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableRadioProfileRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableRadioProfileRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableRadioProfileRequest(val *PatchedBulkWritableRadioProfileRequest) *NullablePatchedBulkWritableRadioProfileRequest { + return &NullablePatchedBulkWritableRadioProfileRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableRadioProfileRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableRadioProfileRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_rear_port_request.go b/model_patched_bulk_writable_rear_port_request.go index fd6254c4..b0900bc5 100644 --- a/model_patched_bulk_writable_rear_port_request.go +++ b/model_patched_bulk_writable_rear_port_request.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/model_patched_bulk_writable_rear_port_template_request.go b/model_patched_bulk_writable_rear_port_template_request.go index 94f31e6e..2361ce27 100644 --- a/model_patched_bulk_writable_rear_port_template_request.go +++ b/model_patched_bulk_writable_rear_port_template_request.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/model_patched_bulk_writable_relationship_association_request.go b/model_patched_bulk_writable_relationship_association_request.go index 89cc9284..8945adc8 100644 --- a/model_patched_bulk_writable_relationship_association_request.go +++ b/model_patched_bulk_writable_relationship_association_request.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/model_patched_bulk_writable_relationship_request.go b/model_patched_bulk_writable_relationship_request.go index d399b938..6fb0b019 100644 --- a/model_patched_bulk_writable_relationship_request.go +++ b/model_patched_bulk_writable_relationship_request.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/model_patched_bulk_writable_rir_request.go b/model_patched_bulk_writable_rir_request.go index 96cbe857..07ba8d30 100644 --- a/model_patched_bulk_writable_rir_request.go +++ b/model_patched_bulk_writable_rir_request.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/model_patched_bulk_writable_role_request.go b/model_patched_bulk_writable_role_request.go index cd954e20..7c464b83 100644 --- a/model_patched_bulk_writable_role_request.go +++ b/model_patched_bulk_writable_role_request.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/model_patched_bulk_writable_route_target_request.go b/model_patched_bulk_writable_route_target_request.go index 46d484b0..825f2da0 100644 --- a/model_patched_bulk_writable_route_target_request.go +++ b/model_patched_bulk_writable_route_target_request.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/model_patched_bulk_writable_saved_view_request.go b/model_patched_bulk_writable_saved_view_request.go index 33f60cfa..5a0a2e4d 100644 --- a/model_patched_bulk_writable_saved_view_request.go +++ b/model_patched_bulk_writable_saved_view_request.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/model_patched_bulk_writable_secret_request.go b/model_patched_bulk_writable_secret_request.go index 3e7fa044..163b67c2 100644 --- a/model_patched_bulk_writable_secret_request.go +++ b/model_patched_bulk_writable_secret_request.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/model_patched_bulk_writable_secrets_group_association_request.go b/model_patched_bulk_writable_secrets_group_association_request.go index 6416d930..256c204f 100644 --- a/model_patched_bulk_writable_secrets_group_association_request.go +++ b/model_patched_bulk_writable_secrets_group_association_request.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/model_patched_bulk_writable_secrets_group_request.go b/model_patched_bulk_writable_secrets_group_request.go index 40f3b1fe..87c179e7 100644 --- a/model_patched_bulk_writable_secrets_group_request.go +++ b/model_patched_bulk_writable_secrets_group_request.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/model_patched_bulk_writable_service_request.go b/model_patched_bulk_writable_service_request.go index 2981902a..f3ab3689 100644 --- a/model_patched_bulk_writable_service_request.go +++ b/model_patched_bulk_writable_service_request.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/model_patched_bulk_writable_software_image_file_request.go b/model_patched_bulk_writable_software_image_file_request.go index 392257b3..b7bf6a4f 100644 --- a/model_patched_bulk_writable_software_image_file_request.go +++ b/model_patched_bulk_writable_software_image_file_request.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 PatchedBulkWritableSoftwareImageFileRequest struct { // Is the default image for this software version DefaultImage *bool `json:"default_image,omitempty"` SoftwareVersion *BulkWritableCableRequestStatus `json:"software_version,omitempty"` + ExternalIntegration NullableBulkWritableCircuitRequestTenant `json:"external_integration,omitempty"` Status *BulkWritableCableRequestStatus `json:"status,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -315,6 +316,48 @@ func (o *PatchedBulkWritableSoftwareImageFileRequest) SetSoftwareVersion(v BulkW o.SoftwareVersion = &v } +// GetExternalIntegration returns the ExternalIntegration field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableSoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ExternalIntegration.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ExternalIntegration.Get() +} + +// GetExternalIntegrationOk returns a tuple with the ExternalIntegration field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableSoftwareImageFileRequest) GetExternalIntegrationOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ExternalIntegration.Get(), o.ExternalIntegration.IsSet() +} + +// HasExternalIntegration returns a boolean if a field has been set. +func (o *PatchedBulkWritableSoftwareImageFileRequest) HasExternalIntegration() bool { + if o != nil && o.ExternalIntegration.IsSet() { + return true + } + + return false +} + +// SetExternalIntegration gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ExternalIntegration field. +func (o *PatchedBulkWritableSoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant) { + o.ExternalIntegration.Set(&v) +} +// SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil +func (o *PatchedBulkWritableSoftwareImageFileRequest) SetExternalIntegrationNil() { + o.ExternalIntegration.Set(nil) +} + +// UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil +func (o *PatchedBulkWritableSoftwareImageFileRequest) UnsetExternalIntegration() { + o.ExternalIntegration.Unset() +} + // GetStatus returns the Status field value if set, zero value otherwise. func (o *PatchedBulkWritableSoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus { if o == nil || IsNil(o.Status) { @@ -475,6 +518,9 @@ func (o PatchedBulkWritableSoftwareImageFileRequest) ToMap() (map[string]interfa if !IsNil(o.SoftwareVersion) { toSerialize["software_version"] = o.SoftwareVersion } + if o.ExternalIntegration.IsSet() { + toSerialize["external_integration"] = o.ExternalIntegration.Get() + } if !IsNil(o.Status) { toSerialize["status"] = o.Status } @@ -538,6 +584,7 @@ func (o *PatchedBulkWritableSoftwareImageFileRequest) UnmarshalJSON(data []byte) delete(additionalProperties, "download_url") delete(additionalProperties, "default_image") delete(additionalProperties, "software_version") + delete(additionalProperties, "external_integration") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_patched_bulk_writable_software_version_request.go b/model_patched_bulk_writable_software_version_request.go index 0e7d3530..7a3bfc43 100644 --- a/model_patched_bulk_writable_software_version_request.go +++ b/model_patched_bulk_writable_software_version_request.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/model_patched_bulk_writable_static_group_association_request.go b/model_patched_bulk_writable_static_group_association_request.go index 4296ec16..8798cc5f 100644 --- a/model_patched_bulk_writable_static_group_association_request.go +++ b/model_patched_bulk_writable_static_group_association_request.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/model_patched_bulk_writable_status_request.go b/model_patched_bulk_writable_status_request.go index f619737e..c223d6d9 100644 --- a/model_patched_bulk_writable_status_request.go +++ b/model_patched_bulk_writable_status_request.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/model_patched_bulk_writable_supported_data_rate_request.go b/model_patched_bulk_writable_supported_data_rate_request.go new file mode 100644 index 00000000..d901236c --- /dev/null +++ b/model_patched_bulk_writable_supported_data_rate_request.go @@ -0,0 +1,401 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableSupportedDataRateRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableSupportedDataRateRequest{} + +// PatchedBulkWritableSupportedDataRateRequest 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. +type PatchedBulkWritableSupportedDataRateRequest struct { + Id string `json:"id"` + Standard *StandardEnum `json:"standard,omitempty"` + Rate *int32 `json:"rate,omitempty"` + // 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. + McsIndex NullableInt32 `json:"mcs_index,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableSupportedDataRateRequest PatchedBulkWritableSupportedDataRateRequest + +// NewPatchedBulkWritableSupportedDataRateRequest instantiates a new PatchedBulkWritableSupportedDataRateRequest 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 +func NewPatchedBulkWritableSupportedDataRateRequest(id string) *PatchedBulkWritableSupportedDataRateRequest { + this := PatchedBulkWritableSupportedDataRateRequest{} + this.Id = id + return &this +} + +// NewPatchedBulkWritableSupportedDataRateRequestWithDefaults instantiates a new PatchedBulkWritableSupportedDataRateRequest 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 +func NewPatchedBulkWritableSupportedDataRateRequestWithDefaults() *PatchedBulkWritableSupportedDataRateRequest { + this := PatchedBulkWritableSupportedDataRateRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableSupportedDataRateRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableSupportedDataRateRequest) SetId(v string) { + o.Id = v +} + +// GetStandard returns the Standard field value if set, zero value otherwise. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetStandard() StandardEnum { + if o == nil || IsNil(o.Standard) { + var ret StandardEnum + return ret + } + return *o.Standard +} + +// GetStandardOk returns a tuple with the Standard field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetStandardOk() (*StandardEnum, bool) { + if o == nil || IsNil(o.Standard) { + return nil, false + } + return o.Standard, true +} + +// HasStandard returns a boolean if a field has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) HasStandard() bool { + if o != nil && !IsNil(o.Standard) { + return true + } + + return false +} + +// SetStandard gets a reference to the given StandardEnum and assigns it to the Standard field. +func (o *PatchedBulkWritableSupportedDataRateRequest) SetStandard(v StandardEnum) { + o.Standard = &v +} + +// GetRate returns the Rate field value if set, zero value otherwise. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetRate() int32 { + if o == nil || IsNil(o.Rate) { + var ret int32 + return ret + } + return *o.Rate +} + +// GetRateOk returns a tuple with the Rate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetRateOk() (*int32, bool) { + if o == nil || IsNil(o.Rate) { + return nil, false + } + return o.Rate, true +} + +// HasRate returns a boolean if a field has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) HasRate() bool { + if o != nil && !IsNil(o.Rate) { + return true + } + + return false +} + +// SetRate gets a reference to the given int32 and assigns it to the Rate field. +func (o *PatchedBulkWritableSupportedDataRateRequest) SetRate(v int32) { + o.Rate = &v +} + +// GetMcsIndex returns the McsIndex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableSupportedDataRateRequest) GetMcsIndex() int32 { + if o == nil || IsNil(o.McsIndex.Get()) { + var ret int32 + return ret + } + return *o.McsIndex.Get() +} + +// GetMcsIndexOk returns a tuple with the McsIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableSupportedDataRateRequest) GetMcsIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.McsIndex.Get(), o.McsIndex.IsSet() +} + +// HasMcsIndex returns a boolean if a field has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) HasMcsIndex() bool { + if o != nil && o.McsIndex.IsSet() { + return true + } + + return false +} + +// SetMcsIndex gets a reference to the given NullableInt32 and assigns it to the McsIndex field. +func (o *PatchedBulkWritableSupportedDataRateRequest) SetMcsIndex(v int32) { + o.McsIndex.Set(&v) +} +// SetMcsIndexNil sets the value for McsIndex to be an explicit nil +func (o *PatchedBulkWritableSupportedDataRateRequest) SetMcsIndexNil() { + o.McsIndex.Set(nil) +} + +// UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +func (o *PatchedBulkWritableSupportedDataRateRequest) UnsetMcsIndex() { + o.McsIndex.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedBulkWritableSupportedDataRateRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedBulkWritableSupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableSupportedDataRateRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableSupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedBulkWritableSupportedDataRateRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableSupportedDataRateRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.Standard) { + toSerialize["standard"] = o.Standard + } + if !IsNil(o.Rate) { + toSerialize["rate"] = o.Rate + } + if o.McsIndex.IsSet() { + toSerialize["mcs_index"] = o.McsIndex.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableSupportedDataRateRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableSupportedDataRateRequest := _PatchedBulkWritableSupportedDataRateRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableSupportedDataRateRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableSupportedDataRateRequest(varPatchedBulkWritableSupportedDataRateRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "standard") + delete(additionalProperties, "rate") + delete(additionalProperties, "mcs_index") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableSupportedDataRateRequest struct { + value *PatchedBulkWritableSupportedDataRateRequest + isSet bool +} + +func (v NullablePatchedBulkWritableSupportedDataRateRequest) Get() *PatchedBulkWritableSupportedDataRateRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableSupportedDataRateRequest) Set(val *PatchedBulkWritableSupportedDataRateRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableSupportedDataRateRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableSupportedDataRateRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableSupportedDataRateRequest(val *PatchedBulkWritableSupportedDataRateRequest) *NullablePatchedBulkWritableSupportedDataRateRequest { + return &NullablePatchedBulkWritableSupportedDataRateRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableSupportedDataRateRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableSupportedDataRateRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_tag_request.go b/model_patched_bulk_writable_tag_request.go index 52edabaf..a32a8c23 100644 --- a/model_patched_bulk_writable_tag_request.go +++ b/model_patched_bulk_writable_tag_request.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/model_patched_bulk_writable_team_request.go b/model_patched_bulk_writable_team_request.go index e33a3813..a8bd47da 100644 --- a/model_patched_bulk_writable_team_request.go +++ b/model_patched_bulk_writable_team_request.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. @@ -21,14 +21,15 @@ var _ MappedNullable = &PatchedBulkWritableTeamRequest{} // PatchedBulkWritableTeamRequest 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. type PatchedBulkWritableTeamRequest struct { Id string `json:"id"` - Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` Name *string `json:"name,omitempty"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` Address *string `json:"address,omitempty"` Comments *string `json:"comments,omitempty"` + Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -84,38 +85,6 @@ func (o *PatchedBulkWritableTeamRequest) SetId(v string) { o.Id = v } -// GetContacts returns the Contacts field value if set, zero value otherwise. -func (o *PatchedBulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Contacts) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Contacts -} - -// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedBulkWritableTeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Contacts) { - return nil, false - } - return o.Contacts, true -} - -// HasContacts returns a boolean if a field has been set. -func (o *PatchedBulkWritableTeamRequest) HasContacts() bool { - if o != nil && !IsNil(o.Contacts) { - return true - } - - return false -} - -// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. -func (o *PatchedBulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { - o.Contacts = v -} - // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedBulkWritableTeamRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -276,6 +245,38 @@ func (o *PatchedBulkWritableTeamRequest) SetComments(v string) { o.Comments = &v } +// GetContacts returns the Contacts field value if set, zero value otherwise. +func (o *PatchedBulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Contacts) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Contacts +} + +// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableTeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Contacts) { + return nil, false + } + return o.Contacts, true +} + +// HasContacts returns a boolean if a field has been set. +func (o *PatchedBulkWritableTeamRequest) HasContacts() bool { + if o != nil && !IsNil(o.Contacts) { + return true + } + + return false +} + +// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. +func (o *PatchedBulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { + o.Contacts = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedBulkWritableTeamRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -340,6 +341,38 @@ func (o *PatchedBulkWritableTeamRequest) SetRelationships(v map[string]BulkWrita o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableTeamRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableTeamRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableTeamRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableTeamRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedBulkWritableTeamRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -351,9 +384,6 @@ func (o PatchedBulkWritableTeamRequest) MarshalJSON() ([]byte, error) { func (o PatchedBulkWritableTeamRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id - if !IsNil(o.Contacts) { - toSerialize["contacts"] = o.Contacts - } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -369,12 +399,18 @@ func (o PatchedBulkWritableTeamRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } + if !IsNil(o.Contacts) { + toSerialize["contacts"] = o.Contacts + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -419,14 +455,15 @@ func (o *PatchedBulkWritableTeamRequest) UnmarshalJSON(data []byte) (err error) if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") - delete(additionalProperties, "contacts") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") delete(additionalProperties, "address") delete(additionalProperties, "comments") + delete(additionalProperties, "contacts") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_bulk_writable_tenant_group_request.go b/model_patched_bulk_writable_tenant_group_request.go index b900fc28..06dc0a03 100644 --- a/model_patched_bulk_writable_tenant_group_request.go +++ b/model_patched_bulk_writable_tenant_group_request.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/model_patched_bulk_writable_tenant_request.go b/model_patched_bulk_writable_tenant_request.go index ad5be8b8..6007b20b 100644 --- a/model_patched_bulk_writable_tenant_request.go +++ b/model_patched_bulk_writable_tenant_request.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/model_patched_bulk_writable_token_request.go b/model_patched_bulk_writable_token_request.go index 03fe7d01..b6a9acb8 100644 --- a/model_patched_bulk_writable_token_request.go +++ b/model_patched_bulk_writable_token_request.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/model_patched_bulk_writable_user_request.go b/model_patched_bulk_writable_user_request.go index b9d9d80c..d26d5982 100644 --- a/model_patched_bulk_writable_user_request.go +++ b/model_patched_bulk_writable_user_request.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/model_patched_bulk_writable_user_saved_view_association_request.go b/model_patched_bulk_writable_user_saved_view_association_request.go index ddc68dc7..3d4059f9 100644 --- a/model_patched_bulk_writable_user_saved_view_association_request.go +++ b/model_patched_bulk_writable_user_saved_view_association_request.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/model_patched_bulk_writable_virtual_chassis_request.go b/model_patched_bulk_writable_virtual_chassis_request.go index 4249399a..f697aa51 100644 --- a/model_patched_bulk_writable_virtual_chassis_request.go +++ b/model_patched_bulk_writable_virtual_chassis_request.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/model_patched_bulk_writable_virtual_device_context_request.go b/model_patched_bulk_writable_virtual_device_context_request.go new file mode 100644 index 00000000..ff798b6d --- /dev/null +++ b/model_patched_bulk_writable_virtual_device_context_request.go @@ -0,0 +1,663 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableVirtualDeviceContextRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableVirtualDeviceContextRequest{} + +// PatchedBulkWritableVirtualDeviceContextRequest 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. +type PatchedBulkWritableVirtualDeviceContextRequest struct { + Id string `json:"id"` + Name *string `json:"name,omitempty"` + // Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) + Identifier NullableInt32 `json:"identifier,omitempty"` + Description *string `json:"description,omitempty"` + Device *BulkWritableCableRequestStatus `json:"device,omitempty"` + Status *BulkWritableCableRequestStatus `json:"status,omitempty"` + Role NullableBulkWritableCircuitRequestTenant `json:"role,omitempty"` + PrimaryIp4 NullablePrimaryIPv4 `json:"primary_ip4,omitempty"` + PrimaryIp6 NullablePrimaryIPv6 `json:"primary_ip6,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableVirtualDeviceContextRequest PatchedBulkWritableVirtualDeviceContextRequest + +// NewPatchedBulkWritableVirtualDeviceContextRequest instantiates a new PatchedBulkWritableVirtualDeviceContextRequest 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 +func NewPatchedBulkWritableVirtualDeviceContextRequest(id string) *PatchedBulkWritableVirtualDeviceContextRequest { + this := PatchedBulkWritableVirtualDeviceContextRequest{} + this.Id = id + return &this +} + +// NewPatchedBulkWritableVirtualDeviceContextRequestWithDefaults instantiates a new PatchedBulkWritableVirtualDeviceContextRequest 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 +func NewPatchedBulkWritableVirtualDeviceContextRequestWithDefaults() *PatchedBulkWritableVirtualDeviceContextRequest { + this := PatchedBulkWritableVirtualDeviceContextRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetName(v string) { + o.Name = &v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetIdentifier() int32 { + if o == nil || IsNil(o.Identifier.Get()) { + var ret int32 + return ret + } + return *o.Identifier.Get() +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetIdentifierOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Identifier.Get(), o.Identifier.IsSet() +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableInt32 and assigns it to the Identifier field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetIdentifier(v int32) { + o.Identifier.Set(&v) +} +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetDescription(v string) { + o.Description = &v +} + +// GetDevice returns the Device field value if set, zero value otherwise. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Device) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Device +} + +// GetDeviceOk returns a tuple with the Device field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetDeviceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Device) { + return nil, false + } + return o.Device, true +} + +// HasDevice returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasDevice() bool { + if o != nil && !IsNil(o.Device) { + return true + } + + return false +} + +// SetDevice gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Device field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus) { + o.Device = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Status) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetStatusOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Status field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus) { + o.Status = &v +} + +// GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Role.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Role.Get() +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetRoleOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Role.Get(), o.Role.IsSet() +} + +// HasRole returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Role field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant) { + o.Role.Set(&v) +} +// SetRoleNil sets the value for Role to be an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetRole() { + o.Role.Unset() +} + +// GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4 { + if o == nil || IsNil(o.PrimaryIp4.Get()) { + var ret PrimaryIPv4 + return ret + } + return *o.PrimaryIp4.Get() +} + +// GetPrimaryIp4Ok returns a tuple with the PrimaryIp4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*PrimaryIPv4, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp4.Get(), o.PrimaryIp4.IsSet() +} + +// HasPrimaryIp4 returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasPrimaryIp4() bool { + if o != nil && o.PrimaryIp4.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp4 gets a reference to the given NullablePrimaryIPv4 and assigns it to the PrimaryIp4 field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4) { + o.PrimaryIp4.Set(&v) +} +// SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp4Nil() { + o.PrimaryIp4.Set(nil) +} + +// UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp4() { + o.PrimaryIp4.Unset() +} + +// GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6 { + if o == nil || IsNil(o.PrimaryIp6.Get()) { + var ret PrimaryIPv6 + return ret + } + return *o.PrimaryIp6.Get() +} + +// GetPrimaryIp6Ok returns a tuple with the PrimaryIp6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*PrimaryIPv6, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp6.Get(), o.PrimaryIp6.IsSet() +} + +// HasPrimaryIp6 returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasPrimaryIp6() bool { + if o != nil && o.PrimaryIp6.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp6 gets a reference to the given NullablePrimaryIPv6 and assigns it to the PrimaryIp6 field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6) { + o.PrimaryIp6.Set(&v) +} +// SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetPrimaryIp6Nil() { + o.PrimaryIp6.Set(nil) +} + +// UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp6() { + o.PrimaryIp6.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableVirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedBulkWritableVirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableVirtualDeviceContextRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Device) { + toSerialize["device"] = o.Device + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if o.PrimaryIp4.IsSet() { + toSerialize["primary_ip4"] = o.PrimaryIp4.Get() + } + if o.PrimaryIp6.IsSet() { + toSerialize["primary_ip6"] = o.PrimaryIp6.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableVirtualDeviceContextRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableVirtualDeviceContextRequest := _PatchedBulkWritableVirtualDeviceContextRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableVirtualDeviceContextRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableVirtualDeviceContextRequest(varPatchedBulkWritableVirtualDeviceContextRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "identifier") + delete(additionalProperties, "description") + delete(additionalProperties, "device") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "primary_ip4") + delete(additionalProperties, "primary_ip6") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableVirtualDeviceContextRequest struct { + value *PatchedBulkWritableVirtualDeviceContextRequest + isSet bool +} + +func (v NullablePatchedBulkWritableVirtualDeviceContextRequest) Get() *PatchedBulkWritableVirtualDeviceContextRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableVirtualDeviceContextRequest) Set(val *PatchedBulkWritableVirtualDeviceContextRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableVirtualDeviceContextRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableVirtualDeviceContextRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableVirtualDeviceContextRequest(val *PatchedBulkWritableVirtualDeviceContextRequest) *NullablePatchedBulkWritableVirtualDeviceContextRequest { + return &NullablePatchedBulkWritableVirtualDeviceContextRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableVirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableVirtualDeviceContextRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_bulk_writable_virtual_machine_request.go b/model_patched_bulk_writable_virtual_machine_request.go index 09a24982..c5d7e964 100644 --- a/model_patched_bulk_writable_virtual_machine_request.go +++ b/model_patched_bulk_writable_virtual_machine_request.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/model_patched_bulk_writable_vlan_group_request.go b/model_patched_bulk_writable_vlan_group_request.go index f703539e..3a62bcdf 100644 --- a/model_patched_bulk_writable_vlan_group_request.go +++ b/model_patched_bulk_writable_vlan_group_request.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. @@ -23,7 +23,10 @@ type PatchedBulkWritableVLANGroupRequest struct { Id string `json:"id"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` + // Permitted VID range(s) as comma-separated list, default '1-4094' if left blank. + Range *string `json:"range,omitempty"` Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -137,6 +140,38 @@ func (o *PatchedBulkWritableVLANGroupRequest) SetDescription(v string) { o.Description = &v } +// GetRange returns the Range field value if set, zero value otherwise. +func (o *PatchedBulkWritableVLANGroupRequest) GetRange() string { + if o == nil || IsNil(o.Range) { + var ret string + return ret + } + return *o.Range +} + +// GetRangeOk returns a tuple with the Range field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVLANGroupRequest) GetRangeOk() (*string, bool) { + if o == nil || IsNil(o.Range) { + return nil, false + } + return o.Range, true +} + +// HasRange returns a boolean if a field has been set. +func (o *PatchedBulkWritableVLANGroupRequest) HasRange() bool { + if o != nil && !IsNil(o.Range) { + return true + } + + return false +} + +// SetRange gets a reference to the given string and assigns it to the Range field. +func (o *PatchedBulkWritableVLANGroupRequest) SetRange(v string) { + o.Range = &v +} + // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedBulkWritableVLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Location.Get()) { @@ -179,6 +214,38 @@ func (o *PatchedBulkWritableVLANGroupRequest) UnsetLocation() { o.Location.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableVLANGroupRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableVLANGroupRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableVLANGroupRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableVLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedBulkWritableVLANGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -260,9 +327,15 @@ func (o PatchedBulkWritableVLANGroupRequest) ToMap() (map[string]interface{}, er if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Range) { + toSerialize["range"] = o.Range + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -315,7 +388,9 @@ func (o *PatchedBulkWritableVLANGroupRequest) UnmarshalJSON(data []byte) (err er delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "range") delete(additionalProperties, "location") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_patched_bulk_writable_vlan_location_assignment_request.go b/model_patched_bulk_writable_vlan_location_assignment_request.go index 9914461b..4ed0e719 100644 --- a/model_patched_bulk_writable_vlan_location_assignment_request.go +++ b/model_patched_bulk_writable_vlan_location_assignment_request.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/model_patched_bulk_writable_vlan_request.go b/model_patched_bulk_writable_vlan_request.go index bb649230..e567cb02 100644 --- a/model_patched_bulk_writable_vlan_request.go +++ b/model_patched_bulk_writable_vlan_request.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/model_patched_bulk_writable_vm_interface_request.go b/model_patched_bulk_writable_vm_interface_request.go index 20e50244..db6afcb2 100644 --- a/model_patched_bulk_writable_vm_interface_request.go +++ b/model_patched_bulk_writable_vm_interface_request.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &PatchedBulkWritableVMInterfaceRequest{} // PatchedBulkWritableVMInterfaceRequest 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. type PatchedBulkWritableVMInterfaceRequest struct { Id string `json:"id"` - Mode *ModeEnum `json:"mode,omitempty"` + Mode *InterfaceModeChoices `json:"mode,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Enabled *bool `json:"enabled,omitempty"` Mtu NullableInt32 `json:"mtu,omitempty"` @@ -86,9 +86,9 @@ func (o *PatchedBulkWritableVMInterfaceRequest) SetId(v string) { } // GetMode returns the Mode field value if set, zero value otherwise. -func (o *PatchedBulkWritableVMInterfaceRequest) GetMode() ModeEnum { +func (o *PatchedBulkWritableVMInterfaceRequest) GetMode() InterfaceModeChoices { if o == nil || IsNil(o.Mode) { - var ret ModeEnum + var ret InterfaceModeChoices return ret } return *o.Mode @@ -96,7 +96,7 @@ func (o *PatchedBulkWritableVMInterfaceRequest) GetMode() ModeEnum { // GetModeOk returns a tuple with the Mode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedBulkWritableVMInterfaceRequest) GetModeOk() (*ModeEnum, bool) { +func (o *PatchedBulkWritableVMInterfaceRequest) GetModeOk() (*InterfaceModeChoices, bool) { if o == nil || IsNil(o.Mode) { return nil, false } @@ -112,8 +112,8 @@ func (o *PatchedBulkWritableVMInterfaceRequest) HasMode() bool { return false } -// SetMode gets a reference to the given ModeEnum and assigns it to the Mode field. -func (o *PatchedBulkWritableVMInterfaceRequest) SetMode(v ModeEnum) { +// SetMode gets a reference to the given InterfaceModeChoices and assigns it to the Mode field. +func (o *PatchedBulkWritableVMInterfaceRequest) SetMode(v InterfaceModeChoices) { o.Mode = &v } diff --git a/model_patched_bulk_writable_vrf_device_assignment_request.go b/model_patched_bulk_writable_vrf_device_assignment_request.go index 18aef025..b181c073 100644 --- a/model_patched_bulk_writable_vrf_device_assignment_request.go +++ b/model_patched_bulk_writable_vrf_device_assignment_request.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 PatchedBulkWritableVRFDeviceAssignmentRequest struct { Vrf *BulkWritableCableRequestStatus `json:"vrf,omitempty"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` VirtualMachine NullableBulkWritableCircuitRequestTenant `json:"virtual_machine,omitempty"` + VirtualDeviceContext NullableBulkWritableCircuitRequestTenant `json:"virtual_device_context,omitempty"` AdditionalProperties map[string]interface{} } @@ -264,6 +265,48 @@ func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) UnsetVirtualMachine() { o.VirtualMachine.Unset() } +// GetVirtualDeviceContext returns the VirtualDeviceContext field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.VirtualDeviceContext.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.VirtualDeviceContext.Get() +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.VirtualDeviceContext.Get(), o.VirtualDeviceContext.IsSet() +} + +// HasVirtualDeviceContext returns a boolean if a field has been set. +func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool { + if o != nil && o.VirtualDeviceContext.IsSet() { + return true + } + + return false +} + +// SetVirtualDeviceContext gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the VirtualDeviceContext field. +func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant) { + o.VirtualDeviceContext.Set(&v) +} +// SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil +func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContextNil() { + o.VirtualDeviceContext.Set(nil) +} + +// UnsetVirtualDeviceContext ensures that no value is present for VirtualDeviceContext, not even an explicit nil +func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) UnsetVirtualDeviceContext() { + o.VirtualDeviceContext.Unset() +} + func (o PatchedBulkWritableVRFDeviceAssignmentRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -290,6 +333,9 @@ func (o PatchedBulkWritableVRFDeviceAssignmentRequest) ToMap() (map[string]inter if o.VirtualMachine.IsSet() { toSerialize["virtual_machine"] = o.VirtualMachine.Get() } + if o.VirtualDeviceContext.IsSet() { + toSerialize["virtual_device_context"] = o.VirtualDeviceContext.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -339,6 +385,7 @@ func (o *PatchedBulkWritableVRFDeviceAssignmentRequest) UnmarshalJSON(data []byt delete(additionalProperties, "vrf") delete(additionalProperties, "device") delete(additionalProperties, "virtual_machine") + delete(additionalProperties, "virtual_device_context") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_bulk_writable_vrf_prefix_assignment_request.go b/model_patched_bulk_writable_vrf_prefix_assignment_request.go index bd3ff4be..c1e98157 100644 --- a/model_patched_bulk_writable_vrf_prefix_assignment_request.go +++ b/model_patched_bulk_writable_vrf_prefix_assignment_request.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/model_patched_bulk_writable_vrf_request.go b/model_patched_bulk_writable_vrf_request.go index 921a2401..67e17756 100644 --- a/model_patched_bulk_writable_vrf_request.go +++ b/model_patched_bulk_writable_vrf_request.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/model_patched_bulk_writable_webhook_request.go b/model_patched_bulk_writable_webhook_request.go index cfbd041d..59dd2f90 100644 --- a/model_patched_bulk_writable_webhook_request.go +++ b/model_patched_bulk_writable_webhook_request.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/model_patched_bulk_writable_wireless_network_request.go b/model_patched_bulk_writable_wireless_network_request.go new file mode 100644 index 00000000..48528fde --- /dev/null +++ b/model_patched_bulk_writable_wireless_network_request.go @@ -0,0 +1,632 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the PatchedBulkWritableWirelessNetworkRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedBulkWritableWirelessNetworkRequest{} + +// PatchedBulkWritableWirelessNetworkRequest 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. +type PatchedBulkWritableWirelessNetworkRequest struct { + Id string `json:"id"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Ssid *string `json:"ssid,omitempty"` + Mode *WirelessNetworkModeChoices `json:"mode,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Authentication *AuthenticationEnum `json:"authentication,omitempty"` + Hidden *bool `json:"hidden,omitempty"` + SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedBulkWritableWirelessNetworkRequest PatchedBulkWritableWirelessNetworkRequest + +// NewPatchedBulkWritableWirelessNetworkRequest instantiates a new PatchedBulkWritableWirelessNetworkRequest 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 +func NewPatchedBulkWritableWirelessNetworkRequest(id string) *PatchedBulkWritableWirelessNetworkRequest { + this := PatchedBulkWritableWirelessNetworkRequest{} + this.Id = id + return &this +} + +// NewPatchedBulkWritableWirelessNetworkRequestWithDefaults instantiates a new PatchedBulkWritableWirelessNetworkRequest 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 +func NewPatchedBulkWritableWirelessNetworkRequestWithDefaults() *PatchedBulkWritableWirelessNetworkRequest { + this := PatchedBulkWritableWirelessNetworkRequest{} + return &this +} + +// GetId returns the Id field value +func (o *PatchedBulkWritableWirelessNetworkRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PatchedBulkWritableWirelessNetworkRequest) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetName(v string) { + o.Name = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetDescription(v string) { + o.Description = &v +} + +// GetSsid returns the Ssid field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetSsid() string { + if o == nil || IsNil(o.Ssid) { + var ret string + return ret + } + return *o.Ssid +} + +// GetSsidOk returns a tuple with the Ssid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetSsidOk() (*string, bool) { + if o == nil || IsNil(o.Ssid) { + return nil, false + } + return o.Ssid, true +} + +// HasSsid returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasSsid() bool { + if o != nil && !IsNil(o.Ssid) { + return true + } + + return false +} + +// SetSsid gets a reference to the given string and assigns it to the Ssid field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetSsid(v string) { + o.Ssid = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetMode() WirelessNetworkModeChoices { + if o == nil || IsNil(o.Mode) { + var ret WirelessNetworkModeChoices + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetModeOk() (*WirelessNetworkModeChoices, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given WirelessNetworkModeChoices and assigns it to the Mode field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices) { + o.Mode = &v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetEnabled() bool { + if o == nil || IsNil(o.Enabled) { + var ret bool + return ret + } + return *o.Enabled +} + +// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.Enabled) { + return nil, false + } + return o.Enabled, true +} + +// HasEnabled returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasEnabled() bool { + if o != nil && !IsNil(o.Enabled) { + return true + } + + return false +} + +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetEnabled(v bool) { + o.Enabled = &v +} + +// GetAuthentication returns the Authentication field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetAuthentication() AuthenticationEnum { + if o == nil || IsNil(o.Authentication) { + var ret AuthenticationEnum + return ret + } + return *o.Authentication +} + +// GetAuthenticationOk returns a tuple with the Authentication field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetAuthenticationOk() (*AuthenticationEnum, bool) { + if o == nil || IsNil(o.Authentication) { + return nil, false + } + return o.Authentication, true +} + +// HasAuthentication returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasAuthentication() bool { + if o != nil && !IsNil(o.Authentication) { + return true + } + + return false +} + +// SetAuthentication gets a reference to the given AuthenticationEnum and assigns it to the Authentication field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetAuthentication(v AuthenticationEnum) { + o.Authentication = &v +} + +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetHidden(v bool) { + o.Hidden = &v +} + +// GetSecretsGroup returns the SecretsGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableWirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.SecretsGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.SecretsGroup.Get() +} + +// GetSecretsGroupOk returns a tuple with the SecretsGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableWirelessNetworkRequest) GetSecretsGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.SecretsGroup.Get(), o.SecretsGroup.IsSet() +} + +// HasSecretsGroup returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasSecretsGroup() bool { + if o != nil && o.SecretsGroup.IsSet() { + return true + } + + return false +} + +// SetSecretsGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the SecretsGroup field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant) { + o.SecretsGroup.Set(&v) +} +// SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil +func (o *PatchedBulkWritableWirelessNetworkRequest) SetSecretsGroupNil() { + o.SecretsGroup.Set(nil) +} + +// UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +func (o *PatchedBulkWritableWirelessNetworkRequest) UnsetSecretsGroup() { + o.SecretsGroup.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedBulkWritableWirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedBulkWritableWirelessNetworkRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedBulkWritableWirelessNetworkRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedBulkWritableWirelessNetworkRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedBulkWritableWirelessNetworkRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedBulkWritableWirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedBulkWritableWirelessNetworkRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedBulkWritableWirelessNetworkRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Ssid) { + toSerialize["ssid"] = o.Ssid + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + if !IsNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + if !IsNil(o.Authentication) { + toSerialize["authentication"] = o.Authentication + } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } + if o.SecretsGroup.IsSet() { + toSerialize["secrets_group"] = o.SecretsGroup.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedBulkWritableWirelessNetworkRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPatchedBulkWritableWirelessNetworkRequest := _PatchedBulkWritableWirelessNetworkRequest{} + + err = json.Unmarshal(data, &varPatchedBulkWritableWirelessNetworkRequest) + + if err != nil { + return err + } + + *o = PatchedBulkWritableWirelessNetworkRequest(varPatchedBulkWritableWirelessNetworkRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "ssid") + delete(additionalProperties, "mode") + delete(additionalProperties, "enabled") + delete(additionalProperties, "authentication") + delete(additionalProperties, "hidden") + delete(additionalProperties, "secrets_group") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedBulkWritableWirelessNetworkRequest struct { + value *PatchedBulkWritableWirelessNetworkRequest + isSet bool +} + +func (v NullablePatchedBulkWritableWirelessNetworkRequest) Get() *PatchedBulkWritableWirelessNetworkRequest { + return v.value +} + +func (v *NullablePatchedBulkWritableWirelessNetworkRequest) Set(val *PatchedBulkWritableWirelessNetworkRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedBulkWritableWirelessNetworkRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedBulkWritableWirelessNetworkRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedBulkWritableWirelessNetworkRequest(val *PatchedBulkWritableWirelessNetworkRequest) *NullablePatchedBulkWritableWirelessNetworkRequest { + return &NullablePatchedBulkWritableWirelessNetworkRequest{value: val, isSet: true} +} + +func (v NullablePatchedBulkWritableWirelessNetworkRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedBulkWritableWirelessNetworkRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_circuit_request.go b/model_patched_circuit_request.go index 44ca9c12..227a342f 100644 --- a/model_patched_circuit_request.go +++ b/model_patched_circuit_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCircuitRequest{} // PatchedCircuitRequest 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. type PatchedCircuitRequest struct { + Id *string `json:"id,omitempty"` Cid *string `json:"cid,omitempty"` InstallDate NullableString `json:"install_date,omitempty"` CommitRate NullableInt32 `json:"commit_rate,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedCircuitRequestWithDefaults() *PatchedCircuitRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCircuitRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCircuitRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCircuitRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCircuitRequest) SetId(v string) { + o.Id = &v +} + // GetCid returns the Cid field value if set, zero value otherwise. func (o *PatchedCircuitRequest) GetCid() string { if o == nil || IsNil(o.Cid) { @@ -477,6 +510,9 @@ func (o PatchedCircuitRequest) MarshalJSON() ([]byte, error) { func (o PatchedCircuitRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Cid) { toSerialize["cid"] = o.Cid } @@ -535,6 +571,7 @@ func (o *PatchedCircuitRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "cid") delete(additionalProperties, "install_date") delete(additionalProperties, "commit_rate") diff --git a/model_patched_circuit_termination_request.go b/model_patched_circuit_termination_request.go index 44fe35aa..11a95874 100644 --- a/model_patched_circuit_termination_request.go +++ b/model_patched_circuit_termination_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCircuitTerminationRequest{} // PatchedCircuitTerminationRequest 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. type PatchedCircuitTerminationRequest struct { + Id *string `json:"id,omitempty"` TermSide *TermSideEnum `json:"term_side,omitempty"` PortSpeed NullableInt32 `json:"port_speed,omitempty"` // Upstream speed, if different from port speed @@ -30,6 +31,7 @@ type PatchedCircuitTerminationRequest struct { Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` ProviderNetwork NullableBulkWritableCircuitRequestTenant `json:"provider_network,omitempty"` CloudNetwork NullableBulkWritableCircuitRequestTenant `json:"cloud_network,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -54,6 +56,38 @@ func NewPatchedCircuitTerminationRequestWithDefaults() *PatchedCircuitTerminatio return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCircuitTerminationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCircuitTerminationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCircuitTerminationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCircuitTerminationRequest) SetId(v string) { + o.Id = &v +} + // GetTermSide returns the TermSide field value if set, zero value otherwise. func (o *PatchedCircuitTerminationRequest) GetTermSide() TermSideEnum { if o == nil || IsNil(o.TermSide) { @@ -424,6 +458,38 @@ func (o *PatchedCircuitTerminationRequest) UnsetCloudNetwork() { o.CloudNetwork.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedCircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCircuitTerminationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedCircuitTerminationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedCircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedCircuitTerminationRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -498,6 +564,9 @@ func (o PatchedCircuitTerminationRequest) MarshalJSON() ([]byte, error) { func (o PatchedCircuitTerminationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.TermSide) { toSerialize["term_side"] = o.TermSide } @@ -528,6 +597,9 @@ func (o PatchedCircuitTerminationRequest) ToMap() (map[string]interface{}, error if o.CloudNetwork.IsSet() { toSerialize["cloud_network"] = o.CloudNetwork.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -556,6 +628,7 @@ func (o *PatchedCircuitTerminationRequest) UnmarshalJSON(data []byte) (err error additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "term_side") delete(additionalProperties, "port_speed") delete(additionalProperties, "upstream_speed") @@ -566,6 +639,7 @@ func (o *PatchedCircuitTerminationRequest) UnmarshalJSON(data []byte) (err error delete(additionalProperties, "location") delete(additionalProperties, "provider_network") delete(additionalProperties, "cloud_network") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_patched_circuit_type_request.go b/model_patched_circuit_type_request.go index 3e1f5041..721a6e4b 100644 --- a/model_patched_circuit_type_request.go +++ b/model_patched_circuit_type_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCircuitTypeRequest{} // PatchedCircuitTypeRequest 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. type PatchedCircuitTypeRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedCircuitTypeRequestWithDefaults() *PatchedCircuitTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCircuitTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCircuitTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCircuitTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCircuitTypeRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedCircuitTypeRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -183,6 +216,9 @@ func (o PatchedCircuitTypeRequest) MarshalJSON() ([]byte, error) { func (o PatchedCircuitTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -217,6 +253,7 @@ func (o *PatchedCircuitTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_patched_cloud_account_request.go b/model_patched_cloud_account_request.go index 6a8eb06a..c173d58c 100644 --- a/model_patched_cloud_account_request.go +++ b/model_patched_cloud_account_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCloudAccountRequest{} // PatchedCloudAccountRequest 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. type PatchedCloudAccountRequest struct { + Id *string `json:"id,omitempty"` // The name of this Cloud Account. Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedCloudAccountRequestWithDefaults() *PatchedCloudAccountRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCloudAccountRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCloudAccountRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCloudAccountRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCloudAccountRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedCloudAccountRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -327,6 +360,9 @@ func (o PatchedCloudAccountRequest) MarshalJSON() ([]byte, error) { func (o PatchedCloudAccountRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -373,6 +409,7 @@ func (o *PatchedCloudAccountRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "account_number") diff --git a/model_patched_cloud_network_prefix_assignment_request.go b/model_patched_cloud_network_prefix_assignment_request.go index 22f7658a..b824b813 100644 --- a/model_patched_cloud_network_prefix_assignment_request.go +++ b/model_patched_cloud_network_prefix_assignment_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCloudNetworkPrefixAssignmentRequest{} // PatchedCloudNetworkPrefixAssignmentRequest 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) type PatchedCloudNetworkPrefixAssignmentRequest struct { + Id *string `json:"id,omitempty"` CloudNetwork *BulkWritableCableRequestStatus `json:"cloud_network,omitempty"` Prefix *BulkWritableCableRequestStatus `json:"prefix,omitempty"` AdditionalProperties map[string]interface{} @@ -43,6 +44,38 @@ func NewPatchedCloudNetworkPrefixAssignmentRequestWithDefaults() *PatchedCloudNe return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCloudNetworkPrefixAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCloudNetworkPrefixAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCloudNetworkPrefixAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCloudNetworkPrefixAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetCloudNetwork returns the CloudNetwork field value if set, zero value otherwise. func (o *PatchedCloudNetworkPrefixAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus { if o == nil || IsNil(o.CloudNetwork) { @@ -117,6 +150,9 @@ func (o PatchedCloudNetworkPrefixAssignmentRequest) MarshalJSON() ([]byte, error func (o PatchedCloudNetworkPrefixAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.CloudNetwork) { toSerialize["cloud_network"] = o.CloudNetwork } @@ -145,6 +181,7 @@ func (o *PatchedCloudNetworkPrefixAssignmentRequest) UnmarshalJSON(data []byte) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "cloud_network") delete(additionalProperties, "prefix") o.AdditionalProperties = additionalProperties diff --git a/model_patched_cloud_network_request.go b/model_patched_cloud_network_request.go index 7772a55c..6a15027c 100644 --- a/model_patched_cloud_network_request.go +++ b/model_patched_cloud_network_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCloudNetworkRequest{} // PatchedCloudNetworkRequest 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. type PatchedCloudNetworkRequest struct { + Id *string `json:"id,omitempty"` ExtraConfig interface{} `json:"extra_config,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -50,6 +51,38 @@ func NewPatchedCloudNetworkRequestWithDefaults() *PatchedCloudNetworkRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCloudNetworkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCloudNetworkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCloudNetworkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCloudNetworkRequest) SetId(v string) { + o.Id = &v +} + // GetExtraConfig returns the ExtraConfig field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedCloudNetworkRequest) GetExtraConfig() interface{} { if o == nil { @@ -359,6 +392,9 @@ func (o PatchedCloudNetworkRequest) MarshalJSON() ([]byte, error) { func (o PatchedCloudNetworkRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.ExtraConfig != nil { toSerialize["extra_config"] = o.ExtraConfig } @@ -408,6 +444,7 @@ func (o *PatchedCloudNetworkRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "extra_config") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_cloud_resource_type_request.go b/model_patched_cloud_resource_type_request.go index cf4d5257..ec147f0f 100644 --- a/model_patched_cloud_resource_type_request.go +++ b/model_patched_cloud_resource_type_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCloudResourceTypeRequest{} // PatchedCloudResourceTypeRequest 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. type PatchedCloudResourceTypeRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` // Type of cloud objects Name *string `json:"name,omitempty"` @@ -50,6 +51,38 @@ func NewPatchedCloudResourceTypeRequestWithDefaults() *PatchedCloudResourceTypeR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCloudResourceTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCloudResourceTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCloudResourceTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCloudResourceTypeRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedCloudResourceTypeRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -317,6 +350,9 @@ func (o PatchedCloudResourceTypeRequest) MarshalJSON() ([]byte, error) { func (o PatchedCloudResourceTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -363,6 +399,7 @@ func (o *PatchedCloudResourceTypeRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_cloud_service_network_assignment_request.go b/model_patched_cloud_service_network_assignment_request.go index 55f0b45f..148d1cdc 100644 --- a/model_patched_cloud_service_network_assignment_request.go +++ b/model_patched_cloud_service_network_assignment_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCloudServiceNetworkAssignmentRequest{} // PatchedCloudServiceNetworkAssignmentRequest 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) type PatchedCloudServiceNetworkAssignmentRequest struct { + Id *string `json:"id,omitempty"` CloudNetwork *BulkWritableCableRequestStatus `json:"cloud_network,omitempty"` CloudService *BulkWritableCableRequestStatus `json:"cloud_service,omitempty"` AdditionalProperties map[string]interface{} @@ -43,6 +44,38 @@ func NewPatchedCloudServiceNetworkAssignmentRequestWithDefaults() *PatchedCloudS return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCloudServiceNetworkAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCloudServiceNetworkAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCloudServiceNetworkAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCloudServiceNetworkAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetCloudNetwork returns the CloudNetwork field value if set, zero value otherwise. func (o *PatchedCloudServiceNetworkAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus { if o == nil || IsNil(o.CloudNetwork) { @@ -117,6 +150,9 @@ func (o PatchedCloudServiceNetworkAssignmentRequest) MarshalJSON() ([]byte, erro func (o PatchedCloudServiceNetworkAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.CloudNetwork) { toSerialize["cloud_network"] = o.CloudNetwork } @@ -145,6 +181,7 @@ func (o *PatchedCloudServiceNetworkAssignmentRequest) UnmarshalJSON(data []byte) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "cloud_network") delete(additionalProperties, "cloud_service") o.AdditionalProperties = additionalProperties diff --git a/model_patched_cloud_service_request.go b/model_patched_cloud_service_request.go index d9e855ce..677e7787 100644 --- a/model_patched_cloud_service_request.go +++ b/model_patched_cloud_service_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCloudServiceRequest{} // PatchedCloudServiceRequest 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. type PatchedCloudServiceRequest struct { + Id *string `json:"id,omitempty"` ExtraConfig interface{} `json:"extra_config,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -49,6 +50,38 @@ func NewPatchedCloudServiceRequestWithDefaults() *PatchedCloudServiceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCloudServiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCloudServiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCloudServiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCloudServiceRequest) SetId(v string) { + o.Id = &v +} + // GetExtraConfig returns the ExtraConfig field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedCloudServiceRequest) GetExtraConfig() interface{} { if o == nil { @@ -326,6 +359,9 @@ func (o PatchedCloudServiceRequest) MarshalJSON() ([]byte, error) { func (o PatchedCloudServiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.ExtraConfig != nil { toSerialize["extra_config"] = o.ExtraConfig } @@ -372,6 +408,7 @@ func (o *PatchedCloudServiceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "extra_config") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_cluster_group_request.go b/model_patched_cluster_group_request.go index 2d4f2883..7c6615bc 100644 --- a/model_patched_cluster_group_request.go +++ b/model_patched_cluster_group_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedClusterGroupRequest{} // PatchedClusterGroupRequest 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. type PatchedClusterGroupRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedClusterGroupRequestWithDefaults() *PatchedClusterGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedClusterGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedClusterGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedClusterGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedClusterGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedClusterGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -183,6 +216,9 @@ func (o PatchedClusterGroupRequest) MarshalJSON() ([]byte, error) { func (o PatchedClusterGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -217,6 +253,7 @@ func (o *PatchedClusterGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_patched_cluster_request.go b/model_patched_cluster_request.go index 994901c7..0192ae1f 100644 --- a/model_patched_cluster_request.go +++ b/model_patched_cluster_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedClusterRequest{} // PatchedClusterRequest 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. type PatchedClusterRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Comments *string `json:"comments,omitempty"` ClusterType *BulkWritableCableRequestStatus `json:"cluster_type,omitempty"` @@ -50,6 +51,38 @@ func NewPatchedClusterRequestWithDefaults() *PatchedClusterRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedClusterRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedClusterRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedClusterRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedClusterRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedClusterRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -378,6 +411,9 @@ func (o PatchedClusterRequest) MarshalJSON() ([]byte, error) { func (o PatchedClusterRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -427,6 +463,7 @@ func (o *PatchedClusterRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "comments") delete(additionalProperties, "cluster_type") diff --git a/model_patched_cluster_type_request.go b/model_patched_cluster_type_request.go index f4bfc3b1..1e945a4c 100644 --- a/model_patched_cluster_type_request.go +++ b/model_patched_cluster_type_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedClusterTypeRequest{} // PatchedClusterTypeRequest 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. type PatchedClusterTypeRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedClusterTypeRequestWithDefaults() *PatchedClusterTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedClusterTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedClusterTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedClusterTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedClusterTypeRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedClusterTypeRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -183,6 +216,9 @@ func (o PatchedClusterTypeRequest) MarshalJSON() ([]byte, error) { func (o PatchedClusterTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -217,6 +253,7 @@ func (o *PatchedClusterTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_patched_computed_field_request.go b/model_patched_computed_field_request.go index c2ce23d5..7a13a44d 100644 --- a/model_patched_computed_field_request.go +++ b/model_patched_computed_field_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedComputedFieldRequest{} // PatchedComputedFieldRequest 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) type PatchedComputedFieldRequest struct { + Id *string `json:"id,omitempty"` ContentType *string `json:"content_type,omitempty"` // Internal field name. Please use underscores rather than dashes in this key. Key *string `json:"key,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` @@ -56,6 +57,38 @@ func NewPatchedComputedFieldRequestWithDefaults() *PatchedComputedFieldRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedComputedFieldRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedComputedFieldRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedComputedFieldRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedComputedFieldRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value if set, zero value otherwise. func (o *PatchedComputedFieldRequest) GetContentType() string { if o == nil || IsNil(o.ContentType) { @@ -354,6 +387,9 @@ func (o PatchedComputedFieldRequest) MarshalJSON() ([]byte, error) { func (o PatchedComputedFieldRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentType) { toSerialize["content_type"] = o.ContentType } @@ -403,6 +439,7 @@ func (o *PatchedComputedFieldRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "key") delete(additionalProperties, "grouping") diff --git a/model_patched_config_context_request.go b/model_patched_config_context_request.go index 0bef5a48..8d737b06 100644 --- a/model_patched_config_context_request.go +++ b/model_patched_config_context_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedConfigContextRequest{} // PatchedConfigContextRequest 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) type PatchedConfigContextRequest struct { + Id *string `json:"id,omitempty"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` Name *string `json:"name,omitempty"` OwnerObjectId NullableString `json:"owner_object_id,omitempty"` @@ -59,6 +60,38 @@ func NewPatchedConfigContextRequestWithDefaults() *PatchedConfigContextRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedConfigContextRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedConfigContextRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedConfigContextRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedConfigContextRequest) SetId(v string) { + o.Id = &v +} + // GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedConfigContextRequest) GetOwnerContentType() string { if o == nil || IsNil(o.OwnerContentType.Get()) { @@ -676,6 +709,9 @@ func (o PatchedConfigContextRequest) MarshalJSON() ([]byte, error) { func (o PatchedConfigContextRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.OwnerContentType.IsSet() { toSerialize["owner_content_type"] = o.OwnerContentType.Get() } @@ -752,6 +788,7 @@ func (o *PatchedConfigContextRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "owner_content_type") delete(additionalProperties, "name") delete(additionalProperties, "owner_object_id") diff --git a/model_patched_config_context_schema_request.go b/model_patched_config_context_schema_request.go index 1858b747..91163f39 100644 --- a/model_patched_config_context_schema_request.go +++ b/model_patched_config_context_schema_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedConfigContextSchemaRequest{} // PatchedConfigContextSchemaRequest 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. type PatchedConfigContextSchemaRequest struct { + Id *string `json:"id,omitempty"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -49,6 +50,38 @@ func NewPatchedConfigContextSchemaRequestWithDefaults() *PatchedConfigContextSch return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedConfigContextSchemaRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedConfigContextSchemaRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedConfigContextSchemaRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedConfigContextSchemaRequest) SetId(v string) { + o.Id = &v +} + // GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedConfigContextSchemaRequest) GetOwnerContentType() string { if o == nil || IsNil(o.OwnerContentType.Get()) { @@ -304,6 +337,9 @@ func (o PatchedConfigContextSchemaRequest) MarshalJSON() ([]byte, error) { func (o PatchedConfigContextSchemaRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.OwnerContentType.IsSet() { toSerialize["owner_content_type"] = o.OwnerContentType.Get() } @@ -347,6 +383,7 @@ func (o *PatchedConfigContextSchemaRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "owner_content_type") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_contact_association_request.go b/model_patched_contact_association_request.go index 632a27bd..759be90a 100644 --- a/model_patched_contact_association_request.go +++ b/model_patched_contact_association_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedContactAssociationRequest{} // PatchedContactAssociationRequest 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. type PatchedContactAssociationRequest struct { + Id *string `json:"id,omitempty"` AssociatedObjectType *string `json:"associated_object_type,omitempty"` AssociatedObjectId *string `json:"associated_object_id,omitempty"` Contact NullableBulkWritableCircuitRequestTenant `json:"contact,omitempty"` @@ -49,6 +50,38 @@ func NewPatchedContactAssociationRequestWithDefaults() *PatchedContactAssociatio return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedContactAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedContactAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedContactAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedContactAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetAssociatedObjectType returns the AssociatedObjectType field value if set, zero value otherwise. func (o *PatchedContactAssociationRequest) GetAssociatedObjectType() string { if o == nil || IsNil(o.AssociatedObjectType) { @@ -335,6 +368,9 @@ func (o PatchedContactAssociationRequest) MarshalJSON() ([]byte, error) { func (o PatchedContactAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.AssociatedObjectType) { toSerialize["associated_object_type"] = o.AssociatedObjectType } @@ -381,6 +417,7 @@ func (o *PatchedContactAssociationRequest) UnmarshalJSON(data []byte) (err error additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "associated_object_type") delete(additionalProperties, "associated_object_id") delete(additionalProperties, "contact") diff --git a/model_patched_contact_request.go b/model_patched_contact_request.go index aa9dc341..c5eb6bf0 100644 --- a/model_patched_contact_request.go +++ b/model_patched_contact_request.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. @@ -19,7 +19,7 @@ var _ MappedNullable = &PatchedContactRequest{} // PatchedContactRequest 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. type PatchedContactRequest struct { - Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` @@ -27,6 +27,8 @@ type PatchedContactRequest struct { Comments *string `json:"comments,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + Teams []BulkWritableCableRequestStatus `json:"teams,omitempty"` AdditionalProperties map[string]interface{} } @@ -57,36 +59,36 @@ func NewPatchedContactRequestWithDefaults() *PatchedContactRequest { return &this } -// GetTeams returns the Teams field value if set, zero value otherwise. -func (o *PatchedContactRequest) GetTeams() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Teams) { - var ret []BulkWritableCableRequestStatus +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedContactRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string return ret } - return o.Teams + return *o.Id } -// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Teams) { +func (o *PatchedContactRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { return nil, false } - return o.Teams, true + return o.Id, true } -// HasTeams returns a boolean if a field has been set. -func (o *PatchedContactRequest) HasTeams() bool { - if o != nil && !IsNil(o.Teams) { +// HasId returns a boolean if a field has been set. +func (o *PatchedContactRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { return true } return false } -// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. -func (o *PatchedContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { - o.Teams = v +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedContactRequest) SetId(v string) { + o.Id = &v } // GetName returns the Name field value if set, zero value otherwise. @@ -313,6 +315,70 @@ func (o *PatchedContactRequest) SetRelationships(v map[string]BulkWritableCableR o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedContactRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedContactRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedContactRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedContactRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *PatchedContactRequest) GetTeams() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Teams) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedContactRequest) GetTeamsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *PatchedContactRequest) HasTeams() bool { + if o != nil && !IsNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Teams field. +func (o *PatchedContactRequest) SetTeams(v []BulkWritableCableRequestStatus) { + o.Teams = v +} + func (o PatchedContactRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -323,8 +389,8 @@ func (o PatchedContactRequest) MarshalJSON() ([]byte, error) { func (o PatchedContactRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.Teams) { - toSerialize["teams"] = o.Teams + if !IsNil(o.Id) { + toSerialize["id"] = o.Id } if !IsNil(o.Name) { toSerialize["name"] = o.Name @@ -347,6 +413,12 @@ func (o PatchedContactRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.Teams) { + toSerialize["teams"] = o.Teams + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -369,7 +441,7 @@ func (o *PatchedContactRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "teams") + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") @@ -377,6 +449,8 @@ func (o *PatchedContactRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "comments") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + delete(additionalProperties, "teams") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_controller_managed_device_group_radio_profile_assignment_request.go b/model_patched_controller_managed_device_group_radio_profile_assignment_request.go new file mode 100644 index 00000000..97a5edaa --- /dev/null +++ b/model_patched_controller_managed_device_group_radio_profile_assignment_request.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + +// PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest 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) +type PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + Id *string `json:"id,omitempty"` + ControllerManagedDeviceGroup *BulkWritableCableRequestStatus `json:"controller_managed_device_group,omitempty"` + RadioProfile *BulkWritableCableRequestStatus `json:"radio_profile,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest + +// NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest instantiates a new PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest 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 +func NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest() *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + return &this +} + +// NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults instantiates a new PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest 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 +func NewPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest { + this := PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + return nil, false + } + return o.ControllerManagedDeviceGroup, true +} + +// HasControllerManagedDeviceGroup returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasControllerManagedDeviceGroup() bool { + if o != nil && !IsNil(o.ControllerManagedDeviceGroup) { + return true + } + + return false +} + +// SetControllerManagedDeviceGroup gets a reference to the given BulkWritableCableRequestStatus and assigns it to the ControllerManagedDeviceGroup field. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = &v +} + +// GetRadioProfile returns the RadioProfile field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.RadioProfile) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.RadioProfile +} + +// GetRadioProfileOk returns a tuple with the RadioProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.RadioProfile) { + return nil, false + } + return o.RadioProfile, true +} + +// HasRadioProfile returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasRadioProfile() bool { + if o != nil && !IsNil(o.RadioProfile) { + return true + } + + return false +} + +// SetRadioProfile gets a reference to the given BulkWritableCableRequestStatus and assigns it to the RadioProfile field. +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus) { + o.RadioProfile = &v +} + +func (o PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ControllerManagedDeviceGroup) { + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + } + if !IsNil(o.RadioProfile) { + toSerialize["radio_profile"] = o.RadioProfile + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest := _PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest(varPatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "radio_profile") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest struct { + value *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest + isSet bool +} + +func (v NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) Get() *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return v.value +} + +func (v *NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) Set(val *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest(val *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) *NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest { + return &NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_controller_managed_device_group_request.go b/model_patched_controller_managed_device_group_request.go index 71ea4bf2..26bd6c6b 100644 --- a/model_patched_controller_managed_device_group_request.go +++ b/model_patched_controller_managed_device_group_request.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. @@ -19,12 +19,16 @@ var _ MappedNullable = &PatchedControllerManagedDeviceGroupRequest{} // PatchedControllerManagedDeviceGroupRequest 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. type PatchedControllerManagedDeviceGroupRequest struct { + Id *string `json:"id,omitempty"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` // Name of the controller device group Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` // Weight of the controller device group, used to sort the groups within its parent group Weight *int32 `json:"weight,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` Controller *BulkWritableControllerManagedDeviceGroupRequestController `json:"controller,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -50,6 +54,71 @@ func NewPatchedControllerManagedDeviceGroupRequestWithDefaults() *PatchedControl return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedControllerManagedDeviceGroupRequest) SetId(v string) { + o.Id = &v +} + +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedControllerManagedDeviceGroupRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *PatchedControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedControllerManagedDeviceGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -82,6 +151,38 @@ func (o *PatchedControllerManagedDeviceGroupRequest) SetName(v string) { o.Name = &v } +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedControllerManagedDeviceGroupRequest) SetDescription(v string) { + o.Description = &v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *PatchedControllerManagedDeviceGroupRequest) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -188,6 +289,48 @@ func (o *PatchedControllerManagedDeviceGroupRequest) SetController(v BulkWritabl o.Controller = &v } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedControllerManagedDeviceGroupRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedControllerManagedDeviceGroupRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedControllerManagedDeviceGroupRequest) UnsetTenant() { + o.Tenant.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -294,9 +437,18 @@ func (o PatchedControllerManagedDeviceGroupRequest) MarshalJSON() ([]byte, error func (o PatchedControllerManagedDeviceGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -306,6 +458,9 @@ func (o PatchedControllerManagedDeviceGroupRequest) ToMap() (map[string]interfac if !IsNil(o.Controller) { toSerialize["controller"] = o.Controller } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -337,10 +492,14 @@ func (o *PatchedControllerManagedDeviceGroupRequest) UnmarshalJSON(data []byte) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") + delete(additionalProperties, "description") delete(additionalProperties, "weight") delete(additionalProperties, "parent") delete(additionalProperties, "controller") + delete(additionalProperties, "tenant") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_patched_controller_managed_device_group_wireless_network_assignment_request.go b/model_patched_controller_managed_device_group_wireless_network_assignment_request.go new file mode 100644 index 00000000..0faf4faf --- /dev/null +++ b/model_patched_controller_managed_device_group_wireless_network_assignment_request.go @@ -0,0 +1,276 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + +// PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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) +type PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + Id *string `json:"id,omitempty"` + ControllerManagedDeviceGroup *BulkWritableCableRequestStatus `json:"controller_managed_device_group,omitempty"` + WirelessNetwork *BulkWritableCableRequestStatus `json:"wireless_network,omitempty"` + Vlan NullableBulkWritableCircuitRequestTenant `json:"vlan,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest + +// NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest instantiates a new PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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 +func NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest() *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + return &this +} + +// NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults instantiates a new PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest 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 +func NewPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + this := PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.ControllerManagedDeviceGroup +} + +// GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.ControllerManagedDeviceGroup) { + return nil, false + } + return o.ControllerManagedDeviceGroup, true +} + +// HasControllerManagedDeviceGroup returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasControllerManagedDeviceGroup() bool { + if o != nil && !IsNil(o.ControllerManagedDeviceGroup) { + return true + } + + return false +} + +// SetControllerManagedDeviceGroup gets a reference to the given BulkWritableCableRequestStatus and assigns it to the ControllerManagedDeviceGroup field. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus) { + o.ControllerManagedDeviceGroup = &v +} + +// GetWirelessNetwork returns the WirelessNetwork field value if set, zero value otherwise. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.WirelessNetwork) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.WirelessNetwork +} + +// GetWirelessNetworkOk returns a tuple with the WirelessNetwork field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.WirelessNetwork) { + return nil, false + } + return o.WirelessNetwork, true +} + +// HasWirelessNetwork returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasWirelessNetwork() bool { + if o != nil && !IsNil(o.WirelessNetwork) { + return true + } + + return false +} + +// SetWirelessNetwork gets a reference to the given BulkWritableCableRequestStatus and assigns it to the WirelessNetwork field. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus) { + o.WirelessNetwork = &v +} + +// GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Vlan.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Vlan.Get() +} + +// GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Vlan.Get(), o.Vlan.IsSet() +} + +// HasVlan returns a boolean if a field has been set. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool { + if o != nil && o.Vlan.IsSet() { + return true + } + + return false +} + +// SetVlan gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Vlan field. +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant) { + o.Vlan.Set(&v) +} +// SetVlanNil sets the value for Vlan to be an explicit nil +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil() { + o.Vlan.Set(nil) +} + +// UnsetVlan ensures that no value is present for Vlan, not even an explicit nil +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnsetVlan() { + o.Vlan.Unset() +} + +func (o PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ControllerManagedDeviceGroup) { + toSerialize["controller_managed_device_group"] = o.ControllerManagedDeviceGroup + } + if !IsNil(o.WirelessNetwork) { + toSerialize["wireless_network"] = o.WirelessNetwork + } + if o.Vlan.IsSet() { + toSerialize["vlan"] = o.Vlan.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest := _PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(varPatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "controller_managed_device_group") + delete(additionalProperties, "wireless_network") + delete(additionalProperties, "vlan") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest struct { + value *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest + isSet bool +} + +func (v NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Get() *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return v.value +} + +func (v *NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Set(val *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(val *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) *NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest { + return &NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_controller_request.go b/model_patched_controller_request.go index 8f97f623..43d5884e 100644 --- a/model_patched_controller_request.go +++ b/model_patched_controller_request.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. @@ -19,6 +19,8 @@ var _ MappedNullable = &PatchedControllerRequest{} // PatchedControllerRequest 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. type PatchedControllerRequest struct { + Id *string `json:"id,omitempty"` + Capabilities []CapabilitiesEnum `json:"capabilities,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Status *BulkWritableCableRequestStatus `json:"status,omitempty"` @@ -54,6 +56,71 @@ func NewPatchedControllerRequestWithDefaults() *PatchedControllerRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedControllerRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedControllerRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedControllerRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedControllerRequest) SetId(v string) { + o.Id = &v +} + +// GetCapabilities returns the Capabilities field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedControllerRequest) GetCapabilities() []CapabilitiesEnum { + if o == nil { + var ret []CapabilitiesEnum + return ret + } + return o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedControllerRequest) GetCapabilitiesOk() ([]CapabilitiesEnum, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *PatchedControllerRequest) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given []CapabilitiesEnum and assigns it to the Capabilities field. +func (o *PatchedControllerRequest) SetCapabilities(v []CapabilitiesEnum) { + o.Capabilities = v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedControllerRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -540,6 +607,12 @@ func (o PatchedControllerRequest) MarshalJSON() ([]byte, error) { func (o PatchedControllerRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Capabilities != nil { + toSerialize["capabilities"] = o.Capabilities + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -601,6 +674,8 @@ func (o *PatchedControllerRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "capabilities") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "status") diff --git a/model_patched_custom_field_choice_request.go b/model_patched_custom_field_choice_request.go index 0ef849ba..a72d511b 100644 --- a/model_patched_custom_field_choice_request.go +++ b/model_patched_custom_field_choice_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCustomFieldChoiceRequest{} // PatchedCustomFieldChoiceRequest 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) type PatchedCustomFieldChoiceRequest struct { + Id *string `json:"id,omitempty"` Value *string `json:"value,omitempty"` // Higher weights appear later in the list Weight *int32 `json:"weight,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedCustomFieldChoiceRequestWithDefaults() *PatchedCustomFieldChoiceR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCustomFieldChoiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCustomFieldChoiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCustomFieldChoiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCustomFieldChoiceRequest) SetId(v string) { + o.Id = &v +} + // GetValue returns the Value field value if set, zero value otherwise. func (o *PatchedCustomFieldChoiceRequest) GetValue() string { if o == nil || IsNil(o.Value) { @@ -151,6 +184,9 @@ func (o PatchedCustomFieldChoiceRequest) MarshalJSON() ([]byte, error) { func (o PatchedCustomFieldChoiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Value) { toSerialize["value"] = o.Value } @@ -182,6 +218,7 @@ func (o *PatchedCustomFieldChoiceRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "value") delete(additionalProperties, "weight") delete(additionalProperties, "custom_field") diff --git a/model_patched_custom_link_request.go b/model_patched_custom_link_request.go index f1c73952..f1ec5939 100644 --- a/model_patched_custom_link_request.go +++ b/model_patched_custom_link_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedCustomLinkRequest{} // PatchedCustomLinkRequest 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) type PatchedCustomLinkRequest struct { + Id *string `json:"id,omitempty"` ContentType *string `json:"content_type,omitempty"` Name *string `json:"name,omitempty"` // Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.name }}. Links which render as empty text will not be displayed. @@ -54,6 +55,38 @@ func NewPatchedCustomLinkRequestWithDefaults() *PatchedCustomLinkRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedCustomLinkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCustomLinkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedCustomLinkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedCustomLinkRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value if set, zero value otherwise. func (o *PatchedCustomLinkRequest) GetContentType() string { if o == nil || IsNil(o.ContentType) { @@ -320,6 +353,9 @@ func (o PatchedCustomLinkRequest) MarshalJSON() ([]byte, error) { func (o PatchedCustomLinkRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentType) { toSerialize["content_type"] = o.ContentType } @@ -366,6 +402,7 @@ func (o *PatchedCustomLinkRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "name") delete(additionalProperties, "text") diff --git a/model_patched_device_bay_request.go b/model_patched_device_bay_request.go index f7578096..bd1fda96 100644 --- a/model_patched_device_bay_request.go +++ b/model_patched_device_bay_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedDeviceBayRequest{} // PatchedDeviceBayRequest 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. type PatchedDeviceBayRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -50,6 +51,38 @@ func NewPatchedDeviceBayRequestWithDefaults() *PatchedDeviceBayRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedDeviceBayRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedDeviceBayRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedDeviceBayRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedDeviceBayRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedDeviceBayRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -326,6 +359,9 @@ func (o PatchedDeviceBayRequest) MarshalJSON() ([]byte, error) { func (o PatchedDeviceBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -372,6 +408,7 @@ func (o *PatchedDeviceBayRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_device_bay_template_request.go b/model_patched_device_bay_template_request.go index 59d7d677..9e6fe5f2 100644 --- a/model_patched_device_bay_template_request.go +++ b/model_patched_device_bay_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedDeviceBayTemplateRequest{} // PatchedDeviceBayTemplateRequest 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. type PatchedDeviceBayTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -48,6 +49,38 @@ func NewPatchedDeviceBayTemplateRequestWithDefaults() *PatchedDeviceBayTemplateR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedDeviceBayTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedDeviceBayTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedDeviceBayTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedDeviceBayTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedDeviceBayTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -250,6 +283,9 @@ func (o PatchedDeviceBayTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedDeviceBayTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -290,6 +326,7 @@ func (o *PatchedDeviceBayTemplateRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_device_family_request.go b/model_patched_device_family_request.go index 54bd77c5..d94865f4 100644 --- a/model_patched_device_family_request.go +++ b/model_patched_device_family_request.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. @@ -19,10 +19,12 @@ var _ MappedNullable = &PatchedDeviceFamilyRequest{} // PatchedDeviceFamilyRequest 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. type PatchedDeviceFamilyRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -45,6 +47,38 @@ func NewPatchedDeviceFamilyRequestWithDefaults() *PatchedDeviceFamilyRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedDeviceFamilyRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedDeviceFamilyRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedDeviceFamilyRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedDeviceFamilyRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedDeviceFamilyRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -173,6 +207,38 @@ func (o *PatchedDeviceFamilyRequest) SetRelationships(v map[string]BulkWritableC o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedDeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedDeviceFamilyRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedDeviceFamilyRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedDeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedDeviceFamilyRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -183,6 +249,9 @@ func (o PatchedDeviceFamilyRequest) MarshalJSON() ([]byte, error) { func (o PatchedDeviceFamilyRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -195,6 +264,9 @@ func (o PatchedDeviceFamilyRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -217,10 +289,12 @@ func (o *PatchedDeviceFamilyRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_device_type_to_software_image_file_request.go b/model_patched_device_type_to_software_image_file_request.go index ccdf9409..02e52175 100644 --- a/model_patched_device_type_to_software_image_file_request.go +++ b/model_patched_device_type_to_software_image_file_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedDeviceTypeToSoftwareImageFileRequest{} // PatchedDeviceTypeToSoftwareImageFileRequest 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) type PatchedDeviceTypeToSoftwareImageFileRequest struct { + Id *string `json:"id,omitempty"` DeviceType *BulkWritableCableRequestStatus `json:"device_type,omitempty"` SoftwareImageFile *BulkWritableCableRequestStatus `json:"software_image_file,omitempty"` AdditionalProperties map[string]interface{} @@ -43,6 +44,38 @@ func NewPatchedDeviceTypeToSoftwareImageFileRequestWithDefaults() *PatchedDevice return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedDeviceTypeToSoftwareImageFileRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedDeviceTypeToSoftwareImageFileRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedDeviceTypeToSoftwareImageFileRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedDeviceTypeToSoftwareImageFileRequest) SetId(v string) { + o.Id = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise. func (o *PatchedDeviceTypeToSoftwareImageFileRequest) GetDeviceType() BulkWritableCableRequestStatus { if o == nil || IsNil(o.DeviceType) { @@ -117,6 +150,9 @@ func (o PatchedDeviceTypeToSoftwareImageFileRequest) MarshalJSON() ([]byte, erro func (o PatchedDeviceTypeToSoftwareImageFileRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.DeviceType) { toSerialize["device_type"] = o.DeviceType } @@ -145,6 +181,7 @@ func (o *PatchedDeviceTypeToSoftwareImageFileRequest) UnmarshalJSON(data []byte) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "device_type") delete(additionalProperties, "software_image_file") o.AdditionalProperties = additionalProperties diff --git a/model_patched_dynamic_group_membership_request.go b/model_patched_dynamic_group_membership_request.go index 378cda66..353a7c3f 100644 --- a/model_patched_dynamic_group_membership_request.go +++ b/model_patched_dynamic_group_membership_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedDynamicGroupMembershipRequest{} // PatchedDynamicGroupMembershipRequest 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) type PatchedDynamicGroupMembershipRequest struct { + Id *string `json:"id,omitempty"` Operator *OperatorEnum `json:"operator,omitempty"` Weight *int32 `json:"weight,omitempty"` Group *BulkWritableCableRequestStatus `json:"group,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedDynamicGroupMembershipRequestWithDefaults() *PatchedDynamicGroupM return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedDynamicGroupMembershipRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedDynamicGroupMembershipRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedDynamicGroupMembershipRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedDynamicGroupMembershipRequest) SetId(v string) { + o.Id = &v +} + // GetOperator returns the Operator field value if set, zero value otherwise. func (o *PatchedDynamicGroupMembershipRequest) GetOperator() OperatorEnum { if o == nil || IsNil(o.Operator) { @@ -183,6 +216,9 @@ func (o PatchedDynamicGroupMembershipRequest) MarshalJSON() ([]byte, error) { func (o PatchedDynamicGroupMembershipRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Operator) { toSerialize["operator"] = o.Operator } @@ -217,6 +253,7 @@ func (o *PatchedDynamicGroupMembershipRequest) UnmarshalJSON(data []byte) (err e additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "operator") delete(additionalProperties, "weight") delete(additionalProperties, "group") diff --git a/model_patched_dynamic_group_request.go b/model_patched_dynamic_group_request.go index ad8abe71..e4e23c79 100644 --- a/model_patched_dynamic_group_request.go +++ b/model_patched_dynamic_group_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedDynamicGroupRequest{} // PatchedDynamicGroupRequest 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. type PatchedDynamicGroupRequest struct { + Id *string `json:"id,omitempty"` ContentType *string `json:"content_type,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedDynamicGroupRequestWithDefaults() *PatchedDynamicGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedDynamicGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedDynamicGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedDynamicGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedDynamicGroupRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value if set, zero value otherwise. func (o *PatchedDynamicGroupRequest) GetContentType() string { if o == nil || IsNil(o.ContentType) { @@ -360,6 +393,9 @@ func (o PatchedDynamicGroupRequest) MarshalJSON() ([]byte, error) { func (o PatchedDynamicGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentType) { toSerialize["content_type"] = o.ContentType } @@ -409,6 +445,7 @@ func (o *PatchedDynamicGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_export_template_request.go b/model_patched_export_template_request.go index 173c0556..4acc9692 100644 --- a/model_patched_export_template_request.go +++ b/model_patched_export_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedExportTemplateRequest{} // PatchedExportTemplateRequest Extend ValidatedModelSerializer with a `relationships` field. type PatchedExportTemplateRequest struct { + Id *string `json:"id,omitempty"` ContentType *string `json:"content_type,omitempty"` OwnerContentType NullableString `json:"owner_content_type,omitempty"` OwnerObjectId NullableString `json:"owner_object_id,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedExportTemplateRequestWithDefaults() *PatchedExportTemplateRequest return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedExportTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedExportTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedExportTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedExportTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value if set, zero value otherwise. func (o *PatchedExportTemplateRequest) GetContentType() string { if o == nil || IsNil(o.ContentType) { @@ -371,6 +404,9 @@ func (o PatchedExportTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedExportTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentType) { toSerialize["content_type"] = o.ContentType } @@ -420,6 +456,7 @@ func (o *PatchedExportTemplateRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "owner_content_type") delete(additionalProperties, "owner_object_id") diff --git a/model_patched_external_integration_request.go b/model_patched_external_integration_request.go index 6b9f3fe4..d9006668 100644 --- a/model_patched_external_integration_request.go +++ b/model_patched_external_integration_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedExternalIntegrationRequest{} // PatchedExternalIntegrationRequest 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. type PatchedExternalIntegrationRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` RemoteUrl *string `json:"remote_url,omitempty"` // Verify SSL certificates when connecting to the remote system @@ -34,6 +35,7 @@ type PatchedExternalIntegrationRequest struct { SecretsGroup NullableBulkWritableExternalIntegrationRequestSecretsGroup `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -56,6 +58,38 @@ func NewPatchedExternalIntegrationRequestWithDefaults() *PatchedExternalIntegrat return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedExternalIntegrationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedExternalIntegrationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedExternalIntegrationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedExternalIntegrationRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedExternalIntegrationRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -420,6 +454,38 @@ func (o *PatchedExternalIntegrationRequest) SetRelationships(v map[string]BulkWr o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedExternalIntegrationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedExternalIntegrationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedExternalIntegrationRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -430,6 +496,9 @@ func (o PatchedExternalIntegrationRequest) MarshalJSON() ([]byte, error) { func (o PatchedExternalIntegrationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -463,6 +532,9 @@ func (o PatchedExternalIntegrationRequest) ToMap() (map[string]interface{}, erro if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -485,6 +557,7 @@ func (o *PatchedExternalIntegrationRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "remote_url") delete(additionalProperties, "verify_ssl") @@ -496,6 +569,7 @@ func (o *PatchedExternalIntegrationRequest) UnmarshalJSON(data []byte) (err erro delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_git_repository_request.go b/model_patched_git_repository_request.go index 7c615c6e..f46b6b42 100644 --- a/model_patched_git_repository_request.go +++ b/model_patched_git_repository_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedGitRepositoryRequest{} // PatchedGitRepositoryRequest Git repositories defined as a data source. type PatchedGitRepositoryRequest struct { + Id *string `json:"id,omitempty"` ProvidedContents []BulkWritableGitRepositoryRequestProvidedContentsInner `json:"provided_contents,omitempty"` Name *string `json:"name,omitempty"` // Internal field name. Please use underscores rather than dashes in this key. @@ -32,6 +33,7 @@ type PatchedGitRepositoryRequest struct { SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -54,6 +56,38 @@ func NewPatchedGitRepositoryRequestWithDefaults() *PatchedGitRepositoryRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedGitRepositoryRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedGitRepositoryRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedGitRepositoryRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedGitRepositoryRequest) SetId(v string) { + o.Id = &v +} + // GetProvidedContents returns the ProvidedContents field value if set, zero value otherwise. func (o *PatchedGitRepositoryRequest) GetProvidedContents() []BulkWritableGitRepositoryRequestProvidedContentsInner { if o == nil || IsNil(o.ProvidedContents) { @@ -352,6 +386,38 @@ func (o *PatchedGitRepositoryRequest) SetRelationships(v map[string]BulkWritable o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedGitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedGitRepositoryRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedGitRepositoryRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedGitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedGitRepositoryRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -362,6 +428,9 @@ func (o PatchedGitRepositoryRequest) MarshalJSON() ([]byte, error) { func (o PatchedGitRepositoryRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ProvidedContents) { toSerialize["provided_contents"] = o.ProvidedContents } @@ -389,6 +458,9 @@ func (o PatchedGitRepositoryRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -411,6 +483,7 @@ func (o *PatchedGitRepositoryRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "provided_contents") delete(additionalProperties, "name") delete(additionalProperties, "slug") @@ -420,6 +493,7 @@ func (o *PatchedGitRepositoryRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "secrets_group") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_graph_ql_query_request.go b/model_patched_graph_ql_query_request.go index 0cfdc939..46ad5ecf 100644 --- a/model_patched_graph_ql_query_request.go +++ b/model_patched_graph_ql_query_request.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. @@ -19,6 +19,9 @@ var _ MappedNullable = &PatchedGraphQLQueryRequest{} // PatchedGraphQLQueryRequest 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) type PatchedGraphQLQueryRequest struct { + Id *string `json:"id,omitempty"` + OwnerContentType NullableString `json:"owner_content_type,omitempty"` + OwnerObjectId NullableString `json:"owner_object_id,omitempty"` Name *string `json:"name,omitempty"` Query *string `json:"query,omitempty"` AdditionalProperties map[string]interface{} @@ -43,6 +46,122 @@ func NewPatchedGraphQLQueryRequestWithDefaults() *PatchedGraphQLQueryRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedGraphQLQueryRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedGraphQLQueryRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedGraphQLQueryRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedGraphQLQueryRequest) SetId(v string) { + o.Id = &v +} + +// GetOwnerContentType returns the OwnerContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedGraphQLQueryRequest) GetOwnerContentType() string { + if o == nil || IsNil(o.OwnerContentType.Get()) { + var ret string + return ret + } + return *o.OwnerContentType.Get() +} + +// GetOwnerContentTypeOk returns a tuple with the OwnerContentType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedGraphQLQueryRequest) GetOwnerContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerContentType.Get(), o.OwnerContentType.IsSet() +} + +// HasOwnerContentType returns a boolean if a field has been set. +func (o *PatchedGraphQLQueryRequest) HasOwnerContentType() bool { + if o != nil && o.OwnerContentType.IsSet() { + return true + } + + return false +} + +// SetOwnerContentType gets a reference to the given NullableString and assigns it to the OwnerContentType field. +func (o *PatchedGraphQLQueryRequest) SetOwnerContentType(v string) { + o.OwnerContentType.Set(&v) +} +// SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil +func (o *PatchedGraphQLQueryRequest) SetOwnerContentTypeNil() { + o.OwnerContentType.Set(nil) +} + +// UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil +func (o *PatchedGraphQLQueryRequest) UnsetOwnerContentType() { + o.OwnerContentType.Unset() +} + +// GetOwnerObjectId returns the OwnerObjectId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedGraphQLQueryRequest) GetOwnerObjectId() string { + if o == nil || IsNil(o.OwnerObjectId.Get()) { + var ret string + return ret + } + return *o.OwnerObjectId.Get() +} + +// GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedGraphQLQueryRequest) GetOwnerObjectIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OwnerObjectId.Get(), o.OwnerObjectId.IsSet() +} + +// HasOwnerObjectId returns a boolean if a field has been set. +func (o *PatchedGraphQLQueryRequest) HasOwnerObjectId() bool { + if o != nil && o.OwnerObjectId.IsSet() { + return true + } + + return false +} + +// SetOwnerObjectId gets a reference to the given NullableString and assigns it to the OwnerObjectId field. +func (o *PatchedGraphQLQueryRequest) SetOwnerObjectId(v string) { + o.OwnerObjectId.Set(&v) +} +// SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil +func (o *PatchedGraphQLQueryRequest) SetOwnerObjectIdNil() { + o.OwnerObjectId.Set(nil) +} + +// UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil +func (o *PatchedGraphQLQueryRequest) UnsetOwnerObjectId() { + o.OwnerObjectId.Unset() +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedGraphQLQueryRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -117,6 +236,15 @@ func (o PatchedGraphQLQueryRequest) MarshalJSON() ([]byte, error) { func (o PatchedGraphQLQueryRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.OwnerContentType.IsSet() { + toSerialize["owner_content_type"] = o.OwnerContentType.Get() + } + if o.OwnerObjectId.IsSet() { + toSerialize["owner_object_id"] = o.OwnerObjectId.Get() + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -145,6 +273,9 @@ func (o *PatchedGraphQLQueryRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "owner_content_type") + delete(additionalProperties, "owner_object_id") delete(additionalProperties, "name") delete(additionalProperties, "query") o.AdditionalProperties = additionalProperties diff --git a/model_patched_group_request.go b/model_patched_group_request.go index 2c914d57..0ee60b0c 100644 --- a/model_patched_group_request.go +++ b/model_patched_group_request.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/model_patched_image_attachment_request.go b/model_patched_image_attachment_request.go index 942a7704..f84ef450 100644 --- a/model_patched_image_attachment_request.go +++ b/model_patched_image_attachment_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &PatchedImageAttachmentRequest{} // PatchedImageAttachmentRequest 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) type PatchedImageAttachmentRequest struct { + Id *string `json:"id,omitempty"` ContentType *string `json:"content_type,omitempty"` ObjectId *string `json:"object_id,omitempty"` Image **os.File `json:"image,omitempty"` @@ -48,6 +49,38 @@ func NewPatchedImageAttachmentRequestWithDefaults() *PatchedImageAttachmentReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedImageAttachmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedImageAttachmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedImageAttachmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedImageAttachmentRequest) SetId(v string) { + o.Id = &v +} + // GetContentType returns the ContentType field value if set, zero value otherwise. func (o *PatchedImageAttachmentRequest) GetContentType() string { if o == nil || IsNil(o.ContentType) { @@ -250,6 +283,9 @@ func (o PatchedImageAttachmentRequest) MarshalJSON() ([]byte, error) { func (o PatchedImageAttachmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentType) { toSerialize["content_type"] = o.ContentType } @@ -290,6 +326,7 @@ func (o *PatchedImageAttachmentRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_type") delete(additionalProperties, "object_id") delete(additionalProperties, "image") diff --git a/model_patched_interface_redundancy_group_association_request.go b/model_patched_interface_redundancy_group_association_request.go index f8be4b33..34284371 100644 --- a/model_patched_interface_redundancy_group_association_request.go +++ b/model_patched_interface_redundancy_group_association_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedInterfaceRedundancyGroupAssociationRequest{} // PatchedInterfaceRedundancyGroupAssociationRequest InterfaceRedundancyGroupAssociation Serializer. type PatchedInterfaceRedundancyGroupAssociationRequest struct { + Id *string `json:"id,omitempty"` Priority *int32 `json:"priority,omitempty"` InterfaceRedundancyGroup *BulkWritableCableRequestStatus `json:"interface_redundancy_group,omitempty"` Interface *BulkWritableCableRequestStatus `json:"interface,omitempty"` @@ -44,6 +45,38 @@ func NewPatchedInterfaceRedundancyGroupAssociationRequestWithDefaults() *Patched return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedInterfaceRedundancyGroupAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedInterfaceRedundancyGroupAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedInterfaceRedundancyGroupAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedInterfaceRedundancyGroupAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetPriority returns the Priority field value if set, zero value otherwise. func (o *PatchedInterfaceRedundancyGroupAssociationRequest) GetPriority() int32 { if o == nil || IsNil(o.Priority) { @@ -150,6 +183,9 @@ func (o PatchedInterfaceRedundancyGroupAssociationRequest) MarshalJSON() ([]byte func (o PatchedInterfaceRedundancyGroupAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Priority) { toSerialize["priority"] = o.Priority } @@ -181,6 +217,7 @@ func (o *PatchedInterfaceRedundancyGroupAssociationRequest) UnmarshalJSON(data [ additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "priority") delete(additionalProperties, "interface_redundancy_group") delete(additionalProperties, "interface") diff --git a/model_patched_interface_vdc_assignment_request.go b/model_patched_interface_vdc_assignment_request.go new file mode 100644 index 00000000..3e5f3723 --- /dev/null +++ b/model_patched_interface_vdc_assignment_request.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedInterfaceVDCAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedInterfaceVDCAssignmentRequest{} + +// PatchedInterfaceVDCAssignmentRequest 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) +type PatchedInterfaceVDCAssignmentRequest struct { + Id *string `json:"id,omitempty"` + VirtualDeviceContext *BulkWritableCableRequestStatus `json:"virtual_device_context,omitempty"` + Interface *BulkWritableCableRequestStatus `json:"interface,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedInterfaceVDCAssignmentRequest PatchedInterfaceVDCAssignmentRequest + +// NewPatchedInterfaceVDCAssignmentRequest instantiates a new PatchedInterfaceVDCAssignmentRequest 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 +func NewPatchedInterfaceVDCAssignmentRequest() *PatchedInterfaceVDCAssignmentRequest { + this := PatchedInterfaceVDCAssignmentRequest{} + return &this +} + +// NewPatchedInterfaceVDCAssignmentRequestWithDefaults instantiates a new PatchedInterfaceVDCAssignmentRequest 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 +func NewPatchedInterfaceVDCAssignmentRequestWithDefaults() *PatchedInterfaceVDCAssignmentRequest { + this := PatchedInterfaceVDCAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedInterfaceVDCAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedInterfaceVDCAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedInterfaceVDCAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedInterfaceVDCAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetVirtualDeviceContext returns the VirtualDeviceContext field value if set, zero value otherwise. +func (o *PatchedInterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.VirtualDeviceContext) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.VirtualDeviceContext +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedInterfaceVDCAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.VirtualDeviceContext) { + return nil, false + } + return o.VirtualDeviceContext, true +} + +// HasVirtualDeviceContext returns a boolean if a field has been set. +func (o *PatchedInterfaceVDCAssignmentRequest) HasVirtualDeviceContext() bool { + if o != nil && !IsNil(o.VirtualDeviceContext) { + return true + } + + return false +} + +// SetVirtualDeviceContext gets a reference to the given BulkWritableCableRequestStatus and assigns it to the VirtualDeviceContext field. +func (o *PatchedInterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus) { + o.VirtualDeviceContext = &v +} + +// GetInterface returns the Interface field value if set, zero value otherwise. +func (o *PatchedInterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Interface) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Interface +} + +// GetInterfaceOk returns a tuple with the Interface field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedInterfaceVDCAssignmentRequest) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Interface) { + return nil, false + } + return o.Interface, true +} + +// HasInterface returns a boolean if a field has been set. +func (o *PatchedInterfaceVDCAssignmentRequest) HasInterface() bool { + if o != nil && !IsNil(o.Interface) { + return true + } + + return false +} + +// SetInterface gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Interface field. +func (o *PatchedInterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus) { + o.Interface = &v +} + +func (o PatchedInterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedInterfaceVDCAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.VirtualDeviceContext) { + toSerialize["virtual_device_context"] = o.VirtualDeviceContext + } + if !IsNil(o.Interface) { + toSerialize["interface"] = o.Interface + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedInterfaceVDCAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedInterfaceVDCAssignmentRequest := _PatchedInterfaceVDCAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedInterfaceVDCAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedInterfaceVDCAssignmentRequest(varPatchedInterfaceVDCAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "virtual_device_context") + delete(additionalProperties, "interface") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedInterfaceVDCAssignmentRequest struct { + value *PatchedInterfaceVDCAssignmentRequest + isSet bool +} + +func (v NullablePatchedInterfaceVDCAssignmentRequest) Get() *PatchedInterfaceVDCAssignmentRequest { + return v.value +} + +func (v *NullablePatchedInterfaceVDCAssignmentRequest) Set(val *PatchedInterfaceVDCAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedInterfaceVDCAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedInterfaceVDCAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedInterfaceVDCAssignmentRequest(val *PatchedInterfaceVDCAssignmentRequest) *NullablePatchedInterfaceVDCAssignmentRequest { + return &NullablePatchedInterfaceVDCAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedInterfaceVDCAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedInterfaceVDCAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_inventory_item_request.go b/model_patched_inventory_item_request.go index d96f019a..9b51b96c 100644 --- a/model_patched_inventory_item_request.go +++ b/model_patched_inventory_item_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedInventoryItemRequest{} // PatchedInventoryItemRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type PatchedInventoryItemRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -61,6 +62,38 @@ func NewPatchedInventoryItemRequestWithDefaults() *PatchedInventoryItemRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedInventoryItemRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedInventoryItemRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedInventoryItemRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedInventoryItemRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedInventoryItemRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -591,6 +624,9 @@ func (o PatchedInventoryItemRequest) MarshalJSON() ([]byte, error) { func (o PatchedInventoryItemRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -658,6 +694,7 @@ func (o *PatchedInventoryItemRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_ip_address_request.go b/model_patched_ip_address_request.go index 5cca5fb0..954ac160 100644 --- a/model_patched_ip_address_request.go +++ b/model_patched_ip_address_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedIPAddressRequest{} // PatchedIPAddressRequest 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. type PatchedIPAddressRequest struct { + Id *string `json:"id,omitempty"` Address *string `json:"address,omitempty"` Namespace *BulkWritableIPAddressRequestNamespace `json:"namespace,omitempty"` Type *IPAddressTypeChoices `json:"type,omitempty"` @@ -55,6 +56,38 @@ func NewPatchedIPAddressRequestWithDefaults() *PatchedIPAddressRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedIPAddressRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedIPAddressRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedIPAddressRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedIPAddressRequest) SetId(v string) { + o.Id = &v +} + // GetAddress returns the Address field value if set, zero value otherwise. func (o *PatchedIPAddressRequest) GetAddress() string { if o == nil || IsNil(o.Address) { @@ -521,6 +554,9 @@ func (o PatchedIPAddressRequest) MarshalJSON() ([]byte, error) { func (o PatchedIPAddressRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Address) { toSerialize["address"] = o.Address } @@ -582,6 +618,7 @@ func (o *PatchedIPAddressRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "address") delete(additionalProperties, "namespace") delete(additionalProperties, "type") diff --git a/model_patched_ip_address_to_interface_request.go b/model_patched_ip_address_to_interface_request.go index 3b4e6894..e7063dbf 100644 --- a/model_patched_ip_address_to_interface_request.go +++ b/model_patched_ip_address_to_interface_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedIPAddressToInterfaceRequest{} // PatchedIPAddressToInterfaceRequest 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) type PatchedIPAddressToInterfaceRequest struct { + Id *string `json:"id,omitempty"` // Is source address on interface IsSource *bool `json:"is_source,omitempty"` // Is destination address on interface @@ -58,6 +59,38 @@ func NewPatchedIPAddressToInterfaceRequestWithDefaults() *PatchedIPAddressToInte return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedIPAddressToInterfaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedIPAddressToInterfaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedIPAddressToInterfaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedIPAddressToInterfaceRequest) SetId(v string) { + o.Id = &v +} + // GetIsSource returns the IsSource field value if set, zero value otherwise. func (o *PatchedIPAddressToInterfaceRequest) GetIsSource() bool { if o == nil || IsNil(o.IsSource) { @@ -408,6 +441,9 @@ func (o PatchedIPAddressToInterfaceRequest) MarshalJSON() ([]byte, error) { func (o PatchedIPAddressToInterfaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.IsSource) { toSerialize["is_source"] = o.IsSource } @@ -460,6 +496,7 @@ func (o *PatchedIPAddressToInterfaceRequest) UnmarshalJSON(data []byte) (err err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "is_source") delete(additionalProperties, "is_destination") delete(additionalProperties, "is_default") diff --git a/model_patched_job_button_request.go b/model_patched_job_button_request.go index 52688767..102c3539 100644 --- a/model_patched_job_button_request.go +++ b/model_patched_job_button_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedJobButtonRequest{} // PatchedJobButtonRequest 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) type PatchedJobButtonRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name *string `json:"name,omitempty"` Enabled *bool `json:"enabled,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedJobButtonRequestWithDefaults() *PatchedJobButtonRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedJobButtonRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobButtonRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedJobButtonRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedJobButtonRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedJobButtonRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -351,6 +384,9 @@ func (o PatchedJobButtonRequest) MarshalJSON() ([]byte, error) { func (o PatchedJobButtonRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -400,6 +436,7 @@ func (o *PatchedJobButtonRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "enabled") diff --git a/model_patched_job_hook_request.go b/model_patched_job_hook_request.go index f93c01f8..c646470c 100644 --- a/model_patched_job_hook_request.go +++ b/model_patched_job_hook_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedJobHookRequest{} // PatchedJobHookRequest 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. type PatchedJobHookRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Enabled *bool `json:"enabled,omitempty"` Name *string `json:"name,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedJobHookRequestWithDefaults() *PatchedJobHookRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedJobHookRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobHookRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedJobHookRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedJobHookRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedJobHookRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -351,6 +384,9 @@ func (o PatchedJobHookRequest) MarshalJSON() ([]byte, error) { func (o PatchedJobHookRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -400,6 +436,7 @@ func (o *PatchedJobHookRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "enabled") delete(additionalProperties, "name") diff --git a/model_patched_job_queue_assignment_request.go b/model_patched_job_queue_assignment_request.go new file mode 100644 index 00000000..da95428b --- /dev/null +++ b/model_patched_job_queue_assignment_request.go @@ -0,0 +1,229 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedJobQueueAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedJobQueueAssignmentRequest{} + +// PatchedJobQueueAssignmentRequest 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) +type PatchedJobQueueAssignmentRequest struct { + Id *string `json:"id,omitempty"` + Job *BulkWritableCableRequestStatus `json:"job,omitempty"` + JobQueue *BulkWritableCableRequestStatus `json:"job_queue,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedJobQueueAssignmentRequest PatchedJobQueueAssignmentRequest + +// NewPatchedJobQueueAssignmentRequest instantiates a new PatchedJobQueueAssignmentRequest 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 +func NewPatchedJobQueueAssignmentRequest() *PatchedJobQueueAssignmentRequest { + this := PatchedJobQueueAssignmentRequest{} + return &this +} + +// NewPatchedJobQueueAssignmentRequestWithDefaults instantiates a new PatchedJobQueueAssignmentRequest 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 +func NewPatchedJobQueueAssignmentRequestWithDefaults() *PatchedJobQueueAssignmentRequest { + this := PatchedJobQueueAssignmentRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedJobQueueAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedJobQueueAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedJobQueueAssignmentRequest) SetId(v string) { + o.Id = &v +} + +// GetJob returns the Job field value if set, zero value otherwise. +func (o *PatchedJobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Job) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Job +} + +// GetJobOk returns a tuple with the Job field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueAssignmentRequest) GetJobOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Job) { + return nil, false + } + return o.Job, true +} + +// HasJob returns a boolean if a field has been set. +func (o *PatchedJobQueueAssignmentRequest) HasJob() bool { + if o != nil && !IsNil(o.Job) { + return true + } + + return false +} + +// SetJob gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Job field. +func (o *PatchedJobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus) { + o.Job = &v +} + +// GetJobQueue returns the JobQueue field value if set, zero value otherwise. +func (o *PatchedJobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.JobQueue) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.JobQueue +} + +// GetJobQueueOk returns a tuple with the JobQueue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueAssignmentRequest) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.JobQueue) { + return nil, false + } + return o.JobQueue, true +} + +// HasJobQueue returns a boolean if a field has been set. +func (o *PatchedJobQueueAssignmentRequest) HasJobQueue() bool { + if o != nil && !IsNil(o.JobQueue) { + return true + } + + return false +} + +// SetJobQueue gets a reference to the given BulkWritableCableRequestStatus and assigns it to the JobQueue field. +func (o *PatchedJobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus) { + o.JobQueue = &v +} + +func (o PatchedJobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedJobQueueAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Job) { + toSerialize["job"] = o.Job + } + if !IsNil(o.JobQueue) { + toSerialize["job_queue"] = o.JobQueue + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedJobQueueAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedJobQueueAssignmentRequest := _PatchedJobQueueAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedJobQueueAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedJobQueueAssignmentRequest(varPatchedJobQueueAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "job") + delete(additionalProperties, "job_queue") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedJobQueueAssignmentRequest struct { + value *PatchedJobQueueAssignmentRequest + isSet bool +} + +func (v NullablePatchedJobQueueAssignmentRequest) Get() *PatchedJobQueueAssignmentRequest { + return v.value +} + +func (v *NullablePatchedJobQueueAssignmentRequest) Set(val *PatchedJobQueueAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedJobQueueAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedJobQueueAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedJobQueueAssignmentRequest(val *PatchedJobQueueAssignmentRequest) *NullablePatchedJobQueueAssignmentRequest { + return &NullablePatchedJobQueueAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedJobQueueAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedJobQueueAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_job_queue_request.go b/model_patched_job_queue_request.go new file mode 100644 index 00000000..07f4b46d --- /dev/null +++ b/model_patched_job_queue_request.go @@ -0,0 +1,424 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedJobQueueRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedJobQueueRequest{} + +// PatchedJobQueueRequest 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. +type PatchedJobQueueRequest struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + QueueType *QueueTypeEnum `json:"queue_type,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedJobQueueRequest PatchedJobQueueRequest + +// NewPatchedJobQueueRequest instantiates a new PatchedJobQueueRequest 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 +func NewPatchedJobQueueRequest() *PatchedJobQueueRequest { + this := PatchedJobQueueRequest{} + return &this +} + +// NewPatchedJobQueueRequestWithDefaults instantiates a new PatchedJobQueueRequest 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 +func NewPatchedJobQueueRequestWithDefaults() *PatchedJobQueueRequest { + this := PatchedJobQueueRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedJobQueueRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedJobQueueRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedJobQueueRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedJobQueueRequest) SetName(v string) { + o.Name = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedJobQueueRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedJobQueueRequest) SetDescription(v string) { + o.Description = &v +} + +// GetQueueType returns the QueueType field value if set, zero value otherwise. +func (o *PatchedJobQueueRequest) GetQueueType() QueueTypeEnum { + if o == nil || IsNil(o.QueueType) { + var ret QueueTypeEnum + return ret + } + return *o.QueueType +} + +// GetQueueTypeOk returns a tuple with the QueueType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueRequest) GetQueueTypeOk() (*QueueTypeEnum, bool) { + if o == nil || IsNil(o.QueueType) { + return nil, false + } + return o.QueueType, true +} + +// HasQueueType returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasQueueType() bool { + if o != nil && !IsNil(o.QueueType) { + return true + } + + return false +} + +// SetQueueType gets a reference to the given QueueTypeEnum and assigns it to the QueueType field. +func (o *PatchedJobQueueRequest) SetQueueType(v QueueTypeEnum) { + o.QueueType = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedJobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedJobQueueRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedJobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedJobQueueRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedJobQueueRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedJobQueueRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedJobQueueRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedJobQueueRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedJobQueueRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedJobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobQueueRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedJobQueueRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedJobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o PatchedJobQueueRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedJobQueueRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.QueueType) { + toSerialize["queue_type"] = o.QueueType + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedJobQueueRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedJobQueueRequest := _PatchedJobQueueRequest{} + + err = json.Unmarshal(data, &varPatchedJobQueueRequest) + + if err != nil { + return err + } + + *o = PatchedJobQueueRequest(varPatchedJobQueueRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "queue_type") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedJobQueueRequest struct { + value *PatchedJobQueueRequest + isSet bool +} + +func (v NullablePatchedJobQueueRequest) Get() *PatchedJobQueueRequest { + return v.value +} + +func (v *NullablePatchedJobQueueRequest) Set(val *PatchedJobQueueRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedJobQueueRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedJobQueueRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedJobQueueRequest(val *PatchedJobQueueRequest) *NullablePatchedJobQueueRequest { + return &NullablePatchedJobQueueRequest{value: val, isSet: true} +} + +func (v NullablePatchedJobQueueRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedJobQueueRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_job_request.go b/model_patched_job_request.go index d3ba1d10..337e7d47 100644 --- a/model_patched_job_request.go +++ b/model_patched_job_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedJobRequest{} // PatchedJobRequest 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. type PatchedJobRequest struct { + Id *string `json:"id,omitempty"` // Human-readable grouping that this job belongs to Grouping *string `json:"grouping,omitempty"` // Human-readable name of this job @@ -29,6 +30,8 @@ type PatchedJobRequest struct { Enabled *bool `json:"enabled,omitempty"` // Whether this job contains sensitive variables HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + // Whether this job should fail to run if another instance of this job is already running + IsSingleton *bool `json:"is_singleton,omitempty"` // Whether the job requires approval from another user before running ApprovalRequired *bool `json:"approval_required,omitempty"` // Whether the job defaults to not being shown in the UI @@ -39,8 +42,6 @@ type PatchedJobRequest struct { SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` // Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default TimeLimit *float64 `json:"time_limit,omitempty"` - // Comma separated list of task queues that this job can run on. A blank list will use the default queue - TaskQueues interface{} `json:"task_queues,omitempty"` // If set, the configured grouping will remain even if the underlying Job source code changes GroupingOverride *bool `json:"grouping_override,omitempty"` // If set, the configured name will remain even if the underlying Job source code changes @@ -60,7 +61,12 @@ type PatchedJobRequest struct { // If set, the configured value will remain even if the underlying Job source code changes HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` // If set, the configured value will remain even if the underlying Job source code changes - TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + JobQueuesOverride *bool `json:"job_queues_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + DefaultJobQueueOverride *bool `json:"default_job_queue_override,omitempty"` + // If set, the configured value will remain even if the underlying Job source code changes + IsSingletonOverride *bool `json:"is_singleton_override,omitempty"` + DefaultJobQueue *BulkWritableCableRequestStatus `json:"default_job_queue,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -86,6 +92,38 @@ func NewPatchedJobRequestWithDefaults() *PatchedJobRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedJobRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedJobRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedJobRequest) SetId(v string) { + o.Id = &v +} + // GetGrouping returns the Grouping field value if set, zero value otherwise. func (o *PatchedJobRequest) GetGrouping() string { if o == nil || IsNil(o.Grouping) { @@ -246,6 +284,38 @@ func (o *PatchedJobRequest) SetHasSensitiveVariables(v bool) { o.HasSensitiveVariables = &v } +// GetIsSingleton returns the IsSingleton field value if set, zero value otherwise. +func (o *PatchedJobRequest) GetIsSingleton() bool { + if o == nil || IsNil(o.IsSingleton) { + var ret bool + return ret + } + return *o.IsSingleton +} + +// GetIsSingletonOk returns a tuple with the IsSingleton field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobRequest) GetIsSingletonOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingleton) { + return nil, false + } + return o.IsSingleton, true +} + +// HasIsSingleton returns a boolean if a field has been set. +func (o *PatchedJobRequest) HasIsSingleton() bool { + if o != nil && !IsNil(o.IsSingleton) { + return true + } + + return false +} + +// SetIsSingleton gets a reference to the given bool and assigns it to the IsSingleton field. +func (o *PatchedJobRequest) SetIsSingleton(v bool) { + o.IsSingleton = &v +} + // GetApprovalRequired returns the ApprovalRequired field value if set, zero value otherwise. func (o *PatchedJobRequest) GetApprovalRequired() bool { if o == nil || IsNil(o.ApprovalRequired) { @@ -406,39 +476,6 @@ func (o *PatchedJobRequest) SetTimeLimit(v float64) { o.TimeLimit = &v } -// GetTaskQueues returns the TaskQueues field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedJobRequest) GetTaskQueues() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.TaskQueues -} - -// GetTaskQueuesOk returns a tuple with the TaskQueues field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedJobRequest) GetTaskQueuesOk() (*interface{}, bool) { - if o == nil || IsNil(o.TaskQueues) { - return nil, false - } - return &o.TaskQueues, true -} - -// HasTaskQueues returns a boolean if a field has been set. -func (o *PatchedJobRequest) HasTaskQueues() bool { - if o != nil && !IsNil(o.TaskQueues) { - return true - } - - return false -} - -// SetTaskQueues gets a reference to the given interface{} and assigns it to the TaskQueues field. -func (o *PatchedJobRequest) SetTaskQueues(v interface{}) { - o.TaskQueues = v -} - // GetGroupingOverride returns the GroupingOverride field value if set, zero value otherwise. func (o *PatchedJobRequest) GetGroupingOverride() bool { if o == nil || IsNil(o.GroupingOverride) { @@ -727,36 +764,132 @@ func (o *PatchedJobRequest) SetHasSensitiveVariablesOverride(v bool) { o.HasSensitiveVariablesOverride = &v } -// GetTaskQueuesOverride returns the TaskQueuesOverride field value if set, zero value otherwise. -func (o *PatchedJobRequest) GetTaskQueuesOverride() bool { - if o == nil || IsNil(o.TaskQueuesOverride) { +// GetJobQueuesOverride returns the JobQueuesOverride field value if set, zero value otherwise. +func (o *PatchedJobRequest) GetJobQueuesOverride() bool { + if o == nil || IsNil(o.JobQueuesOverride) { + var ret bool + return ret + } + return *o.JobQueuesOverride +} + +// GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobRequest) GetJobQueuesOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.JobQueuesOverride) { + return nil, false + } + return o.JobQueuesOverride, true +} + +// HasJobQueuesOverride returns a boolean if a field has been set. +func (o *PatchedJobRequest) HasJobQueuesOverride() bool { + if o != nil && !IsNil(o.JobQueuesOverride) { + return true + } + + return false +} + +// SetJobQueuesOverride gets a reference to the given bool and assigns it to the JobQueuesOverride field. +func (o *PatchedJobRequest) SetJobQueuesOverride(v bool) { + o.JobQueuesOverride = &v +} + +// GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field value if set, zero value otherwise. +func (o *PatchedJobRequest) GetDefaultJobQueueOverride() bool { + if o == nil || IsNil(o.DefaultJobQueueOverride) { var ret bool return ret } - return *o.TaskQueuesOverride + return *o.DefaultJobQueueOverride } -// GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field value if set, nil otherwise +// GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedJobRequest) GetTaskQueuesOverrideOk() (*bool, bool) { - if o == nil || IsNil(o.TaskQueuesOverride) { +func (o *PatchedJobRequest) GetDefaultJobQueueOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.DefaultJobQueueOverride) { return nil, false } - return o.TaskQueuesOverride, true + return o.DefaultJobQueueOverride, true } -// HasTaskQueuesOverride returns a boolean if a field has been set. -func (o *PatchedJobRequest) HasTaskQueuesOverride() bool { - if o != nil && !IsNil(o.TaskQueuesOverride) { +// HasDefaultJobQueueOverride returns a boolean if a field has been set. +func (o *PatchedJobRequest) HasDefaultJobQueueOverride() bool { + if o != nil && !IsNil(o.DefaultJobQueueOverride) { return true } return false } -// SetTaskQueuesOverride gets a reference to the given bool and assigns it to the TaskQueuesOverride field. -func (o *PatchedJobRequest) SetTaskQueuesOverride(v bool) { - o.TaskQueuesOverride = &v +// SetDefaultJobQueueOverride gets a reference to the given bool and assigns it to the DefaultJobQueueOverride field. +func (o *PatchedJobRequest) SetDefaultJobQueueOverride(v bool) { + o.DefaultJobQueueOverride = &v +} + +// GetIsSingletonOverride returns the IsSingletonOverride field value if set, zero value otherwise. +func (o *PatchedJobRequest) GetIsSingletonOverride() bool { + if o == nil || IsNil(o.IsSingletonOverride) { + var ret bool + return ret + } + return *o.IsSingletonOverride +} + +// GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobRequest) GetIsSingletonOverrideOk() (*bool, bool) { + if o == nil || IsNil(o.IsSingletonOverride) { + return nil, false + } + return o.IsSingletonOverride, true +} + +// HasIsSingletonOverride returns a boolean if a field has been set. +func (o *PatchedJobRequest) HasIsSingletonOverride() bool { + if o != nil && !IsNil(o.IsSingletonOverride) { + return true + } + + return false +} + +// SetIsSingletonOverride gets a reference to the given bool and assigns it to the IsSingletonOverride field. +func (o *PatchedJobRequest) SetIsSingletonOverride(v bool) { + o.IsSingletonOverride = &v +} + +// GetDefaultJobQueue returns the DefaultJobQueue field value if set, zero value otherwise. +func (o *PatchedJobRequest) GetDefaultJobQueue() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.DefaultJobQueue) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.DefaultJobQueue +} + +// GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedJobRequest) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.DefaultJobQueue) { + return nil, false + } + return o.DefaultJobQueue, true +} + +// HasDefaultJobQueue returns a boolean if a field has been set. +func (o *PatchedJobRequest) HasDefaultJobQueue() bool { + if o != nil && !IsNil(o.DefaultJobQueue) { + return true + } + + return false +} + +// SetDefaultJobQueue gets a reference to the given BulkWritableCableRequestStatus and assigns it to the DefaultJobQueue field. +func (o *PatchedJobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus) { + o.DefaultJobQueue = &v } // GetTags returns the Tags field value if set, zero value otherwise. @@ -865,6 +998,9 @@ func (o PatchedJobRequest) MarshalJSON() ([]byte, error) { func (o PatchedJobRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Grouping) { toSerialize["grouping"] = o.Grouping } @@ -880,6 +1016,9 @@ func (o PatchedJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariables) { toSerialize["has_sensitive_variables"] = o.HasSensitiveVariables } + if !IsNil(o.IsSingleton) { + toSerialize["is_singleton"] = o.IsSingleton + } if !IsNil(o.ApprovalRequired) { toSerialize["approval_required"] = o.ApprovalRequired } @@ -895,9 +1034,6 @@ func (o PatchedJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.TimeLimit) { toSerialize["time_limit"] = o.TimeLimit } - if o.TaskQueues != nil { - toSerialize["task_queues"] = o.TaskQueues - } if !IsNil(o.GroupingOverride) { toSerialize["grouping_override"] = o.GroupingOverride } @@ -925,8 +1061,17 @@ func (o PatchedJobRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.HasSensitiveVariablesOverride) { toSerialize["has_sensitive_variables_override"] = o.HasSensitiveVariablesOverride } - if !IsNil(o.TaskQueuesOverride) { - toSerialize["task_queues_override"] = o.TaskQueuesOverride + if !IsNil(o.JobQueuesOverride) { + toSerialize["job_queues_override"] = o.JobQueuesOverride + } + if !IsNil(o.DefaultJobQueueOverride) { + toSerialize["default_job_queue_override"] = o.DefaultJobQueueOverride + } + if !IsNil(o.IsSingletonOverride) { + toSerialize["is_singleton_override"] = o.IsSingletonOverride + } + if !IsNil(o.DefaultJobQueue) { + toSerialize["default_job_queue"] = o.DefaultJobQueue } if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags @@ -959,17 +1104,18 @@ func (o *PatchedJobRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "grouping") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "enabled") delete(additionalProperties, "has_sensitive_variables") + delete(additionalProperties, "is_singleton") delete(additionalProperties, "approval_required") delete(additionalProperties, "hidden") delete(additionalProperties, "dryrun_default") delete(additionalProperties, "soft_time_limit") delete(additionalProperties, "time_limit") - delete(additionalProperties, "task_queues") delete(additionalProperties, "grouping_override") delete(additionalProperties, "name_override") delete(additionalProperties, "description_override") @@ -979,7 +1125,10 @@ func (o *PatchedJobRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "soft_time_limit_override") delete(additionalProperties, "time_limit_override") delete(additionalProperties, "has_sensitive_variables_override") - delete(additionalProperties, "task_queues_override") + delete(additionalProperties, "job_queues_override") + delete(additionalProperties, "default_job_queue_override") + delete(additionalProperties, "is_singleton_override") + delete(additionalProperties, "default_job_queue") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_patched_location_request.go b/model_patched_location_request.go index 4cbcdb79..8b987559 100644 --- a/model_patched_location_request.go +++ b/model_patched_location_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedLocationRequest{} // PatchedLocationRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type PatchedLocationRequest struct { + Id *string `json:"id,omitempty"` TimeZone NullableString `json:"time_zone,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -65,6 +66,38 @@ func NewPatchedLocationRequestWithDefaults() *PatchedLocationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedLocationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedLocationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedLocationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedLocationRequest) SetId(v string) { + o.Id = &v +} + // GetTimeZone returns the TimeZone field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedLocationRequest) GetTimeZone() string { if o == nil || IsNil(o.TimeZone.Get()) { @@ -775,6 +808,9 @@ func (o PatchedLocationRequest) MarshalJSON() ([]byte, error) { func (o PatchedLocationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.TimeZone.IsSet() { toSerialize["time_zone"] = o.TimeZone.Get() } @@ -857,6 +893,7 @@ func (o *PatchedLocationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "time_zone") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_location_type_request.go b/model_patched_location_type_request.go index 4bb73bfd..3d1984f6 100644 --- a/model_patched_location_type_request.go +++ b/model_patched_location_type_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedLocationTypeRequest{} // PatchedLocationTypeRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type PatchedLocationTypeRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -49,6 +50,38 @@ func NewPatchedLocationTypeRequestWithDefaults() *PatchedLocationTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedLocationTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedLocationTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedLocationTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedLocationTypeRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedLocationTypeRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -293,6 +326,9 @@ func (o PatchedLocationTypeRequest) MarshalJSON() ([]byte, error) { func (o PatchedLocationTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -336,6 +372,7 @@ func (o *PatchedLocationTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_manufacturer_request.go b/model_patched_manufacturer_request.go index eab4b715..09118df0 100644 --- a/model_patched_manufacturer_request.go +++ b/model_patched_manufacturer_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedManufacturerRequest{} // PatchedManufacturerRequest 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. type PatchedManufacturerRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedManufacturerRequestWithDefaults() *PatchedManufacturerRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedManufacturerRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedManufacturerRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedManufacturerRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedManufacturerRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedManufacturerRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -183,6 +216,9 @@ func (o PatchedManufacturerRequest) MarshalJSON() ([]byte, error) { func (o PatchedManufacturerRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -217,6 +253,7 @@ func (o *PatchedManufacturerRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_patched_metadata_choice_request.go b/model_patched_metadata_choice_request.go index 9d5188e8..4bf82d31 100644 --- a/model_patched_metadata_choice_request.go +++ b/model_patched_metadata_choice_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedMetadataChoiceRequest{} // PatchedMetadataChoiceRequest 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) type PatchedMetadataChoiceRequest struct { + Id *string `json:"id,omitempty"` Value *string `json:"value,omitempty"` // Higher weights appear later in the list Weight *int32 `json:"weight,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedMetadataChoiceRequestWithDefaults() *PatchedMetadataChoiceRequest return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedMetadataChoiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedMetadataChoiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedMetadataChoiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedMetadataChoiceRequest) SetId(v string) { + o.Id = &v +} + // GetValue returns the Value field value if set, zero value otherwise. func (o *PatchedMetadataChoiceRequest) GetValue() string { if o == nil || IsNil(o.Value) { @@ -151,6 +184,9 @@ func (o PatchedMetadataChoiceRequest) MarshalJSON() ([]byte, error) { func (o PatchedMetadataChoiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Value) { toSerialize["value"] = o.Value } @@ -182,6 +218,7 @@ func (o *PatchedMetadataChoiceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "value") delete(additionalProperties, "weight") delete(additionalProperties, "metadata_type") diff --git a/model_patched_metadata_type_request.go b/model_patched_metadata_type_request.go index 4e8b89ec..7cc673d8 100644 --- a/model_patched_metadata_type_request.go +++ b/model_patched_metadata_type_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedMetadataTypeRequest{} // PatchedMetadataTypeRequest 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. type PatchedMetadataTypeRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -26,6 +27,7 @@ type PatchedMetadataTypeRequest struct { DataType *DataTypeEnum `json:"data_type,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -48,6 +50,38 @@ func NewPatchedMetadataTypeRequestWithDefaults() *PatchedMetadataTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedMetadataTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedMetadataTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedMetadataTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedMetadataTypeRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedMetadataTypeRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -240,6 +274,38 @@ func (o *PatchedMetadataTypeRequest) SetRelationships(v map[string]BulkWritableC o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedMetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedMetadataTypeRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedMetadataTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedMetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedMetadataTypeRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -250,6 +316,9 @@ func (o PatchedMetadataTypeRequest) MarshalJSON() ([]byte, error) { func (o PatchedMetadataTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -268,6 +337,9 @@ func (o PatchedMetadataTypeRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -290,12 +362,14 @@ func (o *PatchedMetadataTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "data_type") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_module_bay_request.go b/model_patched_module_bay_request.go index bd2213eb..6aebe516 100644 --- a/model_patched_module_bay_request.go +++ b/model_patched_module_bay_request.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. @@ -19,6 +19,9 @@ var _ MappedNullable = &PatchedModuleBayRequest{} // PatchedModuleBayRequest 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. type PatchedModuleBayRequest struct { + Id *string `json:"id,omitempty"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` Name *string `json:"name,omitempty"` // The position of the module bay within the parent device/module Position *string `json:"position,omitempty"` @@ -27,6 +30,7 @@ type PatchedModuleBayRequest struct { Description *string `json:"description,omitempty"` ParentDevice NullableBulkWritableCircuitRequestTenant `json:"parent_device,omitempty"` ParentModule NullableBulkWritableCircuitRequestTenant `json:"parent_module,omitempty"` + ModuleFamily NullableBulkWritableModuleBayRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -52,6 +56,70 @@ func NewPatchedModuleBayRequestWithDefaults() *PatchedModuleBayRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedModuleBayRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleBayRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedModuleBayRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedModuleBayRequest) SetId(v string) { + o.Id = &v +} + +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *PatchedModuleBayRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleBayRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *PatchedModuleBayRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *PatchedModuleBayRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedModuleBayRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -264,6 +332,48 @@ func (o *PatchedModuleBayRequest) UnsetParentModule() { o.ParentModule.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedModuleBayRequest) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *PatchedModuleBayRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *PatchedModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *PatchedModuleBayRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *PatchedModuleBayRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedModuleBayRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -370,6 +480,12 @@ func (o PatchedModuleBayRequest) MarshalJSON() ([]byte, error) { func (o PatchedModuleBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -388,6 +504,9 @@ func (o PatchedModuleBayRequest) ToMap() (map[string]interface{}, error) { if o.ParentModule.IsSet() { toSerialize["parent_module"] = o.ParentModule.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -419,12 +538,15 @@ func (o *PatchedModuleBayRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "name") delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "parent_device") delete(additionalProperties, "parent_module") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_patched_module_bay_template_request.go b/model_patched_module_bay_template_request.go index 5b481709..c2d2a5fa 100644 --- a/model_patched_module_bay_template_request.go +++ b/model_patched_module_bay_template_request.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. @@ -19,14 +19,18 @@ var _ MappedNullable = &PatchedModuleBayTemplateRequest{} // PatchedModuleBayTemplateRequest 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. type PatchedModuleBayTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // The position of the module bay within the device or module Position *string `json:"position,omitempty"` // Physical label Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` + // This bay will only accept modules from the same manufacturer as the parent device or module + RequiresFirstPartyModules *bool `json:"requires_first_party_modules,omitempty"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` + ModuleFamily NullableBulkWritableModuleBayTemplateRequestModuleFamily `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -51,6 +55,38 @@ func NewPatchedModuleBayTemplateRequestWithDefaults() *PatchedModuleBayTemplateR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedModuleBayTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleBayTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedModuleBayTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedModuleBayTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedModuleBayTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -179,6 +215,38 @@ func (o *PatchedModuleBayTemplateRequest) SetDescription(v string) { o.Description = &v } +// GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field value if set, zero value otherwise. +func (o *PatchedModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + var ret bool + return ret + } + return *o.RequiresFirstPartyModules +} + +// GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleBayTemplateRequest) GetRequiresFirstPartyModulesOk() (*bool, bool) { + if o == nil || IsNil(o.RequiresFirstPartyModules) { + return nil, false + } + return o.RequiresFirstPartyModules, true +} + +// HasRequiresFirstPartyModules returns a boolean if a field has been set. +func (o *PatchedModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool { + if o != nil && !IsNil(o.RequiresFirstPartyModules) { + return true + } + + return false +} + +// SetRequiresFirstPartyModules gets a reference to the given bool and assigns it to the RequiresFirstPartyModules field. +func (o *PatchedModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool) { + o.RequiresFirstPartyModules = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -263,6 +331,48 @@ func (o *PatchedModuleBayTemplateRequest) UnsetModuleType() { o.ModuleType.Unset() } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableModuleBayTemplateRequestModuleFamily + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedModuleBayTemplateRequest) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *PatchedModuleBayTemplateRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableModuleBayTemplateRequestModuleFamily and assigns it to the ModuleFamily field. +func (o *PatchedModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *PatchedModuleBayTemplateRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *PatchedModuleBayTemplateRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedModuleBayTemplateRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -337,6 +447,9 @@ func (o PatchedModuleBayTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedModuleBayTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -349,12 +462,18 @@ func (o PatchedModuleBayTemplateRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.RequiresFirstPartyModules) { + toSerialize["requires_first_party_modules"] = o.RequiresFirstPartyModules + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } if o.ModuleType.IsSet() { toSerialize["module_type"] = o.ModuleType.Get() } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -383,12 +502,15 @@ func (o *PatchedModuleBayTemplateRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "position") delete(additionalProperties, "label") delete(additionalProperties, "description") + delete(additionalProperties, "requires_first_party_modules") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_patched_module_family_request.go b/model_patched_module_family_request.go new file mode 100644 index 00000000..4b32e08b --- /dev/null +++ b/model_patched_module_family_request.go @@ -0,0 +1,303 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedModuleFamilyRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedModuleFamilyRequest{} + +// PatchedModuleFamilyRequest API serializer for ModuleFamily objects. +type PatchedModuleFamilyRequest struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedModuleFamilyRequest PatchedModuleFamilyRequest + +// NewPatchedModuleFamilyRequest instantiates a new PatchedModuleFamilyRequest 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 +func NewPatchedModuleFamilyRequest() *PatchedModuleFamilyRequest { + this := PatchedModuleFamilyRequest{} + return &this +} + +// NewPatchedModuleFamilyRequestWithDefaults instantiates a new PatchedModuleFamilyRequest 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 +func NewPatchedModuleFamilyRequestWithDefaults() *PatchedModuleFamilyRequest { + this := PatchedModuleFamilyRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedModuleFamilyRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleFamilyRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedModuleFamilyRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedModuleFamilyRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedModuleFamilyRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleFamilyRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedModuleFamilyRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedModuleFamilyRequest) SetName(v string) { + o.Name = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedModuleFamilyRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleFamilyRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedModuleFamilyRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedModuleFamilyRequest) SetDescription(v string) { + o.Description = &v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedModuleFamilyRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleFamilyRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedModuleFamilyRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedModuleFamilyRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleFamilyRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedModuleFamilyRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o PatchedModuleFamilyRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedModuleFamilyRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedModuleFamilyRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedModuleFamilyRequest := _PatchedModuleFamilyRequest{} + + err = json.Unmarshal(data, &varPatchedModuleFamilyRequest) + + if err != nil { + return err + } + + *o = PatchedModuleFamilyRequest(varPatchedModuleFamilyRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedModuleFamilyRequest struct { + value *PatchedModuleFamilyRequest + isSet bool +} + +func (v NullablePatchedModuleFamilyRequest) Get() *PatchedModuleFamilyRequest { + return v.value +} + +func (v *NullablePatchedModuleFamilyRequest) Set(val *PatchedModuleFamilyRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedModuleFamilyRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedModuleFamilyRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedModuleFamilyRequest(val *PatchedModuleFamilyRequest) *NullablePatchedModuleFamilyRequest { + return &NullablePatchedModuleFamilyRequest{value: val, isSet: true} +} + +func (v NullablePatchedModuleFamilyRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedModuleFamilyRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_module_request.go b/model_patched_module_request.go index 939ddee0..c24b882e 100644 --- a/model_patched_module_request.go +++ b/model_patched_module_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedModuleRequest{} // PatchedModuleRequest 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. type PatchedModuleRequest struct { + Id *string `json:"id,omitempty"` Serial NullableString `json:"serial,omitempty"` // A unique tag used to identify this module AssetTag NullableString `json:"asset_tag,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedModuleRequestWithDefaults() *PatchedModuleRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedModuleRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedModuleRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedModuleRequest) SetId(v string) { + o.Id = &v +} + // GetSerial returns the Serial field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedModuleRequest) GetSerial() string { if o == nil || IsNil(o.Serial.Get()) { @@ -475,6 +508,9 @@ func (o PatchedModuleRequest) MarshalJSON() ([]byte, error) { func (o PatchedModuleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Serial.IsSet() { toSerialize["serial"] = o.Serial.Get() } @@ -530,6 +566,7 @@ func (o *PatchedModuleRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "serial") delete(additionalProperties, "asset_tag") delete(additionalProperties, "module_type") diff --git a/model_patched_module_type_request.go b/model_patched_module_type_request.go index 095f96b2..f2f1560d 100644 --- a/model_patched_module_type_request.go +++ b/model_patched_module_type_request.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. @@ -19,11 +19,13 @@ var _ MappedNullable = &PatchedModuleTypeRequest{} // PatchedModuleTypeRequest 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. type PatchedModuleTypeRequest struct { + Id *string `json:"id,omitempty"` Model *string `json:"model,omitempty"` // Discrete part number (optional) PartNumber *string `json:"part_number,omitempty"` Comments *string `json:"comments,omitempty"` Manufacturer *BulkWritableCableRequestStatus `json:"manufacturer,omitempty"` + ModuleFamily NullableBulkWritableCircuitRequestTenant `json:"module_family,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` @@ -49,6 +51,38 @@ func NewPatchedModuleTypeRequestWithDefaults() *PatchedModuleTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedModuleTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedModuleTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedModuleTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedModuleTypeRequest) SetId(v string) { + o.Id = &v +} + // GetModel returns the Model field value if set, zero value otherwise. func (o *PatchedModuleTypeRequest) GetModel() string { if o == nil || IsNil(o.Model) { @@ -177,6 +211,48 @@ func (o *PatchedModuleTypeRequest) SetManufacturer(v BulkWritableCableRequestSta o.Manufacturer = &v } +// GetModuleFamily returns the ModuleFamily field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ModuleFamily.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ModuleFamily.Get() +} + +// GetModuleFamilyOk returns a tuple with the ModuleFamily field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedModuleTypeRequest) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ModuleFamily.Get(), o.ModuleFamily.IsSet() +} + +// HasModuleFamily returns a boolean if a field has been set. +func (o *PatchedModuleTypeRequest) HasModuleFamily() bool { + if o != nil && o.ModuleFamily.IsSet() { + return true + } + + return false +} + +// SetModuleFamily gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ModuleFamily field. +func (o *PatchedModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant) { + o.ModuleFamily.Set(&v) +} +// SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil +func (o *PatchedModuleTypeRequest) SetModuleFamilyNil() { + o.ModuleFamily.Set(nil) +} + +// UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil +func (o *PatchedModuleTypeRequest) UnsetModuleFamily() { + o.ModuleFamily.Unset() +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedModuleTypeRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -283,6 +359,9 @@ func (o PatchedModuleTypeRequest) MarshalJSON() ([]byte, error) { func (o PatchedModuleTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Model) { toSerialize["model"] = o.Model } @@ -295,6 +374,9 @@ func (o PatchedModuleTypeRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Manufacturer) { toSerialize["manufacturer"] = o.Manufacturer } + if o.ModuleFamily.IsSet() { + toSerialize["module_family"] = o.ModuleFamily.Get() + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -326,10 +408,12 @@ func (o *PatchedModuleTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "model") delete(additionalProperties, "part_number") delete(additionalProperties, "comments") delete(additionalProperties, "manufacturer") + delete(additionalProperties, "module_family") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") delete(additionalProperties, "tags") diff --git a/model_patched_namespace_request.go b/model_patched_namespace_request.go index 044d283d..37824f6d 100644 --- a/model_patched_namespace_request.go +++ b/model_patched_namespace_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedNamespaceRequest{} // PatchedNamespaceRequest 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. type PatchedNamespaceRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` @@ -47,6 +48,38 @@ func NewPatchedNamespaceRequestWithDefaults() *PatchedNamespaceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedNamespaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedNamespaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedNamespaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedNamespaceRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedNamespaceRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -259,6 +292,9 @@ func (o PatchedNamespaceRequest) MarshalJSON() ([]byte, error) { func (o PatchedNamespaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -299,6 +335,7 @@ func (o *PatchedNamespaceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "location") diff --git a/model_patched_note_request.go b/model_patched_note_request.go index 62dbc44e..a464217c 100644 --- a/model_patched_note_request.go +++ b/model_patched_note_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedNoteRequest{} // PatchedNoteRequest This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type PatchedNoteRequest struct { + Id *string `json:"id,omitempty"` AssignedObjectType *string `json:"assigned_object_type,omitempty"` AssignedObjectId *string `json:"assigned_object_id,omitempty"` Note *string `json:"note,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedNoteRequestWithDefaults() *PatchedNoteRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedNoteRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedNoteRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedNoteRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedNoteRequest) SetId(v string) { + o.Id = &v +} + // GetAssignedObjectType returns the AssignedObjectType field value if set, zero value otherwise. func (o *PatchedNoteRequest) GetAssignedObjectType() string { if o == nil || IsNil(o.AssignedObjectType) { @@ -193,6 +226,9 @@ func (o PatchedNoteRequest) MarshalJSON() ([]byte, error) { func (o PatchedNoteRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.AssignedObjectType) { toSerialize["assigned_object_type"] = o.AssignedObjectType } @@ -227,6 +263,7 @@ func (o *PatchedNoteRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "assigned_object_type") delete(additionalProperties, "assigned_object_id") delete(additionalProperties, "note") diff --git a/model_patched_object_metadata_request.go b/model_patched_object_metadata_request.go index 42a28bf4..36f0cbc1 100644 --- a/model_patched_object_metadata_request.go +++ b/model_patched_object_metadata_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedObjectMetadataRequest{} // PatchedObjectMetadataRequest 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) type PatchedObjectMetadataRequest struct { + Id *string `json:"id,omitempty"` AssignedObjectType *string `json:"assigned_object_type,omitempty"` Value interface{} `json:"value,omitempty"` // List of scoped fields, only direct fields on the model @@ -49,6 +50,38 @@ func NewPatchedObjectMetadataRequestWithDefaults() *PatchedObjectMetadataRequest return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedObjectMetadataRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedObjectMetadataRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedObjectMetadataRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedObjectMetadataRequest) SetId(v string) { + o.Id = &v +} + // GetAssignedObjectType returns the AssignedObjectType field value if set, zero value otherwise. func (o *PatchedObjectMetadataRequest) GetAssignedObjectType() string { if o == nil || IsNil(o.AssignedObjectType) { @@ -305,6 +338,9 @@ func (o PatchedObjectMetadataRequest) MarshalJSON() ([]byte, error) { func (o PatchedObjectMetadataRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.AssignedObjectType) { toSerialize["assigned_object_type"] = o.AssignedObjectType } @@ -348,6 +384,7 @@ func (o *PatchedObjectMetadataRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "assigned_object_type") delete(additionalProperties, "value") delete(additionalProperties, "scoped_fields") diff --git a/model_patched_object_permission_request.go b/model_patched_object_permission_request.go index f45cb5e1..0f94a028 100644 --- a/model_patched_object_permission_request.go +++ b/model_patched_object_permission_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedObjectPermissionRequest{} // PatchedObjectPermissionRequest 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) type PatchedObjectPermissionRequest struct { + Id *string `json:"id,omitempty"` ObjectTypes []string `json:"object_types,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedObjectPermissionRequestWithDefaults() *PatchedObjectPermissionReq return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedObjectPermissionRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedObjectPermissionRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedObjectPermissionRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedObjectPermissionRequest) SetId(v string) { + o.Id = &v +} + // GetObjectTypes returns the ObjectTypes field value if set, zero value otherwise. func (o *PatchedObjectPermissionRequest) GetObjectTypes() []string { if o == nil || IsNil(o.ObjectTypes) { @@ -319,6 +352,9 @@ func (o PatchedObjectPermissionRequest) MarshalJSON() ([]byte, error) { func (o PatchedObjectPermissionRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ObjectTypes) { toSerialize["object_types"] = o.ObjectTypes } @@ -365,6 +401,7 @@ func (o *PatchedObjectPermissionRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "object_types") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_patched_platform_request.go b/model_patched_platform_request.go index 7c98445c..c65ec62b 100644 --- a/model_patched_platform_request.go +++ b/model_patched_platform_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedPlatformRequest{} // PatchedPlatformRequest 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. type PatchedPlatformRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // The normalized network driver to use when interacting with devices, e.g. cisco_ios, arista_eos, etc. Library-specific driver names will be derived from this setting as appropriate NetworkDriver *string `json:"network_driver,omitempty"` @@ -52,6 +53,38 @@ func NewPatchedPlatformRequestWithDefaults() *PatchedPlatformRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedPlatformRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedPlatformRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedPlatformRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedPlatformRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedPlatformRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -329,6 +362,9 @@ func (o PatchedPlatformRequest) MarshalJSON() ([]byte, error) { func (o PatchedPlatformRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -375,6 +411,7 @@ func (o *PatchedPlatformRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "network_driver") delete(additionalProperties, "napalm_driver") diff --git a/model_patched_power_panel_request.go b/model_patched_power_panel_request.go deleted file mode 100644 index 710d46c9..00000000 --- a/model_patched_power_panel_request.go +++ /dev/null @@ -1,350 +0,0 @@ -/* -API Documentation - -Source of truth and network automation platform - -API version: 2.3.4 (2.3) -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package nautobot - -import ( - "encoding/json" -) - -// checks if the PatchedPowerPanelRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &PatchedPowerPanelRequest{} - -// PatchedPowerPanelRequest 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. -type PatchedPowerPanelRequest struct { - Name *string `json:"name,omitempty"` - Location *BulkWritableCableRequestStatus `json:"location,omitempty"` - RackGroup NullableBulkWritableCircuitRequestTenant `json:"rack_group,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` - Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _PatchedPowerPanelRequest PatchedPowerPanelRequest - -// NewPatchedPowerPanelRequest instantiates a new PatchedPowerPanelRequest 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 -func NewPatchedPowerPanelRequest() *PatchedPowerPanelRequest { - this := PatchedPowerPanelRequest{} - return &this -} - -// NewPatchedPowerPanelRequestWithDefaults instantiates a new PatchedPowerPanelRequest 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 -func NewPatchedPowerPanelRequestWithDefaults() *PatchedPowerPanelRequest { - this := PatchedPowerPanelRequest{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PatchedPowerPanelRequest) GetName() string { - if o == nil || IsNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedPowerPanelRequest) GetNameOk() (*string, bool) { - if o == nil || IsNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PatchedPowerPanelRequest) HasName() bool { - if o != nil && !IsNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PatchedPowerPanelRequest) SetName(v string) { - o.Name = &v -} - -// GetLocation returns the Location field value if set, zero value otherwise. -func (o *PatchedPowerPanelRequest) GetLocation() BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Location) { - var ret BulkWritableCableRequestStatus - return ret - } - return *o.Location -} - -// GetLocationOk returns a tuple with the Location field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedPowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Location) { - return nil, false - } - return o.Location, true -} - -// HasLocation returns a boolean if a field has been set. -func (o *PatchedPowerPanelRequest) HasLocation() bool { - if o != nil && !IsNil(o.Location) { - return true - } - - return false -} - -// SetLocation gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Location field. -func (o *PatchedPowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus) { - o.Location = &v -} - -// GetRackGroup returns the RackGroup field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedPowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant { - if o == nil || IsNil(o.RackGroup.Get()) { - var ret BulkWritableCircuitRequestTenant - return ret - } - return *o.RackGroup.Get() -} - -// GetRackGroupOk returns a tuple with the RackGroup field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedPowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool) { - if o == nil { - return nil, false - } - return o.RackGroup.Get(), o.RackGroup.IsSet() -} - -// HasRackGroup returns a boolean if a field has been set. -func (o *PatchedPowerPanelRequest) HasRackGroup() bool { - if o != nil && o.RackGroup.IsSet() { - return true - } - - return false -} - -// SetRackGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the RackGroup field. -func (o *PatchedPowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant) { - o.RackGroup.Set(&v) -} -// SetRackGroupNil sets the value for RackGroup to be an explicit nil -func (o *PatchedPowerPanelRequest) SetRackGroupNil() { - o.RackGroup.Set(nil) -} - -// UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil -func (o *PatchedPowerPanelRequest) UnsetRackGroup() { - o.RackGroup.Unset() -} - -// GetCustomFields returns the CustomFields field value if set, zero value otherwise. -func (o *PatchedPowerPanelRequest) GetCustomFields() map[string]interface{} { - if o == nil || IsNil(o.CustomFields) { - var ret map[string]interface{} - return ret - } - return o.CustomFields -} - -// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedPowerPanelRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { - if o == nil || IsNil(o.CustomFields) { - return map[string]interface{}{}, false - } - return o.CustomFields, true -} - -// HasCustomFields returns a boolean if a field has been set. -func (o *PatchedPowerPanelRequest) HasCustomFields() bool { - if o != nil && !IsNil(o.CustomFields) { - return true - } - - return false -} - -// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. -func (o *PatchedPowerPanelRequest) SetCustomFields(v map[string]interface{}) { - o.CustomFields = v -} - -// GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *PatchedPowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { - if o == nil || IsNil(o.Relationships) { - var ret map[string]BulkWritableCableRequestRelationshipsValue - return ret - } - return *o.Relationships -} - -// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedPowerPanelRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { - if o == nil || IsNil(o.Relationships) { - return nil, false - } - return o.Relationships, true -} - -// HasRelationships returns a boolean if a field has been set. -func (o *PatchedPowerPanelRequest) HasRelationships() bool { - if o != nil && !IsNil(o.Relationships) { - return true - } - - return false -} - -// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. -func (o *PatchedPowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { - o.Relationships = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PatchedPowerPanelRequest) GetTags() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Tags) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedPowerPanelRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Tags) { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PatchedPowerPanelRequest) HasTags() bool { - if o != nil && !IsNil(o.Tags) { - return true - } - - return false -} - -// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. -func (o *PatchedPowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus) { - o.Tags = v -} - -func (o PatchedPowerPanelRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o PatchedPowerPanelRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Name) { - toSerialize["name"] = o.Name - } - if !IsNil(o.Location) { - toSerialize["location"] = o.Location - } - if o.RackGroup.IsSet() { - toSerialize["rack_group"] = o.RackGroup.Get() - } - if !IsNil(o.CustomFields) { - toSerialize["custom_fields"] = o.CustomFields - } - if !IsNil(o.Relationships) { - toSerialize["relationships"] = o.Relationships - } - if !IsNil(o.Tags) { - toSerialize["tags"] = o.Tags - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *PatchedPowerPanelRequest) UnmarshalJSON(data []byte) (err error) { - varPatchedPowerPanelRequest := _PatchedPowerPanelRequest{} - - err = json.Unmarshal(data, &varPatchedPowerPanelRequest) - - if err != nil { - return err - } - - *o = PatchedPowerPanelRequest(varPatchedPowerPanelRequest) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "name") - delete(additionalProperties, "location") - delete(additionalProperties, "rack_group") - delete(additionalProperties, "custom_fields") - delete(additionalProperties, "relationships") - delete(additionalProperties, "tags") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullablePatchedPowerPanelRequest struct { - value *PatchedPowerPanelRequest - isSet bool -} - -func (v NullablePatchedPowerPanelRequest) Get() *PatchedPowerPanelRequest { - return v.value -} - -func (v *NullablePatchedPowerPanelRequest) Set(val *PatchedPowerPanelRequest) { - v.value = val - v.isSet = true -} - -func (v NullablePatchedPowerPanelRequest) IsSet() bool { - return v.isSet -} - -func (v *NullablePatchedPowerPanelRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePatchedPowerPanelRequest(val *PatchedPowerPanelRequest) *NullablePatchedPowerPanelRequest { - return &NullablePatchedPowerPanelRequest{value: val, isSet: true} -} - -func (v NullablePatchedPowerPanelRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePatchedPowerPanelRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_patched_prefix_location_assignment_request.go b/model_patched_prefix_location_assignment_request.go index fa009287..0e1e00d1 100644 --- a/model_patched_prefix_location_assignment_request.go +++ b/model_patched_prefix_location_assignment_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedPrefixLocationAssignmentRequest{} // PatchedPrefixLocationAssignmentRequest 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) type PatchedPrefixLocationAssignmentRequest struct { + Id *string `json:"id,omitempty"` Prefix *BulkWritableCableRequestStatus `json:"prefix,omitempty"` Location *BulkWritableCableRequestStatus `json:"location,omitempty"` AdditionalProperties map[string]interface{} @@ -43,6 +44,38 @@ func NewPatchedPrefixLocationAssignmentRequestWithDefaults() *PatchedPrefixLocat return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedPrefixLocationAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedPrefixLocationAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedPrefixLocationAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedPrefixLocationAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetPrefix returns the Prefix field value if set, zero value otherwise. func (o *PatchedPrefixLocationAssignmentRequest) GetPrefix() BulkWritableCableRequestStatus { if o == nil || IsNil(o.Prefix) { @@ -117,6 +150,9 @@ func (o PatchedPrefixLocationAssignmentRequest) MarshalJSON() ([]byte, error) { func (o PatchedPrefixLocationAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Prefix) { toSerialize["prefix"] = o.Prefix } @@ -145,6 +181,7 @@ func (o *PatchedPrefixLocationAssignmentRequest) UnmarshalJSON(data []byte) (err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "prefix") delete(additionalProperties, "location") o.AdditionalProperties = additionalProperties diff --git a/model_patched_provider_network_request.go b/model_patched_provider_network_request.go index 8a242301..5d8a41e3 100644 --- a/model_patched_provider_network_request.go +++ b/model_patched_provider_network_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedProviderNetworkRequest{} // PatchedProviderNetworkRequest 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. type PatchedProviderNetworkRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -48,6 +49,38 @@ func NewPatchedProviderNetworkRequestWithDefaults() *PatchedProviderNetworkReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedProviderNetworkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedProviderNetworkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedProviderNetworkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedProviderNetworkRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedProviderNetworkRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -282,6 +315,9 @@ func (o PatchedProviderNetworkRequest) MarshalJSON() ([]byte, error) { func (o PatchedProviderNetworkRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -325,6 +361,7 @@ func (o *PatchedProviderNetworkRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "comments") diff --git a/model_patched_provider_request.go b/model_patched_provider_request.go index 401978c7..c75f3a2a 100644 --- a/model_patched_provider_request.go +++ b/model_patched_provider_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedProviderRequest{} // PatchedProviderRequest 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. type PatchedProviderRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // 32-bit autonomous system number Asn NullableInt64 `json:"asn,omitempty"` @@ -52,6 +53,38 @@ func NewPatchedProviderRequestWithDefaults() *PatchedProviderRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedProviderRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedProviderRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedProviderRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedProviderRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedProviderRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -392,6 +425,9 @@ func (o PatchedProviderRequest) MarshalJSON() ([]byte, error) { func (o PatchedProviderRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -444,6 +480,7 @@ func (o *PatchedProviderRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "asn") delete(additionalProperties, "account") diff --git a/model_patched_rack_group_request.go b/model_patched_rack_group_request.go index a8d4256e..e853bb86 100644 --- a/model_patched_rack_group_request.go +++ b/model_patched_rack_group_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedRackGroupRequest{} // PatchedRackGroupRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type PatchedRackGroupRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` @@ -47,6 +48,38 @@ func NewPatchedRackGroupRequestWithDefaults() *PatchedRackGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRackGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRackGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRackGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRackGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedRackGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -259,6 +292,9 @@ func (o PatchedRackGroupRequest) MarshalJSON() ([]byte, error) { func (o PatchedRackGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -299,6 +335,7 @@ func (o *PatchedRackGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "parent") diff --git a/model_patched_rack_reservation_request.go b/model_patched_rack_reservation_request.go index 55c1a5b6..03978607 100644 --- a/model_patched_rack_reservation_request.go +++ b/model_patched_rack_reservation_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedRackReservationRequest{} // PatchedRackReservationRequest 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. type PatchedRackReservationRequest struct { + Id *string `json:"id,omitempty"` // List of rack unit numbers to reserve Units interface{} `json:"units,omitempty"` Description *string `json:"description,omitempty"` @@ -50,6 +51,38 @@ func NewPatchedRackReservationRequestWithDefaults() *PatchedRackReservationReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRackReservationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRackReservationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRackReservationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRackReservationRequest) SetId(v string) { + o.Id = &v +} + // GetUnits returns the Units field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedRackReservationRequest) GetUnits() interface{} { if o == nil { @@ -327,6 +360,9 @@ func (o PatchedRackReservationRequest) MarshalJSON() ([]byte, error) { func (o PatchedRackReservationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Units != nil { toSerialize["units"] = o.Units } @@ -373,6 +409,7 @@ func (o *PatchedRackReservationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "units") delete(additionalProperties, "description") delete(additionalProperties, "rack") diff --git a/model_patched_radio_profile_request.go b/model_patched_radio_profile_request.go new file mode 100644 index 00000000..72e9af1f --- /dev/null +++ b/model_patched_radio_profile_request.go @@ -0,0 +1,629 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedRadioProfileRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedRadioProfileRequest{} + +// PatchedRadioProfileRequest 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. +type PatchedRadioProfileRequest struct { + Id *string `json:"id,omitempty"` + ChannelWidth []ChannelWidthEnum `json:"channel_width,omitempty"` + AllowedChannelList []int32 `json:"allowed_channel_list,omitempty"` + Name *string `json:"name,omitempty"` + Frequency *BulkWritableRadioProfileRequestFrequency `json:"frequency,omitempty"` + TxPowerMin NullableInt32 `json:"tx_power_min,omitempty"` + TxPowerMax NullableInt32 `json:"tx_power_max,omitempty"` + RegulatoryDomain *RegulatoryDomainEnum `json:"regulatory_domain,omitempty"` + RxPowerMin NullableInt32 `json:"rx_power_min,omitempty"` + SupportedDataRates []BulkWritableCableRequestStatus `json:"supported_data_rates,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedRadioProfileRequest PatchedRadioProfileRequest + +// NewPatchedRadioProfileRequest instantiates a new PatchedRadioProfileRequest 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 +func NewPatchedRadioProfileRequest() *PatchedRadioProfileRequest { + this := PatchedRadioProfileRequest{} + return &this +} + +// NewPatchedRadioProfileRequestWithDefaults instantiates a new PatchedRadioProfileRequest 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 +func NewPatchedRadioProfileRequestWithDefaults() *PatchedRadioProfileRequest { + this := PatchedRadioProfileRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRadioProfileRequest) SetId(v string) { + o.Id = &v +} + +// GetChannelWidth returns the ChannelWidth field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetChannelWidth() []ChannelWidthEnum { + if o == nil || IsNil(o.ChannelWidth) { + var ret []ChannelWidthEnum + return ret + } + return o.ChannelWidth +} + +// GetChannelWidthOk returns a tuple with the ChannelWidth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetChannelWidthOk() ([]ChannelWidthEnum, bool) { + if o == nil || IsNil(o.ChannelWidth) { + return nil, false + } + return o.ChannelWidth, true +} + +// HasChannelWidth returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasChannelWidth() bool { + if o != nil && !IsNil(o.ChannelWidth) { + return true + } + + return false +} + +// SetChannelWidth gets a reference to the given []ChannelWidthEnum and assigns it to the ChannelWidth field. +func (o *PatchedRadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum) { + o.ChannelWidth = v +} + +// GetAllowedChannelList returns the AllowedChannelList field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetAllowedChannelList() []int32 { + if o == nil || IsNil(o.AllowedChannelList) { + var ret []int32 + return ret + } + return o.AllowedChannelList +} + +// GetAllowedChannelListOk returns a tuple with the AllowedChannelList field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetAllowedChannelListOk() ([]int32, bool) { + if o == nil || IsNil(o.AllowedChannelList) { + return nil, false + } + return o.AllowedChannelList, true +} + +// HasAllowedChannelList returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasAllowedChannelList() bool { + if o != nil && !IsNil(o.AllowedChannelList) { + return true + } + + return false +} + +// SetAllowedChannelList gets a reference to the given []int32 and assigns it to the AllowedChannelList field. +func (o *PatchedRadioProfileRequest) SetAllowedChannelList(v []int32) { + o.AllowedChannelList = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedRadioProfileRequest) SetName(v string) { + o.Name = &v +} + +// GetFrequency returns the Frequency field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency { + if o == nil || IsNil(o.Frequency) { + var ret BulkWritableRadioProfileRequestFrequency + return ret + } + return *o.Frequency +} + +// GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetFrequencyOk() (*BulkWritableRadioProfileRequestFrequency, bool) { + if o == nil || IsNil(o.Frequency) { + return nil, false + } + return o.Frequency, true +} + +// HasFrequency returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasFrequency() bool { + if o != nil && !IsNil(o.Frequency) { + return true + } + + return false +} + +// SetFrequency gets a reference to the given BulkWritableRadioProfileRequestFrequency and assigns it to the Frequency field. +func (o *PatchedRadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency) { + o.Frequency = &v +} + +// GetTxPowerMin returns the TxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedRadioProfileRequest) GetTxPowerMin() int32 { + if o == nil || IsNil(o.TxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMin.Get() +} + +// GetTxPowerMinOk returns a tuple with the TxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedRadioProfileRequest) GetTxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMin.Get(), o.TxPowerMin.IsSet() +} + +// HasTxPowerMin returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasTxPowerMin() bool { + if o != nil && o.TxPowerMin.IsSet() { + return true + } + + return false +} + +// SetTxPowerMin gets a reference to the given NullableInt32 and assigns it to the TxPowerMin field. +func (o *PatchedRadioProfileRequest) SetTxPowerMin(v int32) { + o.TxPowerMin.Set(&v) +} +// SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil +func (o *PatchedRadioProfileRequest) SetTxPowerMinNil() { + o.TxPowerMin.Set(nil) +} + +// UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +func (o *PatchedRadioProfileRequest) UnsetTxPowerMin() { + o.TxPowerMin.Unset() +} + +// GetTxPowerMax returns the TxPowerMax field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedRadioProfileRequest) GetTxPowerMax() int32 { + if o == nil || IsNil(o.TxPowerMax.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMax.Get() +} + +// GetTxPowerMaxOk returns a tuple with the TxPowerMax field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedRadioProfileRequest) GetTxPowerMaxOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMax.Get(), o.TxPowerMax.IsSet() +} + +// HasTxPowerMax returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasTxPowerMax() bool { + if o != nil && o.TxPowerMax.IsSet() { + return true + } + + return false +} + +// SetTxPowerMax gets a reference to the given NullableInt32 and assigns it to the TxPowerMax field. +func (o *PatchedRadioProfileRequest) SetTxPowerMax(v int32) { + o.TxPowerMax.Set(&v) +} +// SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil +func (o *PatchedRadioProfileRequest) SetTxPowerMaxNil() { + o.TxPowerMax.Set(nil) +} + +// UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +func (o *PatchedRadioProfileRequest) UnsetTxPowerMax() { + o.TxPowerMax.Unset() +} + +// GetRegulatoryDomain returns the RegulatoryDomain field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum { + if o == nil || IsNil(o.RegulatoryDomain) { + var ret RegulatoryDomainEnum + return ret + } + return *o.RegulatoryDomain +} + +// GetRegulatoryDomainOk returns a tuple with the RegulatoryDomain field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetRegulatoryDomainOk() (*RegulatoryDomainEnum, bool) { + if o == nil || IsNil(o.RegulatoryDomain) { + return nil, false + } + return o.RegulatoryDomain, true +} + +// HasRegulatoryDomain returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasRegulatoryDomain() bool { + if o != nil && !IsNil(o.RegulatoryDomain) { + return true + } + + return false +} + +// SetRegulatoryDomain gets a reference to the given RegulatoryDomainEnum and assigns it to the RegulatoryDomain field. +func (o *PatchedRadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum) { + o.RegulatoryDomain = &v +} + +// GetRxPowerMin returns the RxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedRadioProfileRequest) GetRxPowerMin() int32 { + if o == nil || IsNil(o.RxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.RxPowerMin.Get() +} + +// GetRxPowerMinOk returns a tuple with the RxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedRadioProfileRequest) GetRxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.RxPowerMin.Get(), o.RxPowerMin.IsSet() +} + +// HasRxPowerMin returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasRxPowerMin() bool { + if o != nil && o.RxPowerMin.IsSet() { + return true + } + + return false +} + +// SetRxPowerMin gets a reference to the given NullableInt32 and assigns it to the RxPowerMin field. +func (o *PatchedRadioProfileRequest) SetRxPowerMin(v int32) { + o.RxPowerMin.Set(&v) +} +// SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil +func (o *PatchedRadioProfileRequest) SetRxPowerMinNil() { + o.RxPowerMin.Set(nil) +} + +// UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +func (o *PatchedRadioProfileRequest) UnsetRxPowerMin() { + o.RxPowerMin.Unset() +} + +// GetSupportedDataRates returns the SupportedDataRates field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.SupportedDataRates) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.SupportedDataRates +} + +// GetSupportedDataRatesOk returns a tuple with the SupportedDataRates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetSupportedDataRatesOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.SupportedDataRates) { + return nil, false + } + return o.SupportedDataRates, true +} + +// HasSupportedDataRates returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasSupportedDataRates() bool { + if o != nil && !IsNil(o.SupportedDataRates) { + return true + } + + return false +} + +// SetSupportedDataRates gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the SupportedDataRates field. +func (o *PatchedRadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus) { + o.SupportedDataRates = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedRadioProfileRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedRadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedRadioProfileRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRadioProfileRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedRadioProfileRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedRadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedRadioProfileRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedRadioProfileRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ChannelWidth) { + toSerialize["channel_width"] = o.ChannelWidth + } + if !IsNil(o.AllowedChannelList) { + toSerialize["allowed_channel_list"] = o.AllowedChannelList + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Frequency) { + toSerialize["frequency"] = o.Frequency + } + if o.TxPowerMin.IsSet() { + toSerialize["tx_power_min"] = o.TxPowerMin.Get() + } + if o.TxPowerMax.IsSet() { + toSerialize["tx_power_max"] = o.TxPowerMax.Get() + } + if !IsNil(o.RegulatoryDomain) { + toSerialize["regulatory_domain"] = o.RegulatoryDomain + } + if o.RxPowerMin.IsSet() { + toSerialize["rx_power_min"] = o.RxPowerMin.Get() + } + if !IsNil(o.SupportedDataRates) { + toSerialize["supported_data_rates"] = o.SupportedDataRates + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedRadioProfileRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedRadioProfileRequest := _PatchedRadioProfileRequest{} + + err = json.Unmarshal(data, &varPatchedRadioProfileRequest) + + if err != nil { + return err + } + + *o = PatchedRadioProfileRequest(varPatchedRadioProfileRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "channel_width") + delete(additionalProperties, "allowed_channel_list") + delete(additionalProperties, "name") + delete(additionalProperties, "frequency") + delete(additionalProperties, "tx_power_min") + delete(additionalProperties, "tx_power_max") + delete(additionalProperties, "regulatory_domain") + delete(additionalProperties, "rx_power_min") + delete(additionalProperties, "supported_data_rates") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedRadioProfileRequest struct { + value *PatchedRadioProfileRequest + isSet bool +} + +func (v NullablePatchedRadioProfileRequest) Get() *PatchedRadioProfileRequest { + return v.value +} + +func (v *NullablePatchedRadioProfileRequest) Set(val *PatchedRadioProfileRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedRadioProfileRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedRadioProfileRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedRadioProfileRequest(val *PatchedRadioProfileRequest) *NullablePatchedRadioProfileRequest { + return &NullablePatchedRadioProfileRequest{value: val, isSet: true} +} + +func (v NullablePatchedRadioProfileRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedRadioProfileRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_relationship_association_request.go b/model_patched_relationship_association_request.go index 3ce13396..0556159a 100644 --- a/model_patched_relationship_association_request.go +++ b/model_patched_relationship_association_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedRelationshipAssociationRequest{} // PatchedRelationshipAssociationRequest 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) type PatchedRelationshipAssociationRequest struct { + Id *string `json:"id,omitempty"` SourceType *string `json:"source_type,omitempty"` DestinationType *string `json:"destination_type,omitempty"` SourceId *string `json:"source_id,omitempty"` @@ -46,6 +47,38 @@ func NewPatchedRelationshipAssociationRequestWithDefaults() *PatchedRelationship return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRelationshipAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRelationshipAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRelationshipAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRelationshipAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetSourceType returns the SourceType field value if set, zero value otherwise. func (o *PatchedRelationshipAssociationRequest) GetSourceType() string { if o == nil || IsNil(o.SourceType) { @@ -216,6 +249,9 @@ func (o PatchedRelationshipAssociationRequest) MarshalJSON() ([]byte, error) { func (o PatchedRelationshipAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.SourceType) { toSerialize["source_type"] = o.SourceType } @@ -253,6 +289,7 @@ func (o *PatchedRelationshipAssociationRequest) UnmarshalJSON(data []byte) (err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "source_type") delete(additionalProperties, "destination_type") delete(additionalProperties, "source_id") diff --git a/model_patched_relationship_request.go b/model_patched_relationship_request.go index f23ffe92..3716277a 100644 --- a/model_patched_relationship_request.go +++ b/model_patched_relationship_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedRelationshipRequest{} // PatchedRelationshipRequest 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) type PatchedRelationshipRequest struct { + Id *string `json:"id,omitempty"` SourceType *string `json:"source_type,omitempty"` DestinationType *string `json:"destination_type,omitempty"` // Label of the relationship as displayed to users @@ -65,6 +66,38 @@ func NewPatchedRelationshipRequestWithDefaults() *PatchedRelationshipRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRelationshipRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRelationshipRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRelationshipRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRelationshipRequest) SetId(v string) { + o.Id = &v +} + // GetSourceType returns the SourceType field value if set, zero value otherwise. func (o *PatchedRelationshipRequest) GetSourceType() string { if o == nil || IsNil(o.SourceType) { @@ -525,6 +558,9 @@ func (o PatchedRelationshipRequest) MarshalJSON() ([]byte, error) { func (o PatchedRelationshipRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.SourceType) { toSerialize["source_type"] = o.SourceType } @@ -589,6 +625,7 @@ func (o *PatchedRelationshipRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "source_type") delete(additionalProperties, "destination_type") delete(additionalProperties, "label") diff --git a/model_patched_rir_request.go b/model_patched_rir_request.go index 557d77da..d6b33ed2 100644 --- a/model_patched_rir_request.go +++ b/model_patched_rir_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedRIRRequest{} // PatchedRIRRequest 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. type PatchedRIRRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // IP space managed by this RIR is considered private IsPrivate *bool `json:"is_private,omitempty"` @@ -47,6 +48,38 @@ func NewPatchedRIRRequestWithDefaults() *PatchedRIRRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRIRRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRIRRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRIRRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRIRRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedRIRRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -217,6 +250,9 @@ func (o PatchedRIRRequest) MarshalJSON() ([]byte, error) { func (o PatchedRIRRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -254,6 +290,7 @@ func (o *PatchedRIRRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "is_private") delete(additionalProperties, "description") diff --git a/model_patched_role_request.go b/model_patched_role_request.go index 8936d355..db8644d6 100644 --- a/model_patched_role_request.go +++ b/model_patched_role_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedRoleRequest{} // PatchedRoleRequest Serializer for `Role` objects. type PatchedRoleRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name *string `json:"name,omitempty"` // RGB color in hexadecimal (e.g. 00ff00) @@ -49,6 +50,38 @@ func NewPatchedRoleRequestWithDefaults() *PatchedRoleRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRoleRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRoleRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRoleRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRoleRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedRoleRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -293,6 +326,9 @@ func (o PatchedRoleRequest) MarshalJSON() ([]byte, error) { func (o PatchedRoleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -336,6 +372,7 @@ func (o *PatchedRoleRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "color") diff --git a/model_patched_route_target_request.go b/model_patched_route_target_request.go index cf37021c..97b2c0c9 100644 --- a/model_patched_route_target_request.go +++ b/model_patched_route_target_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedRouteTargetRequest{} // PatchedRouteTargetRequest 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. type PatchedRouteTargetRequest struct { + Id *string `json:"id,omitempty"` // Route target value (formatted in accordance with RFC 4360) Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` @@ -48,6 +49,38 @@ func NewPatchedRouteTargetRequestWithDefaults() *PatchedRouteTargetRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedRouteTargetRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedRouteTargetRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedRouteTargetRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedRouteTargetRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedRouteTargetRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -260,6 +293,9 @@ func (o PatchedRouteTargetRequest) MarshalJSON() ([]byte, error) { func (o PatchedRouteTargetRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -300,6 +336,7 @@ func (o *PatchedRouteTargetRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "tenant") diff --git a/model_patched_saved_view_request.go b/model_patched_saved_view_request.go index 64e57df3..7346ef4b 100644 --- a/model_patched_saved_view_request.go +++ b/model_patched_saved_view_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedSavedViewRequest{} // PatchedSavedViewRequest 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) type PatchedSavedViewRequest struct { + Id *string `json:"id,omitempty"` // The name of this view Name *string `json:"name,omitempty"` // The name of the list view that the saved view is derived from, e.g. dcim:device_list @@ -50,6 +51,38 @@ func NewPatchedSavedViewRequestWithDefaults() *PatchedSavedViewRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedSavedViewRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSavedViewRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedSavedViewRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedSavedViewRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedSavedViewRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -253,6 +286,9 @@ func (o PatchedSavedViewRequest) MarshalJSON() ([]byte, error) { func (o PatchedSavedViewRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -293,6 +329,7 @@ func (o *PatchedSavedViewRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "view") delete(additionalProperties, "config") diff --git a/model_patched_secret_request.go b/model_patched_secret_request.go index c10bafc8..5d504874 100644 --- a/model_patched_secret_request.go +++ b/model_patched_secret_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedSecretRequest{} // PatchedSecretRequest Serializer for `Secret` objects. type PatchedSecretRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Provider *string `json:"provider,omitempty"` @@ -48,6 +49,38 @@ func NewPatchedSecretRequestWithDefaults() *PatchedSecretRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedSecretRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSecretRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedSecretRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedSecretRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedSecretRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -283,6 +316,9 @@ func (o PatchedSecretRequest) MarshalJSON() ([]byte, error) { func (o PatchedSecretRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -326,6 +362,7 @@ func (o *PatchedSecretRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "provider") diff --git a/model_patched_secrets_group_association_request.go b/model_patched_secrets_group_association_request.go index fd31d79c..79ecf04a 100644 --- a/model_patched_secrets_group_association_request.go +++ b/model_patched_secrets_group_association_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedSecretsGroupAssociationRequest{} // PatchedSecretsGroupAssociationRequest Serializer for `SecretsGroupAssociation` objects. type PatchedSecretsGroupAssociationRequest struct { + Id *string `json:"id,omitempty"` AccessType *AccessTypeEnum `json:"access_type,omitempty"` SecretType *SecretTypeEnum `json:"secret_type,omitempty"` SecretsGroup *BulkWritableCableRequestStatus `json:"secrets_group,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedSecretsGroupAssociationRequestWithDefaults() *PatchedSecretsGroup return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedSecretsGroupAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSecretsGroupAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedSecretsGroupAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedSecretsGroupAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetAccessType returns the AccessType field value if set, zero value otherwise. func (o *PatchedSecretsGroupAssociationRequest) GetAccessType() AccessTypeEnum { if o == nil || IsNil(o.AccessType) { @@ -183,6 +216,9 @@ func (o PatchedSecretsGroupAssociationRequest) MarshalJSON() ([]byte, error) { func (o PatchedSecretsGroupAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.AccessType) { toSerialize["access_type"] = o.AccessType } @@ -217,6 +253,7 @@ func (o *PatchedSecretsGroupAssociationRequest) UnmarshalJSON(data []byte) (err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "access_type") delete(additionalProperties, "secret_type") delete(additionalProperties, "secrets_group") diff --git a/model_patched_secrets_group_request.go b/model_patched_secrets_group_request.go index 381313bc..cc84d86f 100644 --- a/model_patched_secrets_group_request.go +++ b/model_patched_secrets_group_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedSecretsGroupRequest{} // PatchedSecretsGroupRequest Serializer for `SecretsGroup` objects. type PatchedSecretsGroupRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -45,6 +46,38 @@ func NewPatchedSecretsGroupRequestWithDefaults() *PatchedSecretsGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedSecretsGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSecretsGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedSecretsGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedSecretsGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedSecretsGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -183,6 +216,9 @@ func (o PatchedSecretsGroupRequest) MarshalJSON() ([]byte, error) { func (o PatchedSecretsGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -217,6 +253,7 @@ func (o *PatchedSecretsGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_patched_software_image_file_request.go b/model_patched_software_image_file_request.go index 5b209b08..ad9aee31 100644 --- a/model_patched_software_image_file_request.go +++ b/model_patched_software_image_file_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedSoftwareImageFileRequest{} // PatchedSoftwareImageFileRequest 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. type PatchedSoftwareImageFileRequest struct { + Id *string `json:"id,omitempty"` ImageFileName *string `json:"image_file_name,omitempty"` ImageFileChecksum *string `json:"image_file_checksum,omitempty"` HashingAlgorithm *BulkWritableSoftwareImageFileRequestHashingAlgorithm `json:"hashing_algorithm,omitempty"` @@ -28,6 +29,7 @@ type PatchedSoftwareImageFileRequest struct { // Is the default image for this software version DefaultImage *bool `json:"default_image,omitempty"` SoftwareVersion *BulkWritableCableRequestStatus `json:"software_version,omitempty"` + ExternalIntegration NullableBulkWritableCircuitRequestTenant `json:"external_integration,omitempty"` Status *BulkWritableCableRequestStatus `json:"status,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -54,6 +56,38 @@ func NewPatchedSoftwareImageFileRequestWithDefaults() *PatchedSoftwareImageFileR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedSoftwareImageFileRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSoftwareImageFileRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedSoftwareImageFileRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedSoftwareImageFileRequest) SetId(v string) { + o.Id = &v +} + // GetImageFileName returns the ImageFileName field value if set, zero value otherwise. func (o *PatchedSoftwareImageFileRequest) GetImageFileName() string { if o == nil || IsNil(o.ImageFileName) { @@ -288,6 +322,48 @@ func (o *PatchedSoftwareImageFileRequest) SetSoftwareVersion(v BulkWritableCable o.SoftwareVersion = &v } +// GetExternalIntegration returns the ExternalIntegration field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedSoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ExternalIntegration.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ExternalIntegration.Get() +} + +// GetExternalIntegrationOk returns a tuple with the ExternalIntegration field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedSoftwareImageFileRequest) GetExternalIntegrationOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ExternalIntegration.Get(), o.ExternalIntegration.IsSet() +} + +// HasExternalIntegration returns a boolean if a field has been set. +func (o *PatchedSoftwareImageFileRequest) HasExternalIntegration() bool { + if o != nil && o.ExternalIntegration.IsSet() { + return true + } + + return false +} + +// SetExternalIntegration gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ExternalIntegration field. +func (o *PatchedSoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant) { + o.ExternalIntegration.Set(&v) +} +// SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil +func (o *PatchedSoftwareImageFileRequest) SetExternalIntegrationNil() { + o.ExternalIntegration.Set(nil) +} + +// UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil +func (o *PatchedSoftwareImageFileRequest) UnsetExternalIntegration() { + o.ExternalIntegration.Unset() +} + // GetStatus returns the Status field value if set, zero value otherwise. func (o *PatchedSoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus { if o == nil || IsNil(o.Status) { @@ -426,6 +502,9 @@ func (o PatchedSoftwareImageFileRequest) MarshalJSON() ([]byte, error) { func (o PatchedSoftwareImageFileRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ImageFileName) { toSerialize["image_file_name"] = o.ImageFileName } @@ -447,6 +526,9 @@ func (o PatchedSoftwareImageFileRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.SoftwareVersion) { toSerialize["software_version"] = o.SoftwareVersion } + if o.ExternalIntegration.IsSet() { + toSerialize["external_integration"] = o.ExternalIntegration.Get() + } if !IsNil(o.Status) { toSerialize["status"] = o.Status } @@ -481,6 +563,7 @@ func (o *PatchedSoftwareImageFileRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "image_file_name") delete(additionalProperties, "image_file_checksum") delete(additionalProperties, "hashing_algorithm") @@ -488,6 +571,7 @@ func (o *PatchedSoftwareImageFileRequest) UnmarshalJSON(data []byte) (err error) delete(additionalProperties, "download_url") delete(additionalProperties, "default_image") delete(additionalProperties, "software_version") + delete(additionalProperties, "external_integration") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_patched_software_version_request.go b/model_patched_software_version_request.go index 9b439d94..d69d84dd 100644 --- a/model_patched_software_version_request.go +++ b/model_patched_software_version_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedSoftwareVersionRequest{} // PatchedSoftwareVersionRequest 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. type PatchedSoftwareVersionRequest struct { + Id *string `json:"id,omitempty"` Version *string `json:"version,omitempty"` // Optional alternative label for this version Alias *string `json:"alias,omitempty"` @@ -56,6 +57,38 @@ func NewPatchedSoftwareVersionRequestWithDefaults() *PatchedSoftwareVersionReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedSoftwareVersionRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSoftwareVersionRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedSoftwareVersionRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedSoftwareVersionRequest) SetId(v string) { + o.Id = &v +} + // GetVersion returns the Version field value if set, zero value otherwise. func (o *PatchedSoftwareVersionRequest) GetVersion() string { if o == nil || IsNil(o.Version) { @@ -470,6 +503,9 @@ func (o PatchedSoftwareVersionRequest) MarshalJSON() ([]byte, error) { func (o PatchedSoftwareVersionRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Version) { toSerialize["version"] = o.Version } @@ -528,6 +564,7 @@ func (o *PatchedSoftwareVersionRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "version") delete(additionalProperties, "alias") delete(additionalProperties, "release_date") diff --git a/model_patched_static_group_association_request.go b/model_patched_static_group_association_request.go index a03dbf8e..a09f71a5 100644 --- a/model_patched_static_group_association_request.go +++ b/model_patched_static_group_association_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedStaticGroupAssociationRequest{} // PatchedStaticGroupAssociationRequest 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. type PatchedStaticGroupAssociationRequest struct { + Id *string `json:"id,omitempty"` AssociatedObjectType *string `json:"associated_object_type,omitempty"` AssociatedObjectId *string `json:"associated_object_id,omitempty"` DynamicGroup *BulkWritableCableRequestStatus `json:"dynamic_group,omitempty"` @@ -46,6 +47,38 @@ func NewPatchedStaticGroupAssociationRequestWithDefaults() *PatchedStaticGroupAs return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedStaticGroupAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedStaticGroupAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedStaticGroupAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedStaticGroupAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetAssociatedObjectType returns the AssociatedObjectType field value if set, zero value otherwise. func (o *PatchedStaticGroupAssociationRequest) GetAssociatedObjectType() string { if o == nil || IsNil(o.AssociatedObjectType) { @@ -216,6 +249,9 @@ func (o PatchedStaticGroupAssociationRequest) MarshalJSON() ([]byte, error) { func (o PatchedStaticGroupAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.AssociatedObjectType) { toSerialize["associated_object_type"] = o.AssociatedObjectType } @@ -253,6 +289,7 @@ func (o *PatchedStaticGroupAssociationRequest) UnmarshalJSON(data []byte) (err e additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "associated_object_type") delete(additionalProperties, "associated_object_id") delete(additionalProperties, "dynamic_group") diff --git a/model_patched_status_request.go b/model_patched_status_request.go index be729d7b..37d92b43 100644 --- a/model_patched_status_request.go +++ b/model_patched_status_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedStatusRequest{} // PatchedStatusRequest Serializer for `Status` objects. type PatchedStatusRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name *string `json:"name,omitempty"` // RGB color in hexadecimal (e.g. 00ff00) @@ -48,6 +49,38 @@ func NewPatchedStatusRequestWithDefaults() *PatchedStatusRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedStatusRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedStatusRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedStatusRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedStatusRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedStatusRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -250,6 +283,9 @@ func (o PatchedStatusRequest) MarshalJSON() ([]byte, error) { func (o PatchedStatusRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -290,6 +326,7 @@ func (o *PatchedStatusRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "color") diff --git a/model_patched_supported_data_rate_request.go b/model_patched_supported_data_rate_request.go new file mode 100644 index 00000000..daa5588a --- /dev/null +++ b/model_patched_supported_data_rate_request.go @@ -0,0 +1,388 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedSupportedDataRateRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedSupportedDataRateRequest{} + +// PatchedSupportedDataRateRequest 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. +type PatchedSupportedDataRateRequest struct { + Id *string `json:"id,omitempty"` + Standard *StandardEnum `json:"standard,omitempty"` + Rate *int32 `json:"rate,omitempty"` + // 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. + McsIndex NullableInt32 `json:"mcs_index,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedSupportedDataRateRequest PatchedSupportedDataRateRequest + +// NewPatchedSupportedDataRateRequest instantiates a new PatchedSupportedDataRateRequest 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 +func NewPatchedSupportedDataRateRequest() *PatchedSupportedDataRateRequest { + this := PatchedSupportedDataRateRequest{} + return &this +} + +// NewPatchedSupportedDataRateRequestWithDefaults instantiates a new PatchedSupportedDataRateRequest 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 +func NewPatchedSupportedDataRateRequestWithDefaults() *PatchedSupportedDataRateRequest { + this := PatchedSupportedDataRateRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedSupportedDataRateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSupportedDataRateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedSupportedDataRateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedSupportedDataRateRequest) SetId(v string) { + o.Id = &v +} + +// GetStandard returns the Standard field value if set, zero value otherwise. +func (o *PatchedSupportedDataRateRequest) GetStandard() StandardEnum { + if o == nil || IsNil(o.Standard) { + var ret StandardEnum + return ret + } + return *o.Standard +} + +// GetStandardOk returns a tuple with the Standard field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSupportedDataRateRequest) GetStandardOk() (*StandardEnum, bool) { + if o == nil || IsNil(o.Standard) { + return nil, false + } + return o.Standard, true +} + +// HasStandard returns a boolean if a field has been set. +func (o *PatchedSupportedDataRateRequest) HasStandard() bool { + if o != nil && !IsNil(o.Standard) { + return true + } + + return false +} + +// SetStandard gets a reference to the given StandardEnum and assigns it to the Standard field. +func (o *PatchedSupportedDataRateRequest) SetStandard(v StandardEnum) { + o.Standard = &v +} + +// GetRate returns the Rate field value if set, zero value otherwise. +func (o *PatchedSupportedDataRateRequest) GetRate() int32 { + if o == nil || IsNil(o.Rate) { + var ret int32 + return ret + } + return *o.Rate +} + +// GetRateOk returns a tuple with the Rate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSupportedDataRateRequest) GetRateOk() (*int32, bool) { + if o == nil || IsNil(o.Rate) { + return nil, false + } + return o.Rate, true +} + +// HasRate returns a boolean if a field has been set. +func (o *PatchedSupportedDataRateRequest) HasRate() bool { + if o != nil && !IsNil(o.Rate) { + return true + } + + return false +} + +// SetRate gets a reference to the given int32 and assigns it to the Rate field. +func (o *PatchedSupportedDataRateRequest) SetRate(v int32) { + o.Rate = &v +} + +// GetMcsIndex returns the McsIndex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedSupportedDataRateRequest) GetMcsIndex() int32 { + if o == nil || IsNil(o.McsIndex.Get()) { + var ret int32 + return ret + } + return *o.McsIndex.Get() +} + +// GetMcsIndexOk returns a tuple with the McsIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedSupportedDataRateRequest) GetMcsIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.McsIndex.Get(), o.McsIndex.IsSet() +} + +// HasMcsIndex returns a boolean if a field has been set. +func (o *PatchedSupportedDataRateRequest) HasMcsIndex() bool { + if o != nil && o.McsIndex.IsSet() { + return true + } + + return false +} + +// SetMcsIndex gets a reference to the given NullableInt32 and assigns it to the McsIndex field. +func (o *PatchedSupportedDataRateRequest) SetMcsIndex(v int32) { + o.McsIndex.Set(&v) +} +// SetMcsIndexNil sets the value for McsIndex to be an explicit nil +func (o *PatchedSupportedDataRateRequest) SetMcsIndexNil() { + o.McsIndex.Set(nil) +} + +// UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +func (o *PatchedSupportedDataRateRequest) UnsetMcsIndex() { + o.McsIndex.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedSupportedDataRateRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSupportedDataRateRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedSupportedDataRateRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedSupportedDataRateRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedSupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSupportedDataRateRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedSupportedDataRateRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedSupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedSupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSupportedDataRateRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedSupportedDataRateRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedSupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedSupportedDataRateRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedSupportedDataRateRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Standard) { + toSerialize["standard"] = o.Standard + } + if !IsNil(o.Rate) { + toSerialize["rate"] = o.Rate + } + if o.McsIndex.IsSet() { + toSerialize["mcs_index"] = o.McsIndex.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedSupportedDataRateRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedSupportedDataRateRequest := _PatchedSupportedDataRateRequest{} + + err = json.Unmarshal(data, &varPatchedSupportedDataRateRequest) + + if err != nil { + return err + } + + *o = PatchedSupportedDataRateRequest(varPatchedSupportedDataRateRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "standard") + delete(additionalProperties, "rate") + delete(additionalProperties, "mcs_index") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedSupportedDataRateRequest struct { + value *PatchedSupportedDataRateRequest + isSet bool +} + +func (v NullablePatchedSupportedDataRateRequest) Get() *PatchedSupportedDataRateRequest { + return v.value +} + +func (v *NullablePatchedSupportedDataRateRequest) Set(val *PatchedSupportedDataRateRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedSupportedDataRateRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedSupportedDataRateRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedSupportedDataRateRequest(val *PatchedSupportedDataRateRequest) *NullablePatchedSupportedDataRateRequest { + return &NullablePatchedSupportedDataRateRequest{value: val, isSet: true} +} + +func (v NullablePatchedSupportedDataRateRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedSupportedDataRateRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_tag_request.go b/model_patched_tag_request.go index 1377e879..b177710c 100644 --- a/model_patched_tag_request.go +++ b/model_patched_tag_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedTagRequest{} // PatchedTagRequest 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. type PatchedTagRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name *string `json:"name,omitempty"` // RGB color in hexadecimal (e.g. 00ff00) @@ -48,6 +49,38 @@ func NewPatchedTagRequestWithDefaults() *PatchedTagRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedTagRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedTagRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedTagRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedTagRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedTagRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -250,6 +283,9 @@ func (o PatchedTagRequest) MarshalJSON() ([]byte, error) { func (o PatchedTagRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -290,6 +326,7 @@ func (o *PatchedTagRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "color") diff --git a/model_patched_team_request.go b/model_patched_team_request.go index f7686912..331ee4d0 100644 --- a/model_patched_team_request.go +++ b/model_patched_team_request.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. @@ -19,14 +19,16 @@ var _ MappedNullable = &PatchedTeamRequest{} // PatchedTeamRequest 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. type PatchedTeamRequest struct { - Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` Address *string `json:"address,omitempty"` Comments *string `json:"comments,omitempty"` + Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -57,36 +59,36 @@ func NewPatchedTeamRequestWithDefaults() *PatchedTeamRequest { return &this } -// GetContacts returns the Contacts field value if set, zero value otherwise. -func (o *PatchedTeamRequest) GetContacts() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Contacts) { - var ret []BulkWritableCableRequestStatus +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedTeamRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string return ret } - return o.Contacts + return *o.Id } -// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedTeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Contacts) { +func (o *PatchedTeamRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { return nil, false } - return o.Contacts, true + return o.Id, true } -// HasContacts returns a boolean if a field has been set. -func (o *PatchedTeamRequest) HasContacts() bool { - if o != nil && !IsNil(o.Contacts) { +// HasId returns a boolean if a field has been set. +func (o *PatchedTeamRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { return true } return false } -// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. -func (o *PatchedTeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { - o.Contacts = v +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedTeamRequest) SetId(v string) { + o.Id = &v } // GetName returns the Name field value if set, zero value otherwise. @@ -249,6 +251,38 @@ func (o *PatchedTeamRequest) SetComments(v string) { o.Comments = &v } +// GetContacts returns the Contacts field value if set, zero value otherwise. +func (o *PatchedTeamRequest) GetContacts() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Contacts) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Contacts +} + +// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedTeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Contacts) { + return nil, false + } + return o.Contacts, true +} + +// HasContacts returns a boolean if a field has been set. +func (o *PatchedTeamRequest) HasContacts() bool { + if o != nil && !IsNil(o.Contacts) { + return true + } + + return false +} + +// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. +func (o *PatchedTeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { + o.Contacts = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedTeamRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -313,6 +347,38 @@ func (o *PatchedTeamRequest) SetRelationships(v map[string]BulkWritableCableRequ o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedTeamRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedTeamRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedTeamRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedTeamRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o PatchedTeamRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -323,8 +389,8 @@ func (o PatchedTeamRequest) MarshalJSON() ([]byte, error) { func (o PatchedTeamRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.Contacts) { - toSerialize["contacts"] = o.Contacts + if !IsNil(o.Id) { + toSerialize["id"] = o.Id } if !IsNil(o.Name) { toSerialize["name"] = o.Name @@ -341,12 +407,18 @@ func (o PatchedTeamRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } + if !IsNil(o.Contacts) { + toSerialize["contacts"] = o.Contacts + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -369,14 +441,16 @@ func (o *PatchedTeamRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "contacts") + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") delete(additionalProperties, "address") delete(additionalProperties, "comments") + delete(additionalProperties, "contacts") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_tenant_group_request.go b/model_patched_tenant_group_request.go index 0c7f3957..4a6c8811 100644 --- a/model_patched_tenant_group_request.go +++ b/model_patched_tenant_group_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedTenantGroupRequest{} // PatchedTenantGroupRequest 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. type PatchedTenantGroupRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` @@ -46,6 +47,38 @@ func NewPatchedTenantGroupRequestWithDefaults() *PatchedTenantGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedTenantGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedTenantGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedTenantGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedTenantGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedTenantGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -226,6 +259,9 @@ func (o PatchedTenantGroupRequest) MarshalJSON() ([]byte, error) { func (o PatchedTenantGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -263,6 +299,7 @@ func (o *PatchedTenantGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "parent") diff --git a/model_patched_tenant_request.go b/model_patched_tenant_request.go index c0510a05..805688a2 100644 --- a/model_patched_tenant_request.go +++ b/model_patched_tenant_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedTenantRequest{} // PatchedTenantRequest 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. type PatchedTenantRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -48,6 +49,38 @@ func NewPatchedTenantRequestWithDefaults() *PatchedTenantRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedTenantRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedTenantRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedTenantRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedTenantRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedTenantRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -292,6 +325,9 @@ func (o PatchedTenantRequest) MarshalJSON() ([]byte, error) { func (o PatchedTenantRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -335,6 +371,7 @@ func (o *PatchedTenantRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "comments") diff --git a/model_patched_token_request.go b/model_patched_token_request.go index 1bb94a4a..50b1b133 100644 --- a/model_patched_token_request.go +++ b/model_patched_token_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &PatchedTokenRequest{} // PatchedTokenRequest 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) type PatchedTokenRequest struct { + Id *string `json:"id,omitempty"` Key *string `json:"key,omitempty"` Expires NullableTime `json:"expires,omitempty"` // Permit create/update/delete operations using this key @@ -47,6 +48,38 @@ func NewPatchedTokenRequestWithDefaults() *PatchedTokenRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedTokenRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedTokenRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedTokenRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedTokenRequest) SetId(v string) { + o.Id = &v +} + // GetKey returns the Key field value if set, zero value otherwise. func (o *PatchedTokenRequest) GetKey() string { if o == nil || IsNil(o.Key) { @@ -195,6 +228,9 @@ func (o PatchedTokenRequest) MarshalJSON() ([]byte, error) { func (o PatchedTokenRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Key) { toSerialize["key"] = o.Key } @@ -229,6 +265,7 @@ func (o *PatchedTokenRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "key") delete(additionalProperties, "expires") delete(additionalProperties, "write_enabled") diff --git a/model_patched_user_request.go b/model_patched_user_request.go index f8d0b2af..d3eb51e7 100644 --- a/model_patched_user_request.go +++ b/model_patched_user_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &PatchedUserRequest{} // PatchedUserRequest 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) type PatchedUserRequest struct { + Id *string `json:"id,omitempty"` Password NullableString `json:"password,omitempty"` LastLogin NullableTime `json:"last_login,omitempty"` // Designates that this user has all permissions without explicitly assigning them. @@ -59,6 +60,38 @@ func NewPatchedUserRequestWithDefaults() *PatchedUserRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedUserRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedUserRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedUserRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedUserRequest) SetId(v string) { + o.Id = &v +} + // GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedUserRequest) GetPassword() string { if o == nil || IsNil(o.Password.Get()) { @@ -474,6 +507,9 @@ func (o PatchedUserRequest) MarshalJSON() ([]byte, error) { func (o PatchedUserRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Password.IsSet() { toSerialize["password"] = o.Password.Get() } @@ -532,6 +568,7 @@ func (o *PatchedUserRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "password") delete(additionalProperties, "last_login") delete(additionalProperties, "is_superuser") diff --git a/model_patched_user_saved_view_association_request.go b/model_patched_user_saved_view_association_request.go index 961bf483..c429dc04 100644 --- a/model_patched_user_saved_view_association_request.go +++ b/model_patched_user_saved_view_association_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedUserSavedViewAssociationRequest{} // PatchedUserSavedViewAssociationRequest 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) type PatchedUserSavedViewAssociationRequest struct { + Id *string `json:"id,omitempty"` ViewName *string `json:"view_name,omitempty"` SavedView *BulkWritableCableRequestStatus `json:"saved_view,omitempty"` User *BulkWritableCableRequestStatus `json:"user,omitempty"` @@ -44,6 +45,38 @@ func NewPatchedUserSavedViewAssociationRequestWithDefaults() *PatchedUserSavedVi return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedUserSavedViewAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedUserSavedViewAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedUserSavedViewAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedUserSavedViewAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetViewName returns the ViewName field value if set, zero value otherwise. func (o *PatchedUserSavedViewAssociationRequest) GetViewName() string { if o == nil || IsNil(o.ViewName) { @@ -150,6 +183,9 @@ func (o PatchedUserSavedViewAssociationRequest) MarshalJSON() ([]byte, error) { func (o PatchedUserSavedViewAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ViewName) { toSerialize["view_name"] = o.ViewName } @@ -181,6 +217,7 @@ func (o *PatchedUserSavedViewAssociationRequest) UnmarshalJSON(data []byte) (err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "view_name") delete(additionalProperties, "saved_view") delete(additionalProperties, "user") diff --git a/model_patched_virtual_chassis_request.go b/model_patched_virtual_chassis_request.go index f7187388..f91fc101 100644 --- a/model_patched_virtual_chassis_request.go +++ b/model_patched_virtual_chassis_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedVirtualChassisRequest{} // PatchedVirtualChassisRequest 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. type PatchedVirtualChassisRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Domain *string `json:"domain,omitempty"` Master NullableBulkWritableCircuitRequestTenant `json:"master,omitempty"` @@ -47,6 +48,38 @@ func NewPatchedVirtualChassisRequestWithDefaults() *PatchedVirtualChassisRequest return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVirtualChassisRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualChassisRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVirtualChassisRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVirtualChassisRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedVirtualChassisRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -259,6 +292,9 @@ func (o PatchedVirtualChassisRequest) MarshalJSON() ([]byte, error) { func (o PatchedVirtualChassisRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -299,6 +335,7 @@ func (o *PatchedVirtualChassisRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "domain") delete(additionalProperties, "master") diff --git a/model_patched_virtual_device_context_request.go b/model_patched_virtual_device_context_request.go new file mode 100644 index 00000000..2ddee014 --- /dev/null +++ b/model_patched_virtual_device_context_request.go @@ -0,0 +1,650 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedVirtualDeviceContextRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedVirtualDeviceContextRequest{} + +// PatchedVirtualDeviceContextRequest 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. +type PatchedVirtualDeviceContextRequest struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + // Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) + Identifier NullableInt32 `json:"identifier,omitempty"` + Description *string `json:"description,omitempty"` + Device *BulkWritableCableRequestStatus `json:"device,omitempty"` + Status *BulkWritableCableRequestStatus `json:"status,omitempty"` + Role NullableBulkWritableCircuitRequestTenant `json:"role,omitempty"` + PrimaryIp4 NullablePrimaryIPv4 `json:"primary_ip4,omitempty"` + PrimaryIp6 NullablePrimaryIPv6 `json:"primary_ip6,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedVirtualDeviceContextRequest PatchedVirtualDeviceContextRequest + +// NewPatchedVirtualDeviceContextRequest instantiates a new PatchedVirtualDeviceContextRequest 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 +func NewPatchedVirtualDeviceContextRequest() *PatchedVirtualDeviceContextRequest { + this := PatchedVirtualDeviceContextRequest{} + return &this +} + +// NewPatchedVirtualDeviceContextRequestWithDefaults instantiates a new PatchedVirtualDeviceContextRequest 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 +func NewPatchedVirtualDeviceContextRequestWithDefaults() *PatchedVirtualDeviceContextRequest { + this := PatchedVirtualDeviceContextRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVirtualDeviceContextRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedVirtualDeviceContextRequest) SetName(v string) { + o.Name = &v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedVirtualDeviceContextRequest) GetIdentifier() int32 { + if o == nil || IsNil(o.Identifier.Get()) { + var ret int32 + return ret + } + return *o.Identifier.Get() +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedVirtualDeviceContextRequest) GetIdentifierOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Identifier.Get(), o.Identifier.IsSet() +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableInt32 and assigns it to the Identifier field. +func (o *PatchedVirtualDeviceContextRequest) SetIdentifier(v int32) { + o.Identifier.Set(&v) +} +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *PatchedVirtualDeviceContextRequest) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *PatchedVirtualDeviceContextRequest) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedVirtualDeviceContextRequest) SetDescription(v string) { + o.Description = &v +} + +// GetDevice returns the Device field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Device) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Device +} + +// GetDeviceOk returns a tuple with the Device field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetDeviceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Device) { + return nil, false + } + return o.Device, true +} + +// HasDevice returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasDevice() bool { + if o != nil && !IsNil(o.Device) { + return true + } + + return false +} + +// SetDevice gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Device field. +func (o *PatchedVirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus) { + o.Device = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Status) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetStatusOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Status field. +func (o *PatchedVirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus) { + o.Status = &v +} + +// GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedVirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Role.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Role.Get() +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedVirtualDeviceContextRequest) GetRoleOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Role.Get(), o.Role.IsSet() +} + +// HasRole returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Role field. +func (o *PatchedVirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant) { + o.Role.Set(&v) +} +// SetRoleNil sets the value for Role to be an explicit nil +func (o *PatchedVirtualDeviceContextRequest) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *PatchedVirtualDeviceContextRequest) UnsetRole() { + o.Role.Unset() +} + +// GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedVirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4 { + if o == nil || IsNil(o.PrimaryIp4.Get()) { + var ret PrimaryIPv4 + return ret + } + return *o.PrimaryIp4.Get() +} + +// GetPrimaryIp4Ok returns a tuple with the PrimaryIp4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*PrimaryIPv4, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp4.Get(), o.PrimaryIp4.IsSet() +} + +// HasPrimaryIp4 returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasPrimaryIp4() bool { + if o != nil && o.PrimaryIp4.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp4 gets a reference to the given NullablePrimaryIPv4 and assigns it to the PrimaryIp4 field. +func (o *PatchedVirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4) { + o.PrimaryIp4.Set(&v) +} +// SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil +func (o *PatchedVirtualDeviceContextRequest) SetPrimaryIp4Nil() { + o.PrimaryIp4.Set(nil) +} + +// UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +func (o *PatchedVirtualDeviceContextRequest) UnsetPrimaryIp4() { + o.PrimaryIp4.Unset() +} + +// GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedVirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6 { + if o == nil || IsNil(o.PrimaryIp6.Get()) { + var ret PrimaryIPv6 + return ret + } + return *o.PrimaryIp6.Get() +} + +// GetPrimaryIp6Ok returns a tuple with the PrimaryIp6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*PrimaryIPv6, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp6.Get(), o.PrimaryIp6.IsSet() +} + +// HasPrimaryIp6 returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasPrimaryIp6() bool { + if o != nil && o.PrimaryIp6.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp6 gets a reference to the given NullablePrimaryIPv6 and assigns it to the PrimaryIp6 field. +func (o *PatchedVirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6) { + o.PrimaryIp6.Set(&v) +} +// SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil +func (o *PatchedVirtualDeviceContextRequest) SetPrimaryIp6Nil() { + o.PrimaryIp6.Set(nil) +} + +// UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +func (o *PatchedVirtualDeviceContextRequest) UnsetPrimaryIp6() { + o.PrimaryIp6.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedVirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedVirtualDeviceContextRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedVirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedVirtualDeviceContextRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedVirtualDeviceContextRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedVirtualDeviceContextRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedVirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedVirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualDeviceContextRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedVirtualDeviceContextRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedVirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedVirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedVirtualDeviceContextRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Device) { + toSerialize["device"] = o.Device + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if o.PrimaryIp4.IsSet() { + toSerialize["primary_ip4"] = o.PrimaryIp4.Get() + } + if o.PrimaryIp6.IsSet() { + toSerialize["primary_ip6"] = o.PrimaryIp6.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedVirtualDeviceContextRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedVirtualDeviceContextRequest := _PatchedVirtualDeviceContextRequest{} + + err = json.Unmarshal(data, &varPatchedVirtualDeviceContextRequest) + + if err != nil { + return err + } + + *o = PatchedVirtualDeviceContextRequest(varPatchedVirtualDeviceContextRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "identifier") + delete(additionalProperties, "description") + delete(additionalProperties, "device") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "primary_ip4") + delete(additionalProperties, "primary_ip6") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedVirtualDeviceContextRequest struct { + value *PatchedVirtualDeviceContextRequest + isSet bool +} + +func (v NullablePatchedVirtualDeviceContextRequest) Get() *PatchedVirtualDeviceContextRequest { + return v.value +} + +func (v *NullablePatchedVirtualDeviceContextRequest) Set(val *PatchedVirtualDeviceContextRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedVirtualDeviceContextRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedVirtualDeviceContextRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedVirtualDeviceContextRequest(val *PatchedVirtualDeviceContextRequest) *NullablePatchedVirtualDeviceContextRequest { + return &NullablePatchedVirtualDeviceContextRequest{value: val, isSet: true} +} + +func (v NullablePatchedVirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedVirtualDeviceContextRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_virtual_machine_request.go b/model_patched_virtual_machine_request.go index e315e71b..5b1fcbd3 100644 --- a/model_patched_virtual_machine_request.go +++ b/model_patched_virtual_machine_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedVirtualMachineRequest{} // PatchedVirtualMachineRequest 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. type PatchedVirtualMachineRequest struct { + Id *string `json:"id,omitempty"` LocalConfigContextData interface{} `json:"local_config_context_data,omitempty"` LocalConfigContextDataOwnerObjectId NullableString `json:"local_config_context_data_owner_object_id,omitempty"` Name *string `json:"name,omitempty"` @@ -63,6 +64,38 @@ func NewPatchedVirtualMachineRequestWithDefaults() *PatchedVirtualMachineRequest return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVirtualMachineRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVirtualMachineRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVirtualMachineRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVirtualMachineRequest) SetId(v string) { + o.Id = &v +} + // GetLocalConfigContextData returns the LocalConfigContextData field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedVirtualMachineRequest) GetLocalConfigContextData() interface{} { if o == nil { @@ -866,6 +899,9 @@ func (o PatchedVirtualMachineRequest) MarshalJSON() ([]byte, error) { func (o PatchedVirtualMachineRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.LocalConfigContextData != nil { toSerialize["local_config_context_data"] = o.LocalConfigContextData } @@ -951,6 +987,7 @@ func (o *PatchedVirtualMachineRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "local_config_context_data") delete(additionalProperties, "local_config_context_data_owner_object_id") delete(additionalProperties, "name") diff --git a/model_patched_vlan_group_request.go b/model_patched_vlan_group_request.go index 228d775e..6bda8442 100644 --- a/model_patched_vlan_group_request.go +++ b/model_patched_vlan_group_request.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. @@ -19,9 +19,13 @@ var _ MappedNullable = &PatchedVLANGroupRequest{} // PatchedVLANGroupRequest 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. type PatchedVLANGroupRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` + // Permitted VID range(s) as comma-separated list, default '1-4094' if left blank. + Range *string `json:"range,omitempty"` Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -46,6 +50,38 @@ func NewPatchedVLANGroupRequestWithDefaults() *PatchedVLANGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVLANGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVLANGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVLANGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVLANGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedVLANGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -110,6 +146,38 @@ func (o *PatchedVLANGroupRequest) SetDescription(v string) { o.Description = &v } +// GetRange returns the Range field value if set, zero value otherwise. +func (o *PatchedVLANGroupRequest) GetRange() string { + if o == nil || IsNil(o.Range) { + var ret string + return ret + } + return *o.Range +} + +// GetRangeOk returns a tuple with the Range field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVLANGroupRequest) GetRangeOk() (*string, bool) { + if o == nil || IsNil(o.Range) { + return nil, false + } + return o.Range, true +} + +// HasRange returns a boolean if a field has been set. +func (o *PatchedVLANGroupRequest) HasRange() bool { + if o != nil && !IsNil(o.Range) { + return true + } + + return false +} + +// SetRange gets a reference to the given string and assigns it to the Range field. +func (o *PatchedVLANGroupRequest) SetRange(v string) { + o.Range = &v +} + // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedVLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Location.Get()) { @@ -152,6 +220,38 @@ func (o *PatchedVLANGroupRequest) UnsetLocation() { o.Location.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedVLANGroupRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVLANGroupRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedVLANGroupRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedVLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedVLANGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -226,15 +326,24 @@ func (o PatchedVLANGroupRequest) MarshalJSON() ([]byte, error) { func (o PatchedVLANGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Range) { + toSerialize["range"] = o.Range + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -263,9 +372,12 @@ func (o *PatchedVLANGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "range") delete(additionalProperties, "location") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_patched_vlan_location_assignment_request.go b/model_patched_vlan_location_assignment_request.go index 472c2d1e..743e90ef 100644 --- a/model_patched_vlan_location_assignment_request.go +++ b/model_patched_vlan_location_assignment_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedVLANLocationAssignmentRequest{} // PatchedVLANLocationAssignmentRequest 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) type PatchedVLANLocationAssignmentRequest struct { + Id *string `json:"id,omitempty"` Vlan *BulkWritableCableRequestStatus `json:"vlan,omitempty"` Location *BulkWritableCableRequestStatus `json:"location,omitempty"` AdditionalProperties map[string]interface{} @@ -43,6 +44,38 @@ func NewPatchedVLANLocationAssignmentRequestWithDefaults() *PatchedVLANLocationA return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVLANLocationAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVLANLocationAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVLANLocationAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVLANLocationAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetVlan returns the Vlan field value if set, zero value otherwise. func (o *PatchedVLANLocationAssignmentRequest) GetVlan() BulkWritableCableRequestStatus { if o == nil || IsNil(o.Vlan) { @@ -117,6 +150,9 @@ func (o PatchedVLANLocationAssignmentRequest) MarshalJSON() ([]byte, error) { func (o PatchedVLANLocationAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Vlan) { toSerialize["vlan"] = o.Vlan } @@ -145,6 +181,7 @@ func (o *PatchedVLANLocationAssignmentRequest) UnmarshalJSON(data []byte) (err e additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "vlan") delete(additionalProperties, "location") o.AdditionalProperties = additionalProperties diff --git a/model_patched_vlan_request.go b/model_patched_vlan_request.go index dda0231c..588bb75e 100644 --- a/model_patched_vlan_request.go +++ b/model_patched_vlan_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedVLANRequest{} // PatchedVLANRequest 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. type PatchedVLANRequest struct { + Id *string `json:"id,omitempty"` Location NullableBulkWritablePrefixRequestLocation `json:"location,omitempty"` Vid *int32 `json:"vid,omitempty"` Name *string `json:"name,omitempty"` @@ -52,6 +53,38 @@ func NewPatchedVLANRequestWithDefaults() *PatchedVLANRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVLANRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVLANRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVLANRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVLANRequest) SetId(v string) { + o.Id = &v +} + // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedVLANRequest) GetLocation() BulkWritablePrefixRequestLocation { if o == nil || IsNil(o.Location.Get()) { @@ -454,6 +487,9 @@ func (o PatchedVLANRequest) MarshalJSON() ([]byte, error) { func (o PatchedVLANRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } @@ -509,6 +545,7 @@ func (o *PatchedVLANRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "location") delete(additionalProperties, "vid") delete(additionalProperties, "name") diff --git a/model_patched_vrf_device_assignment_request.go b/model_patched_vrf_device_assignment_request.go index 853e5144..fa97fdd2 100644 --- a/model_patched_vrf_device_assignment_request.go +++ b/model_patched_vrf_device_assignment_request.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. @@ -19,12 +19,14 @@ var _ MappedNullable = &PatchedVRFDeviceAssignmentRequest{} // PatchedVRFDeviceAssignmentRequest 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) type PatchedVRFDeviceAssignmentRequest struct { + Id *string `json:"id,omitempty"` // Unique route distinguisher (as defined in RFC 4364) Rd NullableString `json:"rd,omitempty"` Name *string `json:"name,omitempty"` Vrf *BulkWritableCableRequestStatus `json:"vrf,omitempty"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` VirtualMachine NullableBulkWritableCircuitRequestTenant `json:"virtual_machine,omitempty"` + VirtualDeviceContext NullableBulkWritableCircuitRequestTenant `json:"virtual_device_context,omitempty"` AdditionalProperties map[string]interface{} } @@ -47,6 +49,38 @@ func NewPatchedVRFDeviceAssignmentRequestWithDefaults() *PatchedVRFDeviceAssignm return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVRFDeviceAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVRFDeviceAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVRFDeviceAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVRFDeviceAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedVRFDeviceAssignmentRequest) GetRd() string { if o == nil || IsNil(o.Rd.Get()) { @@ -237,6 +271,48 @@ func (o *PatchedVRFDeviceAssignmentRequest) UnsetVirtualMachine() { o.VirtualMachine.Unset() } +// GetVirtualDeviceContext returns the VirtualDeviceContext field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedVRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.VirtualDeviceContext.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.VirtualDeviceContext.Get() +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedVRFDeviceAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.VirtualDeviceContext.Get(), o.VirtualDeviceContext.IsSet() +} + +// HasVirtualDeviceContext returns a boolean if a field has been set. +func (o *PatchedVRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool { + if o != nil && o.VirtualDeviceContext.IsSet() { + return true + } + + return false +} + +// SetVirtualDeviceContext gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the VirtualDeviceContext field. +func (o *PatchedVRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant) { + o.VirtualDeviceContext.Set(&v) +} +// SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil +func (o *PatchedVRFDeviceAssignmentRequest) SetVirtualDeviceContextNil() { + o.VirtualDeviceContext.Set(nil) +} + +// UnsetVirtualDeviceContext ensures that no value is present for VirtualDeviceContext, not even an explicit nil +func (o *PatchedVRFDeviceAssignmentRequest) UnsetVirtualDeviceContext() { + o.VirtualDeviceContext.Unset() +} + func (o PatchedVRFDeviceAssignmentRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -247,6 +323,9 @@ func (o PatchedVRFDeviceAssignmentRequest) MarshalJSON() ([]byte, error) { func (o PatchedVRFDeviceAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Rd.IsSet() { toSerialize["rd"] = o.Rd.Get() } @@ -262,6 +341,9 @@ func (o PatchedVRFDeviceAssignmentRequest) ToMap() (map[string]interface{}, erro if o.VirtualMachine.IsSet() { toSerialize["virtual_machine"] = o.VirtualMachine.Get() } + if o.VirtualDeviceContext.IsSet() { + toSerialize["virtual_device_context"] = o.VirtualDeviceContext.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -284,11 +366,13 @@ func (o *PatchedVRFDeviceAssignmentRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "rd") delete(additionalProperties, "name") delete(additionalProperties, "vrf") delete(additionalProperties, "device") delete(additionalProperties, "virtual_machine") + delete(additionalProperties, "virtual_device_context") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_vrf_prefix_assignment_request.go b/model_patched_vrf_prefix_assignment_request.go index 16df8e24..75ea31ad 100644 --- a/model_patched_vrf_prefix_assignment_request.go +++ b/model_patched_vrf_prefix_assignment_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedVRFPrefixAssignmentRequest{} // PatchedVRFPrefixAssignmentRequest 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) type PatchedVRFPrefixAssignmentRequest struct { + Id *string `json:"id,omitempty"` Vrf *BulkWritableCableRequestStatus `json:"vrf,omitempty"` Prefix *BulkWritableCableRequestStatus `json:"prefix,omitempty"` AdditionalProperties map[string]interface{} @@ -43,6 +44,38 @@ func NewPatchedVRFPrefixAssignmentRequestWithDefaults() *PatchedVRFPrefixAssignm return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVRFPrefixAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVRFPrefixAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVRFPrefixAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVRFPrefixAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetVrf returns the Vrf field value if set, zero value otherwise. func (o *PatchedVRFPrefixAssignmentRequest) GetVrf() BulkWritableCableRequestStatus { if o == nil || IsNil(o.Vrf) { @@ -117,6 +150,9 @@ func (o PatchedVRFPrefixAssignmentRequest) MarshalJSON() ([]byte, error) { func (o PatchedVRFPrefixAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Vrf) { toSerialize["vrf"] = o.Vrf } @@ -145,6 +181,7 @@ func (o *PatchedVRFPrefixAssignmentRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "vrf") delete(additionalProperties, "prefix") o.AdditionalProperties = additionalProperties diff --git a/model_patched_vrf_request.go b/model_patched_vrf_request.go index a2f94903..d6c5c90d 100644 --- a/model_patched_vrf_request.go +++ b/model_patched_vrf_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedVRFRequest{} // PatchedVRFRequest 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. type PatchedVRFRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Unique route distinguisher (as defined in RFC 4364) Rd NullableString `json:"rd,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedVRFRequestWithDefaults() *PatchedVRFRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedVRFRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedVRFRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedVRFRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedVRFRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedVRFRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -445,6 +478,9 @@ func (o PatchedVRFRequest) MarshalJSON() ([]byte, error) { func (o PatchedVRFRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -500,6 +536,7 @@ func (o *PatchedVRFRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "rd") delete(additionalProperties, "description") diff --git a/model_patched_webhook_request.go b/model_patched_webhook_request.go index 429684ce..8c91944a 100644 --- a/model_patched_webhook_request.go +++ b/model_patched_webhook_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWebhookRequest{} // PatchedWebhookRequest 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) type PatchedWebhookRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Name *string `json:"name,omitempty"` // Call this webhook when a matching object is created. @@ -65,6 +66,38 @@ func NewPatchedWebhookRequestWithDefaults() *PatchedWebhookRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWebhookRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWebhookRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWebhookRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWebhookRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedWebhookRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -523,6 +556,9 @@ func (o PatchedWebhookRequest) MarshalJSON() ([]byte, error) { func (o PatchedWebhookRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -587,6 +623,7 @@ func (o *PatchedWebhookRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "type_create") diff --git a/model_patched_wireless_network_request.go b/model_patched_wireless_network_request.go new file mode 100644 index 00000000..92bf4fe1 --- /dev/null +++ b/model_patched_wireless_network_request.go @@ -0,0 +1,619 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedWirelessNetworkRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedWirelessNetworkRequest{} + +// PatchedWirelessNetworkRequest 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. +type PatchedWirelessNetworkRequest struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Ssid *string `json:"ssid,omitempty"` + Mode *WirelessNetworkModeChoices `json:"mode,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Authentication *AuthenticationEnum `json:"authentication,omitempty"` + Hidden *bool `json:"hidden,omitempty"` + SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedWirelessNetworkRequest PatchedWirelessNetworkRequest + +// NewPatchedWirelessNetworkRequest instantiates a new PatchedWirelessNetworkRequest 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 +func NewPatchedWirelessNetworkRequest() *PatchedWirelessNetworkRequest { + this := PatchedWirelessNetworkRequest{} + return &this +} + +// NewPatchedWirelessNetworkRequestWithDefaults instantiates a new PatchedWirelessNetworkRequest 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 +func NewPatchedWirelessNetworkRequestWithDefaults() *PatchedWirelessNetworkRequest { + this := PatchedWirelessNetworkRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWirelessNetworkRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedWirelessNetworkRequest) SetName(v string) { + o.Name = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PatchedWirelessNetworkRequest) SetDescription(v string) { + o.Description = &v +} + +// GetSsid returns the Ssid field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetSsid() string { + if o == nil || IsNil(o.Ssid) { + var ret string + return ret + } + return *o.Ssid +} + +// GetSsidOk returns a tuple with the Ssid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetSsidOk() (*string, bool) { + if o == nil || IsNil(o.Ssid) { + return nil, false + } + return o.Ssid, true +} + +// HasSsid returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasSsid() bool { + if o != nil && !IsNil(o.Ssid) { + return true + } + + return false +} + +// SetSsid gets a reference to the given string and assigns it to the Ssid field. +func (o *PatchedWirelessNetworkRequest) SetSsid(v string) { + o.Ssid = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetMode() WirelessNetworkModeChoices { + if o == nil || IsNil(o.Mode) { + var ret WirelessNetworkModeChoices + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetModeOk() (*WirelessNetworkModeChoices, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given WirelessNetworkModeChoices and assigns it to the Mode field. +func (o *PatchedWirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices) { + o.Mode = &v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetEnabled() bool { + if o == nil || IsNil(o.Enabled) { + var ret bool + return ret + } + return *o.Enabled +} + +// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.Enabled) { + return nil, false + } + return o.Enabled, true +} + +// HasEnabled returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasEnabled() bool { + if o != nil && !IsNil(o.Enabled) { + return true + } + + return false +} + +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *PatchedWirelessNetworkRequest) SetEnabled(v bool) { + o.Enabled = &v +} + +// GetAuthentication returns the Authentication field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetAuthentication() AuthenticationEnum { + if o == nil || IsNil(o.Authentication) { + var ret AuthenticationEnum + return ret + } + return *o.Authentication +} + +// GetAuthenticationOk returns a tuple with the Authentication field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetAuthenticationOk() (*AuthenticationEnum, bool) { + if o == nil || IsNil(o.Authentication) { + return nil, false + } + return o.Authentication, true +} + +// HasAuthentication returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasAuthentication() bool { + if o != nil && !IsNil(o.Authentication) { + return true + } + + return false +} + +// SetAuthentication gets a reference to the given AuthenticationEnum and assigns it to the Authentication field. +func (o *PatchedWirelessNetworkRequest) SetAuthentication(v AuthenticationEnum) { + o.Authentication = &v +} + +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedWirelessNetworkRequest) SetHidden(v bool) { + o.Hidden = &v +} + +// GetSecretsGroup returns the SecretsGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.SecretsGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.SecretsGroup.Get() +} + +// GetSecretsGroupOk returns a tuple with the SecretsGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWirelessNetworkRequest) GetSecretsGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.SecretsGroup.Get(), o.SecretsGroup.IsSet() +} + +// HasSecretsGroup returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasSecretsGroup() bool { + if o != nil && o.SecretsGroup.IsSet() { + return true + } + + return false +} + +// SetSecretsGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the SecretsGroup field. +func (o *PatchedWirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant) { + o.SecretsGroup.Set(&v) +} +// SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil +func (o *PatchedWirelessNetworkRequest) SetSecretsGroupNil() { + o.SecretsGroup.Set(nil) +} + +// UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +func (o *PatchedWirelessNetworkRequest) UnsetSecretsGroup() { + o.SecretsGroup.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWirelessNetworkRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *PatchedWirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedWirelessNetworkRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedWirelessNetworkRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedWirelessNetworkRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedWirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedWirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWirelessNetworkRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedWirelessNetworkRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedWirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedWirelessNetworkRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedWirelessNetworkRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Ssid) { + toSerialize["ssid"] = o.Ssid + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + if !IsNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + if !IsNil(o.Authentication) { + toSerialize["authentication"] = o.Authentication + } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } + if o.SecretsGroup.IsSet() { + toSerialize["secrets_group"] = o.SecretsGroup.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedWirelessNetworkRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedWirelessNetworkRequest := _PatchedWirelessNetworkRequest{} + + err = json.Unmarshal(data, &varPatchedWirelessNetworkRequest) + + if err != nil { + return err + } + + *o = PatchedWirelessNetworkRequest(varPatchedWirelessNetworkRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "ssid") + delete(additionalProperties, "mode") + delete(additionalProperties, "enabled") + delete(additionalProperties, "authentication") + delete(additionalProperties, "hidden") + delete(additionalProperties, "secrets_group") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedWirelessNetworkRequest struct { + value *PatchedWirelessNetworkRequest + isSet bool +} + +func (v NullablePatchedWirelessNetworkRequest) Get() *PatchedWirelessNetworkRequest { + return v.value +} + +func (v *NullablePatchedWirelessNetworkRequest) Set(val *PatchedWirelessNetworkRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWirelessNetworkRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWirelessNetworkRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWirelessNetworkRequest(val *PatchedWirelessNetworkRequest) *NullablePatchedWirelessNetworkRequest { + return &NullablePatchedWirelessNetworkRequest{value: val, isSet: true} +} + +func (v NullablePatchedWirelessNetworkRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWirelessNetworkRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_writable_cable_request.go b/model_patched_writable_cable_request.go index c0221f21..42329e3d 100644 --- a/model_patched_writable_cable_request.go +++ b/model_patched_writable_cable_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableCableRequest{} // PatchedWritableCableRequest 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. type PatchedWritableCableRequest struct { + Id *string `json:"id,omitempty"` TerminationAType *string `json:"termination_a_type,omitempty"` TerminationBType *string `json:"termination_b_type,omitempty"` TerminationAId *string `json:"termination_a_id,omitempty"` @@ -55,6 +56,38 @@ func NewPatchedWritableCableRequestWithDefaults() *PatchedWritableCableRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableCableRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableCableRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableCableRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableCableRequest) SetId(v string) { + o.Id = &v +} + // GetTerminationAType returns the TerminationAType field value if set, zero value otherwise. func (o *PatchedWritableCableRequest) GetTerminationAType() string { if o == nil || IsNil(o.TerminationAType) { @@ -491,6 +524,9 @@ func (o PatchedWritableCableRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableCableRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.TerminationAType) { toSerialize["termination_a_type"] = o.TerminationAType } @@ -552,6 +588,7 @@ func (o *PatchedWritableCableRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "termination_a_type") delete(additionalProperties, "termination_b_type") delete(additionalProperties, "termination_a_id") diff --git a/model_patched_writable_cable_request_length_unit.go b/model_patched_writable_cable_request_length_unit.go index 0e67429b..89c596c4 100644 --- a/model_patched_writable_cable_request_length_unit.go +++ b/model_patched_writable_cable_request_length_unit.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritableCableRequestLengthUnit - struct for PatchedWritableCableRequestLengthUnit @@ -118,6 +118,20 @@ func (obj *PatchedWritableCableRequestLengthUnit) GetActualInstance() (interface return nil } +// Get the actual instance value +func (obj PatchedWritableCableRequestLengthUnit) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.LengthUnitEnum != nil { + return *obj.LengthUnitEnum + } + + // all schemas are nil + return nil +} + type NullablePatchedWritableCableRequestLengthUnit struct { value *PatchedWritableCableRequestLengthUnit isSet bool diff --git a/model_patched_writable_cable_request_type.go b/model_patched_writable_cable_request_type.go index d87e3a3d..af8af3ef 100644 --- a/model_patched_writable_cable_request_type.go +++ b/model_patched_writable_cable_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritableCableRequestType - struct for PatchedWritableCableRequestType @@ -118,6 +118,20 @@ func (obj *PatchedWritableCableRequestType) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj PatchedWritableCableRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.CableTypeChoices != nil { + return *obj.CableTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritableCableRequestType struct { value *PatchedWritableCableRequestType isSet bool diff --git a/model_patched_writable_console_port_request.go b/model_patched_writable_console_port_request.go index aa61c254..d3c527a8 100644 --- a/model_patched_writable_console_port_request.go +++ b/model_patched_writable_console_port_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableConsolePortRequest{} // PatchedWritableConsolePortRequest 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. type PatchedWritableConsolePortRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedWritableConsolePortRequestWithDefaults() *PatchedWritableConsoleP return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableConsolePortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableConsolePortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableConsolePortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableConsolePortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableConsolePortRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -369,6 +402,9 @@ func (o PatchedWritableConsolePortRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableConsolePortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -418,6 +454,7 @@ func (o *PatchedWritableConsolePortRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_console_port_request_type.go b/model_patched_writable_console_port_request_type.go index ab9f63d9..d5aaee72 100644 --- a/model_patched_writable_console_port_request_type.go +++ b/model_patched_writable_console_port_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritableConsolePortRequestType - Physical port type @@ -118,6 +118,20 @@ func (obj *PatchedWritableConsolePortRequestType) GetActualInstance() (interface return nil } +// Get the actual instance value +func (obj PatchedWritableConsolePortRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.ConsolePortTypeChoices != nil { + return *obj.ConsolePortTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritableConsolePortRequestType struct { value *PatchedWritableConsolePortRequestType isSet bool diff --git a/model_patched_writable_console_port_template_request.go b/model_patched_writable_console_port_template_request.go index 41312e16..be5f1673 100644 --- a/model_patched_writable_console_port_template_request.go +++ b/model_patched_writable_console_port_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableConsolePortTemplateRequest{} // PatchedWritableConsolePortTemplateRequest 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. type PatchedWritableConsolePortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -50,6 +51,38 @@ func NewPatchedWritableConsolePortTemplateRequestWithDefaults() *PatchedWritable return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableConsolePortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableConsolePortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableConsolePortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableConsolePortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableConsolePortTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -336,6 +369,9 @@ func (o PatchedWritableConsolePortTemplateRequest) MarshalJSON() ([]byte, error) func (o PatchedWritableConsolePortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -382,6 +418,7 @@ func (o *PatchedWritableConsolePortTemplateRequest) UnmarshalJSON(data []byte) ( additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_console_port_template_request_type.go b/model_patched_writable_console_port_template_request_type.go index f60614fd..8a85a1d2 100644 --- a/model_patched_writable_console_port_template_request_type.go +++ b/model_patched_writable_console_port_template_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritableConsolePortTemplateRequestType - struct for PatchedWritableConsolePortTemplateRequestType @@ -118,6 +118,20 @@ func (obj *PatchedWritableConsolePortTemplateRequestType) GetActualInstance() (i return nil } +// Get the actual instance value +func (obj PatchedWritableConsolePortTemplateRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.ConsolePortTypeChoices != nil { + return *obj.ConsolePortTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritableConsolePortTemplateRequestType struct { value *PatchedWritableConsolePortTemplateRequestType isSet bool diff --git a/model_patched_writable_console_server_port_request.go b/model_patched_writable_console_server_port_request.go index 78cb6049..a2af61b6 100644 --- a/model_patched_writable_console_server_port_request.go +++ b/model_patched_writable_console_server_port_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableConsoleServerPortRequest{} // PatchedWritableConsoleServerPortRequest 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. type PatchedWritableConsoleServerPortRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedWritableConsoleServerPortRequestWithDefaults() *PatchedWritableCo return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableConsoleServerPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableConsoleServerPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableConsoleServerPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableConsoleServerPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableConsoleServerPortRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -369,6 +402,9 @@ func (o PatchedWritableConsoleServerPortRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableConsoleServerPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -418,6 +454,7 @@ func (o *PatchedWritableConsoleServerPortRequest) UnmarshalJSON(data []byte) (er additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_console_server_port_template_request.go b/model_patched_writable_console_server_port_template_request.go index 41e5c64d..1ab876c4 100644 --- a/model_patched_writable_console_server_port_template_request.go +++ b/model_patched_writable_console_server_port_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableConsoleServerPortTemplateRequest{} // PatchedWritableConsoleServerPortTemplateRequest 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. type PatchedWritableConsoleServerPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -50,6 +51,38 @@ func NewPatchedWritableConsoleServerPortTemplateRequestWithDefaults() *PatchedWr return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableConsoleServerPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableConsoleServerPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableConsoleServerPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableConsoleServerPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableConsoleServerPortTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -336,6 +369,9 @@ func (o PatchedWritableConsoleServerPortTemplateRequest) MarshalJSON() ([]byte, func (o PatchedWritableConsoleServerPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -382,6 +418,7 @@ func (o *PatchedWritableConsoleServerPortTemplateRequest) UnmarshalJSON(data []b additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_custom_field_request.go b/model_patched_writable_custom_field_request.go index 0651458e..581dfb70 100644 --- a/model_patched_writable_custom_field_request.go +++ b/model_patched_writable_custom_field_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableCustomFieldRequest{} // PatchedWritableCustomFieldRequest 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) type PatchedWritableCustomFieldRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types,omitempty"` Label *string `json:"label,omitempty"` // Human-readable grouping that this custom field belongs to. @@ -67,6 +68,38 @@ func NewPatchedWritableCustomFieldRequestWithDefaults() *PatchedWritableCustomFi return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableCustomFieldRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableCustomFieldRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableCustomFieldRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableCustomFieldRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value if set, zero value otherwise. func (o *PatchedWritableCustomFieldRequest) GetContentTypes() []string { if o == nil || IsNil(o.ContentTypes) { @@ -546,6 +579,9 @@ func (o PatchedWritableCustomFieldRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableCustomFieldRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.ContentTypes) { toSerialize["content_types"] = o.ContentTypes } @@ -610,6 +646,7 @@ func (o *PatchedWritableCustomFieldRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "label") delete(additionalProperties, "grouping") diff --git a/model_patched_writable_device_redundancy_group_request.go b/model_patched_writable_device_redundancy_group_request.go index bd2a808a..a1241a79 100644 --- a/model_patched_writable_device_redundancy_group_request.go +++ b/model_patched_writable_device_redundancy_group_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableDeviceRedundancyGroupRequest{} // PatchedWritableDeviceRedundancyGroupRequest 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. type PatchedWritableDeviceRedundancyGroupRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` FailoverStrategy *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy `json:"failover_strategy,omitempty"` @@ -39,6 +40,8 @@ type _PatchedWritableDeviceRedundancyGroupRequest PatchedWritableDeviceRedundanc // will change when the set of required properties is changed func NewPatchedWritableDeviceRedundancyGroupRequest() *PatchedWritableDeviceRedundancyGroupRequest { this := PatchedWritableDeviceRedundancyGroupRequest{} + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy return &this } @@ -47,9 +50,43 @@ func NewPatchedWritableDeviceRedundancyGroupRequest() *PatchedWritableDeviceRedu // but it doesn't guarantee that properties required by API are set func NewPatchedWritableDeviceRedundancyGroupRequestWithDefaults() *PatchedWritableDeviceRedundancyGroupRequest { this := PatchedWritableDeviceRedundancyGroupRequest{} + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableDeviceRedundancyGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableDeviceRedundancyGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableDeviceRedundancyGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableDeviceRedundancyGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableDeviceRedundancyGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -358,6 +395,9 @@ func (o PatchedWritableDeviceRedundancyGroupRequest) MarshalJSON() ([]byte, erro func (o PatchedWritableDeviceRedundancyGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -407,6 +447,7 @@ func (o *PatchedWritableDeviceRedundancyGroupRequest) UnmarshalJSON(data []byte) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "failover_strategy") diff --git a/model_patched_writable_device_request.go b/model_patched_writable_device_request.go index 667058b7..7890baaa 100644 --- a/model_patched_writable_device_request.go +++ b/model_patched_writable_device_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableDeviceRequest{} // PatchedWritableDeviceRequest 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. type PatchedWritableDeviceRequest struct { + Id *string `json:"id,omitempty"` LocalConfigContextData interface{} `json:"local_config_context_data,omitempty"` LocalConfigContextDataOwnerObjectId NullableString `json:"local_config_context_data_owner_object_id,omitempty"` Name NullableString `json:"name,omitempty"` @@ -78,6 +79,38 @@ func NewPatchedWritableDeviceRequestWithDefaults() *PatchedWritableDeviceRequest return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableDeviceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableDeviceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableDeviceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableDeviceRequest) SetId(v string) { + o.Id = &v +} + // GetLocalConfigContextData returns the LocalConfigContextData field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritableDeviceRequest) GetLocalConfigContextData() interface{} { if o == nil { @@ -1355,6 +1388,9 @@ func (o PatchedWritableDeviceRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableDeviceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.LocalConfigContextData != nil { toSerialize["local_config_context_data"] = o.LocalConfigContextData } @@ -1476,6 +1512,7 @@ func (o *PatchedWritableDeviceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "local_config_context_data") delete(additionalProperties, "local_config_context_data_owner_object_id") delete(additionalProperties, "name") diff --git a/model_patched_writable_device_type_request.go b/model_patched_writable_device_type_request.go index fc72b8ae..02cecdff 100644 --- a/model_patched_writable_device_type_request.go +++ b/model_patched_writable_device_type_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &PatchedWritableDeviceTypeRequest{} // PatchedWritableDeviceTypeRequest 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. type PatchedWritableDeviceTypeRequest struct { + Id *string `json:"id,omitempty"` FrontImage **os.File `json:"front_image,omitempty"` RearImage **os.File `json:"rear_image,omitempty"` Model *string `json:"model,omitempty"` @@ -57,6 +58,38 @@ func NewPatchedWritableDeviceTypeRequestWithDefaults() *PatchedWritableDeviceTyp return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableDeviceTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableDeviceTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableDeviceTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableDeviceTypeRequest) SetId(v string) { + o.Id = &v +} + // GetFrontImage returns the FrontImage field value if set, zero value otherwise. func (o *PatchedWritableDeviceTypeRequest) GetFrontImage() *os.File { if o == nil || IsNil(o.FrontImage) { @@ -493,6 +526,9 @@ func (o PatchedWritableDeviceTypeRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableDeviceTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.FrontImage) { toSerialize["front_image"] = o.FrontImage } @@ -554,6 +590,7 @@ func (o *PatchedWritableDeviceTypeRequest) UnmarshalJSON(data []byte) (err error additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "front_image") delete(additionalProperties, "rear_image") delete(additionalProperties, "model") diff --git a/model_patched_writable_front_port_request.go b/model_patched_writable_front_port_request.go index 8fc175fe..83c861f0 100644 --- a/model_patched_writable_front_port_request.go +++ b/model_patched_writable_front_port_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableFrontPortRequest{} // PatchedWritableFrontPortRequest 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. type PatchedWritableFrontPortRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedWritableFrontPortRequestWithDefaults() *PatchedWritableFrontPortR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableFrontPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableFrontPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableFrontPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableFrontPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableFrontPortRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -435,6 +468,9 @@ func (o PatchedWritableFrontPortRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableFrontPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -490,6 +526,7 @@ func (o *PatchedWritableFrontPortRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_front_port_template_request.go b/model_patched_writable_front_port_template_request.go index eae9fa6e..f632b5f9 100644 --- a/model_patched_writable_front_port_template_request.go +++ b/model_patched_writable_front_port_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableFrontPortTemplateRequest{} // PatchedWritableFrontPortTemplateRequest 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. type PatchedWritableFrontPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -52,6 +53,38 @@ func NewPatchedWritableFrontPortTemplateRequestWithDefaults() *PatchedWritableFr return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableFrontPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableFrontPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableFrontPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableFrontPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableFrontPortTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -402,6 +435,9 @@ func (o PatchedWritableFrontPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableFrontPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -454,6 +490,7 @@ func (o *PatchedWritableFrontPortTemplateRequest) UnmarshalJSON(data []byte) (er additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_interface_redundancy_group_request.go b/model_patched_writable_interface_redundancy_group_request.go index 404b1ca8..b09a2cc8 100644 --- a/model_patched_writable_interface_redundancy_group_request.go +++ b/model_patched_writable_interface_redundancy_group_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableInterfaceRedundancyGroupRequest{} // PatchedWritableInterfaceRedundancyGroupRequest InterfaceRedundancyGroup Serializer. type PatchedWritableInterfaceRedundancyGroupRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Protocol *RedundancyProtocol `json:"protocol,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedWritableInterfaceRedundancyGroupRequestWithDefaults() *PatchedWri return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableInterfaceRedundancyGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableInterfaceRedundancyGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableInterfaceRedundancyGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableInterfaceRedundancyGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableInterfaceRedundancyGroupRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -401,6 +434,9 @@ func (o PatchedWritableInterfaceRedundancyGroupRequest) MarshalJSON() ([]byte, e func (o PatchedWritableInterfaceRedundancyGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -453,6 +489,7 @@ func (o *PatchedWritableInterfaceRedundancyGroupRequest) UnmarshalJSON(data []by additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "protocol") diff --git a/model_patched_writable_interface_request.go b/model_patched_writable_interface_request.go index 1c8c3f32..7ed6d16d 100644 --- a/model_patched_writable_interface_request.go +++ b/model_patched_writable_interface_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableInterfaceRequest{} // PatchedWritableInterfaceRequest 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. type PatchedWritableInterfaceRequest struct { + Id *string `json:"id,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Name *string `json:"name,omitempty"` // Physical label @@ -65,6 +66,38 @@ func NewPatchedWritableInterfaceRequestWithDefaults() *PatchedWritableInterfaceR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableInterfaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableInterfaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableInterfaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableInterfaceRequest) SetId(v string) { + o.Id = &v +} + // GetMacAddress returns the MacAddress field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritableInterfaceRequest) GetMacAddress() string { if o == nil || IsNil(o.MacAddress.Get()) { @@ -879,6 +912,9 @@ func (o PatchedWritableInterfaceRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableInterfaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.MacAddress.IsSet() { toSerialize["mac_address"] = o.MacAddress.Get() } @@ -967,6 +1003,7 @@ func (o *PatchedWritableInterfaceRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "mac_address") delete(additionalProperties, "name") delete(additionalProperties, "label") diff --git a/model_patched_writable_interface_request_mode.go b/model_patched_writable_interface_request_mode.go index 06db7a1c..492a5912 100644 --- a/model_patched_writable_interface_request_mode.go +++ b/model_patched_writable_interface_request_mode.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. @@ -12,14 +12,14 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritableInterfaceRequestMode - struct for PatchedWritableInterfaceRequestMode type PatchedWritableInterfaceRequestMode struct { BlankEnum *BlankEnum - ModeEnum *ModeEnum + InterfaceModeChoices *InterfaceModeChoices } // BlankEnumAsPatchedWritableInterfaceRequestMode is a convenience function that returns BlankEnum wrapped in PatchedWritableInterfaceRequestMode @@ -29,10 +29,10 @@ func BlankEnumAsPatchedWritableInterfaceRequestMode(v *BlankEnum) PatchedWritabl } } -// ModeEnumAsPatchedWritableInterfaceRequestMode is a convenience function that returns ModeEnum wrapped in PatchedWritableInterfaceRequestMode -func ModeEnumAsPatchedWritableInterfaceRequestMode(v *ModeEnum) PatchedWritableInterfaceRequestMode { +// InterfaceModeChoicesAsPatchedWritableInterfaceRequestMode is a convenience function that returns InterfaceModeChoices wrapped in PatchedWritableInterfaceRequestMode +func InterfaceModeChoicesAsPatchedWritableInterfaceRequestMode(v *InterfaceModeChoices) PatchedWritableInterfaceRequestMode { return PatchedWritableInterfaceRequestMode{ - ModeEnum: v, + InterfaceModeChoices: v, } } @@ -58,27 +58,27 @@ func (dst *PatchedWritableInterfaceRequestMode) UnmarshalJSON(data []byte) error dst.BlankEnum = nil } - // try to unmarshal data into ModeEnum - err = newStrictDecoder(data).Decode(&dst.ModeEnum) + // try to unmarshal data into InterfaceModeChoices + err = newStrictDecoder(data).Decode(&dst.InterfaceModeChoices) if err == nil { - jsonModeEnum, _ := json.Marshal(dst.ModeEnum) - if string(jsonModeEnum) == "{}" { // empty struct - dst.ModeEnum = nil + jsonInterfaceModeChoices, _ := json.Marshal(dst.InterfaceModeChoices) + if string(jsonInterfaceModeChoices) == "{}" { // empty struct + dst.InterfaceModeChoices = nil } else { - if err = validator.Validate(dst.ModeEnum); err != nil { - dst.ModeEnum = nil + if err = validator.Validate(dst.InterfaceModeChoices); err != nil { + dst.InterfaceModeChoices = nil } else { match++ } } } else { - dst.ModeEnum = nil + dst.InterfaceModeChoices = nil } if match > 1 { // more than 1 match // reset to nil dst.BlankEnum = nil - dst.ModeEnum = nil + dst.InterfaceModeChoices = nil return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableInterfaceRequestMode)") } else if match == 1 { @@ -94,8 +94,8 @@ func (src PatchedWritableInterfaceRequestMode) MarshalJSON() ([]byte, error) { return json.Marshal(&src.BlankEnum) } - if src.ModeEnum != nil { - return json.Marshal(&src.ModeEnum) + if src.InterfaceModeChoices != nil { + return json.Marshal(&src.InterfaceModeChoices) } return nil, nil // no data in oneOf schemas @@ -110,8 +110,22 @@ func (obj *PatchedWritableInterfaceRequestMode) GetActualInstance() (interface{} return obj.BlankEnum } - if obj.ModeEnum != nil { - return obj.ModeEnum + if obj.InterfaceModeChoices != nil { + return obj.InterfaceModeChoices + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj PatchedWritableInterfaceRequestMode) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.InterfaceModeChoices != nil { + return *obj.InterfaceModeChoices } // all schemas are nil diff --git a/model_patched_writable_interface_template_request.go b/model_patched_writable_interface_template_request.go index 1e081b5b..a7f61272 100644 --- a/model_patched_writable_interface_template_request.go +++ b/model_patched_writable_interface_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableInterfaceTemplateRequest{} // PatchedWritableInterfaceTemplateRequest 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. type PatchedWritableInterfaceTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedWritableInterfaceTemplateRequestWithDefaults() *PatchedWritableIn return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableInterfaceTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableInterfaceTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableInterfaceTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableInterfaceTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableInterfaceTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -369,6 +402,9 @@ func (o PatchedWritableInterfaceTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableInterfaceTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -418,6 +454,7 @@ func (o *PatchedWritableInterfaceTemplateRequest) UnmarshalJSON(data []byte) (er additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_power_feed_request.go b/model_patched_writable_power_feed_request.go index 53a7fc74..8653e948 100644 --- a/model_patched_writable_power_feed_request.go +++ b/model_patched_writable_power_feed_request.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. @@ -19,17 +19,23 @@ var _ MappedNullable = &PatchedWritablePowerFeedRequest{} // PatchedWritablePowerFeedRequest 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. type PatchedWritablePowerFeedRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *PowerFeedTypeChoices `json:"type,omitempty"` + PowerPath *PatchedWritablePowerFeedRequestPowerPath `json:"power_path,omitempty"` Supply *SupplyEnum `json:"supply,omitempty"` Phase *PhaseEnum `json:"phase,omitempty"` Voltage *int32 `json:"voltage,omitempty"` Amperage *int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` + // Starting circuit breaker position in panel + BreakerPosition NullableInt32 `json:"breaker_position,omitempty"` + BreakerPoleCount NullableBreakerPoleCountEnum `json:"breaker_pole_count,omitempty"` Comments *string `json:"comments,omitempty"` Cable NullableBulkWritableCircuitRequestTenant `json:"cable,omitempty"` - PowerPanel *BulkWritableCableRequestStatus `json:"power_panel,omitempty"` + PowerPanel *BulkWritablePowerFeedRequestPowerPanel `json:"power_panel,omitempty"` + DestinationPanel NullableBulkWritablePowerFeedRequestDestinationPanel `json:"destination_panel,omitempty"` Rack NullableBulkWritableCircuitRequestTenant `json:"rack,omitempty"` Status *BulkWritableCableRequestStatus `json:"status,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -57,6 +63,38 @@ func NewPatchedWritablePowerFeedRequestWithDefaults() *PatchedWritablePowerFeedR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritablePowerFeedRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerFeedRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritablePowerFeedRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritablePowerFeedRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritablePowerFeedRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -121,6 +159,38 @@ func (o *PatchedWritablePowerFeedRequest) SetType(v PowerFeedTypeChoices) { o.Type = &v } +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *PatchedWritablePowerFeedRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath { + if o == nil || IsNil(o.PowerPath) { + var ret PatchedWritablePowerFeedRequestPowerPath + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerFeedRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *PatchedWritablePowerFeedRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PatchedWritablePowerFeedRequestPowerPath and assigns it to the PowerPath field. +func (o *PatchedWritablePowerFeedRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath) { + o.PowerPath = &v +} + // GetSupply returns the Supply field value if set, zero value otherwise. func (o *PatchedWritablePowerFeedRequest) GetSupply() SupplyEnum { if o == nil || IsNil(o.Supply) { @@ -281,6 +351,90 @@ func (o *PatchedWritablePowerFeedRequest) SetMaxUtilization(v int32) { o.MaxUtilization = &v } +// GetBreakerPosition returns the BreakerPosition field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritablePowerFeedRequest) GetBreakerPosition() int32 { + if o == nil || IsNil(o.BreakerPosition.Get()) { + var ret int32 + return ret + } + return *o.BreakerPosition.Get() +} + +// GetBreakerPositionOk returns a tuple with the BreakerPosition field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWritablePowerFeedRequest) GetBreakerPositionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPosition.Get(), o.BreakerPosition.IsSet() +} + +// HasBreakerPosition returns a boolean if a field has been set. +func (o *PatchedWritablePowerFeedRequest) HasBreakerPosition() bool { + if o != nil && o.BreakerPosition.IsSet() { + return true + } + + return false +} + +// SetBreakerPosition gets a reference to the given NullableInt32 and assigns it to the BreakerPosition field. +func (o *PatchedWritablePowerFeedRequest) SetBreakerPosition(v int32) { + o.BreakerPosition.Set(&v) +} +// SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil +func (o *PatchedWritablePowerFeedRequest) SetBreakerPositionNil() { + o.BreakerPosition.Set(nil) +} + +// UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil +func (o *PatchedWritablePowerFeedRequest) UnsetBreakerPosition() { + o.BreakerPosition.Unset() +} + +// GetBreakerPoleCount returns the BreakerPoleCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum { + if o == nil || IsNil(o.BreakerPoleCount.Get()) { + var ret BreakerPoleCountEnum + return ret + } + return *o.BreakerPoleCount.Get() +} + +// GetBreakerPoleCountOk returns a tuple with the BreakerPoleCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWritablePowerFeedRequest) GetBreakerPoleCountOk() (*BreakerPoleCountEnum, bool) { + if o == nil { + return nil, false + } + return o.BreakerPoleCount.Get(), o.BreakerPoleCount.IsSet() +} + +// HasBreakerPoleCount returns a boolean if a field has been set. +func (o *PatchedWritablePowerFeedRequest) HasBreakerPoleCount() bool { + if o != nil && o.BreakerPoleCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPoleCount gets a reference to the given NullableBreakerPoleCountEnum and assigns it to the BreakerPoleCount field. +func (o *PatchedWritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum) { + o.BreakerPoleCount.Set(&v) +} +// SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil +func (o *PatchedWritablePowerFeedRequest) SetBreakerPoleCountNil() { + o.BreakerPoleCount.Set(nil) +} + +// UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil +func (o *PatchedWritablePowerFeedRequest) UnsetBreakerPoleCount() { + o.BreakerPoleCount.Unset() +} + // GetComments returns the Comments field value if set, zero value otherwise. func (o *PatchedWritablePowerFeedRequest) GetComments() string { if o == nil || IsNil(o.Comments) { @@ -356,9 +510,9 @@ func (o *PatchedWritablePowerFeedRequest) UnsetCable() { } // GetPowerPanel returns the PowerPanel field value if set, zero value otherwise. -func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus { +func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel { if o == nil || IsNil(o.PowerPanel) { - var ret BulkWritableCableRequestStatus + var ret BulkWritablePowerFeedRequestPowerPanel return ret } return *o.PowerPanel @@ -366,7 +520,7 @@ func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableReque // GetPowerPanelOk returns a tuple with the PowerPanel field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool) { +func (o *PatchedWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritablePowerFeedRequestPowerPanel, bool) { if o == nil || IsNil(o.PowerPanel) { return nil, false } @@ -382,11 +536,53 @@ func (o *PatchedWritablePowerFeedRequest) HasPowerPanel() bool { return false } -// SetPowerPanel gets a reference to the given BulkWritableCableRequestStatus and assigns it to the PowerPanel field. -func (o *PatchedWritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus) { +// SetPowerPanel gets a reference to the given BulkWritablePowerFeedRequestPowerPanel and assigns it to the PowerPanel field. +func (o *PatchedWritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel) { o.PowerPanel = &v } +// GetDestinationPanel returns the DestinationPanel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel { + if o == nil || IsNil(o.DestinationPanel.Get()) { + var ret BulkWritablePowerFeedRequestDestinationPanel + return ret + } + return *o.DestinationPanel.Get() +} + +// GetDestinationPanelOk returns a tuple with the DestinationPanel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWritablePowerFeedRequest) GetDestinationPanelOk() (*BulkWritablePowerFeedRequestDestinationPanel, bool) { + if o == nil { + return nil, false + } + return o.DestinationPanel.Get(), o.DestinationPanel.IsSet() +} + +// HasDestinationPanel returns a boolean if a field has been set. +func (o *PatchedWritablePowerFeedRequest) HasDestinationPanel() bool { + if o != nil && o.DestinationPanel.IsSet() { + return true + } + + return false +} + +// SetDestinationPanel gets a reference to the given NullableBulkWritablePowerFeedRequestDestinationPanel and assigns it to the DestinationPanel field. +func (o *PatchedWritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel) { + o.DestinationPanel.Set(&v) +} +// SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil +func (o *PatchedWritablePowerFeedRequest) SetDestinationPanelNil() { + o.DestinationPanel.Set(nil) +} + +// UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil +func (o *PatchedWritablePowerFeedRequest) UnsetDestinationPanel() { + o.DestinationPanel.Unset() +} + // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Rack.Get()) { @@ -567,12 +763,18 @@ func (o PatchedWritablePowerFeedRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritablePowerFeedRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } if !IsNil(o.Type) { toSerialize["type"] = o.Type } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } if !IsNil(o.Supply) { toSerialize["supply"] = o.Supply } @@ -588,6 +790,12 @@ func (o PatchedWritablePowerFeedRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.MaxUtilization) { toSerialize["max_utilization"] = o.MaxUtilization } + if o.BreakerPosition.IsSet() { + toSerialize["breaker_position"] = o.BreakerPosition.Get() + } + if o.BreakerPoleCount.IsSet() { + toSerialize["breaker_pole_count"] = o.BreakerPoleCount.Get() + } if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } @@ -597,6 +805,9 @@ func (o PatchedWritablePowerFeedRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.PowerPanel) { toSerialize["power_panel"] = o.PowerPanel } + if o.DestinationPanel.IsSet() { + toSerialize["destination_panel"] = o.DestinationPanel.Get() + } if o.Rack.IsSet() { toSerialize["rack"] = o.Rack.Get() } @@ -634,16 +845,21 @@ func (o *PatchedWritablePowerFeedRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "type") + delete(additionalProperties, "power_path") delete(additionalProperties, "supply") delete(additionalProperties, "phase") delete(additionalProperties, "voltage") delete(additionalProperties, "amperage") delete(additionalProperties, "max_utilization") + delete(additionalProperties, "breaker_position") + delete(additionalProperties, "breaker_pole_count") delete(additionalProperties, "comments") delete(additionalProperties, "cable") delete(additionalProperties, "power_panel") + delete(additionalProperties, "destination_panel") delete(additionalProperties, "rack") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") diff --git a/model_patched_writable_power_feed_request_power_path.go b/model_patched_writable_power_feed_request_power_path.go new file mode 100644 index 00000000..67316fa6 --- /dev/null +++ b/model_patched_writable_power_feed_request_power_path.go @@ -0,0 +1,171 @@ +/* +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 ( + "encoding/json" + "fmt" + "gopkg.in/validator.v2" +) + +// PatchedWritablePowerFeedRequestPowerPath - Physical power distribution redundancy path. +type PatchedWritablePowerFeedRequestPowerPath struct { + BlankEnum *BlankEnum + PowerPathEnum *PowerPathEnum +} + +// BlankEnumAsPatchedWritablePowerFeedRequestPowerPath is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerFeedRequestPowerPath +func BlankEnumAsPatchedWritablePowerFeedRequestPowerPath(v *BlankEnum) PatchedWritablePowerFeedRequestPowerPath { + return PatchedWritablePowerFeedRequestPowerPath{ + BlankEnum: v, + } +} + +// PowerPathEnumAsPatchedWritablePowerFeedRequestPowerPath is a convenience function that returns PowerPathEnum wrapped in PatchedWritablePowerFeedRequestPowerPath +func PowerPathEnumAsPatchedWritablePowerFeedRequestPowerPath(v *PowerPathEnum) PatchedWritablePowerFeedRequestPowerPath { + return PatchedWritablePowerFeedRequestPowerPath{ + PowerPathEnum: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *PatchedWritablePowerFeedRequestPowerPath) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BlankEnum + err = newStrictDecoder(data).Decode(&dst.BlankEnum) + if err == nil { + jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) + if string(jsonBlankEnum) == "{}" { // empty struct + dst.BlankEnum = nil + } else { + if err = validator.Validate(dst.BlankEnum); err != nil { + dst.BlankEnum = nil + } else { + match++ + } + } + } else { + dst.BlankEnum = nil + } + + // try to unmarshal data into PowerPathEnum + err = newStrictDecoder(data).Decode(&dst.PowerPathEnum) + if err == nil { + jsonPowerPathEnum, _ := json.Marshal(dst.PowerPathEnum) + if string(jsonPowerPathEnum) == "{}" { // empty struct + dst.PowerPathEnum = nil + } else { + if err = validator.Validate(dst.PowerPathEnum); err != nil { + dst.PowerPathEnum = nil + } else { + match++ + } + } + } else { + dst.PowerPathEnum = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BlankEnum = nil + dst.PowerPathEnum = nil + + return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerFeedRequestPowerPath)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerFeedRequestPowerPath)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PatchedWritablePowerFeedRequestPowerPath) MarshalJSON() ([]byte, error) { + if src.BlankEnum != nil { + return json.Marshal(&src.BlankEnum) + } + + if src.PowerPathEnum != nil { + return json.Marshal(&src.PowerPathEnum) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *PatchedWritablePowerFeedRequestPowerPath) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BlankEnum != nil { + return obj.BlankEnum + } + + if obj.PowerPathEnum != nil { + return obj.PowerPathEnum + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj PatchedWritablePowerFeedRequestPowerPath) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.PowerPathEnum != nil { + return *obj.PowerPathEnum + } + + // all schemas are nil + return nil +} + +type NullablePatchedWritablePowerFeedRequestPowerPath struct { + value *PatchedWritablePowerFeedRequestPowerPath + isSet bool +} + +func (v NullablePatchedWritablePowerFeedRequestPowerPath) Get() *PatchedWritablePowerFeedRequestPowerPath { + return v.value +} + +func (v *NullablePatchedWritablePowerFeedRequestPowerPath) Set(val *PatchedWritablePowerFeedRequestPowerPath) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritablePowerFeedRequestPowerPath) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritablePowerFeedRequestPowerPath) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritablePowerFeedRequestPowerPath(val *PatchedWritablePowerFeedRequestPowerPath) *NullablePatchedWritablePowerFeedRequestPowerPath { + return &NullablePatchedWritablePowerFeedRequestPowerPath{value: val, isSet: true} +} + +func (v NullablePatchedWritablePowerFeedRequestPowerPath) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritablePowerFeedRequestPowerPath) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_writable_power_outlet_request.go b/model_patched_writable_power_outlet_request.go index a18c5b54..cbabb310 100644 --- a/model_patched_writable_power_outlet_request.go +++ b/model_patched_writable_power_outlet_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritablePowerOutletRequest{} // PatchedWritablePowerOutletRequest 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. type PatchedWritablePowerOutletRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -53,6 +54,38 @@ func NewPatchedWritablePowerOutletRequestWithDefaults() *PatchedWritablePowerOut return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritablePowerOutletRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerOutletRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritablePowerOutletRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritablePowerOutletRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritablePowerOutletRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -445,6 +478,9 @@ func (o PatchedWritablePowerOutletRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritablePowerOutletRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -500,6 +536,7 @@ func (o *PatchedWritablePowerOutletRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_power_outlet_request_feed_leg.go b/model_patched_writable_power_outlet_request_feed_leg.go index a6a7de92..fb840a31 100644 --- a/model_patched_writable_power_outlet_request_feed_leg.go +++ b/model_patched_writable_power_outlet_request_feed_leg.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritablePowerOutletRequestFeedLeg - Phase (for three-phase feeds) @@ -118,6 +118,20 @@ func (obj *PatchedWritablePowerOutletRequestFeedLeg) GetActualInstance() (interf return nil } +// Get the actual instance value +func (obj PatchedWritablePowerOutletRequestFeedLeg) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.FeedLegEnum != nil { + return *obj.FeedLegEnum + } + + // all schemas are nil + return nil +} + type NullablePatchedWritablePowerOutletRequestFeedLeg struct { value *PatchedWritablePowerOutletRequestFeedLeg isSet bool diff --git a/model_patched_writable_power_outlet_request_type.go b/model_patched_writable_power_outlet_request_type.go index d24cbfb8..0e84c03c 100644 --- a/model_patched_writable_power_outlet_request_type.go +++ b/model_patched_writable_power_outlet_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritablePowerOutletRequestType - Physical port type @@ -118,6 +118,20 @@ func (obj *PatchedWritablePowerOutletRequestType) GetActualInstance() (interface return nil } +// Get the actual instance value +func (obj PatchedWritablePowerOutletRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.PowerOutletTypeChoices != nil { + return *obj.PowerOutletTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritablePowerOutletRequestType struct { value *PatchedWritablePowerOutletRequestType isSet bool diff --git a/model_patched_writable_power_outlet_template_request.go b/model_patched_writable_power_outlet_template_request.go index 5a140709..d87084b5 100644 --- a/model_patched_writable_power_outlet_template_request.go +++ b/model_patched_writable_power_outlet_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritablePowerOutletTemplateRequest{} // PatchedWritablePowerOutletTemplateRequest 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. type PatchedWritablePowerOutletTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -52,6 +53,38 @@ func NewPatchedWritablePowerOutletTemplateRequestWithDefaults() *PatchedWritable return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritablePowerOutletTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerOutletTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritablePowerOutletTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritablePowerOutletTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritablePowerOutletTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -412,6 +445,9 @@ func (o PatchedWritablePowerOutletTemplateRequest) MarshalJSON() ([]byte, error) func (o PatchedWritablePowerOutletTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -464,6 +500,7 @@ func (o *PatchedWritablePowerOutletTemplateRequest) UnmarshalJSON(data []byte) ( additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_power_outlet_template_request_type.go b/model_patched_writable_power_outlet_template_request_type.go index f2426f13..13c53e5e 100644 --- a/model_patched_writable_power_outlet_template_request_type.go +++ b/model_patched_writable_power_outlet_template_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritablePowerOutletTemplateRequestType - struct for PatchedWritablePowerOutletTemplateRequestType @@ -118,6 +118,20 @@ func (obj *PatchedWritablePowerOutletTemplateRequestType) GetActualInstance() (i return nil } +// Get the actual instance value +func (obj PatchedWritablePowerOutletTemplateRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.PowerOutletTypeChoices != nil { + return *obj.PowerOutletTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritablePowerOutletTemplateRequestType struct { value *PatchedWritablePowerOutletTemplateRequestType isSet bool diff --git a/model_patched_writable_power_panel_request.go b/model_patched_writable_power_panel_request.go new file mode 100644 index 00000000..7ea52cfb --- /dev/null +++ b/model_patched_writable_power_panel_request.go @@ -0,0 +1,509 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PatchedWritablePowerPanelRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedWritablePowerPanelRequest{} + +// PatchedWritablePowerPanelRequest 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. +type PatchedWritablePowerPanelRequest struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + PanelType *PatchedWritablePowerPanelRequestPanelType `json:"panel_type,omitempty"` + // Total number of breaker positions in the panel (e.g., 42) + BreakerPositionCount NullableInt32 `json:"breaker_position_count,omitempty"` + PowerPath *PatchedWritablePowerFeedRequestPowerPath `json:"power_path,omitempty"` + Location *BulkWritableCableRequestStatus `json:"location,omitempty"` + RackGroup NullableBulkWritableCircuitRequestTenant `json:"rack_group,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedWritablePowerPanelRequest PatchedWritablePowerPanelRequest + +// NewPatchedWritablePowerPanelRequest instantiates a new PatchedWritablePowerPanelRequest 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 +func NewPatchedWritablePowerPanelRequest() *PatchedWritablePowerPanelRequest { + this := PatchedWritablePowerPanelRequest{} + return &this +} + +// NewPatchedWritablePowerPanelRequestWithDefaults instantiates a new PatchedWritablePowerPanelRequest 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 +func NewPatchedWritablePowerPanelRequestWithDefaults() *PatchedWritablePowerPanelRequest { + this := PatchedWritablePowerPanelRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritablePowerPanelRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedWritablePowerPanelRequest) SetName(v string) { + o.Name = &v +} + +// GetPanelType returns the PanelType field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetPanelType() PatchedWritablePowerPanelRequestPanelType { + if o == nil || IsNil(o.PanelType) { + var ret PatchedWritablePowerPanelRequestPanelType + return ret + } + return *o.PanelType +} + +// GetPanelTypeOk returns a tuple with the PanelType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetPanelTypeOk() (*PatchedWritablePowerPanelRequestPanelType, bool) { + if o == nil || IsNil(o.PanelType) { + return nil, false + } + return o.PanelType, true +} + +// HasPanelType returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasPanelType() bool { + if o != nil && !IsNil(o.PanelType) { + return true + } + + return false +} + +// SetPanelType gets a reference to the given PatchedWritablePowerPanelRequestPanelType and assigns it to the PanelType field. +func (o *PatchedWritablePowerPanelRequest) SetPanelType(v PatchedWritablePowerPanelRequestPanelType) { + o.PanelType = &v +} + +// GetBreakerPositionCount returns the BreakerPositionCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritablePowerPanelRequest) GetBreakerPositionCount() int32 { + if o == nil || IsNil(o.BreakerPositionCount.Get()) { + var ret int32 + return ret + } + return *o.BreakerPositionCount.Get() +} + +// GetBreakerPositionCountOk returns a tuple with the BreakerPositionCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWritablePowerPanelRequest) GetBreakerPositionCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPositionCount.Get(), o.BreakerPositionCount.IsSet() +} + +// HasBreakerPositionCount returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasBreakerPositionCount() bool { + if o != nil && o.BreakerPositionCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPositionCount gets a reference to the given NullableInt32 and assigns it to the BreakerPositionCount field. +func (o *PatchedWritablePowerPanelRequest) SetBreakerPositionCount(v int32) { + o.BreakerPositionCount.Set(&v) +} +// SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil +func (o *PatchedWritablePowerPanelRequest) SetBreakerPositionCountNil() { + o.BreakerPositionCount.Set(nil) +} + +// UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil +func (o *PatchedWritablePowerPanelRequest) UnsetBreakerPositionCount() { + o.BreakerPositionCount.Unset() +} + +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath { + if o == nil || IsNil(o.PowerPath) { + var ret PatchedWritablePowerFeedRequestPowerPath + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PatchedWritablePowerFeedRequestPowerPath and assigns it to the PowerPath field. +func (o *PatchedWritablePowerPanelRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath) { + o.PowerPath = &v +} + +// GetLocation returns the Location field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Location) { + var ret BulkWritableCableRequestStatus + return ret + } + return *o.Location +} + +// GetLocationOk returns a tuple with the Location field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Location) { + return nil, false + } + return o.Location, true +} + +// HasLocation returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasLocation() bool { + if o != nil && !IsNil(o.Location) { + return true + } + + return false +} + +// SetLocation gets a reference to the given BulkWritableCableRequestStatus and assigns it to the Location field. +func (o *PatchedWritablePowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus) { + o.Location = &v +} + +// GetRackGroup returns the RackGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritablePowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.RackGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.RackGroup.Get() +} + +// GetRackGroupOk returns a tuple with the RackGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWritablePowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.RackGroup.Get(), o.RackGroup.IsSet() +} + +// HasRackGroup returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasRackGroup() bool { + if o != nil && o.RackGroup.IsSet() { + return true + } + + return false +} + +// SetRackGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the RackGroup field. +func (o *PatchedWritablePowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant) { + o.RackGroup.Set(&v) +} +// SetRackGroupNil sets the value for RackGroup to be an explicit nil +func (o *PatchedWritablePowerPanelRequest) SetRackGroupNil() { + o.RackGroup.Set(nil) +} + +// UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil +func (o *PatchedWritablePowerPanelRequest) UnsetRackGroup() { + o.RackGroup.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *PatchedWritablePowerPanelRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *PatchedWritablePowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedWritablePowerPanelRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPanelRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PatchedWritablePowerPanelRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *PatchedWritablePowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o PatchedWritablePowerPanelRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedWritablePowerPanelRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.PanelType) { + toSerialize["panel_type"] = o.PanelType + } + if o.BreakerPositionCount.IsSet() { + toSerialize["breaker_position_count"] = o.BreakerPositionCount.Get() + } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } + if !IsNil(o.Location) { + toSerialize["location"] = o.Location + } + if o.RackGroup.IsSet() { + toSerialize["rack_group"] = o.RackGroup.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedWritablePowerPanelRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedWritablePowerPanelRequest := _PatchedWritablePowerPanelRequest{} + + err = json.Unmarshal(data, &varPatchedWritablePowerPanelRequest) + + if err != nil { + return err + } + + *o = PatchedWritablePowerPanelRequest(varPatchedWritablePowerPanelRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "panel_type") + delete(additionalProperties, "breaker_position_count") + delete(additionalProperties, "power_path") + delete(additionalProperties, "location") + delete(additionalProperties, "rack_group") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedWritablePowerPanelRequest struct { + value *PatchedWritablePowerPanelRequest + isSet bool +} + +func (v NullablePatchedWritablePowerPanelRequest) Get() *PatchedWritablePowerPanelRequest { + return v.value +} + +func (v *NullablePatchedWritablePowerPanelRequest) Set(val *PatchedWritablePowerPanelRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritablePowerPanelRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritablePowerPanelRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritablePowerPanelRequest(val *PatchedWritablePowerPanelRequest) *NullablePatchedWritablePowerPanelRequest { + return &NullablePatchedWritablePowerPanelRequest{value: val, isSet: true} +} + +func (v NullablePatchedWritablePowerPanelRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritablePowerPanelRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_writable_power_panel_request_panel_type.go b/model_patched_writable_power_panel_request_panel_type.go new file mode 100644 index 00000000..202ef704 --- /dev/null +++ b/model_patched_writable_power_panel_request_panel_type.go @@ -0,0 +1,171 @@ +/* +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 ( + "encoding/json" + "fmt" + "gopkg.in/validator.v2" +) + +// PatchedWritablePowerPanelRequestPanelType - struct for PatchedWritablePowerPanelRequestPanelType +type PatchedWritablePowerPanelRequestPanelType struct { + BlankEnum *BlankEnum + PanelTypeEnum *PanelTypeEnum +} + +// BlankEnumAsPatchedWritablePowerPanelRequestPanelType is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerPanelRequestPanelType +func BlankEnumAsPatchedWritablePowerPanelRequestPanelType(v *BlankEnum) PatchedWritablePowerPanelRequestPanelType { + return PatchedWritablePowerPanelRequestPanelType{ + BlankEnum: v, + } +} + +// PanelTypeEnumAsPatchedWritablePowerPanelRequestPanelType is a convenience function that returns PanelTypeEnum wrapped in PatchedWritablePowerPanelRequestPanelType +func PanelTypeEnumAsPatchedWritablePowerPanelRequestPanelType(v *PanelTypeEnum) PatchedWritablePowerPanelRequestPanelType { + return PatchedWritablePowerPanelRequestPanelType{ + PanelTypeEnum: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *PatchedWritablePowerPanelRequestPanelType) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BlankEnum + err = newStrictDecoder(data).Decode(&dst.BlankEnum) + if err == nil { + jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) + if string(jsonBlankEnum) == "{}" { // empty struct + dst.BlankEnum = nil + } else { + if err = validator.Validate(dst.BlankEnum); err != nil { + dst.BlankEnum = nil + } else { + match++ + } + } + } else { + dst.BlankEnum = nil + } + + // try to unmarshal data into PanelTypeEnum + err = newStrictDecoder(data).Decode(&dst.PanelTypeEnum) + if err == nil { + jsonPanelTypeEnum, _ := json.Marshal(dst.PanelTypeEnum) + if string(jsonPanelTypeEnum) == "{}" { // empty struct + dst.PanelTypeEnum = nil + } else { + if err = validator.Validate(dst.PanelTypeEnum); err != nil { + dst.PanelTypeEnum = nil + } else { + match++ + } + } + } else { + dst.PanelTypeEnum = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BlankEnum = nil + dst.PanelTypeEnum = nil + + return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerPanelRequestPanelType)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerPanelRequestPanelType)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PatchedWritablePowerPanelRequestPanelType) MarshalJSON() ([]byte, error) { + if src.BlankEnum != nil { + return json.Marshal(&src.BlankEnum) + } + + if src.PanelTypeEnum != nil { + return json.Marshal(&src.PanelTypeEnum) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *PatchedWritablePowerPanelRequestPanelType) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BlankEnum != nil { + return obj.BlankEnum + } + + if obj.PanelTypeEnum != nil { + return obj.PanelTypeEnum + } + + // all schemas are nil + return nil +} + +// Get the actual instance value +func (obj PatchedWritablePowerPanelRequestPanelType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.PanelTypeEnum != nil { + return *obj.PanelTypeEnum + } + + // all schemas are nil + return nil +} + +type NullablePatchedWritablePowerPanelRequestPanelType struct { + value *PatchedWritablePowerPanelRequestPanelType + isSet bool +} + +func (v NullablePatchedWritablePowerPanelRequestPanelType) Get() *PatchedWritablePowerPanelRequestPanelType { + return v.value +} + +func (v *NullablePatchedWritablePowerPanelRequestPanelType) Set(val *PatchedWritablePowerPanelRequestPanelType) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritablePowerPanelRequestPanelType) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritablePowerPanelRequestPanelType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritablePowerPanelRequestPanelType(val *PatchedWritablePowerPanelRequestPanelType) *NullablePatchedWritablePowerPanelRequestPanelType { + return &NullablePatchedWritablePowerPanelRequestPanelType{value: val, isSet: true} +} + +func (v NullablePatchedWritablePowerPanelRequestPanelType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritablePowerPanelRequestPanelType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_patched_writable_power_port_request.go b/model_patched_writable_power_port_request.go index 289c587d..46101eaf 100644 --- a/model_patched_writable_power_port_request.go +++ b/model_patched_writable_power_port_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritablePowerPortRequest{} // PatchedWritablePowerPortRequest 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. type PatchedWritablePowerPortRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -28,6 +29,8 @@ type PatchedWritablePowerPortRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` Module NullableBulkWritableCircuitRequestTenant `json:"module,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -55,6 +58,38 @@ func NewPatchedWritablePowerPortRequestWithDefaults() *PatchedWritablePowerPortR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritablePowerPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritablePowerPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritablePowerPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritablePowerPortRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -267,6 +302,38 @@ func (o *PatchedWritablePowerPortRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *PatchedWritablePowerPortRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPortRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *PatchedWritablePowerPortRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *PatchedWritablePowerPortRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Device.Get()) { @@ -457,6 +524,9 @@ func (o PatchedWritablePowerPortRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritablePowerPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -475,6 +545,9 @@ func (o PatchedWritablePowerPortRequest) ToMap() (map[string]interface{}, error) if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } @@ -512,12 +585,14 @@ func (o *PatchedWritablePowerPortRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "type") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device") delete(additionalProperties, "module") delete(additionalProperties, "custom_fields") diff --git a/model_patched_writable_power_port_request_type.go b/model_patched_writable_power_port_request_type.go index a4577f20..35dbc22c 100644 --- a/model_patched_writable_power_port_request_type.go +++ b/model_patched_writable_power_port_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritablePowerPortRequestType - Physical port type @@ -118,6 +118,20 @@ func (obj *PatchedWritablePowerPortRequestType) GetActualInstance() (interface{} return nil } +// Get the actual instance value +func (obj PatchedWritablePowerPortRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.PowerPortTypeChoices != nil { + return *obj.PowerPortTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritablePowerPortRequestType struct { value *PatchedWritablePowerPortRequestType isSet bool diff --git a/model_patched_writable_power_port_template_request.go b/model_patched_writable_power_port_template_request.go index 7b2bf62b..d39c5d3d 100644 --- a/model_patched_writable_power_port_template_request.go +++ b/model_patched_writable_power_port_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritablePowerPortTemplateRequest{} // PatchedWritablePowerPortTemplateRequest 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. type PatchedWritablePowerPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -28,6 +29,8 @@ type PatchedWritablePowerPortTemplateRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -54,6 +57,38 @@ func NewPatchedWritablePowerPortTemplateRequestWithDefaults() *PatchedWritablePo return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritablePowerPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritablePowerPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritablePowerPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritablePowerPortTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -266,6 +301,38 @@ func (o *PatchedWritablePowerPortTemplateRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *PatchedWritablePowerPortTemplateRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePowerPortTemplateRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *PatchedWritablePowerPortTemplateRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *PatchedWritablePowerPortTemplateRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -424,6 +491,9 @@ func (o PatchedWritablePowerPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritablePowerPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -442,6 +512,9 @@ func (o PatchedWritablePowerPortTemplateRequest) ToMap() (map[string]interface{} if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } @@ -476,12 +549,14 @@ func (o *PatchedWritablePowerPortTemplateRequest) UnmarshalJSON(data []byte) (er additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "type") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") delete(additionalProperties, "custom_fields") diff --git a/model_patched_writable_power_port_template_request_type.go b/model_patched_writable_power_port_template_request_type.go index 5d8ed8e6..9a07affb 100644 --- a/model_patched_writable_power_port_template_request_type.go +++ b/model_patched_writable_power_port_template_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritablePowerPortTemplateRequestType - struct for PatchedWritablePowerPortTemplateRequestType @@ -118,6 +118,20 @@ func (obj *PatchedWritablePowerPortTemplateRequestType) GetActualInstance() (int return nil } +// Get the actual instance value +func (obj PatchedWritablePowerPortTemplateRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.PowerPortTypeChoices != nil { + return *obj.PowerPortTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritablePowerPortTemplateRequestType struct { value *PatchedWritablePowerPortTemplateRequestType isSet bool diff --git a/model_patched_writable_prefix_request.go b/model_patched_writable_prefix_request.go index 34b5fbcc..17014ef0 100644 --- a/model_patched_writable_prefix_request.go +++ b/model_patched_writable_prefix_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &PatchedWritablePrefixRequest{} // PatchedWritablePrefixRequest 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. type PatchedWritablePrefixRequest struct { + Id *string `json:"id,omitempty"` Prefix *string `json:"prefix,omitempty"` Location NullableBulkWritablePrefixRequestLocation `json:"location,omitempty"` Type *PrefixTypeChoices `json:"type,omitempty"` @@ -58,6 +59,38 @@ func NewPatchedWritablePrefixRequestWithDefaults() *PatchedWritablePrefixRequest return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritablePrefixRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritablePrefixRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritablePrefixRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritablePrefixRequest) SetId(v string) { + o.Id = &v +} + // GetPrefix returns the Prefix field value if set, zero value otherwise. func (o *PatchedWritablePrefixRequest) GetPrefix() string { if o == nil || IsNil(o.Prefix) { @@ -618,6 +651,9 @@ func (o PatchedWritablePrefixRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritablePrefixRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Prefix) { toSerialize["prefix"] = o.Prefix } @@ -685,6 +721,7 @@ func (o *PatchedWritablePrefixRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "prefix") delete(additionalProperties, "location") delete(additionalProperties, "type") diff --git a/model_patched_writable_rack_request.go b/model_patched_writable_rack_request.go index 6021a289..ba899cfa 100644 --- a/model_patched_writable_rack_request.go +++ b/model_patched_writable_rack_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableRackRequest{} // PatchedWritableRackRequest 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. type PatchedWritableRackRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Locally-assigned identifier FacilityId NullableString `json:"facility_id,omitempty"` @@ -68,6 +69,38 @@ func NewPatchedWritableRackRequestWithDefaults() *PatchedWritableRackRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableRackRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableRackRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableRackRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableRackRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -788,6 +821,9 @@ func (o PatchedWritableRackRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableRackRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -870,6 +906,7 @@ func (o *PatchedWritableRackRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "facility_id") delete(additionalProperties, "serial") diff --git a/model_patched_writable_rack_request_outer_unit.go b/model_patched_writable_rack_request_outer_unit.go index 1ab01d13..9c9bc7fa 100644 --- a/model_patched_writable_rack_request_outer_unit.go +++ b/model_patched_writable_rack_request_outer_unit.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritableRackRequestOuterUnit - struct for PatchedWritableRackRequestOuterUnit @@ -118,6 +118,20 @@ func (obj *PatchedWritableRackRequestOuterUnit) GetActualInstance() (interface{} return nil } +// Get the actual instance value +func (obj PatchedWritableRackRequestOuterUnit) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.OuterUnitEnum != nil { + return *obj.OuterUnitEnum + } + + // all schemas are nil + return nil +} + type NullablePatchedWritableRackRequestOuterUnit struct { value *PatchedWritableRackRequestOuterUnit isSet bool diff --git a/model_patched_writable_rack_request_type.go b/model_patched_writable_rack_request_type.go index 1bd9ec3d..ce1652ce 100644 --- a/model_patched_writable_rack_request_type.go +++ b/model_patched_writable_rack_request_type.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PatchedWritableRackRequestType - struct for PatchedWritableRackRequestType @@ -118,6 +118,20 @@ func (obj *PatchedWritableRackRequestType) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj PatchedWritableRackRequestType) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.RackTypeChoices != nil { + return *obj.RackTypeChoices + } + + // all schemas are nil + return nil +} + type NullablePatchedWritableRackRequestType struct { value *PatchedWritableRackRequestType isSet bool diff --git a/model_patched_writable_rear_port_request.go b/model_patched_writable_rear_port_request.go index 26b98299..41ad38bb 100644 --- a/model_patched_writable_rear_port_request.go +++ b/model_patched_writable_rear_port_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableRearPortRequest{} // PatchedWritableRearPortRequest 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. type PatchedWritableRearPortRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -52,6 +53,38 @@ func NewPatchedWritableRearPortRequestWithDefaults() *PatchedWritableRearPortReq return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableRearPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRearPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableRearPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableRearPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableRearPortRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -402,6 +435,9 @@ func (o PatchedWritableRearPortRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableRearPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -454,6 +490,7 @@ func (o *PatchedWritableRearPortRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_rear_port_template_request.go b/model_patched_writable_rear_port_template_request.go index ef25f6f0..6ad99fa7 100644 --- a/model_patched_writable_rear_port_template_request.go +++ b/model_patched_writable_rear_port_template_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableRearPortTemplateRequest{} // PatchedWritableRearPortTemplateRequest 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. type PatchedWritableRearPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedWritableRearPortTemplateRequestWithDefaults() *PatchedWritableRea return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableRearPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRearPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableRearPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableRearPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedWritableRearPortTemplateRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -369,6 +402,9 @@ func (o PatchedWritableRearPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableRearPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -418,6 +454,7 @@ func (o *PatchedWritableRearPortTemplateRequest) UnmarshalJSON(data []byte) (err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_patched_writable_service_request.go b/model_patched_writable_service_request.go index 96f80bf9..16bf5b6c 100644 --- a/model_patched_writable_service_request.go +++ b/model_patched_writable_service_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableServiceRequest{} // PatchedWritableServiceRequest 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. type PatchedWritableServiceRequest struct { + Id *string `json:"id,omitempty"` Ports []int32 `json:"ports,omitempty"` Name *string `json:"name,omitempty"` Protocol *ServiceProtocolChoices `json:"protocol,omitempty"` @@ -51,6 +52,38 @@ func NewPatchedWritableServiceRequestWithDefaults() *PatchedWritableServiceReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableServiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableServiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableServiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableServiceRequest) SetId(v string) { + o.Id = &v +} + // GetPorts returns the Ports field value if set, zero value otherwise. func (o *PatchedWritableServiceRequest) GetPorts() []int32 { if o == nil || IsNil(o.Ports) { @@ -401,6 +434,9 @@ func (o PatchedWritableServiceRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableServiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Ports) { toSerialize["ports"] = o.Ports } @@ -453,6 +489,7 @@ func (o *PatchedWritableServiceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "ports") delete(additionalProperties, "name") delete(additionalProperties, "protocol") diff --git a/model_patched_writable_vm_interface_request.go b/model_patched_writable_vm_interface_request.go index fbd6a2e7..c6c1188e 100644 --- a/model_patched_writable_vm_interface_request.go +++ b/model_patched_writable_vm_interface_request.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. @@ -19,6 +19,7 @@ var _ MappedNullable = &PatchedWritableVMInterfaceRequest{} // PatchedWritableVMInterfaceRequest 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. type PatchedWritableVMInterfaceRequest struct { + Id *string `json:"id,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Enabled *bool `json:"enabled,omitempty"` Mtu NullableInt32 `json:"mtu,omitempty"` @@ -58,6 +59,38 @@ func NewPatchedWritableVMInterfaceRequestWithDefaults() *PatchedWritableVMInterf return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PatchedWritableVMInterfaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableVMInterfaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PatchedWritableVMInterfaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PatchedWritableVMInterfaceRequest) SetId(v string) { + o.Id = &v +} + // GetMacAddress returns the MacAddress field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritableVMInterfaceRequest) GetMacAddress() string { if o == nil || IsNil(o.MacAddress.Get()) { @@ -682,6 +715,9 @@ func (o PatchedWritableVMInterfaceRequest) MarshalJSON() ([]byte, error) { func (o PatchedWritableVMInterfaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.MacAddress.IsSet() { toSerialize["mac_address"] = o.MacAddress.Get() } @@ -755,6 +791,7 @@ func (o *PatchedWritableVMInterfaceRequest) UnmarshalJSON(data []byte) (err erro additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "mac_address") delete(additionalProperties, "enabled") delete(additionalProperties, "mtu") diff --git a/model_path_endpoint.go b/model_path_endpoint.go index 7be03139..7681b9dd 100644 --- a/model_path_endpoint.go +++ b/model_path_endpoint.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // PathEndpoint - struct for PathEndpoint @@ -288,6 +288,40 @@ func (obj *PathEndpoint) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj PathEndpoint) GetActualInstanceValue() (interface{}) { + if obj.NestedCircuitTermination != nil { + return *obj.NestedCircuitTermination + } + + if obj.NestedConsolePort != nil { + return *obj.NestedConsolePort + } + + if obj.NestedConsoleServerPort != nil { + return *obj.NestedConsoleServerPort + } + + if obj.NestedInterface != nil { + return *obj.NestedInterface + } + + if obj.NestedPowerFeed != nil { + return *obj.NestedPowerFeed + } + + if obj.NestedPowerOutlet != nil { + return *obj.NestedPowerOutlet + } + + if obj.NestedPowerPort != nil { + return *obj.NestedPowerPort + } + + // all schemas are nil + return nil +} + type NullablePathEndpoint struct { value *PathEndpoint isSet bool diff --git a/model_phase_enum.go b/model_phase_enum.go index d6439d89..e785a4c7 100644 --- a/model_phase_enum.go +++ b/model_phase_enum.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/model_platform.go b/model_platform.go index 972f1d20..7d93135a 100644 --- a/model_platform.go +++ b/model_platform.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Platform{} // Platform 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. type Platform struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -52,9 +52,8 @@ type _Platform Platform // 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 -func NewPlatform(id string, objectType string, display string, url string, naturalSlug string, networkDriverMappings interface{}, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Platform { +func NewPlatform(objectType string, display string, url string, naturalSlug string, networkDriverMappings interface{}, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Platform { this := Platform{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -75,28 +74,36 @@ func NewPlatformWithDefaults() *Platform { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Platform) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Platform) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Platform) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Platform) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -598,7 +605,9 @@ func (o Platform) MarshalJSON() ([]byte, error) { func (o Platform) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -647,7 +656,6 @@ func (o *Platform) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_platform_request.go b/model_platform_request.go index 3a019b83..8f99463e 100644 --- a/model_platform_request.go +++ b/model_platform_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &PlatformRequest{} // PlatformRequest 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. type PlatformRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // The normalized network driver to use when interacting with devices, e.g. cisco_ios, arista_eos, etc. Library-specific driver names will be derived from this setting as appropriate NetworkDriver *string `json:"network_driver,omitempty"` @@ -54,6 +55,38 @@ func NewPlatformRequestWithDefaults() *PlatformRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PlatformRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PlatformRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PlatformRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PlatformRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *PlatformRequest) GetName() string { if o == nil { @@ -323,6 +356,9 @@ func (o PlatformRequest) MarshalJSON() ([]byte, error) { func (o PlatformRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.NetworkDriver) { toSerialize["network_driver"] = o.NetworkDriver @@ -388,6 +424,7 @@ func (o *PlatformRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "network_driver") delete(additionalProperties, "napalm_driver") diff --git a/model_port_type_choices.go b/model_port_type_choices.go index 53dfedd8..de24b9d1 100644 --- a/model_port_type_choices.go +++ b/model_port_type_choices.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/model_power_feed.go b/model_power_feed.go index 326d5cb0..9cbec157 100644 --- a/model_power_feed.go +++ b/model_power_feed.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &PowerFeed{} // PowerFeed 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. type PowerFeed struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -33,17 +33,22 @@ type PowerFeed struct { ConnectedEndpoint NullablePathEndpoint `json:"connected_endpoint"` ConnectedEndpointReachable NullableBool `json:"connected_endpoint_reachable"` Type *PowerFeedType `json:"type,omitempty"` + PowerPath *PowerFeedPowerPath `json:"power_path,omitempty"` Supply *PowerFeedSupply `json:"supply,omitempty"` Phase *PowerFeedPhase `json:"phase,omitempty"` + BreakerPoleCount NullablePowerFeedBreakerPoleCount `json:"breaker_pole_count,omitempty"` Name string `json:"name"` Voltage *int32 `json:"voltage,omitempty"` Amperage *int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` + // Starting circuit breaker position in panel + BreakerPosition NullableInt32 `json:"breaker_position,omitempty"` AvailablePower int32 `json:"available_power"` Comments *string `json:"comments,omitempty"` Cable NullableBulkWritableCircuitRequestTenant `json:"cable,omitempty"` - PowerPanel BulkWritableCableRequestStatus `json:"power_panel"` + PowerPanel BulkWritablePowerFeedRequestPowerPanel `json:"power_panel"` + DestinationPanel NullableBulkWritablePowerFeedRequestDestinationPanel `json:"destination_panel,omitempty"` Rack NullableBulkWritableCircuitRequestTenant `json:"rack,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` Created NullableTime `json:"created"` @@ -60,9 +65,8 @@ type _PowerFeed PowerFeed // 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 -func NewPowerFeed(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, availablePower int32, powerPanel BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *PowerFeed { +func NewPowerFeed(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, availablePower int32, powerPanel BulkWritablePowerFeedRequestPowerPanel, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *PowerFeed { this := PowerFeed{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -90,28 +94,36 @@ func NewPowerFeedWithDefaults() *PowerFeed { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *PowerFeed) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *PowerFeed) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *PowerFeed) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *PowerFeed) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -372,6 +384,38 @@ func (o *PowerFeed) SetType(v PowerFeedType) { o.Type = &v } +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *PowerFeed) GetPowerPath() PowerFeedPowerPath { + if o == nil || IsNil(o.PowerPath) { + var ret PowerFeedPowerPath + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerFeed) GetPowerPathOk() (*PowerFeedPowerPath, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *PowerFeed) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PowerFeedPowerPath and assigns it to the PowerPath field. +func (o *PowerFeed) SetPowerPath(v PowerFeedPowerPath) { + o.PowerPath = &v +} + // GetSupply returns the Supply field value if set, zero value otherwise. func (o *PowerFeed) GetSupply() PowerFeedSupply { if o == nil || IsNil(o.Supply) { @@ -436,6 +480,48 @@ func (o *PowerFeed) SetPhase(v PowerFeedPhase) { o.Phase = &v } +// GetBreakerPoleCount returns the BreakerPoleCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerFeed) GetBreakerPoleCount() PowerFeedBreakerPoleCount { + if o == nil || IsNil(o.BreakerPoleCount.Get()) { + var ret PowerFeedBreakerPoleCount + return ret + } + return *o.BreakerPoleCount.Get() +} + +// GetBreakerPoleCountOk returns a tuple with the BreakerPoleCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PowerFeed) GetBreakerPoleCountOk() (*PowerFeedBreakerPoleCount, bool) { + if o == nil { + return nil, false + } + return o.BreakerPoleCount.Get(), o.BreakerPoleCount.IsSet() +} + +// HasBreakerPoleCount returns a boolean if a field has been set. +func (o *PowerFeed) HasBreakerPoleCount() bool { + if o != nil && o.BreakerPoleCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPoleCount gets a reference to the given NullablePowerFeedBreakerPoleCount and assigns it to the BreakerPoleCount field. +func (o *PowerFeed) SetBreakerPoleCount(v PowerFeedBreakerPoleCount) { + o.BreakerPoleCount.Set(&v) +} +// SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil +func (o *PowerFeed) SetBreakerPoleCountNil() { + o.BreakerPoleCount.Set(nil) +} + +// UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil +func (o *PowerFeed) UnsetBreakerPoleCount() { + o.BreakerPoleCount.Unset() +} + // GetName returns the Name field value func (o *PowerFeed) GetName() string { if o == nil { @@ -556,6 +642,48 @@ func (o *PowerFeed) SetMaxUtilization(v int32) { o.MaxUtilization = &v } +// GetBreakerPosition returns the BreakerPosition field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerFeed) GetBreakerPosition() int32 { + if o == nil || IsNil(o.BreakerPosition.Get()) { + var ret int32 + return ret + } + return *o.BreakerPosition.Get() +} + +// GetBreakerPositionOk returns a tuple with the BreakerPosition field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PowerFeed) GetBreakerPositionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPosition.Get(), o.BreakerPosition.IsSet() +} + +// HasBreakerPosition returns a boolean if a field has been set. +func (o *PowerFeed) HasBreakerPosition() bool { + if o != nil && o.BreakerPosition.IsSet() { + return true + } + + return false +} + +// SetBreakerPosition gets a reference to the given NullableInt32 and assigns it to the BreakerPosition field. +func (o *PowerFeed) SetBreakerPosition(v int32) { + o.BreakerPosition.Set(&v) +} +// SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil +func (o *PowerFeed) SetBreakerPositionNil() { + o.BreakerPosition.Set(nil) +} + +// UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil +func (o *PowerFeed) UnsetBreakerPosition() { + o.BreakerPosition.Unset() +} + // GetAvailablePower returns the AvailablePower field value func (o *PowerFeed) GetAvailablePower() int32 { if o == nil { @@ -655,9 +783,9 @@ func (o *PowerFeed) UnsetCable() { } // GetPowerPanel returns the PowerPanel field value -func (o *PowerFeed) GetPowerPanel() BulkWritableCableRequestStatus { +func (o *PowerFeed) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel { if o == nil { - var ret BulkWritableCableRequestStatus + var ret BulkWritablePowerFeedRequestPowerPanel return ret } @@ -666,7 +794,7 @@ func (o *PowerFeed) GetPowerPanel() BulkWritableCableRequestStatus { // GetPowerPanelOk returns a tuple with the PowerPanel field value // and a boolean to check if the value has been set. -func (o *PowerFeed) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool) { +func (o *PowerFeed) GetPowerPanelOk() (*BulkWritablePowerFeedRequestPowerPanel, bool) { if o == nil { return nil, false } @@ -674,10 +802,52 @@ func (o *PowerFeed) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool) { } // SetPowerPanel sets field value -func (o *PowerFeed) SetPowerPanel(v BulkWritableCableRequestStatus) { +func (o *PowerFeed) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel) { o.PowerPanel = v } +// GetDestinationPanel returns the DestinationPanel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerFeed) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel { + if o == nil || IsNil(o.DestinationPanel.Get()) { + var ret BulkWritablePowerFeedRequestDestinationPanel + return ret + } + return *o.DestinationPanel.Get() +} + +// GetDestinationPanelOk returns a tuple with the DestinationPanel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PowerFeed) GetDestinationPanelOk() (*BulkWritablePowerFeedRequestDestinationPanel, bool) { + if o == nil { + return nil, false + } + return o.DestinationPanel.Get(), o.DestinationPanel.IsSet() +} + +// HasDestinationPanel returns a boolean if a field has been set. +func (o *PowerFeed) HasDestinationPanel() bool { + if o != nil && o.DestinationPanel.IsSet() { + return true + } + + return false +} + +// SetDestinationPanel gets a reference to the given NullableBulkWritablePowerFeedRequestDestinationPanel and assigns it to the DestinationPanel field. +func (o *PowerFeed) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel) { + o.DestinationPanel.Set(&v) +} +// SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil +func (o *PowerFeed) SetDestinationPanelNil() { + o.DestinationPanel.Set(nil) +} + +// UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil +func (o *PowerFeed) UnsetDestinationPanel() { + o.DestinationPanel.Unset() +} + // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PowerFeed) GetRack() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Rack.Get()) { @@ -894,7 +1064,9 @@ func (o PowerFeed) MarshalJSON() ([]byte, error) { func (o PowerFeed) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -907,12 +1079,18 @@ func (o PowerFeed) ToMap() (map[string]interface{}, error) { if !IsNil(o.Type) { toSerialize["type"] = o.Type } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } if !IsNil(o.Supply) { toSerialize["supply"] = o.Supply } if !IsNil(o.Phase) { toSerialize["phase"] = o.Phase } + if o.BreakerPoleCount.IsSet() { + toSerialize["breaker_pole_count"] = o.BreakerPoleCount.Get() + } toSerialize["name"] = o.Name if !IsNil(o.Voltage) { toSerialize["voltage"] = o.Voltage @@ -923,6 +1101,9 @@ func (o PowerFeed) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaxUtilization) { toSerialize["max_utilization"] = o.MaxUtilization } + if o.BreakerPosition.IsSet() { + toSerialize["breaker_position"] = o.BreakerPosition.Get() + } toSerialize["available_power"] = o.AvailablePower if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments @@ -931,6 +1112,9 @@ func (o PowerFeed) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() } toSerialize["power_panel"] = o.PowerPanel + if o.DestinationPanel.IsSet() { + toSerialize["destination_panel"] = o.DestinationPanel.Get() + } if o.Rack.IsSet() { toSerialize["rack"] = o.Rack.Get() } @@ -957,7 +1141,6 @@ func (o *PowerFeed) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -1014,16 +1197,20 @@ func (o *PowerFeed) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "connected_endpoint") delete(additionalProperties, "connected_endpoint_reachable") delete(additionalProperties, "type") + delete(additionalProperties, "power_path") delete(additionalProperties, "supply") delete(additionalProperties, "phase") + delete(additionalProperties, "breaker_pole_count") delete(additionalProperties, "name") delete(additionalProperties, "voltage") delete(additionalProperties, "amperage") delete(additionalProperties, "max_utilization") + delete(additionalProperties, "breaker_position") delete(additionalProperties, "available_power") delete(additionalProperties, "comments") delete(additionalProperties, "cable") delete(additionalProperties, "power_panel") + delete(additionalProperties, "destination_panel") delete(additionalProperties, "rack") delete(additionalProperties, "status") delete(additionalProperties, "created") diff --git a/model_power_feed_breaker_pole_count.go b/model_power_feed_breaker_pole_count.go new file mode 100644 index 00000000..bbd4089b --- /dev/null +++ b/model_power_feed_breaker_pole_count.go @@ -0,0 +1,192 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PowerFeedBreakerPoleCount type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PowerFeedBreakerPoleCount{} + +// PowerFeedBreakerPoleCount struct for PowerFeedBreakerPoleCount +type PowerFeedBreakerPoleCount struct { + Value *PowerFeedBreakerPoleCountValue `json:"value,omitempty"` + Label *PowerFeedBreakerPoleCountLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PowerFeedBreakerPoleCount PowerFeedBreakerPoleCount + +// NewPowerFeedBreakerPoleCount instantiates a new PowerFeedBreakerPoleCount 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 +func NewPowerFeedBreakerPoleCount() *PowerFeedBreakerPoleCount { + this := PowerFeedBreakerPoleCount{} + return &this +} + +// NewPowerFeedBreakerPoleCountWithDefaults instantiates a new PowerFeedBreakerPoleCount 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 +func NewPowerFeedBreakerPoleCountWithDefaults() *PowerFeedBreakerPoleCount { + this := PowerFeedBreakerPoleCount{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *PowerFeedBreakerPoleCount) GetValue() PowerFeedBreakerPoleCountValue { + if o == nil || IsNil(o.Value) { + var ret PowerFeedBreakerPoleCountValue + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerFeedBreakerPoleCount) GetValueOk() (*PowerFeedBreakerPoleCountValue, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *PowerFeedBreakerPoleCount) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PowerFeedBreakerPoleCountValue and assigns it to the Value field. +func (o *PowerFeedBreakerPoleCount) SetValue(v PowerFeedBreakerPoleCountValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerFeedBreakerPoleCount) GetLabel() PowerFeedBreakerPoleCountLabel { + if o == nil || IsNil(o.Label) { + var ret PowerFeedBreakerPoleCountLabel + return ret + } + return *o.Label +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerFeedBreakerPoleCount) GetLabelOk() (*PowerFeedBreakerPoleCountLabel, bool) { + if o == nil || IsNil(o.Label) { + return nil, false + } + return o.Label, true +} + +// HasLabel returns a boolean if a field has been set. +func (o *PowerFeedBreakerPoleCount) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given PowerFeedBreakerPoleCountLabel and assigns it to the Label field. +func (o *PowerFeedBreakerPoleCount) SetLabel(v PowerFeedBreakerPoleCountLabel) { + o.Label = &v +} + +func (o PowerFeedBreakerPoleCount) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PowerFeedBreakerPoleCount) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PowerFeedBreakerPoleCount) UnmarshalJSON(data []byte) (err error) { + varPowerFeedBreakerPoleCount := _PowerFeedBreakerPoleCount{} + + err = json.Unmarshal(data, &varPowerFeedBreakerPoleCount) + + if err != nil { + return err + } + + *o = PowerFeedBreakerPoleCount(varPowerFeedBreakerPoleCount) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "value") + delete(additionalProperties, "label") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePowerFeedBreakerPoleCount struct { + value *PowerFeedBreakerPoleCount + isSet bool +} + +func (v NullablePowerFeedBreakerPoleCount) Get() *PowerFeedBreakerPoleCount { + return v.value +} + +func (v *NullablePowerFeedBreakerPoleCount) Set(val *PowerFeedBreakerPoleCount) { + v.value = val + v.isSet = true +} + +func (v NullablePowerFeedBreakerPoleCount) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerFeedBreakerPoleCount) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerFeedBreakerPoleCount(val *PowerFeedBreakerPoleCount) *NullablePowerFeedBreakerPoleCount { + return &NullablePowerFeedBreakerPoleCount{value: val, isSet: true} +} + +func (v NullablePowerFeedBreakerPoleCount) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerFeedBreakerPoleCount) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_power_feed_breaker_pole_count_label.go b/model_power_feed_breaker_pole_count_label.go new file mode 100644 index 00000000..d004f1f6 --- /dev/null +++ b/model_power_feed_breaker_pole_count_label.go @@ -0,0 +1,113 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PowerFeedBreakerPoleCountLabel the model 'PowerFeedBreakerPoleCountLabel' +type PowerFeedBreakerPoleCountLabel string + +// List of PowerFeed_breaker_pole_count_label +const ( + POWERFEEDBREAKERPOLECOUNTLABEL__1_POLE PowerFeedBreakerPoleCountLabel = "1-Pole" + POWERFEEDBREAKERPOLECOUNTLABEL__2_POLE PowerFeedBreakerPoleCountLabel = "2-Pole" + POWERFEEDBREAKERPOLECOUNTLABEL__3_POLE PowerFeedBreakerPoleCountLabel = "3-Pole" +) + +// All allowed values of PowerFeedBreakerPoleCountLabel enum +var AllowedPowerFeedBreakerPoleCountLabelEnumValues = []PowerFeedBreakerPoleCountLabel{ + "1-Pole", + "2-Pole", + "3-Pole", +} + +func (v *PowerFeedBreakerPoleCountLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerFeedBreakerPoleCountLabel(value) + for _, existing := range AllowedPowerFeedBreakerPoleCountLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerFeedBreakerPoleCountLabel", value) +} + +// NewPowerFeedBreakerPoleCountLabelFromValue returns a pointer to a valid PowerFeedBreakerPoleCountLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerFeedBreakerPoleCountLabelFromValue(v string) (*PowerFeedBreakerPoleCountLabel, error) { + ev := PowerFeedBreakerPoleCountLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerFeedBreakerPoleCountLabel: valid values are %v", v, AllowedPowerFeedBreakerPoleCountLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerFeedBreakerPoleCountLabel) IsValid() bool { + for _, existing := range AllowedPowerFeedBreakerPoleCountLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerFeed_breaker_pole_count_label value +func (v PowerFeedBreakerPoleCountLabel) Ptr() *PowerFeedBreakerPoleCountLabel { + return &v +} + +type NullablePowerFeedBreakerPoleCountLabel struct { + value *PowerFeedBreakerPoleCountLabel + isSet bool +} + +func (v NullablePowerFeedBreakerPoleCountLabel) Get() *PowerFeedBreakerPoleCountLabel { + return v.value +} + +func (v *NullablePowerFeedBreakerPoleCountLabel) Set(val *PowerFeedBreakerPoleCountLabel) { + v.value = val + v.isSet = true +} + +func (v NullablePowerFeedBreakerPoleCountLabel) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerFeedBreakerPoleCountLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerFeedBreakerPoleCountLabel(val *PowerFeedBreakerPoleCountLabel) *NullablePowerFeedBreakerPoleCountLabel { + return &NullablePowerFeedBreakerPoleCountLabel{value: val, isSet: true} +} + +func (v NullablePowerFeedBreakerPoleCountLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerFeedBreakerPoleCountLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_power_feed_breaker_pole_count_value.go b/model_power_feed_breaker_pole_count_value.go new file mode 100644 index 00000000..700d01f5 --- /dev/null +++ b/model_power_feed_breaker_pole_count_value.go @@ -0,0 +1,113 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PowerFeedBreakerPoleCountValue the model 'PowerFeedBreakerPoleCountValue' +type PowerFeedBreakerPoleCountValue int32 + +// List of PowerFeed_breaker_pole_count_value +const ( + POWERFEEDBREAKERPOLECOUNTVALUE__1 PowerFeedBreakerPoleCountValue = 1 + POWERFEEDBREAKERPOLECOUNTVALUE__2 PowerFeedBreakerPoleCountValue = 2 + POWERFEEDBREAKERPOLECOUNTVALUE__3 PowerFeedBreakerPoleCountValue = 3 +) + +// All allowed values of PowerFeedBreakerPoleCountValue enum +var AllowedPowerFeedBreakerPoleCountValueEnumValues = []PowerFeedBreakerPoleCountValue{ + 1, + 2, + 3, +} + +func (v *PowerFeedBreakerPoleCountValue) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerFeedBreakerPoleCountValue(value) + for _, existing := range AllowedPowerFeedBreakerPoleCountValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerFeedBreakerPoleCountValue", value) +} + +// NewPowerFeedBreakerPoleCountValueFromValue returns a pointer to a valid PowerFeedBreakerPoleCountValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerFeedBreakerPoleCountValueFromValue(v int32) (*PowerFeedBreakerPoleCountValue, error) { + ev := PowerFeedBreakerPoleCountValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerFeedBreakerPoleCountValue: valid values are %v", v, AllowedPowerFeedBreakerPoleCountValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerFeedBreakerPoleCountValue) IsValid() bool { + for _, existing := range AllowedPowerFeedBreakerPoleCountValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerFeed_breaker_pole_count_value value +func (v PowerFeedBreakerPoleCountValue) Ptr() *PowerFeedBreakerPoleCountValue { + return &v +} + +type NullablePowerFeedBreakerPoleCountValue struct { + value *PowerFeedBreakerPoleCountValue + isSet bool +} + +func (v NullablePowerFeedBreakerPoleCountValue) Get() *PowerFeedBreakerPoleCountValue { + return v.value +} + +func (v *NullablePowerFeedBreakerPoleCountValue) Set(val *PowerFeedBreakerPoleCountValue) { + v.value = val + v.isSet = true +} + +func (v NullablePowerFeedBreakerPoleCountValue) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerFeedBreakerPoleCountValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerFeedBreakerPoleCountValue(val *PowerFeedBreakerPoleCountValue) *NullablePowerFeedBreakerPoleCountValue { + return &NullablePowerFeedBreakerPoleCountValue{value: val, isSet: true} +} + +func (v NullablePowerFeedBreakerPoleCountValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerFeedBreakerPoleCountValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_power_feed_phase.go b/model_power_feed_phase.go index 6cb5f326..e594bcd1 100644 --- a/model_power_feed_phase.go +++ b/model_power_feed_phase.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/model_power_feed_phase_label.go b/model_power_feed_phase_label.go index a9726a11..23c0bcb4 100644 --- a/model_power_feed_phase_label.go +++ b/model_power_feed_phase_label.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/model_power_feed_phase_value.go b/model_power_feed_phase_value.go index 6d239cbb..642cbad5 100644 --- a/model_power_feed_phase_value.go +++ b/model_power_feed_phase_value.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/model_power_feed_power_path.go b/model_power_feed_power_path.go new file mode 100644 index 00000000..50464930 --- /dev/null +++ b/model_power_feed_power_path.go @@ -0,0 +1,192 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PowerFeedPowerPath type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PowerFeedPowerPath{} + +// PowerFeedPowerPath struct for PowerFeedPowerPath +type PowerFeedPowerPath struct { + Value *PowerFeedPowerPathValue `json:"value,omitempty"` + Label *PowerFeedPowerPathLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PowerFeedPowerPath PowerFeedPowerPath + +// NewPowerFeedPowerPath instantiates a new PowerFeedPowerPath 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 +func NewPowerFeedPowerPath() *PowerFeedPowerPath { + this := PowerFeedPowerPath{} + return &this +} + +// NewPowerFeedPowerPathWithDefaults instantiates a new PowerFeedPowerPath 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 +func NewPowerFeedPowerPathWithDefaults() *PowerFeedPowerPath { + this := PowerFeedPowerPath{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *PowerFeedPowerPath) GetValue() PowerFeedPowerPathValue { + if o == nil || IsNil(o.Value) { + var ret PowerFeedPowerPathValue + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerFeedPowerPath) GetValueOk() (*PowerFeedPowerPathValue, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *PowerFeedPowerPath) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PowerFeedPowerPathValue and assigns it to the Value field. +func (o *PowerFeedPowerPath) SetValue(v PowerFeedPowerPathValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerFeedPowerPath) GetLabel() PowerFeedPowerPathLabel { + if o == nil || IsNil(o.Label) { + var ret PowerFeedPowerPathLabel + return ret + } + return *o.Label +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerFeedPowerPath) GetLabelOk() (*PowerFeedPowerPathLabel, bool) { + if o == nil || IsNil(o.Label) { + return nil, false + } + return o.Label, true +} + +// HasLabel returns a boolean if a field has been set. +func (o *PowerFeedPowerPath) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given PowerFeedPowerPathLabel and assigns it to the Label field. +func (o *PowerFeedPowerPath) SetLabel(v PowerFeedPowerPathLabel) { + o.Label = &v +} + +func (o PowerFeedPowerPath) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PowerFeedPowerPath) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PowerFeedPowerPath) UnmarshalJSON(data []byte) (err error) { + varPowerFeedPowerPath := _PowerFeedPowerPath{} + + err = json.Unmarshal(data, &varPowerFeedPowerPath) + + if err != nil { + return err + } + + *o = PowerFeedPowerPath(varPowerFeedPowerPath) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "value") + delete(additionalProperties, "label") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePowerFeedPowerPath struct { + value *PowerFeedPowerPath + isSet bool +} + +func (v NullablePowerFeedPowerPath) Get() *PowerFeedPowerPath { + return v.value +} + +func (v *NullablePowerFeedPowerPath) Set(val *PowerFeedPowerPath) { + v.value = val + v.isSet = true +} + +func (v NullablePowerFeedPowerPath) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerFeedPowerPath) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerFeedPowerPath(val *PowerFeedPowerPath) *NullablePowerFeedPowerPath { + return &NullablePowerFeedPowerPath{value: val, isSet: true} +} + +func (v NullablePowerFeedPowerPath) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerFeedPowerPath) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_power_feed_power_path_label.go b/model_power_feed_power_path_label.go new file mode 100644 index 00000000..60f3208c --- /dev/null +++ b/model_power_feed_power_path_label.go @@ -0,0 +1,111 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PowerFeedPowerPathLabel the model 'PowerFeedPowerPathLabel' +type PowerFeedPowerPathLabel string + +// List of PowerFeed_power_path_label +const ( + POWERFEEDPOWERPATHLABEL_PATH_A PowerFeedPowerPathLabel = "Path A" + POWERFEEDPOWERPATHLABEL_PATH_B PowerFeedPowerPathLabel = "Path B" +) + +// All allowed values of PowerFeedPowerPathLabel enum +var AllowedPowerFeedPowerPathLabelEnumValues = []PowerFeedPowerPathLabel{ + "Path A", + "Path B", +} + +func (v *PowerFeedPowerPathLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerFeedPowerPathLabel(value) + for _, existing := range AllowedPowerFeedPowerPathLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerFeedPowerPathLabel", value) +} + +// NewPowerFeedPowerPathLabelFromValue returns a pointer to a valid PowerFeedPowerPathLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerFeedPowerPathLabelFromValue(v string) (*PowerFeedPowerPathLabel, error) { + ev := PowerFeedPowerPathLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerFeedPowerPathLabel: valid values are %v", v, AllowedPowerFeedPowerPathLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerFeedPowerPathLabel) IsValid() bool { + for _, existing := range AllowedPowerFeedPowerPathLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerFeed_power_path_label value +func (v PowerFeedPowerPathLabel) Ptr() *PowerFeedPowerPathLabel { + return &v +} + +type NullablePowerFeedPowerPathLabel struct { + value *PowerFeedPowerPathLabel + isSet bool +} + +func (v NullablePowerFeedPowerPathLabel) Get() *PowerFeedPowerPathLabel { + return v.value +} + +func (v *NullablePowerFeedPowerPathLabel) Set(val *PowerFeedPowerPathLabel) { + v.value = val + v.isSet = true +} + +func (v NullablePowerFeedPowerPathLabel) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerFeedPowerPathLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerFeedPowerPathLabel(val *PowerFeedPowerPathLabel) *NullablePowerFeedPowerPathLabel { + return &NullablePowerFeedPowerPathLabel{value: val, isSet: true} +} + +func (v NullablePowerFeedPowerPathLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerFeedPowerPathLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_power_feed_power_path_value.go b/model_power_feed_power_path_value.go new file mode 100644 index 00000000..f7759528 --- /dev/null +++ b/model_power_feed_power_path_value.go @@ -0,0 +1,111 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PowerFeedPowerPathValue the model 'PowerFeedPowerPathValue' +type PowerFeedPowerPathValue string + +// List of PowerFeed_power_path_value +const ( + POWERFEEDPOWERPATHVALUE_A PowerFeedPowerPathValue = "a" + POWERFEEDPOWERPATHVALUE_B PowerFeedPowerPathValue = "b" +) + +// All allowed values of PowerFeedPowerPathValue enum +var AllowedPowerFeedPowerPathValueEnumValues = []PowerFeedPowerPathValue{ + "a", + "b", +} + +func (v *PowerFeedPowerPathValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerFeedPowerPathValue(value) + for _, existing := range AllowedPowerFeedPowerPathValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerFeedPowerPathValue", value) +} + +// NewPowerFeedPowerPathValueFromValue returns a pointer to a valid PowerFeedPowerPathValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerFeedPowerPathValueFromValue(v string) (*PowerFeedPowerPathValue, error) { + ev := PowerFeedPowerPathValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerFeedPowerPathValue: valid values are %v", v, AllowedPowerFeedPowerPathValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerFeedPowerPathValue) IsValid() bool { + for _, existing := range AllowedPowerFeedPowerPathValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerFeed_power_path_value value +func (v PowerFeedPowerPathValue) Ptr() *PowerFeedPowerPathValue { + return &v +} + +type NullablePowerFeedPowerPathValue struct { + value *PowerFeedPowerPathValue + isSet bool +} + +func (v NullablePowerFeedPowerPathValue) Get() *PowerFeedPowerPathValue { + return v.value +} + +func (v *NullablePowerFeedPowerPathValue) Set(val *PowerFeedPowerPathValue) { + v.value = val + v.isSet = true +} + +func (v NullablePowerFeedPowerPathValue) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerFeedPowerPathValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerFeedPowerPathValue(val *PowerFeedPowerPathValue) *NullablePowerFeedPowerPathValue { + return &NullablePowerFeedPowerPathValue{value: val, isSet: true} +} + +func (v NullablePowerFeedPowerPathValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerFeedPowerPathValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_power_feed_supply.go b/model_power_feed_supply.go index 2138b909..545cfdf7 100644 --- a/model_power_feed_supply.go +++ b/model_power_feed_supply.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/model_power_feed_supply_label.go b/model_power_feed_supply_label.go index 99f1c010..dea7b5d0 100644 --- a/model_power_feed_supply_label.go +++ b/model_power_feed_supply_label.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/model_power_feed_supply_value.go b/model_power_feed_supply_value.go index edfd334e..2dbb6b25 100644 --- a/model_power_feed_supply_value.go +++ b/model_power_feed_supply_value.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/model_power_feed_type.go b/model_power_feed_type.go index b1ccd710..dfa69ed1 100644 --- a/model_power_feed_type.go +++ b/model_power_feed_type.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/model_power_feed_type_choices.go b/model_power_feed_type_choices.go index f7c50369..aa5c2f44 100644 --- a/model_power_feed_type_choices.go +++ b/model_power_feed_type_choices.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/model_power_feed_type_label.go b/model_power_feed_type_label.go index d4e56ad8..d50787fe 100644 --- a/model_power_feed_type_label.go +++ b/model_power_feed_type_label.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/model_power_feed_type_value.go b/model_power_feed_type_value.go index 126ad23c..3e36ab0b 100644 --- a/model_power_feed_type_value.go +++ b/model_power_feed_type_value.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/model_power_outlet.go b/model_power_outlet.go index 53450b7c..162b615f 100644 --- a/model_power_outlet.go +++ b/model_power_outlet.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &PowerOutlet{} // PowerOutlet 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. type PowerOutlet struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -56,9 +56,8 @@ type _PowerOutlet PowerOutlet // 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 -func NewPowerOutlet(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) *PowerOutlet { +func NewPowerOutlet(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) *PowerOutlet { this := PowerOutlet{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -84,28 +83,36 @@ func NewPowerOutletWithDefaults() *PowerOutlet { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *PowerOutlet) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *PowerOutlet) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PowerOutlet) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *PowerOutlet) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -788,7 +795,9 @@ func (o PowerOutlet) MarshalJSON() ([]byte, error) { func (o PowerOutlet) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -843,7 +852,6 @@ func (o *PowerOutlet) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_power_outlet_feed_leg.go b/model_power_outlet_feed_leg.go index bf21544f..4a0977a6 100644 --- a/model_power_outlet_feed_leg.go +++ b/model_power_outlet_feed_leg.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/model_power_outlet_feed_leg_value.go b/model_power_outlet_feed_leg_value.go index 619a7de4..c440ad29 100644 --- a/model_power_outlet_feed_leg_value.go +++ b/model_power_outlet_feed_leg_value.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/model_power_outlet_template.go b/model_power_outlet_template.go index 31adee07..781bb558 100644 --- a/model_power_outlet_template.go +++ b/model_power_outlet_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &PowerOutletTemplate{} // PowerOutletTemplate 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. type PowerOutletTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -49,9 +49,8 @@ type _PowerOutletTemplate PowerOutletTemplate // 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 -func NewPowerOutletTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime) *PowerOutletTemplate { +func NewPowerOutletTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime) *PowerOutletTemplate { this := PowerOutletTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewPowerOutletTemplateWithDefaults() *PowerOutletTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *PowerOutletTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *PowerOutletTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PowerOutletTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *PowerOutletTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -587,7 +594,9 @@ func (o PowerOutletTemplate) MarshalJSON() ([]byte, error) { func (o PowerOutletTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -633,7 +642,6 @@ func (o *PowerOutletTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_power_outlet_type.go b/model_power_outlet_type.go index 8edff111..f1ae7896 100644 --- a/model_power_outlet_type.go +++ b/model_power_outlet_type.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/model_power_outlet_type_choices.go b/model_power_outlet_type_choices.go index 1895901d..0cc8b7df 100644 --- a/model_power_outlet_type_choices.go +++ b/model_power_outlet_type_choices.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. @@ -111,6 +111,7 @@ const ( POWEROUTLETTYPECHOICES_NEUTRIK_POWERCON_TRUE1 PowerOutletTypeChoices = "neutrik-powercon-true1" POWEROUTLETTYPECHOICES_NEUTRIK_POWERCON_TRUE1_TOP PowerOutletTypeChoices = "neutrik-powercon-true1-top" POWEROUTLETTYPECHOICES_UBIQUITI_SMARTPOWER PowerOutletTypeChoices = "ubiquiti-smartpower" + POWEROUTLETTYPECHOICES_EATON_C39 PowerOutletTypeChoices = "eaton-c39" POWEROUTLETTYPECHOICES_HARDWIRED PowerOutletTypeChoices = "hardwired" POWEROUTLETTYPECHOICES_OTHER PowerOutletTypeChoices = "other" ) @@ -208,6 +209,7 @@ var AllowedPowerOutletTypeChoicesEnumValues = []PowerOutletTypeChoices{ "neutrik-powercon-true1", "neutrik-powercon-true1-top", "ubiquiti-smartpower", + "eaton-c39", "hardwired", "other", } diff --git a/model_power_outlet_type_label.go b/model_power_outlet_type_label.go index e31dbead..15478d5d 100644 --- a/model_power_outlet_type_label.go +++ b/model_power_outlet_type_label.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. @@ -111,6 +111,7 @@ const ( POWEROUTLETTYPELABEL_NEUTRIK_POWER_CON_TRUE1 PowerOutletTypeLabel = "Neutrik powerCON TRUE1" POWEROUTLETTYPELABEL_NEUTRIK_POWER_CON_TRUE1_TOP PowerOutletTypeLabel = "Neutrik powerCON TRUE1 TOP" POWEROUTLETTYPELABEL_UBIQUITI_SMART_POWER PowerOutletTypeLabel = "Ubiquiti SmartPower" + POWEROUTLETTYPELABEL_EATON_C39 PowerOutletTypeLabel = "Eaton C39" POWEROUTLETTYPELABEL_HARDWIRED PowerOutletTypeLabel = "Hardwired" POWEROUTLETTYPELABEL_OTHER PowerOutletTypeLabel = "Other" ) @@ -208,6 +209,7 @@ var AllowedPowerOutletTypeLabelEnumValues = []PowerOutletTypeLabel{ "Neutrik powerCON TRUE1", "Neutrik powerCON TRUE1 TOP", "Ubiquiti SmartPower", + "Eaton C39", "Hardwired", "Other", } diff --git a/model_power_outlet_type_value.go b/model_power_outlet_type_value.go index 4ea4c9fe..77004c19 100644 --- a/model_power_outlet_type_value.go +++ b/model_power_outlet_type_value.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. @@ -111,6 +111,7 @@ const ( POWEROUTLETTYPEVALUE_NEUTRIK_POWERCON_TRUE1 PowerOutletTypeValue = "neutrik-powercon-true1" POWEROUTLETTYPEVALUE_NEUTRIK_POWERCON_TRUE1_TOP PowerOutletTypeValue = "neutrik-powercon-true1-top" POWEROUTLETTYPEVALUE_UBIQUITI_SMARTPOWER PowerOutletTypeValue = "ubiquiti-smartpower" + POWEROUTLETTYPEVALUE_EATON_C39 PowerOutletTypeValue = "eaton-c39" POWEROUTLETTYPEVALUE_HARDWIRED PowerOutletTypeValue = "hardwired" POWEROUTLETTYPEVALUE_OTHER PowerOutletTypeValue = "other" ) @@ -208,6 +209,7 @@ var AllowedPowerOutletTypeValueEnumValues = []PowerOutletTypeValue{ "neutrik-powercon-true1", "neutrik-powercon-true1-top", "ubiquiti-smartpower", + "eaton-c39", "hardwired", "other", } diff --git a/model_power_panel.go b/model_power_panel.go index 5a76f76d..7c5c4725 100644 --- a/model_power_panel.go +++ b/model_power_panel.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. @@ -21,14 +21,18 @@ var _ MappedNullable = &PowerPanel{} // PowerPanel 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. type PowerPanel struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` + PanelType *PowerPanelPanelType `json:"panel_type,omitempty"` + PowerPath *PowerFeedPowerPath `json:"power_path,omitempty"` PowerFeedCount *int32 `json:"power_feed_count,omitempty"` Name string `json:"name"` + // Total number of breaker positions in the panel (e.g., 42) + BreakerPositionCount NullableInt32 `json:"breaker_position_count,omitempty"` Location BulkWritableCableRequestStatus `json:"location"` RackGroup NullableBulkWritableCircuitRequestTenant `json:"rack_group,omitempty"` Created NullableTime `json:"created"` @@ -45,9 +49,8 @@ type _PowerPanel PowerPanel // 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 -func NewPowerPanel(id string, objectType string, display string, url string, naturalSlug string, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *PowerPanel { +func NewPowerPanel(objectType string, display string, url string, naturalSlug string, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *PowerPanel { this := PowerPanel{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -68,28 +71,36 @@ func NewPowerPanelWithDefaults() *PowerPanel { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *PowerPanel) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *PowerPanel) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PowerPanel) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *PowerPanel) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -188,6 +199,70 @@ func (o *PowerPanel) SetNaturalSlug(v string) { o.NaturalSlug = v } +// GetPanelType returns the PanelType field value if set, zero value otherwise. +func (o *PowerPanel) GetPanelType() PowerPanelPanelType { + if o == nil || IsNil(o.PanelType) { + var ret PowerPanelPanelType + return ret + } + return *o.PanelType +} + +// GetPanelTypeOk returns a tuple with the PanelType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPanel) GetPanelTypeOk() (*PowerPanelPanelType, bool) { + if o == nil || IsNil(o.PanelType) { + return nil, false + } + return o.PanelType, true +} + +// HasPanelType returns a boolean if a field has been set. +func (o *PowerPanel) HasPanelType() bool { + if o != nil && !IsNil(o.PanelType) { + return true + } + + return false +} + +// SetPanelType gets a reference to the given PowerPanelPanelType and assigns it to the PanelType field. +func (o *PowerPanel) SetPanelType(v PowerPanelPanelType) { + o.PanelType = &v +} + +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *PowerPanel) GetPowerPath() PowerFeedPowerPath { + if o == nil || IsNil(o.PowerPath) { + var ret PowerFeedPowerPath + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPanel) GetPowerPathOk() (*PowerFeedPowerPath, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *PowerPanel) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PowerFeedPowerPath and assigns it to the PowerPath field. +func (o *PowerPanel) SetPowerPath(v PowerFeedPowerPath) { + o.PowerPath = &v +} + // GetPowerFeedCount returns the PowerFeedCount field value if set, zero value otherwise. func (o *PowerPanel) GetPowerFeedCount() int32 { if o == nil || IsNil(o.PowerFeedCount) { @@ -244,6 +319,48 @@ func (o *PowerPanel) SetName(v string) { o.Name = v } +// GetBreakerPositionCount returns the BreakerPositionCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPanel) GetBreakerPositionCount() int32 { + if o == nil || IsNil(o.BreakerPositionCount.Get()) { + var ret int32 + return ret + } + return *o.BreakerPositionCount.Get() +} + +// GetBreakerPositionCountOk returns a tuple with the BreakerPositionCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PowerPanel) GetBreakerPositionCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPositionCount.Get(), o.BreakerPositionCount.IsSet() +} + +// HasBreakerPositionCount returns a boolean if a field has been set. +func (o *PowerPanel) HasBreakerPositionCount() bool { + if o != nil && o.BreakerPositionCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPositionCount gets a reference to the given NullableInt32 and assigns it to the BreakerPositionCount field. +func (o *PowerPanel) SetBreakerPositionCount(v int32) { + o.BreakerPositionCount.Set(&v) +} +// SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil +func (o *PowerPanel) SetBreakerPositionCountNil() { + o.BreakerPositionCount.Set(nil) +} + +// UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil +func (o *PowerPanel) UnsetBreakerPositionCount() { + o.BreakerPositionCount.Unset() +} + // GetLocation returns the Location field value func (o *PowerPanel) GetLocation() BulkWritableCableRequestStatus { if o == nil { @@ -460,15 +577,26 @@ func (o PowerPanel) MarshalJSON() ([]byte, error) { func (o PowerPanel) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug + if !IsNil(o.PanelType) { + toSerialize["panel_type"] = o.PanelType + } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } if !IsNil(o.PowerFeedCount) { toSerialize["power_feed_count"] = o.PowerFeedCount } toSerialize["name"] = o.Name + if o.BreakerPositionCount.IsSet() { + toSerialize["breaker_position_count"] = o.BreakerPositionCount.Get() + } toSerialize["location"] = o.Location if o.RackGroup.IsSet() { toSerialize["rack_group"] = o.RackGroup.Get() @@ -495,7 +623,6 @@ func (o *PowerPanel) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -539,8 +666,11 @@ func (o *PowerPanel) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") + delete(additionalProperties, "panel_type") + delete(additionalProperties, "power_path") delete(additionalProperties, "power_feed_count") delete(additionalProperties, "name") + delete(additionalProperties, "breaker_position_count") delete(additionalProperties, "location") delete(additionalProperties, "rack_group") delete(additionalProperties, "created") diff --git a/model_power_panel_panel_type.go b/model_power_panel_panel_type.go new file mode 100644 index 00000000..70aa1f2b --- /dev/null +++ b/model_power_panel_panel_type.go @@ -0,0 +1,192 @@ +/* +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 ( + "encoding/json" +) + +// checks if the PowerPanelPanelType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PowerPanelPanelType{} + +// PowerPanelPanelType struct for PowerPanelPanelType +type PowerPanelPanelType struct { + Value *PowerPanelPanelTypeValue `json:"value,omitempty"` + Label *PowerPanelPanelTypeLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PowerPanelPanelType PowerPanelPanelType + +// NewPowerPanelPanelType instantiates a new PowerPanelPanelType 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 +func NewPowerPanelPanelType() *PowerPanelPanelType { + this := PowerPanelPanelType{} + return &this +} + +// NewPowerPanelPanelTypeWithDefaults instantiates a new PowerPanelPanelType 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 +func NewPowerPanelPanelTypeWithDefaults() *PowerPanelPanelType { + this := PowerPanelPanelType{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *PowerPanelPanelType) GetValue() PowerPanelPanelTypeValue { + if o == nil || IsNil(o.Value) { + var ret PowerPanelPanelTypeValue + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPanelPanelType) GetValueOk() (*PowerPanelPanelTypeValue, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *PowerPanelPanelType) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PowerPanelPanelTypeValue and assigns it to the Value field. +func (o *PowerPanelPanelType) SetValue(v PowerPanelPanelTypeValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerPanelPanelType) GetLabel() PowerPanelPanelTypeLabel { + if o == nil || IsNil(o.Label) { + var ret PowerPanelPanelTypeLabel + return ret + } + return *o.Label +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPanelPanelType) GetLabelOk() (*PowerPanelPanelTypeLabel, bool) { + if o == nil || IsNil(o.Label) { + return nil, false + } + return o.Label, true +} + +// HasLabel returns a boolean if a field has been set. +func (o *PowerPanelPanelType) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given PowerPanelPanelTypeLabel and assigns it to the Label field. +func (o *PowerPanelPanelType) SetLabel(v PowerPanelPanelTypeLabel) { + o.Label = &v +} + +func (o PowerPanelPanelType) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PowerPanelPanelType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PowerPanelPanelType) UnmarshalJSON(data []byte) (err error) { + varPowerPanelPanelType := _PowerPanelPanelType{} + + err = json.Unmarshal(data, &varPowerPanelPanelType) + + if err != nil { + return err + } + + *o = PowerPanelPanelType(varPowerPanelPanelType) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "value") + delete(additionalProperties, "label") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePowerPanelPanelType struct { + value *PowerPanelPanelType + isSet bool +} + +func (v NullablePowerPanelPanelType) Get() *PowerPanelPanelType { + return v.value +} + +func (v *NullablePowerPanelPanelType) Set(val *PowerPanelPanelType) { + v.value = val + v.isSet = true +} + +func (v NullablePowerPanelPanelType) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerPanelPanelType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerPanelPanelType(val *PowerPanelPanelType) *NullablePowerPanelPanelType { + return &NullablePowerPanelPanelType{value: val, isSet: true} +} + +func (v NullablePowerPanelPanelType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerPanelPanelType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_power_panel_panel_type_label.go b/model_power_panel_panel_type_label.go new file mode 100644 index 00000000..839878fe --- /dev/null +++ b/model_power_panel_panel_type_label.go @@ -0,0 +1,127 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PowerPanelPanelTypeLabel the model 'PowerPanelPanelTypeLabel' +type PowerPanelPanelTypeLabel string + +// List of PowerPanel_panel_type_label +const ( + POWERPANELPANELTYPELABEL_UTILITY PowerPanelPanelTypeLabel = "Utility" + POWERPANELPANELTYPELABEL_GENERATOR PowerPanelPanelTypeLabel = "Generator" + POWERPANELPANELTYPELABEL_SWITCHGEAR PowerPanelPanelTypeLabel = "Switchgear" + POWERPANELPANELTYPELABEL_MAIN_DISTRIBUTION_PANEL__MDP PowerPanelPanelTypeLabel = "Main Distribution Panel (MDP)" + POWERPANELPANELTYPELABEL_UNINTERRUPTIBLE_POWER_SUPPLY__UPS PowerPanelPanelTypeLabel = "Uninterruptible Power Supply (UPS)" + POWERPANELPANELTYPELABEL_TRANSFER_SWITCH__TS PowerPanelPanelTypeLabel = "Transfer Switch (TS)" + POWERPANELPANELTYPELABEL_POWER_DISTRIBUTION_UNIT__PDU PowerPanelPanelTypeLabel = "Power Distribution Unit (PDU)" + POWERPANELPANELTYPELABEL_PANELBOARD PowerPanelPanelTypeLabel = "Panelboard" + POWERPANELPANELTYPELABEL_MINI_LOAD_CENTER__MLC PowerPanelPanelTypeLabel = "Mini Load Center (MLC)" + POWERPANELPANELTYPELABEL_REMOTE_POWER_PANEL__RPP PowerPanelPanelTypeLabel = "Remote Power Panel (RPP)" +) + +// All allowed values of PowerPanelPanelTypeLabel enum +var AllowedPowerPanelPanelTypeLabelEnumValues = []PowerPanelPanelTypeLabel{ + "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)", +} + +func (v *PowerPanelPanelTypeLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerPanelPanelTypeLabel(value) + for _, existing := range AllowedPowerPanelPanelTypeLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerPanelPanelTypeLabel", value) +} + +// NewPowerPanelPanelTypeLabelFromValue returns a pointer to a valid PowerPanelPanelTypeLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerPanelPanelTypeLabelFromValue(v string) (*PowerPanelPanelTypeLabel, error) { + ev := PowerPanelPanelTypeLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerPanelPanelTypeLabel: valid values are %v", v, AllowedPowerPanelPanelTypeLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerPanelPanelTypeLabel) IsValid() bool { + for _, existing := range AllowedPowerPanelPanelTypeLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerPanel_panel_type_label value +func (v PowerPanelPanelTypeLabel) Ptr() *PowerPanelPanelTypeLabel { + return &v +} + +type NullablePowerPanelPanelTypeLabel struct { + value *PowerPanelPanelTypeLabel + isSet bool +} + +func (v NullablePowerPanelPanelTypeLabel) Get() *PowerPanelPanelTypeLabel { + return v.value +} + +func (v *NullablePowerPanelPanelTypeLabel) Set(val *PowerPanelPanelTypeLabel) { + v.value = val + v.isSet = true +} + +func (v NullablePowerPanelPanelTypeLabel) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerPanelPanelTypeLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerPanelPanelTypeLabel(val *PowerPanelPanelTypeLabel) *NullablePowerPanelPanelTypeLabel { + return &NullablePowerPanelPanelTypeLabel{value: val, isSet: true} +} + +func (v NullablePowerPanelPanelTypeLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerPanelPanelTypeLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_power_panel_panel_type_value.go b/model_power_panel_panel_type_value.go new file mode 100644 index 00000000..4327f43b --- /dev/null +++ b/model_power_panel_panel_type_value.go @@ -0,0 +1,127 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PowerPanelPanelTypeValue the model 'PowerPanelPanelTypeValue' +type PowerPanelPanelTypeValue string + +// List of PowerPanel_panel_type_value +const ( + POWERPANELPANELTYPEVALUE_UTILITY PowerPanelPanelTypeValue = "utility" + POWERPANELPANELTYPEVALUE_GENERATOR PowerPanelPanelTypeValue = "generator" + POWERPANELPANELTYPEVALUE_SWITCHGEAR PowerPanelPanelTypeValue = "switchgear" + POWERPANELPANELTYPEVALUE_MDP PowerPanelPanelTypeValue = "mdp" + POWERPANELPANELTYPEVALUE_UPS PowerPanelPanelTypeValue = "ups" + POWERPANELPANELTYPEVALUE_TRANSFER_SWITCH PowerPanelPanelTypeValue = "transfer-switch" + POWERPANELPANELTYPEVALUE_PDU PowerPanelPanelTypeValue = "pdu" + POWERPANELPANELTYPEVALUE_PANELBOARD PowerPanelPanelTypeValue = "panelboard" + POWERPANELPANELTYPEVALUE_MLC PowerPanelPanelTypeValue = "mlc" + POWERPANELPANELTYPEVALUE_RPP PowerPanelPanelTypeValue = "rpp" +) + +// All allowed values of PowerPanelPanelTypeValue enum +var AllowedPowerPanelPanelTypeValueEnumValues = []PowerPanelPanelTypeValue{ + "utility", + "generator", + "switchgear", + "mdp", + "ups", + "transfer-switch", + "pdu", + "panelboard", + "mlc", + "rpp", +} + +func (v *PowerPanelPanelTypeValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerPanelPanelTypeValue(value) + for _, existing := range AllowedPowerPanelPanelTypeValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerPanelPanelTypeValue", value) +} + +// NewPowerPanelPanelTypeValueFromValue returns a pointer to a valid PowerPanelPanelTypeValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerPanelPanelTypeValueFromValue(v string) (*PowerPanelPanelTypeValue, error) { + ev := PowerPanelPanelTypeValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerPanelPanelTypeValue: valid values are %v", v, AllowedPowerPanelPanelTypeValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerPanelPanelTypeValue) IsValid() bool { + for _, existing := range AllowedPowerPanelPanelTypeValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerPanel_panel_type_value value +func (v PowerPanelPanelTypeValue) Ptr() *PowerPanelPanelTypeValue { + return &v +} + +type NullablePowerPanelPanelTypeValue struct { + value *PowerPanelPanelTypeValue + isSet bool +} + +func (v NullablePowerPanelPanelTypeValue) Get() *PowerPanelPanelTypeValue { + return v.value +} + +func (v *NullablePowerPanelPanelTypeValue) Set(val *PowerPanelPanelTypeValue) { + v.value = val + v.isSet = true +} + +func (v NullablePowerPanelPanelTypeValue) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerPanelPanelTypeValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerPanelPanelTypeValue(val *PowerPanelPanelTypeValue) *NullablePowerPanelPanelTypeValue { + return &NullablePowerPanelPanelTypeValue{value: val, isSet: true} +} + +func (v NullablePowerPanelPanelTypeValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerPanelPanelTypeValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_power_panel_request.go b/model_power_panel_request.go deleted file mode 100644 index ea36a4bd..00000000 --- a/model_power_panel_request.go +++ /dev/null @@ -1,355 +0,0 @@ -/* -API Documentation - -Source of truth and network automation platform - -API version: 2.3.4 (2.3) -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package nautobot - -import ( - "encoding/json" - "fmt" -) - -// checks if the PowerPanelRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &PowerPanelRequest{} - -// PowerPanelRequest 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. -type PowerPanelRequest struct { - Name string `json:"name"` - Location BulkWritableCableRequestStatus `json:"location"` - RackGroup NullableBulkWritableCircuitRequestTenant `json:"rack_group,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` - Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _PowerPanelRequest PowerPanelRequest - -// NewPowerPanelRequest instantiates a new PowerPanelRequest 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 -func NewPowerPanelRequest(name string, location BulkWritableCableRequestStatus) *PowerPanelRequest { - this := PowerPanelRequest{} - this.Name = name - this.Location = location - return &this -} - -// NewPowerPanelRequestWithDefaults instantiates a new PowerPanelRequest 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 -func NewPowerPanelRequestWithDefaults() *PowerPanelRequest { - this := PowerPanelRequest{} - return &this -} - -// GetName returns the Name field value -func (o *PowerPanelRequest) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *PowerPanelRequest) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *PowerPanelRequest) SetName(v string) { - o.Name = v -} - -// GetLocation returns the Location field value -func (o *PowerPanelRequest) GetLocation() BulkWritableCableRequestStatus { - if o == nil { - var ret BulkWritableCableRequestStatus - return ret - } - - return o.Location -} - -// GetLocationOk returns a tuple with the Location field value -// and a boolean to check if the value has been set. -func (o *PowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool) { - if o == nil { - return nil, false - } - return &o.Location, true -} - -// SetLocation sets field value -func (o *PowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus) { - o.Location = v -} - -// GetRackGroup returns the RackGroup field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant { - if o == nil || IsNil(o.RackGroup.Get()) { - var ret BulkWritableCircuitRequestTenant - return ret - } - return *o.RackGroup.Get() -} - -// GetRackGroupOk returns a tuple with the RackGroup field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool) { - if o == nil { - return nil, false - } - return o.RackGroup.Get(), o.RackGroup.IsSet() -} - -// HasRackGroup returns a boolean if a field has been set. -func (o *PowerPanelRequest) HasRackGroup() bool { - if o != nil && o.RackGroup.IsSet() { - return true - } - - return false -} - -// SetRackGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the RackGroup field. -func (o *PowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant) { - o.RackGroup.Set(&v) -} -// SetRackGroupNil sets the value for RackGroup to be an explicit nil -func (o *PowerPanelRequest) SetRackGroupNil() { - o.RackGroup.Set(nil) -} - -// UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil -func (o *PowerPanelRequest) UnsetRackGroup() { - o.RackGroup.Unset() -} - -// GetCustomFields returns the CustomFields field value if set, zero value otherwise. -func (o *PowerPanelRequest) GetCustomFields() map[string]interface{} { - if o == nil || IsNil(o.CustomFields) { - var ret map[string]interface{} - return ret - } - return o.CustomFields -} - -// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PowerPanelRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { - if o == nil || IsNil(o.CustomFields) { - return map[string]interface{}{}, false - } - return o.CustomFields, true -} - -// HasCustomFields returns a boolean if a field has been set. -func (o *PowerPanelRequest) HasCustomFields() bool { - if o != nil && !IsNil(o.CustomFields) { - return true - } - - return false -} - -// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. -func (o *PowerPanelRequest) SetCustomFields(v map[string]interface{}) { - o.CustomFields = v -} - -// GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *PowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { - if o == nil || IsNil(o.Relationships) { - var ret map[string]BulkWritableCableRequestRelationshipsValue - return ret - } - return *o.Relationships -} - -// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PowerPanelRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { - if o == nil || IsNil(o.Relationships) { - return nil, false - } - return o.Relationships, true -} - -// HasRelationships returns a boolean if a field has been set. -func (o *PowerPanelRequest) HasRelationships() bool { - if o != nil && !IsNil(o.Relationships) { - return true - } - - return false -} - -// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. -func (o *PowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { - o.Relationships = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PowerPanelRequest) GetTags() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Tags) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PowerPanelRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Tags) { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PowerPanelRequest) HasTags() bool { - if o != nil && !IsNil(o.Tags) { - return true - } - - return false -} - -// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. -func (o *PowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus) { - o.Tags = v -} - -func (o PowerPanelRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o PowerPanelRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["name"] = o.Name - toSerialize["location"] = o.Location - if o.RackGroup.IsSet() { - toSerialize["rack_group"] = o.RackGroup.Get() - } - if !IsNil(o.CustomFields) { - toSerialize["custom_fields"] = o.CustomFields - } - if !IsNil(o.Relationships) { - toSerialize["relationships"] = o.Relationships - } - if !IsNil(o.Tags) { - toSerialize["tags"] = o.Tags - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *PowerPanelRequest) UnmarshalJSON(data []byte) (err error) { - // This validates that all required properties are included in the JSON object - // by unmarshalling the object into a generic map with string keys and checking - // that every required field exists as a key in the generic map. - requiredProperties := []string{ - "name", - "location", - } - - allProperties := make(map[string]interface{}) - - err = json.Unmarshal(data, &allProperties) - - if err != nil { - return err; - } - - for _, requiredProperty := range(requiredProperties) { - if _, exists := allProperties[requiredProperty]; !exists { - return fmt.Errorf("no value given for required property %v", requiredProperty) - } - } - - varPowerPanelRequest := _PowerPanelRequest{} - - err = json.Unmarshal(data, &varPowerPanelRequest) - - if err != nil { - return err - } - - *o = PowerPanelRequest(varPowerPanelRequest) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "name") - delete(additionalProperties, "location") - delete(additionalProperties, "rack_group") - delete(additionalProperties, "custom_fields") - delete(additionalProperties, "relationships") - delete(additionalProperties, "tags") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullablePowerPanelRequest struct { - value *PowerPanelRequest - isSet bool -} - -func (v NullablePowerPanelRequest) Get() *PowerPanelRequest { - return v.value -} - -func (v *NullablePowerPanelRequest) Set(val *PowerPanelRequest) { - v.value = val - v.isSet = true -} - -func (v NullablePowerPanelRequest) IsSet() bool { - return v.isSet -} - -func (v *NullablePowerPanelRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePowerPanelRequest(val *PowerPanelRequest) *NullablePowerPanelRequest { - return &NullablePowerPanelRequest{value: val, isSet: true} -} - -func (v NullablePowerPanelRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePowerPanelRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_power_path_enum.go b/model_power_path_enum.go new file mode 100644 index 00000000..ca3beb6b --- /dev/null +++ b/model_power_path_enum.go @@ -0,0 +1,111 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// PowerPathEnum the model 'PowerPathEnum' +type PowerPathEnum string + +// List of PowerPathEnum +const ( + POWERPATHENUM_A PowerPathEnum = "a" + POWERPATHENUM_B PowerPathEnum = "b" +) + +// All allowed values of PowerPathEnum enum +var AllowedPowerPathEnumEnumValues = []PowerPathEnum{ + "a", + "b", +} + +func (v *PowerPathEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerPathEnum(value) + for _, existing := range AllowedPowerPathEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerPathEnum", value) +} + +// NewPowerPathEnumFromValue returns a pointer to a valid PowerPathEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerPathEnumFromValue(v string) (*PowerPathEnum, error) { + ev := PowerPathEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerPathEnum: valid values are %v", v, AllowedPowerPathEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerPathEnum) IsValid() bool { + for _, existing := range AllowedPowerPathEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerPathEnum value +func (v PowerPathEnum) Ptr() *PowerPathEnum { + return &v +} + +type NullablePowerPathEnum struct { + value *PowerPathEnum + isSet bool +} + +func (v NullablePowerPathEnum) Get() *PowerPathEnum { + return v.value +} + +func (v *NullablePowerPathEnum) Set(val *PowerPathEnum) { + v.value = val + v.isSet = true +} + +func (v NullablePowerPathEnum) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerPathEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerPathEnum(val *PowerPathEnum) *NullablePowerPathEnum { + return &NullablePowerPathEnum{value: val, isSet: true} +} + +func (v NullablePowerPathEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerPathEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_power_port.go b/model_power_port.go index cac718ae..181945b6 100644 --- a/model_power_port.go +++ b/model_power_port.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &PowerPort{} // PowerPort 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. type PowerPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -41,6 +41,8 @@ type PowerPort struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` Module NullableBulkWritableCircuitRequestTenant `json:"module,omitempty"` Cable NullableCircuitCircuitTerminationA `json:"cable"` @@ -58,9 +60,8 @@ type _PowerPort PowerPort // 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 -func NewPowerPort(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) *PowerPort { +func NewPowerPort(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) *PowerPort { this := PowerPort{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -86,28 +87,36 @@ func NewPowerPortWithDefaults() *PowerPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *PowerPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *PowerPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PowerPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *PowerPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -540,6 +549,38 @@ func (o *PowerPort) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *PowerPort) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPort) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *PowerPort) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *PowerPort) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PowerPort) GetDevice() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Device.Get()) { @@ -800,7 +841,9 @@ func (o PowerPort) MarshalJSON() ([]byte, error) { func (o PowerPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -826,6 +869,9 @@ func (o PowerPort) ToMap() (map[string]interface{}, error) { if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } @@ -855,7 +901,6 @@ func (o *PowerPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -915,6 +960,7 @@ func (o *PowerPort) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "description") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device") delete(additionalProperties, "module") delete(additionalProperties, "cable") diff --git a/model_power_port_template.go b/model_power_port_template.go index d646b5a5..a81b87f5 100644 --- a/model_power_port_template.go +++ b/model_power_port_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &PowerPortTemplate{} // PowerPortTemplate 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. type PowerPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -37,6 +37,8 @@ type PowerPortTemplate struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` Created NullableTime `json:"created"` @@ -51,9 +53,8 @@ type _PowerPortTemplate PowerPortTemplate // 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 -func NewPowerPortTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime) *PowerPortTemplate { +func NewPowerPortTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime) *PowerPortTemplate { this := PowerPortTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -73,28 +74,36 @@ func NewPowerPortTemplateWithDefaults() *PowerPortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *PowerPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *PowerPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PowerPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *PowerPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -421,6 +430,38 @@ func (o *PowerPortTemplate) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *PowerPortTemplate) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPortTemplate) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *PowerPortTemplate) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *PowerPortTemplate) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PowerPortTemplate) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -599,7 +640,9 @@ func (o PowerPortTemplate) MarshalJSON() ([]byte, error) { func (o PowerPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -621,6 +664,9 @@ func (o PowerPortTemplate) ToMap() (map[string]interface{}, error) { if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } @@ -645,7 +691,6 @@ func (o *PowerPortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -695,6 +740,7 @@ func (o *PowerPortTemplate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "description") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") delete(additionalProperties, "created") diff --git a/model_power_port_type.go b/model_power_port_type.go index 2770d4e6..ae6bc060 100644 --- a/model_power_port_type.go +++ b/model_power_port_type.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/model_power_port_type_choices.go b/model_power_port_type_choices.go index 1a133ebc..c0183037 100644 --- a/model_power_port_type_choices.go +++ b/model_power_port_type_choices.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/model_power_port_type_label.go b/model_power_port_type_label.go index 8ee1684d..414f1ec6 100644 --- a/model_power_port_type_label.go +++ b/model_power_port_type_label.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/model_power_port_type_value.go b/model_power_port_type_value.go index 01e99783..f60d0054 100644 --- a/model_power_port_type_value.go +++ b/model_power_port_type_value.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/model_prefix.go b/model_prefix.go index 3c4f7f00..8841b8a4 100644 --- a/model_prefix.go +++ b/model_prefix.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Prefix{} // Prefix 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. type Prefix struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -52,6 +52,7 @@ type Prefix struct { Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Vrfs []BulkWritableCableRequestStatus `json:"vrfs"` AdditionalProperties map[string]interface{} } @@ -61,9 +62,8 @@ type _Prefix Prefix // 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 -func NewPrefix(id string, objectType string, display string, url string, naturalSlug string, prefix string, network string, broadcast string, prefixLength int32, ipVersion int32, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *Prefix { +func NewPrefix(objectType string, display string, url string, naturalSlug string, prefix string, network string, broadcast string, prefixLength int32, ipVersion int32, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, vrfs []BulkWritableCableRequestStatus) *Prefix { this := Prefix{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -78,6 +78,7 @@ func NewPrefix(id string, objectType string, display string, url string, natural this.Created = created this.LastUpdated = lastUpdated this.NotesUrl = notesUrl + this.Vrfs = vrfs return &this } @@ -89,28 +90,36 @@ func NewPrefixWithDefaults() *Prefix { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Prefix) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Prefix) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *Prefix) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Prefix) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -865,6 +874,30 @@ func (o *Prefix) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetVrfs returns the Vrfs field value +func (o *Prefix) GetVrfs() []BulkWritableCableRequestStatus { + if o == nil { + var ret []BulkWritableCableRequestStatus + return ret + } + + return o.Vrfs +} + +// GetVrfsOk returns a tuple with the Vrfs field value +// and a boolean to check if the value has been set. +func (o *Prefix) GetVrfsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return o.Vrfs, true +} + +// SetVrfs sets field value +func (o *Prefix) SetVrfs(v []BulkWritableCableRequestStatus) { + o.Vrfs = v +} + func (o Prefix) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -875,7 +908,9 @@ func (o Prefix) MarshalJSON() ([]byte, error) { func (o Prefix) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -923,6 +958,7 @@ func (o Prefix) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + toSerialize["vrfs"] = o.Vrfs for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -936,7 +972,6 @@ func (o *Prefix) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -951,6 +986,7 @@ func (o *Prefix) UnmarshalJSON(data []byte) (err error) { "created", "last_updated", "notes_url", + "vrfs", } allProperties := make(map[string]interface{}) @@ -1006,6 +1042,7 @@ func (o *Prefix) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "tags") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "vrfs") o.AdditionalProperties = additionalProperties } diff --git a/model_prefix_length_request.go b/model_prefix_length_request.go index 5bc3b74f..0eb53873 100644 --- a/model_prefix_length_request.go +++ b/model_prefix_length_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &PrefixLengthRequest{} // PrefixLengthRequest Input serializer for POST to /api/ipam/prefixes//available-prefixes/, i.e. allocating one or more sub-prefixes. Since setting of multiple locations on create is not supported, this uses the legacy single-location option. type PrefixLengthRequest struct { + Id *string `json:"id,omitempty"` PrefixLength int32 `json:"prefix_length"` Type *PrefixTypeChoices `json:"type,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` @@ -47,7 +48,7 @@ type _PrefixLengthRequest PrefixLengthRequest func NewPrefixLengthRequest(prefixLength int32, status BulkWritableCableRequestStatus) *PrefixLengthRequest { this := PrefixLengthRequest{} this.PrefixLength = prefixLength - var type_ PrefixTypeChoices = "{\"value\":\"network\",\"label\":\"Network\"}" + var type_ PrefixTypeChoices = PREFIXTYPECHOICES_NETWORK this.Type = &type_ this.Status = status return &this @@ -58,11 +59,43 @@ func NewPrefixLengthRequest(prefixLength int32, status BulkWritableCableRequestS // but it doesn't guarantee that properties required by API are set func NewPrefixLengthRequestWithDefaults() *PrefixLengthRequest { this := PrefixLengthRequest{} - var type_ PrefixTypeChoices = "{\"value\":\"network\",\"label\":\"Network\"}" + var type_ PrefixTypeChoices = PREFIXTYPECHOICES_NETWORK this.Type = &type_ return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PrefixLengthRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PrefixLengthRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PrefixLengthRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PrefixLengthRequest) SetId(v string) { + o.Id = &v +} + // GetPrefixLength returns the PrefixLength field value func (o *PrefixLengthRequest) GetPrefixLength() int32 { if o == nil { @@ -533,6 +566,9 @@ func (o PrefixLengthRequest) MarshalJSON() ([]byte, error) { func (o PrefixLengthRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["prefix_length"] = o.PrefixLength if !IsNil(o.Type) { toSerialize["type"] = o.Type @@ -612,6 +648,7 @@ func (o *PrefixLengthRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "prefix_length") delete(additionalProperties, "type") delete(additionalProperties, "status") diff --git a/model_prefix_location_assignment.go b/model_prefix_location_assignment.go index 58ea00da..58a7ac66 100644 --- a/model_prefix_location_assignment.go +++ b/model_prefix_location_assignment.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &PrefixLocationAssignment{} // PrefixLocationAssignment 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) type PrefixLocationAssignment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -37,9 +37,8 @@ type _PrefixLocationAssignment PrefixLocationAssignment // 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 -func NewPrefixLocationAssignment(id string, objectType string, display string, url string, naturalSlug string, prefix BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus) *PrefixLocationAssignment { +func NewPrefixLocationAssignment(objectType string, display string, url string, naturalSlug string, prefix BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus) *PrefixLocationAssignment { this := PrefixLocationAssignment{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -57,28 +56,36 @@ func NewPrefixLocationAssignmentWithDefaults() *PrefixLocationAssignment { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *PrefixLocationAssignment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *PrefixLocationAssignment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PrefixLocationAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *PrefixLocationAssignment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -235,7 +242,9 @@ func (o PrefixLocationAssignment) MarshalJSON() ([]byte, error) { func (o PrefixLocationAssignment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -255,7 +264,6 @@ func (o *PrefixLocationAssignment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_prefix_location_assignment_request.go b/model_prefix_location_assignment_request.go index 8fca23be..983072c3 100644 --- a/model_prefix_location_assignment_request.go +++ b/model_prefix_location_assignment_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &PrefixLocationAssignmentRequest{} // PrefixLocationAssignmentRequest 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) type PrefixLocationAssignmentRequest struct { + Id *string `json:"id,omitempty"` Prefix BulkWritableCableRequestStatus `json:"prefix"` Location BulkWritableCableRequestStatus `json:"location"` AdditionalProperties map[string]interface{} @@ -46,6 +47,38 @@ func NewPrefixLocationAssignmentRequestWithDefaults() *PrefixLocationAssignmentR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *PrefixLocationAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PrefixLocationAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PrefixLocationAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *PrefixLocationAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetPrefix returns the Prefix field value func (o *PrefixLocationAssignmentRequest) GetPrefix() BulkWritableCableRequestStatus { if o == nil { @@ -104,6 +137,9 @@ func (o PrefixLocationAssignmentRequest) MarshalJSON() ([]byte, error) { func (o PrefixLocationAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["prefix"] = o.Prefix toSerialize["location"] = o.Location @@ -150,6 +186,7 @@ func (o *PrefixLocationAssignmentRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "prefix") delete(additionalProperties, "location") o.AdditionalProperties = additionalProperties diff --git a/model_prefix_type.go b/model_prefix_type.go index 2e717107..ef92c52a 100644 --- a/model_prefix_type.go +++ b/model_prefix_type.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/model_prefix_type_choices.go b/model_prefix_type_choices.go index a4a7c566..8f5ba777 100644 --- a/model_prefix_type_choices.go +++ b/model_prefix_type_choices.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/model_prefix_type_label.go b/model_prefix_type_label.go index 83126066..c5b341ad 100644 --- a/model_prefix_type_label.go +++ b/model_prefix_type_label.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/model_prefix_type_value.go b/model_prefix_type_value.go index 243a72f8..6793e3cb 100644 --- a/model_prefix_type_value.go +++ b/model_prefix_type_value.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/model_primary_ipv4.go b/model_primary_ipv4.go index 2cd6a87d..b3e3264a 100644 --- a/model_primary_ipv4.go +++ b/model_primary_ipv4.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/model_primary_ipv6.go b/model_primary_ipv6.go index 4290fe96..4223951c 100644 --- a/model_primary_ipv6.go +++ b/model_primary_ipv6.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/model_provided_contents_enum.go b/model_provided_contents_enum.go index 0c1b5b31..dffc8ca0 100644 --- a/model_provided_contents_enum.go +++ b/model_provided_contents_enum.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. @@ -20,10 +20,11 @@ type ProvidedContentsEnum string // List of ProvidedContentsEnum const ( - PROVIDEDCONTENTSENUM_CONFIGCONTEXT ProvidedContentsEnum = "extras.configcontext" - PROVIDEDCONTENTSENUM_CONFIGCONTEXTSCHEMA ProvidedContentsEnum = "extras.configcontextschema" - PROVIDEDCONTENTSENUM_EXPORTTEMPLATE ProvidedContentsEnum = "extras.exporttemplate" - PROVIDEDCONTENTSENUM_JOB ProvidedContentsEnum = "extras.job" + PROVIDEDCONTENTSENUM_EXTRAS_CONFIGCONTEXT ProvidedContentsEnum = "extras.configcontext" + PROVIDEDCONTENTSENUM_EXTRAS_CONFIGCONTEXTSCHEMA ProvidedContentsEnum = "extras.configcontextschema" + PROVIDEDCONTENTSENUM_EXTRAS_EXPORTTEMPLATE ProvidedContentsEnum = "extras.exporttemplate" + PROVIDEDCONTENTSENUM_EXTRAS_GRAPHQLQUERY ProvidedContentsEnum = "extras.graphqlquery" + PROVIDEDCONTENTSENUM_EXTRAS_JOB ProvidedContentsEnum = "extras.job" ) // All allowed values of ProvidedContentsEnum enum @@ -31,6 +32,7 @@ var AllowedProvidedContentsEnumEnumValues = []ProvidedContentsEnum{ "extras.configcontext", "extras.configcontextschema", "extras.exporttemplate", + "extras.graphqlquery", "extras.job", } diff --git a/model_provider.go b/model_provider.go index d3c172eb..d16b2cf1 100644 --- a/model_provider.go +++ b/model_provider.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Provider{} // Provider 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. type Provider struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -50,9 +50,8 @@ type _Provider Provider // 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 -func NewProvider(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Provider { +func NewProvider(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Provider { this := Provider{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -72,28 +71,36 @@ func NewProviderWithDefaults() *Provider { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Provider) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Provider) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Provider) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Provider) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -600,7 +607,9 @@ func (o Provider) MarshalJSON() ([]byte, error) { func (o Provider) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -649,7 +658,6 @@ func (o *Provider) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_provider_network.go b/model_provider_network.go index 762c268b..20e68a1b 100644 --- a/model_provider_network.go +++ b/model_provider_network.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &ProviderNetwork{} // ProviderNetwork 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. type ProviderNetwork struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _ProviderNetwork ProviderNetwork // 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 -func NewProviderNetwork(id string, objectType string, display string, url string, naturalSlug string, name string, provider BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *ProviderNetwork { +func NewProviderNetwork(objectType string, display string, url string, naturalSlug string, name string, provider BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *ProviderNetwork { this := ProviderNetwork{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -68,28 +67,36 @@ func NewProviderNetworkWithDefaults() *ProviderNetwork { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ProviderNetwork) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ProviderNetwork) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ProviderNetwork) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ProviderNetwork) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -450,7 +457,9 @@ func (o ProviderNetwork) MarshalJSON() ([]byte, error) { func (o ProviderNetwork) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -485,7 +494,6 @@ func (o *ProviderNetwork) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_provider_network_request.go b/model_provider_network_request.go index b041318e..05cfe6c9 100644 --- a/model_provider_network_request.go +++ b/model_provider_network_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ProviderNetworkRequest{} // ProviderNetworkRequest 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. type ProviderNetworkRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -51,6 +52,38 @@ func NewProviderNetworkRequestWithDefaults() *ProviderNetworkRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ProviderNetworkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderNetworkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ProviderNetworkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ProviderNetworkRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ProviderNetworkRequest) GetName() string { if o == nil { @@ -269,6 +302,9 @@ func (o ProviderNetworkRequest) MarshalJSON() ([]byte, error) { func (o ProviderNetworkRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -330,6 +366,7 @@ func (o *ProviderNetworkRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "comments") diff --git a/model_provider_request.go b/model_provider_request.go index da0be68c..75e6da0d 100644 --- a/model_provider_request.go +++ b/model_provider_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &ProviderRequest{} // ProviderRequest 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. type ProviderRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // 32-bit autonomous system number Asn NullableInt64 `json:"asn,omitempty"` @@ -54,6 +55,38 @@ func NewProviderRequestWithDefaults() *ProviderRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *ProviderRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ProviderRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *ProviderRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *ProviderRequest) GetName() string { if o == nil { @@ -386,6 +419,9 @@ func (o ProviderRequest) MarshalJSON() ([]byte, error) { func (o ProviderRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if o.Asn.IsSet() { toSerialize["asn"] = o.Asn.Get() @@ -457,6 +493,7 @@ func (o *ProviderRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "asn") delete(additionalProperties, "account") diff --git a/model_queue_type_enum.go b/model_queue_type_enum.go new file mode 100644 index 00000000..d21f6f97 --- /dev/null +++ b/model_queue_type_enum.go @@ -0,0 +1,111 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// QueueTypeEnum the model 'QueueTypeEnum' +type QueueTypeEnum string + +// List of QueueTypeEnum +const ( + QUEUETYPEENUM_CELERY QueueTypeEnum = "celery" + QUEUETYPEENUM_KUBERNETES QueueTypeEnum = "kubernetes" +) + +// All allowed values of QueueTypeEnum enum +var AllowedQueueTypeEnumEnumValues = []QueueTypeEnum{ + "celery", + "kubernetes", +} + +func (v *QueueTypeEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := QueueTypeEnum(value) + for _, existing := range AllowedQueueTypeEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid QueueTypeEnum", value) +} + +// NewQueueTypeEnumFromValue returns a pointer to a valid QueueTypeEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewQueueTypeEnumFromValue(v string) (*QueueTypeEnum, error) { + ev := QueueTypeEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for QueueTypeEnum: valid values are %v", v, AllowedQueueTypeEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v QueueTypeEnum) IsValid() bool { + for _, existing := range AllowedQueueTypeEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to QueueTypeEnum value +func (v QueueTypeEnum) Ptr() *QueueTypeEnum { + return &v +} + +type NullableQueueTypeEnum struct { + value *QueueTypeEnum + isSet bool +} + +func (v NullableQueueTypeEnum) Get() *QueueTypeEnum { + return v.value +} + +func (v *NullableQueueTypeEnum) Set(val *QueueTypeEnum) { + v.value = val + v.isSet = true +} + +func (v NullableQueueTypeEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableQueueTypeEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQueueTypeEnum(val *QueueTypeEnum) *NullableQueueTypeEnum { + return &NullableQueueTypeEnum{value: val, isSet: true} +} + +func (v NullableQueueTypeEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQueueTypeEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_rack.go b/model_rack.go index 0dc4369d..baed19f8 100644 --- a/model_rack.go +++ b/model_rack.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Rack{} // Rack 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. type Rack struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -66,9 +66,8 @@ type _Rack Rack // 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 -func NewRack(id string, objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *Rack { +func NewRack(objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *Rack { this := Rack{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -90,28 +89,36 @@ func NewRackWithDefaults() *Rack { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Rack) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Rack) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Rack) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Rack) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -1014,7 +1021,9 @@ func (o Rack) MarshalJSON() ([]byte, error) { func (o Rack) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -1092,7 +1101,6 @@ func (o *Rack) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_rack_face.go b/model_rack_face.go index 6e18f4d2..9246d013 100644 --- a/model_rack_face.go +++ b/model_rack_face.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // RackFace - struct for RackFace @@ -118,6 +118,20 @@ func (obj *RackFace) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj RackFace) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.FaceEnum != nil { + return *obj.FaceEnum + } + + // all schemas are nil + return nil +} + type NullableRackFace struct { value *RackFace isSet bool diff --git a/model_rack_group.go b/model_rack_group.go index bdb47820..5cab4cd2 100644 --- a/model_rack_group.go +++ b/model_rack_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &RackGroup{} // RackGroup Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type RackGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -46,9 +46,8 @@ type _RackGroup RackGroup // 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 -func NewRackGroup(id string, objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *RackGroup { +func NewRackGroup(objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *RackGroup { this := RackGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -70,28 +69,36 @@ func NewRackGroupWithDefaults() *RackGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *RackGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RackGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RackGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *RackGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -488,7 +495,9 @@ func (o RackGroup) MarshalJSON() ([]byte, error) { func (o RackGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -524,7 +533,6 @@ func (o *RackGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_rack_group_request.go b/model_rack_group_request.go index 4fe82dea..e26bbc57 100644 --- a/model_rack_group_request.go +++ b/model_rack_group_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &RackGroupRequest{} // RackGroupRequest Add a `tree_depth` field to non-nested model serializers based on django-tree-queries. type RackGroupRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` @@ -50,6 +51,38 @@ func NewRackGroupRequestWithDefaults() *RackGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *RackGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RackGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RackGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *RackGroupRequest) GetName() string { if o == nil { @@ -246,6 +279,9 @@ func (o RackGroupRequest) MarshalJSON() ([]byte, error) { func (o RackGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -304,6 +340,7 @@ func (o *RackGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "parent") diff --git a/model_rack_outer_unit.go b/model_rack_outer_unit.go index 2b8c4c25..027e567a 100644 --- a/model_rack_outer_unit.go +++ b/model_rack_outer_unit.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/model_rack_outer_unit_label.go b/model_rack_outer_unit_label.go index b1c1275b..a21d3b84 100644 --- a/model_rack_outer_unit_label.go +++ b/model_rack_outer_unit_label.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/model_rack_outer_unit_value.go b/model_rack_outer_unit_value.go index eb2d6a51..4ac90ade 100644 --- a/model_rack_outer_unit_value.go +++ b/model_rack_outer_unit_value.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/model_rack_reservation.go b/model_rack_reservation.go index 4a069055..4f271fb6 100644 --- a/model_rack_reservation.go +++ b/model_rack_reservation.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &RackReservation{} // RackReservation 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. type RackReservation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _RackReservation RackReservation // 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 -func NewRackReservation(id string, objectType string, display string, url string, naturalSlug string, units interface{}, description string, rack BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *RackReservation { +func NewRackReservation(objectType string, display string, url string, naturalSlug string, units interface{}, description string, rack BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *RackReservation { this := RackReservation{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewRackReservationWithDefaults() *RackReservation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *RackReservation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RackReservation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RackReservation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *RackReservation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -489,7 +496,9 @@ func (o RackReservation) MarshalJSON() ([]byte, error) { func (o RackReservation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -527,7 +536,6 @@ func (o *RackReservation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_rack_reservation_request.go b/model_rack_reservation_request.go index 4f47b0ac..b87774ca 100644 --- a/model_rack_reservation_request.go +++ b/model_rack_reservation_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &RackReservationRequest{} // RackReservationRequest 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. type RackReservationRequest struct { + Id *string `json:"id,omitempty"` // List of rack unit numbers to reserve Units interface{} `json:"units"` Description string `json:"description"` @@ -54,6 +55,38 @@ func NewRackReservationRequestWithDefaults() *RackReservationRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *RackReservationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackReservationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RackReservationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RackReservationRequest) SetId(v string) { + o.Id = &v +} + // GetUnits returns the Units field value // If the value is explicit nil, the zero value for interface{} will be returned func (o *RackReservationRequest) GetUnits() interface{} { @@ -308,6 +341,9 @@ func (o RackReservationRequest) MarshalJSON() ([]byte, error) { func (o RackReservationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Units != nil { toSerialize["units"] = o.Units } @@ -373,6 +409,7 @@ func (o *RackReservationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "units") delete(additionalProperties, "description") delete(additionalProperties, "rack") diff --git a/model_rack_type.go b/model_rack_type.go index 1055b43c..b5386d4f 100644 --- a/model_rack_type.go +++ b/model_rack_type.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/model_rack_type_choices.go b/model_rack_type_choices.go index 83e47afc..95e5e425 100644 --- a/model_rack_type_choices.go +++ b/model_rack_type_choices.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/model_rack_type_label.go b/model_rack_type_label.go index 490ff8f5..2fed4ed3 100644 --- a/model_rack_type_label.go +++ b/model_rack_type_label.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/model_rack_type_value.go b/model_rack_type_value.go index 0109a1e2..2a5c4f38 100644 --- a/model_rack_type_value.go +++ b/model_rack_type_value.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/model_rack_unit.go b/model_rack_unit.go index 4da74cc9..98851443 100644 --- a/model_rack_unit.go +++ b/model_rack_unit.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/model_rack_unit_face.go b/model_rack_unit_face.go index 63d4ba90..c796e959 100644 --- a/model_rack_unit_face.go +++ b/model_rack_unit_face.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/model_rack_width.go b/model_rack_width.go index 5f764dbe..c99fffb3 100644 --- a/model_rack_width.go +++ b/model_rack_width.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/model_rack_width_label.go b/model_rack_width_label.go index 826a2e7c..a03bd91d 100644 --- a/model_rack_width_label.go +++ b/model_rack_width_label.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/model_rack_width_value.go b/model_rack_width_value.go index bc648743..2aab1046 100644 --- a/model_rack_width_value.go +++ b/model_rack_width_value.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/model_radio_profile.go b/model_radio_profile.go new file mode 100644 index 00000000..3816dade --- /dev/null +++ b/model_radio_profile.go @@ -0,0 +1,806 @@ +/* +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 ( + "encoding/json" + "time" + "fmt" +) + +// checks if the RadioProfile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RadioProfile{} + +// RadioProfile 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. +type RadioProfile struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + ChannelWidth []RadioProfileChannelWidthInner `json:"channel_width,omitempty"` + AllowedChannelList []int32 `json:"allowed_channel_list,omitempty"` + Name string `json:"name"` + Frequency *BulkWritableRadioProfileRequestFrequency `json:"frequency,omitempty"` + TxPowerMin NullableInt32 `json:"tx_power_min,omitempty"` + TxPowerMax NullableInt32 `json:"tx_power_max,omitempty"` + RegulatoryDomain RegulatoryDomainEnum `json:"regulatory_domain"` + RxPowerMin NullableInt32 `json:"rx_power_min,omitempty"` + SupportedDataRates []BulkWritableCableRequestStatus `json:"supported_data_rates,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + NotesUrl string `json:"notes_url"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RadioProfile RadioProfile + +// NewRadioProfile instantiates a new RadioProfile 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 +func NewRadioProfile(objectType string, display string, url string, naturalSlug string, name string, regulatoryDomain RegulatoryDomainEnum, created NullableTime, lastUpdated NullableTime, notesUrl string) *RadioProfile { + this := RadioProfile{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.Name = name + this.RegulatoryDomain = regulatoryDomain + this.Created = created + this.LastUpdated = lastUpdated + this.NotesUrl = notesUrl + return &this +} + +// NewRadioProfileWithDefaults instantiates a new RadioProfile 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 +func NewRadioProfileWithDefaults() *RadioProfile { + this := RadioProfile{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *RadioProfile) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RadioProfile) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RadioProfile) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *RadioProfile) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *RadioProfile) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *RadioProfile) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *RadioProfile) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *RadioProfile) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *RadioProfile) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *RadioProfile) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *RadioProfile) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetChannelWidth returns the ChannelWidth field value if set, zero value otherwise. +func (o *RadioProfile) GetChannelWidth() []RadioProfileChannelWidthInner { + if o == nil || IsNil(o.ChannelWidth) { + var ret []RadioProfileChannelWidthInner + return ret + } + return o.ChannelWidth +} + +// GetChannelWidthOk returns a tuple with the ChannelWidth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetChannelWidthOk() ([]RadioProfileChannelWidthInner, bool) { + if o == nil || IsNil(o.ChannelWidth) { + return nil, false + } + return o.ChannelWidth, true +} + +// HasChannelWidth returns a boolean if a field has been set. +func (o *RadioProfile) HasChannelWidth() bool { + if o != nil && !IsNil(o.ChannelWidth) { + return true + } + + return false +} + +// SetChannelWidth gets a reference to the given []RadioProfileChannelWidthInner and assigns it to the ChannelWidth field. +func (o *RadioProfile) SetChannelWidth(v []RadioProfileChannelWidthInner) { + o.ChannelWidth = v +} + +// GetAllowedChannelList returns the AllowedChannelList field value if set, zero value otherwise. +func (o *RadioProfile) GetAllowedChannelList() []int32 { + if o == nil || IsNil(o.AllowedChannelList) { + var ret []int32 + return ret + } + return o.AllowedChannelList +} + +// GetAllowedChannelListOk returns a tuple with the AllowedChannelList field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetAllowedChannelListOk() ([]int32, bool) { + if o == nil || IsNil(o.AllowedChannelList) { + return nil, false + } + return o.AllowedChannelList, true +} + +// HasAllowedChannelList returns a boolean if a field has been set. +func (o *RadioProfile) HasAllowedChannelList() bool { + if o != nil && !IsNil(o.AllowedChannelList) { + return true + } + + return false +} + +// SetAllowedChannelList gets a reference to the given []int32 and assigns it to the AllowedChannelList field. +func (o *RadioProfile) SetAllowedChannelList(v []int32) { + o.AllowedChannelList = v +} + +// GetName returns the Name field value +func (o *RadioProfile) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *RadioProfile) SetName(v string) { + o.Name = v +} + +// GetFrequency returns the Frequency field value if set, zero value otherwise. +func (o *RadioProfile) GetFrequency() BulkWritableRadioProfileRequestFrequency { + if o == nil || IsNil(o.Frequency) { + var ret BulkWritableRadioProfileRequestFrequency + return ret + } + return *o.Frequency +} + +// GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetFrequencyOk() (*BulkWritableRadioProfileRequestFrequency, bool) { + if o == nil || IsNil(o.Frequency) { + return nil, false + } + return o.Frequency, true +} + +// HasFrequency returns a boolean if a field has been set. +func (o *RadioProfile) HasFrequency() bool { + if o != nil && !IsNil(o.Frequency) { + return true + } + + return false +} + +// SetFrequency gets a reference to the given BulkWritableRadioProfileRequestFrequency and assigns it to the Frequency field. +func (o *RadioProfile) SetFrequency(v BulkWritableRadioProfileRequestFrequency) { + o.Frequency = &v +} + +// GetTxPowerMin returns the TxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RadioProfile) GetTxPowerMin() int32 { + if o == nil || IsNil(o.TxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMin.Get() +} + +// GetTxPowerMinOk returns a tuple with the TxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfile) GetTxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMin.Get(), o.TxPowerMin.IsSet() +} + +// HasTxPowerMin returns a boolean if a field has been set. +func (o *RadioProfile) HasTxPowerMin() bool { + if o != nil && o.TxPowerMin.IsSet() { + return true + } + + return false +} + +// SetTxPowerMin gets a reference to the given NullableInt32 and assigns it to the TxPowerMin field. +func (o *RadioProfile) SetTxPowerMin(v int32) { + o.TxPowerMin.Set(&v) +} +// SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil +func (o *RadioProfile) SetTxPowerMinNil() { + o.TxPowerMin.Set(nil) +} + +// UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +func (o *RadioProfile) UnsetTxPowerMin() { + o.TxPowerMin.Unset() +} + +// GetTxPowerMax returns the TxPowerMax field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RadioProfile) GetTxPowerMax() int32 { + if o == nil || IsNil(o.TxPowerMax.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMax.Get() +} + +// GetTxPowerMaxOk returns a tuple with the TxPowerMax field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfile) GetTxPowerMaxOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMax.Get(), o.TxPowerMax.IsSet() +} + +// HasTxPowerMax returns a boolean if a field has been set. +func (o *RadioProfile) HasTxPowerMax() bool { + if o != nil && o.TxPowerMax.IsSet() { + return true + } + + return false +} + +// SetTxPowerMax gets a reference to the given NullableInt32 and assigns it to the TxPowerMax field. +func (o *RadioProfile) SetTxPowerMax(v int32) { + o.TxPowerMax.Set(&v) +} +// SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil +func (o *RadioProfile) SetTxPowerMaxNil() { + o.TxPowerMax.Set(nil) +} + +// UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +func (o *RadioProfile) UnsetTxPowerMax() { + o.TxPowerMax.Unset() +} + +// GetRegulatoryDomain returns the RegulatoryDomain field value +func (o *RadioProfile) GetRegulatoryDomain() RegulatoryDomainEnum { + if o == nil { + var ret RegulatoryDomainEnum + return ret + } + + return o.RegulatoryDomain +} + +// GetRegulatoryDomainOk returns a tuple with the RegulatoryDomain field value +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetRegulatoryDomainOk() (*RegulatoryDomainEnum, bool) { + if o == nil { + return nil, false + } + return &o.RegulatoryDomain, true +} + +// SetRegulatoryDomain sets field value +func (o *RadioProfile) SetRegulatoryDomain(v RegulatoryDomainEnum) { + o.RegulatoryDomain = v +} + +// GetRxPowerMin returns the RxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RadioProfile) GetRxPowerMin() int32 { + if o == nil || IsNil(o.RxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.RxPowerMin.Get() +} + +// GetRxPowerMinOk returns a tuple with the RxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfile) GetRxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.RxPowerMin.Get(), o.RxPowerMin.IsSet() +} + +// HasRxPowerMin returns a boolean if a field has been set. +func (o *RadioProfile) HasRxPowerMin() bool { + if o != nil && o.RxPowerMin.IsSet() { + return true + } + + return false +} + +// SetRxPowerMin gets a reference to the given NullableInt32 and assigns it to the RxPowerMin field. +func (o *RadioProfile) SetRxPowerMin(v int32) { + o.RxPowerMin.Set(&v) +} +// SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil +func (o *RadioProfile) SetRxPowerMinNil() { + o.RxPowerMin.Set(nil) +} + +// UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +func (o *RadioProfile) UnsetRxPowerMin() { + o.RxPowerMin.Unset() +} + +// GetSupportedDataRates returns the SupportedDataRates field value if set, zero value otherwise. +func (o *RadioProfile) GetSupportedDataRates() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.SupportedDataRates) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.SupportedDataRates +} + +// GetSupportedDataRatesOk returns a tuple with the SupportedDataRates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetSupportedDataRatesOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.SupportedDataRates) { + return nil, false + } + return o.SupportedDataRates, true +} + +// HasSupportedDataRates returns a boolean if a field has been set. +func (o *RadioProfile) HasSupportedDataRates() bool { + if o != nil && !IsNil(o.SupportedDataRates) { + return true + } + + return false +} + +// SetSupportedDataRates gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the SupportedDataRates field. +func (o *RadioProfile) SetSupportedDataRates(v []BulkWritableCableRequestStatus) { + o.SupportedDataRates = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *RadioProfile) GetCreated() time.Time { + if o == nil || o.Created.Get() == nil { + var ret time.Time + return ret + } + + return *o.Created.Get() +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfile) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *RadioProfile) SetCreated(v time.Time) { + o.Created.Set(&v) +} + +// GetLastUpdated returns the LastUpdated field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *RadioProfile) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time + return ret + } + + return *o.LastUpdated.Get() +} + +// GetLastUpdatedOk returns a tuple with the LastUpdated field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfile) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *RadioProfile) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetNotesUrl returns the NotesUrl field value +func (o *RadioProfile) GetNotesUrl() string { + if o == nil { + var ret string + return ret + } + + return o.NotesUrl +} + +// GetNotesUrlOk returns a tuple with the NotesUrl field value +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetNotesUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NotesUrl, true +} + +// SetNotesUrl sets field value +func (o *RadioProfile) SetNotesUrl(v string) { + o.NotesUrl = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RadioProfile) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *RadioProfile) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *RadioProfile) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RadioProfile) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfile) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *RadioProfile) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *RadioProfile) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o RadioProfile) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RadioProfile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + if !IsNil(o.ChannelWidth) { + toSerialize["channel_width"] = o.ChannelWidth + } + if !IsNil(o.AllowedChannelList) { + toSerialize["allowed_channel_list"] = o.AllowedChannelList + } + toSerialize["name"] = o.Name + if !IsNil(o.Frequency) { + toSerialize["frequency"] = o.Frequency + } + if o.TxPowerMin.IsSet() { + toSerialize["tx_power_min"] = o.TxPowerMin.Get() + } + if o.TxPowerMax.IsSet() { + toSerialize["tx_power_max"] = o.TxPowerMax.Get() + } + toSerialize["regulatory_domain"] = o.RegulatoryDomain + if o.RxPowerMin.IsSet() { + toSerialize["rx_power_min"] = o.RxPowerMin.Get() + } + if !IsNil(o.SupportedDataRates) { + toSerialize["supported_data_rates"] = o.SupportedDataRates + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["notes_url"] = o.NotesUrl + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RadioProfile) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "name", + "regulatory_domain", + "created", + "last_updated", + "notes_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varRadioProfile := _RadioProfile{} + + err = json.Unmarshal(data, &varRadioProfile) + + if err != nil { + return err + } + + *o = RadioProfile(varRadioProfile) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "channel_width") + delete(additionalProperties, "allowed_channel_list") + delete(additionalProperties, "name") + delete(additionalProperties, "frequency") + delete(additionalProperties, "tx_power_min") + delete(additionalProperties, "tx_power_max") + delete(additionalProperties, "regulatory_domain") + delete(additionalProperties, "rx_power_min") + delete(additionalProperties, "supported_data_rates") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "notes_url") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRadioProfile struct { + value *RadioProfile + isSet bool +} + +func (v NullableRadioProfile) Get() *RadioProfile { + return v.value +} + +func (v *NullableRadioProfile) Set(val *RadioProfile) { + v.value = val + v.isSet = true +} + +func (v NullableRadioProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableRadioProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRadioProfile(val *RadioProfile) *NullableRadioProfile { + return &NullableRadioProfile{value: val, isSet: true} +} + +func (v NullableRadioProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRadioProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_radio_profile_channel_width_inner.go b/model_radio_profile_channel_width_inner.go new file mode 100644 index 00000000..7d3008f0 --- /dev/null +++ b/model_radio_profile_channel_width_inner.go @@ -0,0 +1,192 @@ +/* +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 ( + "encoding/json" +) + +// checks if the RadioProfileChannelWidthInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RadioProfileChannelWidthInner{} + +// RadioProfileChannelWidthInner struct for RadioProfileChannelWidthInner +type RadioProfileChannelWidthInner struct { + Value *RadioProfileChannelWidthInnerValue `json:"value,omitempty"` + Label *RadioProfileChannelWidthInnerLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RadioProfileChannelWidthInner RadioProfileChannelWidthInner + +// NewRadioProfileChannelWidthInner instantiates a new RadioProfileChannelWidthInner 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 +func NewRadioProfileChannelWidthInner() *RadioProfileChannelWidthInner { + this := RadioProfileChannelWidthInner{} + return &this +} + +// NewRadioProfileChannelWidthInnerWithDefaults instantiates a new RadioProfileChannelWidthInner 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 +func NewRadioProfileChannelWidthInnerWithDefaults() *RadioProfileChannelWidthInner { + this := RadioProfileChannelWidthInner{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *RadioProfileChannelWidthInner) GetValue() RadioProfileChannelWidthInnerValue { + if o == nil || IsNil(o.Value) { + var ret RadioProfileChannelWidthInnerValue + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileChannelWidthInner) GetValueOk() (*RadioProfileChannelWidthInnerValue, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *RadioProfileChannelWidthInner) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given RadioProfileChannelWidthInnerValue and assigns it to the Value field. +func (o *RadioProfileChannelWidthInner) SetValue(v RadioProfileChannelWidthInnerValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RadioProfileChannelWidthInner) GetLabel() RadioProfileChannelWidthInnerLabel { + if o == nil || IsNil(o.Label) { + var ret RadioProfileChannelWidthInnerLabel + return ret + } + return *o.Label +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileChannelWidthInner) GetLabelOk() (*RadioProfileChannelWidthInnerLabel, bool) { + if o == nil || IsNil(o.Label) { + return nil, false + } + return o.Label, true +} + +// HasLabel returns a boolean if a field has been set. +func (o *RadioProfileChannelWidthInner) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given RadioProfileChannelWidthInnerLabel and assigns it to the Label field. +func (o *RadioProfileChannelWidthInner) SetLabel(v RadioProfileChannelWidthInnerLabel) { + o.Label = &v +} + +func (o RadioProfileChannelWidthInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RadioProfileChannelWidthInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RadioProfileChannelWidthInner) UnmarshalJSON(data []byte) (err error) { + varRadioProfileChannelWidthInner := _RadioProfileChannelWidthInner{} + + err = json.Unmarshal(data, &varRadioProfileChannelWidthInner) + + if err != nil { + return err + } + + *o = RadioProfileChannelWidthInner(varRadioProfileChannelWidthInner) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "value") + delete(additionalProperties, "label") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRadioProfileChannelWidthInner struct { + value *RadioProfileChannelWidthInner + isSet bool +} + +func (v NullableRadioProfileChannelWidthInner) Get() *RadioProfileChannelWidthInner { + return v.value +} + +func (v *NullableRadioProfileChannelWidthInner) Set(val *RadioProfileChannelWidthInner) { + v.value = val + v.isSet = true +} + +func (v NullableRadioProfileChannelWidthInner) IsSet() bool { + return v.isSet +} + +func (v *NullableRadioProfileChannelWidthInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRadioProfileChannelWidthInner(val *RadioProfileChannelWidthInner) *NullableRadioProfileChannelWidthInner { + return &NullableRadioProfileChannelWidthInner{value: val, isSet: true} +} + +func (v NullableRadioProfileChannelWidthInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRadioProfileChannelWidthInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_radio_profile_channel_width_inner_label.go b/model_radio_profile_channel_width_inner_label.go new file mode 100644 index 00000000..f298b819 --- /dev/null +++ b/model_radio_profile_channel_width_inner_label.go @@ -0,0 +1,115 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// RadioProfileChannelWidthInnerLabel the model 'RadioProfileChannelWidthInnerLabel' +type RadioProfileChannelWidthInnerLabel string + +// List of RadioProfile_channel_width_inner_label +const ( + RADIOPROFILECHANNELWIDTHINNERLABEL__20_MHZ RadioProfileChannelWidthInnerLabel = "20 MHz" + RADIOPROFILECHANNELWIDTHINNERLABEL__40_MHZ RadioProfileChannelWidthInnerLabel = "40 MHz" + RADIOPROFILECHANNELWIDTHINNERLABEL__80_MHZ RadioProfileChannelWidthInnerLabel = "80 MHz" + RADIOPROFILECHANNELWIDTHINNERLABEL__160_MHZ RadioProfileChannelWidthInnerLabel = "160 MHz" +) + +// All allowed values of RadioProfileChannelWidthInnerLabel enum +var AllowedRadioProfileChannelWidthInnerLabelEnumValues = []RadioProfileChannelWidthInnerLabel{ + "20 MHz", + "40 MHz", + "80 MHz", + "160 MHz", +} + +func (v *RadioProfileChannelWidthInnerLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RadioProfileChannelWidthInnerLabel(value) + for _, existing := range AllowedRadioProfileChannelWidthInnerLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RadioProfileChannelWidthInnerLabel", value) +} + +// NewRadioProfileChannelWidthInnerLabelFromValue returns a pointer to a valid RadioProfileChannelWidthInnerLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRadioProfileChannelWidthInnerLabelFromValue(v string) (*RadioProfileChannelWidthInnerLabel, error) { + ev := RadioProfileChannelWidthInnerLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RadioProfileChannelWidthInnerLabel: valid values are %v", v, AllowedRadioProfileChannelWidthInnerLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RadioProfileChannelWidthInnerLabel) IsValid() bool { + for _, existing := range AllowedRadioProfileChannelWidthInnerLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RadioProfile_channel_width_inner_label value +func (v RadioProfileChannelWidthInnerLabel) Ptr() *RadioProfileChannelWidthInnerLabel { + return &v +} + +type NullableRadioProfileChannelWidthInnerLabel struct { + value *RadioProfileChannelWidthInnerLabel + isSet bool +} + +func (v NullableRadioProfileChannelWidthInnerLabel) Get() *RadioProfileChannelWidthInnerLabel { + return v.value +} + +func (v *NullableRadioProfileChannelWidthInnerLabel) Set(val *RadioProfileChannelWidthInnerLabel) { + v.value = val + v.isSet = true +} + +func (v NullableRadioProfileChannelWidthInnerLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableRadioProfileChannelWidthInnerLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRadioProfileChannelWidthInnerLabel(val *RadioProfileChannelWidthInnerLabel) *NullableRadioProfileChannelWidthInnerLabel { + return &NullableRadioProfileChannelWidthInnerLabel{value: val, isSet: true} +} + +func (v NullableRadioProfileChannelWidthInnerLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRadioProfileChannelWidthInnerLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_radio_profile_channel_width_inner_value.go b/model_radio_profile_channel_width_inner_value.go new file mode 100644 index 00000000..f7f560f0 --- /dev/null +++ b/model_radio_profile_channel_width_inner_value.go @@ -0,0 +1,115 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// RadioProfileChannelWidthInnerValue the model 'RadioProfileChannelWidthInnerValue' +type RadioProfileChannelWidthInnerValue int32 + +// List of RadioProfile_channel_width_inner_value +const ( + RADIOPROFILECHANNELWIDTHINNERVALUE__20 RadioProfileChannelWidthInnerValue = 20 + RADIOPROFILECHANNELWIDTHINNERVALUE__40 RadioProfileChannelWidthInnerValue = 40 + RADIOPROFILECHANNELWIDTHINNERVALUE__80 RadioProfileChannelWidthInnerValue = 80 + RADIOPROFILECHANNELWIDTHINNERVALUE__160 RadioProfileChannelWidthInnerValue = 160 +) + +// All allowed values of RadioProfileChannelWidthInnerValue enum +var AllowedRadioProfileChannelWidthInnerValueEnumValues = []RadioProfileChannelWidthInnerValue{ + 20, + 40, + 80, + 160, +} + +func (v *RadioProfileChannelWidthInnerValue) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RadioProfileChannelWidthInnerValue(value) + for _, existing := range AllowedRadioProfileChannelWidthInnerValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RadioProfileChannelWidthInnerValue", value) +} + +// NewRadioProfileChannelWidthInnerValueFromValue returns a pointer to a valid RadioProfileChannelWidthInnerValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRadioProfileChannelWidthInnerValueFromValue(v int32) (*RadioProfileChannelWidthInnerValue, error) { + ev := RadioProfileChannelWidthInnerValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RadioProfileChannelWidthInnerValue: valid values are %v", v, AllowedRadioProfileChannelWidthInnerValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RadioProfileChannelWidthInnerValue) IsValid() bool { + for _, existing := range AllowedRadioProfileChannelWidthInnerValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RadioProfile_channel_width_inner_value value +func (v RadioProfileChannelWidthInnerValue) Ptr() *RadioProfileChannelWidthInnerValue { + return &v +} + +type NullableRadioProfileChannelWidthInnerValue struct { + value *RadioProfileChannelWidthInnerValue + isSet bool +} + +func (v NullableRadioProfileChannelWidthInnerValue) Get() *RadioProfileChannelWidthInnerValue { + return v.value +} + +func (v *NullableRadioProfileChannelWidthInnerValue) Set(val *RadioProfileChannelWidthInnerValue) { + v.value = val + v.isSet = true +} + +func (v NullableRadioProfileChannelWidthInnerValue) IsSet() bool { + return v.isSet +} + +func (v *NullableRadioProfileChannelWidthInnerValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRadioProfileChannelWidthInnerValue(val *RadioProfileChannelWidthInnerValue) *NullableRadioProfileChannelWidthInnerValue { + return &NullableRadioProfileChannelWidthInnerValue{value: val, isSet: true} +} + +func (v NullableRadioProfileChannelWidthInnerValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRadioProfileChannelWidthInnerValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_radio_profile_request.go b/model_radio_profile_request.go new file mode 100644 index 00000000..12fb72d7 --- /dev/null +++ b/model_radio_profile_request.go @@ -0,0 +1,634 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the RadioProfileRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RadioProfileRequest{} + +// RadioProfileRequest 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. +type RadioProfileRequest struct { + Id *string `json:"id,omitempty"` + ChannelWidth []ChannelWidthEnum `json:"channel_width,omitempty"` + AllowedChannelList []int32 `json:"allowed_channel_list,omitempty"` + Name string `json:"name"` + Frequency *BulkWritableRadioProfileRequestFrequency `json:"frequency,omitempty"` + TxPowerMin NullableInt32 `json:"tx_power_min,omitempty"` + TxPowerMax NullableInt32 `json:"tx_power_max,omitempty"` + RegulatoryDomain RegulatoryDomainEnum `json:"regulatory_domain"` + RxPowerMin NullableInt32 `json:"rx_power_min,omitempty"` + SupportedDataRates []BulkWritableCableRequestStatus `json:"supported_data_rates,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RadioProfileRequest RadioProfileRequest + +// NewRadioProfileRequest instantiates a new RadioProfileRequest 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 +func NewRadioProfileRequest(name string, regulatoryDomain RegulatoryDomainEnum) *RadioProfileRequest { + this := RadioProfileRequest{} + this.Name = name + this.RegulatoryDomain = regulatoryDomain + return &this +} + +// NewRadioProfileRequestWithDefaults instantiates a new RadioProfileRequest 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 +func NewRadioProfileRequestWithDefaults() *RadioProfileRequest { + this := RadioProfileRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RadioProfileRequest) SetId(v string) { + o.Id = &v +} + +// GetChannelWidth returns the ChannelWidth field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetChannelWidth() []ChannelWidthEnum { + if o == nil || IsNil(o.ChannelWidth) { + var ret []ChannelWidthEnum + return ret + } + return o.ChannelWidth +} + +// GetChannelWidthOk returns a tuple with the ChannelWidth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetChannelWidthOk() ([]ChannelWidthEnum, bool) { + if o == nil || IsNil(o.ChannelWidth) { + return nil, false + } + return o.ChannelWidth, true +} + +// HasChannelWidth returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasChannelWidth() bool { + if o != nil && !IsNil(o.ChannelWidth) { + return true + } + + return false +} + +// SetChannelWidth gets a reference to the given []ChannelWidthEnum and assigns it to the ChannelWidth field. +func (o *RadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum) { + o.ChannelWidth = v +} + +// GetAllowedChannelList returns the AllowedChannelList field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetAllowedChannelList() []int32 { + if o == nil || IsNil(o.AllowedChannelList) { + var ret []int32 + return ret + } + return o.AllowedChannelList +} + +// GetAllowedChannelListOk returns a tuple with the AllowedChannelList field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetAllowedChannelListOk() ([]int32, bool) { + if o == nil || IsNil(o.AllowedChannelList) { + return nil, false + } + return o.AllowedChannelList, true +} + +// HasAllowedChannelList returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasAllowedChannelList() bool { + if o != nil && !IsNil(o.AllowedChannelList) { + return true + } + + return false +} + +// SetAllowedChannelList gets a reference to the given []int32 and assigns it to the AllowedChannelList field. +func (o *RadioProfileRequest) SetAllowedChannelList(v []int32) { + o.AllowedChannelList = v +} + +// GetName returns the Name field value +func (o *RadioProfileRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *RadioProfileRequest) SetName(v string) { + o.Name = v +} + +// GetFrequency returns the Frequency field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency { + if o == nil || IsNil(o.Frequency) { + var ret BulkWritableRadioProfileRequestFrequency + return ret + } + return *o.Frequency +} + +// GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetFrequencyOk() (*BulkWritableRadioProfileRequestFrequency, bool) { + if o == nil || IsNil(o.Frequency) { + return nil, false + } + return o.Frequency, true +} + +// HasFrequency returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasFrequency() bool { + if o != nil && !IsNil(o.Frequency) { + return true + } + + return false +} + +// SetFrequency gets a reference to the given BulkWritableRadioProfileRequestFrequency and assigns it to the Frequency field. +func (o *RadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency) { + o.Frequency = &v +} + +// GetTxPowerMin returns the TxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RadioProfileRequest) GetTxPowerMin() int32 { + if o == nil || IsNil(o.TxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMin.Get() +} + +// GetTxPowerMinOk returns a tuple with the TxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfileRequest) GetTxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMin.Get(), o.TxPowerMin.IsSet() +} + +// HasTxPowerMin returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasTxPowerMin() bool { + if o != nil && o.TxPowerMin.IsSet() { + return true + } + + return false +} + +// SetTxPowerMin gets a reference to the given NullableInt32 and assigns it to the TxPowerMin field. +func (o *RadioProfileRequest) SetTxPowerMin(v int32) { + o.TxPowerMin.Set(&v) +} +// SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil +func (o *RadioProfileRequest) SetTxPowerMinNil() { + o.TxPowerMin.Set(nil) +} + +// UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil +func (o *RadioProfileRequest) UnsetTxPowerMin() { + o.TxPowerMin.Unset() +} + +// GetTxPowerMax returns the TxPowerMax field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RadioProfileRequest) GetTxPowerMax() int32 { + if o == nil || IsNil(o.TxPowerMax.Get()) { + var ret int32 + return ret + } + return *o.TxPowerMax.Get() +} + +// GetTxPowerMaxOk returns a tuple with the TxPowerMax field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfileRequest) GetTxPowerMaxOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.TxPowerMax.Get(), o.TxPowerMax.IsSet() +} + +// HasTxPowerMax returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasTxPowerMax() bool { + if o != nil && o.TxPowerMax.IsSet() { + return true + } + + return false +} + +// SetTxPowerMax gets a reference to the given NullableInt32 and assigns it to the TxPowerMax field. +func (o *RadioProfileRequest) SetTxPowerMax(v int32) { + o.TxPowerMax.Set(&v) +} +// SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil +func (o *RadioProfileRequest) SetTxPowerMaxNil() { + o.TxPowerMax.Set(nil) +} + +// UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil +func (o *RadioProfileRequest) UnsetTxPowerMax() { + o.TxPowerMax.Unset() +} + +// GetRegulatoryDomain returns the RegulatoryDomain field value +func (o *RadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum { + if o == nil { + var ret RegulatoryDomainEnum + return ret + } + + return o.RegulatoryDomain +} + +// GetRegulatoryDomainOk returns a tuple with the RegulatoryDomain field value +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetRegulatoryDomainOk() (*RegulatoryDomainEnum, bool) { + if o == nil { + return nil, false + } + return &o.RegulatoryDomain, true +} + +// SetRegulatoryDomain sets field value +func (o *RadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum) { + o.RegulatoryDomain = v +} + +// GetRxPowerMin returns the RxPowerMin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RadioProfileRequest) GetRxPowerMin() int32 { + if o == nil || IsNil(o.RxPowerMin.Get()) { + var ret int32 + return ret + } + return *o.RxPowerMin.Get() +} + +// GetRxPowerMinOk returns a tuple with the RxPowerMin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RadioProfileRequest) GetRxPowerMinOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.RxPowerMin.Get(), o.RxPowerMin.IsSet() +} + +// HasRxPowerMin returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasRxPowerMin() bool { + if o != nil && o.RxPowerMin.IsSet() { + return true + } + + return false +} + +// SetRxPowerMin gets a reference to the given NullableInt32 and assigns it to the RxPowerMin field. +func (o *RadioProfileRequest) SetRxPowerMin(v int32) { + o.RxPowerMin.Set(&v) +} +// SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil +func (o *RadioProfileRequest) SetRxPowerMinNil() { + o.RxPowerMin.Set(nil) +} + +// UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil +func (o *RadioProfileRequest) UnsetRxPowerMin() { + o.RxPowerMin.Unset() +} + +// GetSupportedDataRates returns the SupportedDataRates field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.SupportedDataRates) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.SupportedDataRates +} + +// GetSupportedDataRatesOk returns a tuple with the SupportedDataRates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetSupportedDataRatesOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.SupportedDataRates) { + return nil, false + } + return o.SupportedDataRates, true +} + +// HasSupportedDataRates returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasSupportedDataRates() bool { + if o != nil && !IsNil(o.SupportedDataRates) { + return true + } + + return false +} + +// SetSupportedDataRates gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the SupportedDataRates field. +func (o *RadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus) { + o.SupportedDataRates = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *RadioProfileRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *RadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RadioProfileRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RadioProfileRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *RadioProfileRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *RadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o RadioProfileRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RadioProfileRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.ChannelWidth) { + toSerialize["channel_width"] = o.ChannelWidth + } + if !IsNil(o.AllowedChannelList) { + toSerialize["allowed_channel_list"] = o.AllowedChannelList + } + toSerialize["name"] = o.Name + if !IsNil(o.Frequency) { + toSerialize["frequency"] = o.Frequency + } + if o.TxPowerMin.IsSet() { + toSerialize["tx_power_min"] = o.TxPowerMin.Get() + } + if o.TxPowerMax.IsSet() { + toSerialize["tx_power_max"] = o.TxPowerMax.Get() + } + toSerialize["regulatory_domain"] = o.RegulatoryDomain + if o.RxPowerMin.IsSet() { + toSerialize["rx_power_min"] = o.RxPowerMin.Get() + } + if !IsNil(o.SupportedDataRates) { + toSerialize["supported_data_rates"] = o.SupportedDataRates + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RadioProfileRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "regulatory_domain", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varRadioProfileRequest := _RadioProfileRequest{} + + err = json.Unmarshal(data, &varRadioProfileRequest) + + if err != nil { + return err + } + + *o = RadioProfileRequest(varRadioProfileRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "channel_width") + delete(additionalProperties, "allowed_channel_list") + delete(additionalProperties, "name") + delete(additionalProperties, "frequency") + delete(additionalProperties, "tx_power_min") + delete(additionalProperties, "tx_power_max") + delete(additionalProperties, "regulatory_domain") + delete(additionalProperties, "rx_power_min") + delete(additionalProperties, "supported_data_rates") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRadioProfileRequest struct { + value *RadioProfileRequest + isSet bool +} + +func (v NullableRadioProfileRequest) Get() *RadioProfileRequest { + return v.value +} + +func (v *NullableRadioProfileRequest) Set(val *RadioProfileRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRadioProfileRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRadioProfileRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRadioProfileRequest(val *RadioProfileRequest) *NullableRadioProfileRequest { + return &NullableRadioProfileRequest{value: val, isSet: true} +} + +func (v NullableRadioProfileRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRadioProfileRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_rear_port.go b/model_rear_port.go index 4042913c..c41ad856 100644 --- a/model_rear_port.go +++ b/model_rear_port.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &RearPort{} // RearPort 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. type RearPort struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -52,9 +52,8 @@ type _RearPort RearPort // 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 -func NewRearPort(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, type_ FrontPortType, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string) *RearPort { +func NewRearPort(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, type_ FrontPortType, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string) *RearPort { this := RearPort{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -78,28 +77,36 @@ func NewRearPortWithDefaults() *RearPort { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *RearPort) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RearPort) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RearPort) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *RearPort) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -654,7 +661,9 @@ func (o RearPort) MarshalJSON() ([]byte, error) { func (o RearPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -701,7 +710,6 @@ func (o *RearPort) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_rear_port_template.go b/model_rear_port_template.go index 95b8a8e5..38d974f3 100644 --- a/model_rear_port_template.go +++ b/model_rear_port_template.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &RearPortTemplate{} // RearPortTemplate 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. type RearPortTemplate struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -48,9 +48,8 @@ type _RearPortTemplate RearPortTemplate // 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 -func NewRearPortTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, type_ FrontPortType, name string, created NullableTime, lastUpdated NullableTime) *RearPortTemplate { +func NewRearPortTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, type_ FrontPortType, name string, created NullableTime, lastUpdated NullableTime) *RearPortTemplate { this := RearPortTemplate{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewRearPortTemplateWithDefaults() *RearPortTemplate { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *RearPortTemplate) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RearPortTemplate) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RearPortTemplate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *RearPortTemplate) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -537,7 +544,9 @@ func (o RearPortTemplate) MarshalJSON() ([]byte, error) { func (o RearPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -578,7 +587,6 @@ func (o *RearPortTemplate) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_redundancy_protocol.go b/model_redundancy_protocol.go index 474806b5..bb1a242c 100644 --- a/model_redundancy_protocol.go +++ b/model_redundancy_protocol.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. @@ -12,8 +12,8 @@ package nautobot import ( "encoding/json" - "gopkg.in/validator.v2" "fmt" + "gopkg.in/validator.v2" ) // RedundancyProtocol - struct for RedundancyProtocol @@ -118,6 +118,20 @@ func (obj *RedundancyProtocol) GetActualInstance() (interface{}) { return nil } +// Get the actual instance value +func (obj RedundancyProtocol) GetActualInstanceValue() (interface{}) { + if obj.BlankEnum != nil { + return *obj.BlankEnum + } + + if obj.InterfaceRedundancyGroupProtocolChoices != nil { + return *obj.InterfaceRedundancyGroupProtocolChoices + } + + // all schemas are nil + return nil +} + type NullableRedundancyProtocol struct { value *RedundancyProtocol isSet bool diff --git a/model_regulatory_domain_enum.go b/model_regulatory_domain_enum.go new file mode 100644 index 00000000..0bfcbbd5 --- /dev/null +++ b/model_regulatory_domain_enum.go @@ -0,0 +1,359 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// RegulatoryDomainEnum the model 'RegulatoryDomainEnum' +type RegulatoryDomainEnum string + +// List of RegulatoryDomainEnum +const ( + REGULATORYDOMAINENUM_AD RegulatoryDomainEnum = "AD" + REGULATORYDOMAINENUM_AE RegulatoryDomainEnum = "AE" + REGULATORYDOMAINENUM_AL RegulatoryDomainEnum = "AL" + REGULATORYDOMAINENUM_AM RegulatoryDomainEnum = "AM" + REGULATORYDOMAINENUM_AU RegulatoryDomainEnum = "AU" + REGULATORYDOMAINENUM_AR RegulatoryDomainEnum = "AR" + REGULATORYDOMAINENUM_AT RegulatoryDomainEnum = "AT" + REGULATORYDOMAINENUM_AZ RegulatoryDomainEnum = "AZ" + REGULATORYDOMAINENUM_BA RegulatoryDomainEnum = "BA" + REGULATORYDOMAINENUM_BE RegulatoryDomainEnum = "BE" + REGULATORYDOMAINENUM_BG RegulatoryDomainEnum = "BG" + REGULATORYDOMAINENUM_BH RegulatoryDomainEnum = "BH" + REGULATORYDOMAINENUM_BN RegulatoryDomainEnum = "BN" + REGULATORYDOMAINENUM_BO RegulatoryDomainEnum = "BO" + REGULATORYDOMAINENUM_BR RegulatoryDomainEnum = "BR" + REGULATORYDOMAINENUM_BS RegulatoryDomainEnum = "BS" + REGULATORYDOMAINENUM_BY RegulatoryDomainEnum = "BY" + REGULATORYDOMAINENUM_BZ RegulatoryDomainEnum = "BZ" + REGULATORYDOMAINENUM_CA RegulatoryDomainEnum = "CA" + REGULATORYDOMAINENUM_CH RegulatoryDomainEnum = "CH" + REGULATORYDOMAINENUM_CI RegulatoryDomainEnum = "CI" + REGULATORYDOMAINENUM_CL RegulatoryDomainEnum = "CL" + REGULATORYDOMAINENUM_CN RegulatoryDomainEnum = "CN" + REGULATORYDOMAINENUM_CO RegulatoryDomainEnum = "CO" + REGULATORYDOMAINENUM_CR RegulatoryDomainEnum = "CR" + REGULATORYDOMAINENUM_RS RegulatoryDomainEnum = "RS" + REGULATORYDOMAINENUM_CY RegulatoryDomainEnum = "CY" + REGULATORYDOMAINENUM_CZ RegulatoryDomainEnum = "CZ" + REGULATORYDOMAINENUM_DE RegulatoryDomainEnum = "DE" + REGULATORYDOMAINENUM_DK RegulatoryDomainEnum = "DK" + REGULATORYDOMAINENUM_DO RegulatoryDomainEnum = "DO" + REGULATORYDOMAINENUM_DZ RegulatoryDomainEnum = "DZ" + REGULATORYDOMAINENUM_EC RegulatoryDomainEnum = "EC" + REGULATORYDOMAINENUM_EE RegulatoryDomainEnum = "EE" + REGULATORYDOMAINENUM_EG RegulatoryDomainEnum = "EG" + REGULATORYDOMAINENUM_ES RegulatoryDomainEnum = "ES" + REGULATORYDOMAINENUM_FO RegulatoryDomainEnum = "FO" + REGULATORYDOMAINENUM_FI RegulatoryDomainEnum = "FI" + REGULATORYDOMAINENUM_FR RegulatoryDomainEnum = "FR" + REGULATORYDOMAINENUM_GB RegulatoryDomainEnum = "GB" + REGULATORYDOMAINENUM_GE RegulatoryDomainEnum = "GE" + REGULATORYDOMAINENUM_GI RegulatoryDomainEnum = "GI" + REGULATORYDOMAINENUM_GL RegulatoryDomainEnum = "GL" + REGULATORYDOMAINENUM_GP RegulatoryDomainEnum = "GP" + REGULATORYDOMAINENUM_GR RegulatoryDomainEnum = "GR" + REGULATORYDOMAINENUM_GT RegulatoryDomainEnum = "GT" + REGULATORYDOMAINENUM_GY RegulatoryDomainEnum = "GY" + REGULATORYDOMAINENUM_HN RegulatoryDomainEnum = "HN" + REGULATORYDOMAINENUM_HK RegulatoryDomainEnum = "HK" + REGULATORYDOMAINENUM_HR RegulatoryDomainEnum = "HR" + REGULATORYDOMAINENUM_HU RegulatoryDomainEnum = "HU" + REGULATORYDOMAINENUM_IS RegulatoryDomainEnum = "IS" + REGULATORYDOMAINENUM_IN RegulatoryDomainEnum = "IN" + REGULATORYDOMAINENUM_ID RegulatoryDomainEnum = "ID" + REGULATORYDOMAINENUM_IE RegulatoryDomainEnum = "IE" + REGULATORYDOMAINENUM_IL RegulatoryDomainEnum = "IL" + REGULATORYDOMAINENUM_IQ RegulatoryDomainEnum = "IQ" + REGULATORYDOMAINENUM_IT RegulatoryDomainEnum = "IT" + REGULATORYDOMAINENUM_IR RegulatoryDomainEnum = "IR" + REGULATORYDOMAINENUM_JM RegulatoryDomainEnum = "JM" + REGULATORYDOMAINENUM_JO RegulatoryDomainEnum = "JO" + REGULATORYDOMAINENUM_JP RegulatoryDomainEnum = "JP" + REGULATORYDOMAINENUM_KP RegulatoryDomainEnum = "KP" + REGULATORYDOMAINENUM_KR RegulatoryDomainEnum = "KR" + REGULATORYDOMAINENUM_KE RegulatoryDomainEnum = "KE" + REGULATORYDOMAINENUM_KW RegulatoryDomainEnum = "KW" + REGULATORYDOMAINENUM_KZ RegulatoryDomainEnum = "KZ" + REGULATORYDOMAINENUM_LB RegulatoryDomainEnum = "LB" + REGULATORYDOMAINENUM_LI RegulatoryDomainEnum = "LI" + REGULATORYDOMAINENUM_LK RegulatoryDomainEnum = "LK" + REGULATORYDOMAINENUM_LT RegulatoryDomainEnum = "LT" + REGULATORYDOMAINENUM_LU RegulatoryDomainEnum = "LU" + REGULATORYDOMAINENUM_LV RegulatoryDomainEnum = "LV" + REGULATORYDOMAINENUM_LY RegulatoryDomainEnum = "LY" + REGULATORYDOMAINENUM_MA RegulatoryDomainEnum = "MA" + REGULATORYDOMAINENUM_MC RegulatoryDomainEnum = "MC" + REGULATORYDOMAINENUM_MD RegulatoryDomainEnum = "MD" + REGULATORYDOMAINENUM_MK RegulatoryDomainEnum = "MK" + REGULATORYDOMAINENUM_MO RegulatoryDomainEnum = "MO" + REGULATORYDOMAINENUM_MQ RegulatoryDomainEnum = "MQ" + REGULATORYDOMAINENUM_MT RegulatoryDomainEnum = "MT" + REGULATORYDOMAINENUM_MU RegulatoryDomainEnum = "MU" + REGULATORYDOMAINENUM_MX RegulatoryDomainEnum = "MX" + REGULATORYDOMAINENUM_MY RegulatoryDomainEnum = "MY" + REGULATORYDOMAINENUM_NA RegulatoryDomainEnum = "NA" + REGULATORYDOMAINENUM_NG RegulatoryDomainEnum = "NG" + REGULATORYDOMAINENUM_NI RegulatoryDomainEnum = "NI" + REGULATORYDOMAINENUM_NL RegulatoryDomainEnum = "NL" + REGULATORYDOMAINENUM_NO RegulatoryDomainEnum = "NO" + REGULATORYDOMAINENUM_NZ RegulatoryDomainEnum = "NZ" + REGULATORYDOMAINENUM_OM RegulatoryDomainEnum = "OM" + REGULATORYDOMAINENUM_PA RegulatoryDomainEnum = "PA" + REGULATORYDOMAINENUM_PE RegulatoryDomainEnum = "PE" + REGULATORYDOMAINENUM_PL RegulatoryDomainEnum = "PL" + REGULATORYDOMAINENUM_PH RegulatoryDomainEnum = "PH" + REGULATORYDOMAINENUM_PK RegulatoryDomainEnum = "PK" + REGULATORYDOMAINENUM_PR RegulatoryDomainEnum = "PR" + REGULATORYDOMAINENUM_PT RegulatoryDomainEnum = "PT" + REGULATORYDOMAINENUM_PY RegulatoryDomainEnum = "PY" + REGULATORYDOMAINENUM_QA RegulatoryDomainEnum = "QA" + REGULATORYDOMAINENUM_RO RegulatoryDomainEnum = "RO" + REGULATORYDOMAINENUM_RU RegulatoryDomainEnum = "RU" + REGULATORYDOMAINENUM_SA RegulatoryDomainEnum = "SA" + REGULATORYDOMAINENUM_SE RegulatoryDomainEnum = "SE" + REGULATORYDOMAINENUM_SG RegulatoryDomainEnum = "SG" + REGULATORYDOMAINENUM_SI RegulatoryDomainEnum = "SI" + REGULATORYDOMAINENUM_SK RegulatoryDomainEnum = "SK" + REGULATORYDOMAINENUM_SM RegulatoryDomainEnum = "SM" + REGULATORYDOMAINENUM_SV RegulatoryDomainEnum = "SV" + REGULATORYDOMAINENUM_SY RegulatoryDomainEnum = "SY" + REGULATORYDOMAINENUM_TH RegulatoryDomainEnum = "TH" + REGULATORYDOMAINENUM_TN RegulatoryDomainEnum = "TN" + REGULATORYDOMAINENUM_TR RegulatoryDomainEnum = "TR" + REGULATORYDOMAINENUM_TT RegulatoryDomainEnum = "TT" + REGULATORYDOMAINENUM_TW RegulatoryDomainEnum = "TW" + REGULATORYDOMAINENUM_UA RegulatoryDomainEnum = "UA" + REGULATORYDOMAINENUM_US RegulatoryDomainEnum = "US" + REGULATORYDOMAINENUM_UY RegulatoryDomainEnum = "UY" + REGULATORYDOMAINENUM_UZ RegulatoryDomainEnum = "UZ" + REGULATORYDOMAINENUM_VA RegulatoryDomainEnum = "VA" + REGULATORYDOMAINENUM_VE RegulatoryDomainEnum = "VE" + REGULATORYDOMAINENUM_VI RegulatoryDomainEnum = "VI" + REGULATORYDOMAINENUM_VN RegulatoryDomainEnum = "VN" + REGULATORYDOMAINENUM_YE RegulatoryDomainEnum = "YE" + REGULATORYDOMAINENUM_ZA RegulatoryDomainEnum = "ZA" + REGULATORYDOMAINENUM_ZW RegulatoryDomainEnum = "ZW" +) + +// All allowed values of RegulatoryDomainEnum enum +var AllowedRegulatoryDomainEnumEnumValues = []RegulatoryDomainEnum{ + "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", +} + +func (v *RegulatoryDomainEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RegulatoryDomainEnum(value) + for _, existing := range AllowedRegulatoryDomainEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RegulatoryDomainEnum", value) +} + +// NewRegulatoryDomainEnumFromValue returns a pointer to a valid RegulatoryDomainEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRegulatoryDomainEnumFromValue(v string) (*RegulatoryDomainEnum, error) { + ev := RegulatoryDomainEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RegulatoryDomainEnum: valid values are %v", v, AllowedRegulatoryDomainEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RegulatoryDomainEnum) IsValid() bool { + for _, existing := range AllowedRegulatoryDomainEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RegulatoryDomainEnum value +func (v RegulatoryDomainEnum) Ptr() *RegulatoryDomainEnum { + return &v +} + +type NullableRegulatoryDomainEnum struct { + value *RegulatoryDomainEnum + isSet bool +} + +func (v NullableRegulatoryDomainEnum) Get() *RegulatoryDomainEnum { + return v.value +} + +func (v *NullableRegulatoryDomainEnum) Set(val *RegulatoryDomainEnum) { + v.value = val + v.isSet = true +} + +func (v NullableRegulatoryDomainEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableRegulatoryDomainEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRegulatoryDomainEnum(val *RegulatoryDomainEnum) *NullableRegulatoryDomainEnum { + return &NullableRegulatoryDomainEnum{value: val, isSet: true} +} + +func (v NullableRegulatoryDomainEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRegulatoryDomainEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_relationship.go b/model_relationship.go index 78f007af..9536c67f 100644 --- a/model_relationship.go +++ b/model_relationship.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Relationship{} // Relationship 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) type Relationship struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -63,9 +63,8 @@ type _Relationship Relationship // 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 -func NewRelationship(id string, objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, label string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Relationship { +func NewRelationship(objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, label string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Relationship { this := Relationship{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -87,28 +86,36 @@ func NewRelationshipWithDefaults() *Relationship { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Relationship) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Relationship) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Relationship) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Relationship) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -719,7 +726,9 @@ func (o Relationship) MarshalJSON() ([]byte, error) { func (o Relationship) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -776,7 +785,6 @@ func (o *Relationship) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_relationship_association.go b/model_relationship_association.go index 8e92cead..6c2b2f1e 100644 --- a/model_relationship_association.go +++ b/model_relationship_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &RelationshipAssociation{} // RelationshipAssociation 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) type RelationshipAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -40,9 +40,8 @@ type _RelationshipAssociation RelationshipAssociation // 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 -func NewRelationshipAssociation(id string, objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, sourceId string, destinationId string, relationship BulkWritableCableRequestStatus) *RelationshipAssociation { +func NewRelationshipAssociation(objectType string, display string, url string, naturalSlug string, sourceType string, destinationType string, sourceId string, destinationId string, relationship BulkWritableCableRequestStatus) *RelationshipAssociation { this := RelationshipAssociation{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -63,28 +62,36 @@ func NewRelationshipAssociationWithDefaults() *RelationshipAssociation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *RelationshipAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RelationshipAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RelationshipAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *RelationshipAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -313,7 +320,9 @@ func (o RelationshipAssociation) MarshalJSON() ([]byte, error) { func (o RelationshipAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -336,7 +345,6 @@ func (o *RelationshipAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_relationship_association_request.go b/model_relationship_association_request.go index 6ad158ac..151a2de4 100644 --- a/model_relationship_association_request.go +++ b/model_relationship_association_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &RelationshipAssociationRequest{} // RelationshipAssociationRequest 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) type RelationshipAssociationRequest struct { + Id *string `json:"id,omitempty"` SourceType string `json:"source_type"` DestinationType string `json:"destination_type"` SourceId string `json:"source_id"` @@ -52,6 +53,38 @@ func NewRelationshipAssociationRequestWithDefaults() *RelationshipAssociationReq return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *RelationshipAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RelationshipAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RelationshipAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RelationshipAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetSourceType returns the SourceType field value func (o *RelationshipAssociationRequest) GetSourceType() string { if o == nil { @@ -182,6 +215,9 @@ func (o RelationshipAssociationRequest) MarshalJSON() ([]byte, error) { func (o RelationshipAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["source_type"] = o.SourceType toSerialize["destination_type"] = o.DestinationType toSerialize["source_id"] = o.SourceId @@ -234,6 +270,7 @@ func (o *RelationshipAssociationRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "source_type") delete(additionalProperties, "destination_type") delete(additionalProperties, "source_id") diff --git a/model_relationship_request.go b/model_relationship_request.go index c54000ad..ba6354ee 100644 --- a/model_relationship_request.go +++ b/model_relationship_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &RelationshipRequest{} // RelationshipRequest 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) type RelationshipRequest struct { + Id *string `json:"id,omitempty"` SourceType string `json:"source_type"` DestinationType string `json:"destination_type"` // Label of the relationship as displayed to users @@ -69,6 +70,38 @@ func NewRelationshipRequestWithDefaults() *RelationshipRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *RelationshipRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RelationshipRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RelationshipRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RelationshipRequest) SetId(v string) { + o.Id = &v +} + // GetSourceType returns the SourceType field value func (o *RelationshipRequest) GetSourceType() string { if o == nil { @@ -505,6 +538,9 @@ func (o RelationshipRequest) MarshalJSON() ([]byte, error) { func (o RelationshipRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["source_type"] = o.SourceType toSerialize["destination_type"] = o.DestinationType toSerialize["label"] = o.Label @@ -586,6 +622,7 @@ func (o *RelationshipRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "source_type") delete(additionalProperties, "destination_type") delete(additionalProperties, "label") diff --git a/model_relationship_type_choices.go b/model_relationship_type_choices.go index 1c525f1c..13ef6590 100644 --- a/model_relationship_type_choices.go +++ b/model_relationship_type_choices.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/model_render_jinja.go b/model_render_jinja.go new file mode 100644 index 00000000..6a4046e7 --- /dev/null +++ b/model_render_jinja.go @@ -0,0 +1,263 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the RenderJinja type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RenderJinja{} + +// RenderJinja Serializer for RenderJinjaView. +type RenderJinja struct { + TemplateCode string `json:"template_code"` + Context map[string]interface{} `json:"context,omitempty"` + RenderedTemplate string `json:"rendered_template"` + RenderedTemplateLines []string `json:"rendered_template_lines"` + AdditionalProperties map[string]interface{} +} + +type _RenderJinja RenderJinja + +// NewRenderJinja instantiates a new RenderJinja 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 +func NewRenderJinja(templateCode string, renderedTemplate string, renderedTemplateLines []string) *RenderJinja { + this := RenderJinja{} + this.TemplateCode = templateCode + this.RenderedTemplate = renderedTemplate + this.RenderedTemplateLines = renderedTemplateLines + return &this +} + +// NewRenderJinjaWithDefaults instantiates a new RenderJinja 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 +func NewRenderJinjaWithDefaults() *RenderJinja { + this := RenderJinja{} + return &this +} + +// GetTemplateCode returns the TemplateCode field value +func (o *RenderJinja) GetTemplateCode() string { + if o == nil { + var ret string + return ret + } + + return o.TemplateCode +} + +// GetTemplateCodeOk returns a tuple with the TemplateCode field value +// and a boolean to check if the value has been set. +func (o *RenderJinja) GetTemplateCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TemplateCode, true +} + +// SetTemplateCode sets field value +func (o *RenderJinja) SetTemplateCode(v string) { + o.TemplateCode = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *RenderJinja) GetContext() map[string]interface{} { + if o == nil || IsNil(o.Context) { + var ret map[string]interface{} + return ret + } + return o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RenderJinja) GetContextOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Context) { + return map[string]interface{}{}, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *RenderJinja) HasContext() bool { + if o != nil && !IsNil(o.Context) { + return true + } + + return false +} + +// SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field. +func (o *RenderJinja) SetContext(v map[string]interface{}) { + o.Context = v +} + +// GetRenderedTemplate returns the RenderedTemplate field value +func (o *RenderJinja) GetRenderedTemplate() string { + if o == nil { + var ret string + return ret + } + + return o.RenderedTemplate +} + +// GetRenderedTemplateOk returns a tuple with the RenderedTemplate field value +// and a boolean to check if the value has been set. +func (o *RenderJinja) GetRenderedTemplateOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RenderedTemplate, true +} + +// SetRenderedTemplate sets field value +func (o *RenderJinja) SetRenderedTemplate(v string) { + o.RenderedTemplate = v +} + +// GetRenderedTemplateLines returns the RenderedTemplateLines field value +func (o *RenderJinja) GetRenderedTemplateLines() []string { + if o == nil { + var ret []string + return ret + } + + return o.RenderedTemplateLines +} + +// GetRenderedTemplateLinesOk returns a tuple with the RenderedTemplateLines field value +// and a boolean to check if the value has been set. +func (o *RenderJinja) GetRenderedTemplateLinesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.RenderedTemplateLines, true +} + +// SetRenderedTemplateLines sets field value +func (o *RenderJinja) SetRenderedTemplateLines(v []string) { + o.RenderedTemplateLines = v +} + +func (o RenderJinja) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RenderJinja) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["template_code"] = o.TemplateCode + if !IsNil(o.Context) { + toSerialize["context"] = o.Context + } + toSerialize["rendered_template"] = o.RenderedTemplate + toSerialize["rendered_template_lines"] = o.RenderedTemplateLines + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RenderJinja) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "template_code", + "rendered_template", + "rendered_template_lines", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varRenderJinja := _RenderJinja{} + + err = json.Unmarshal(data, &varRenderJinja) + + if err != nil { + return err + } + + *o = RenderJinja(varRenderJinja) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "template_code") + delete(additionalProperties, "context") + delete(additionalProperties, "rendered_template") + delete(additionalProperties, "rendered_template_lines") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRenderJinja struct { + value *RenderJinja + isSet bool +} + +func (v NullableRenderJinja) Get() *RenderJinja { + return v.value +} + +func (v *NullableRenderJinja) Set(val *RenderJinja) { + v.value = val + v.isSet = true +} + +func (v NullableRenderJinja) IsSet() bool { + return v.isSet +} + +func (v *NullableRenderJinja) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRenderJinja(val *RenderJinja) *NullableRenderJinja { + return &NullableRenderJinja{value: val, isSet: true} +} + +func (v NullableRenderJinja) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRenderJinja) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_render_jinja_request.go b/model_render_jinja_request.go new file mode 100644 index 00000000..17b96788 --- /dev/null +++ b/model_render_jinja_request.go @@ -0,0 +1,205 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the RenderJinjaRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RenderJinjaRequest{} + +// RenderJinjaRequest Serializer for RenderJinjaView. +type RenderJinjaRequest struct { + TemplateCode string `json:"template_code"` + Context map[string]interface{} `json:"context,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RenderJinjaRequest RenderJinjaRequest + +// NewRenderJinjaRequest instantiates a new RenderJinjaRequest 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 +func NewRenderJinjaRequest(templateCode string) *RenderJinjaRequest { + this := RenderJinjaRequest{} + this.TemplateCode = templateCode + return &this +} + +// NewRenderJinjaRequestWithDefaults instantiates a new RenderJinjaRequest 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 +func NewRenderJinjaRequestWithDefaults() *RenderJinjaRequest { + this := RenderJinjaRequest{} + return &this +} + +// GetTemplateCode returns the TemplateCode field value +func (o *RenderJinjaRequest) GetTemplateCode() string { + if o == nil { + var ret string + return ret + } + + return o.TemplateCode +} + +// GetTemplateCodeOk returns a tuple with the TemplateCode field value +// and a boolean to check if the value has been set. +func (o *RenderJinjaRequest) GetTemplateCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TemplateCode, true +} + +// SetTemplateCode sets field value +func (o *RenderJinjaRequest) SetTemplateCode(v string) { + o.TemplateCode = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *RenderJinjaRequest) GetContext() map[string]interface{} { + if o == nil || IsNil(o.Context) { + var ret map[string]interface{} + return ret + } + return o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RenderJinjaRequest) GetContextOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Context) { + return map[string]interface{}{}, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *RenderJinjaRequest) HasContext() bool { + if o != nil && !IsNil(o.Context) { + return true + } + + return false +} + +// SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field. +func (o *RenderJinjaRequest) SetContext(v map[string]interface{}) { + o.Context = v +} + +func (o RenderJinjaRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RenderJinjaRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["template_code"] = o.TemplateCode + if !IsNil(o.Context) { + toSerialize["context"] = o.Context + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RenderJinjaRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "template_code", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varRenderJinjaRequest := _RenderJinjaRequest{} + + err = json.Unmarshal(data, &varRenderJinjaRequest) + + if err != nil { + return err + } + + *o = RenderJinjaRequest(varRenderJinjaRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "template_code") + delete(additionalProperties, "context") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRenderJinjaRequest struct { + value *RenderJinjaRequest + isSet bool +} + +func (v NullableRenderJinjaRequest) Get() *RenderJinjaRequest { + return v.value +} + +func (v *NullableRenderJinjaRequest) Set(val *RenderJinjaRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRenderJinjaRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRenderJinjaRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRenderJinjaRequest(val *RenderJinjaRequest) *NullableRenderJinjaRequest { + return &NullableRenderJinjaRequest{value: val, isSet: true} +} + +func (v NullableRenderJinjaRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRenderJinjaRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_required_on_enum.go b/model_required_on_enum.go index cc3298b8..94850d5c 100644 --- a/model_required_on_enum.go +++ b/model_required_on_enum.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/model_rir.go b/model_rir.go index 89f272c6..beb6d14e 100644 --- a/model_rir.go +++ b/model_rir.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &RIR{} // RIR 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. type RIR struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _RIR RIR // 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 -func NewRIR(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *RIR { +func NewRIR(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *RIR { this := RIR{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -67,28 +66,36 @@ func NewRIRWithDefaults() *RIR { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *RIR) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RIR) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RIR) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *RIR) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -425,7 +432,9 @@ func (o RIR) MarshalJSON() ([]byte, error) { func (o RIR) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -459,7 +468,6 @@ func (o *RIR) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_rir_request.go b/model_rir_request.go index 2f46be63..919516b3 100644 --- a/model_rir_request.go +++ b/model_rir_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &RIRRequest{} // RIRRequest 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. type RIRRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // IP space managed by this RIR is considered private IsPrivate *bool `json:"is_private,omitempty"` @@ -49,6 +50,38 @@ func NewRIRRequestWithDefaults() *RIRRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *RIRRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RIRRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RIRRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RIRRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *RIRRequest) GetName() string { if o == nil { @@ -211,6 +244,9 @@ func (o RIRRequest) MarshalJSON() ([]byte, error) { func (o RIRRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.IsPrivate) { toSerialize["is_private"] = o.IsPrivate @@ -267,6 +303,7 @@ func (o *RIRRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "is_private") delete(additionalProperties, "description") diff --git a/model_role.go b/model_role.go index f4eb9199..56e069c2 100644 --- a/model_role.go +++ b/model_role.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Role{} // Role Serializer for `Role` objects. type Role struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -46,9 +46,8 @@ type _Role Role // 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 -func NewRole(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Role { +func NewRole(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Role { this := Role{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -69,28 +68,36 @@ func NewRoleWithDefaults() *Role { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Role) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Role) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Role) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Role) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -461,7 +468,9 @@ func (o Role) MarshalJSON() ([]byte, error) { func (o Role) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -496,7 +505,6 @@ func (o *Role) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_role_request.go b/model_role_request.go index b696be0f..a5ac9e62 100644 --- a/model_role_request.go +++ b/model_role_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &RoleRequest{} // RoleRequest Serializer for `Role` objects. type RoleRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Name string `json:"name"` // RGB color in hexadecimal (e.g. 00ff00) @@ -52,6 +53,38 @@ func NewRoleRequestWithDefaults() *RoleRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *RoleRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RoleRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RoleRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RoleRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *RoleRequest) GetContentTypes() []string { if o == nil { @@ -280,6 +313,9 @@ func (o RoleRequest) MarshalJSON() ([]byte, error) { func (o RoleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["name"] = o.Name if !IsNil(o.Color) { @@ -341,6 +377,7 @@ func (o *RoleRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "color") diff --git a/model_route_target.go b/model_route_target.go index d748647d..bd93ea92 100644 --- a/model_route_target.go +++ b/model_route_target.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &RouteTarget{} // RouteTarget 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. type RouteTarget struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _RouteTarget RouteTarget // 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 -func NewRouteTarget(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *RouteTarget { +func NewRouteTarget(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *RouteTarget { this := RouteTarget{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -67,28 +66,36 @@ func NewRouteTargetWithDefaults() *RouteTarget { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *RouteTarget) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RouteTarget) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RouteTarget) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *RouteTarget) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -435,7 +442,9 @@ func (o RouteTarget) MarshalJSON() ([]byte, error) { func (o RouteTarget) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -469,7 +478,6 @@ func (o *RouteTarget) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_route_target_request.go b/model_route_target_request.go index 9b4e2df0..a7da830d 100644 --- a/model_route_target_request.go +++ b/model_route_target_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &RouteTargetRequest{} // RouteTargetRequest 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. type RouteTargetRequest struct { + Id *string `json:"id,omitempty"` // Route target value (formatted in accordance with RFC 4360) Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -50,6 +51,38 @@ func NewRouteTargetRequestWithDefaults() *RouteTargetRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *RouteTargetRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RouteTargetRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RouteTargetRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *RouteTargetRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *RouteTargetRequest) GetName() string { if o == nil { @@ -254,6 +287,9 @@ func (o RouteTargetRequest) MarshalJSON() ([]byte, error) { func (o RouteTargetRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -313,6 +349,7 @@ func (o *RouteTargetRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "tenant") diff --git a/model_saved_view.go b/model_saved_view.go index 75912a0f..e492f34d 100644 --- a/model_saved_view.go +++ b/model_saved_view.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &SavedView{} // SavedView 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) type SavedView struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -47,9 +47,8 @@ type _SavedView SavedView // 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 -func NewSavedView(id string, objectType string, display string, url string, naturalSlug string, name string, view string, owner BulkWritableSavedViewRequestOwner, created NullableTime, lastUpdated NullableTime) *SavedView { +func NewSavedView(objectType string, display string, url string, naturalSlug string, name string, view string, owner BulkWritableSavedViewRequestOwner, created NullableTime, lastUpdated NullableTime) *SavedView { this := SavedView{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -70,28 +69,36 @@ func NewSavedViewWithDefaults() *SavedView { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *SavedView) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *SavedView) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SavedView) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *SavedView) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -421,7 +428,9 @@ func (o SavedView) MarshalJSON() ([]byte, error) { func (o SavedView) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -453,7 +462,6 @@ func (o *SavedView) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_saved_view_request.go b/model_saved_view_request.go index 16ad5e58..f6f453a9 100644 --- a/model_saved_view_request.go +++ b/model_saved_view_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &SavedViewRequest{} // SavedViewRequest 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) type SavedViewRequest struct { + Id *string `json:"id,omitempty"` // The name of this view Name string `json:"name"` // The name of the list view that the saved view is derived from, e.g. dcim:device_list @@ -54,6 +55,38 @@ func NewSavedViewRequestWithDefaults() *SavedViewRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *SavedViewRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SavedViewRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SavedViewRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SavedViewRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *SavedViewRequest) GetName() string { if o == nil { @@ -233,6 +266,9 @@ func (o SavedViewRequest) MarshalJSON() ([]byte, error) { func (o SavedViewRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name toSerialize["view"] = o.View if o.Config != nil { @@ -290,6 +326,7 @@ func (o *SavedViewRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "view") delete(additionalProperties, "config") diff --git a/model_scheduled_job.go b/model_scheduled_job.go index b5ef284e..d9f0e621 100644 --- a/model_scheduled_job.go +++ b/model_scheduled_job.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. @@ -21,12 +21,13 @@ var _ MappedNullable = &ScheduledJob{} // ScheduledJob This base serializer implements common fields and logic for all ModelSerializers. Namely, it: - defines the `display` field which exposes a human friendly value for the given object. - ensures that `id` field is always present on the serializer as well. - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. - ensures that `object_type` field is always present on the serializer which represents the content-type of this serializer's associated model (e.g. \"dcim.device\"). This is required as the OpenAPI schema, using the PolymorphicProxySerializer class defined below, relies upon this field as a way to identify to the client which of several possible serializers are in use for a given attribute. - 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. type ScheduledJob struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` + Queue string `json:"queue"` TimeZone *string `json:"time_zone,omitempty"` // Human-readable description of this scheduled task Name string `json:"name"` @@ -36,8 +37,6 @@ type ScheduledJob struct { Args interface{} `json:"args,omitempty"` Kwargs interface{} `json:"kwargs,omitempty"` CeleryKwargs interface{} `json:"celery_kwargs,omitempty"` - // Queue defined in CELERY_TASK_QUEUES. Leave empty for default queuing. - Queue *string `json:"queue,omitempty"` // If True, the schedule will only run the task a single time OneOff *bool `json:"one_off,omitempty"` // Datetime when the schedule should begin triggering the task to run @@ -58,6 +57,7 @@ type ScheduledJob struct { // Cronjob syntax string for custom scheduling Crontab *string `json:"crontab,omitempty"` JobModel NullableBulkWritableCircuitRequestTenant `json:"job_model,omitempty"` + JobQueue NullableJobQueueOverride `json:"job_queue,omitempty"` User NullableScheduledJobUser `json:"user,omitempty"` ApprovedByUser NullableScheduledJobApprovedByUser `json:"approved_by_user,omitempty"` AdditionalProperties map[string]interface{} @@ -69,13 +69,13 @@ type _ScheduledJob ScheduledJob // 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 -func NewScheduledJob(id string, objectType string, display string, url string, naturalSlug string, name string, task string, interval JobExecutionTypeIntervalChoices, startTime time.Time, lastRunAt NullableTime, dateChanged time.Time, approvedAt NullableTime) *ScheduledJob { +func NewScheduledJob(objectType string, display string, url string, naturalSlug string, queue string, name string, task string, interval JobExecutionTypeIntervalChoices, startTime time.Time, lastRunAt NullableTime, dateChanged time.Time, approvedAt NullableTime) *ScheduledJob { this := ScheduledJob{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url this.NaturalSlug = naturalSlug + this.Queue = queue this.Name = name this.Task = task this.Interval = interval @@ -94,28 +94,36 @@ func NewScheduledJobWithDefaults() *ScheduledJob { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *ScheduledJob) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ScheduledJob) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ScheduledJob) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *ScheduledJob) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -214,6 +222,30 @@ func (o *ScheduledJob) SetNaturalSlug(v string) { o.NaturalSlug = v } +// GetQueue returns the Queue field value +func (o *ScheduledJob) GetQueue() string { + if o == nil { + var ret string + return ret + } + + return o.Queue +} + +// GetQueueOk returns a tuple with the Queue field value +// and a boolean to check if the value has been set. +func (o *ScheduledJob) GetQueueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Queue, true +} + +// SetQueue sets field value +func (o *ScheduledJob) SetQueue(v string) { + o.Queue = v +} + // GetTimeZone returns the TimeZone field value if set, zero value otherwise. func (o *ScheduledJob) GetTimeZone() string { if o == nil || IsNil(o.TimeZone) { @@ -417,38 +449,6 @@ func (o *ScheduledJob) SetCeleryKwargs(v interface{}) { o.CeleryKwargs = v } -// GetQueue returns the Queue field value if set, zero value otherwise. -func (o *ScheduledJob) GetQueue() string { - if o == nil || IsNil(o.Queue) { - var ret string - return ret - } - return *o.Queue -} - -// GetQueueOk returns a tuple with the Queue field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ScheduledJob) GetQueueOk() (*string, bool) { - if o == nil || IsNil(o.Queue) { - return nil, false - } - return o.Queue, true -} - -// HasQueue returns a boolean if a field has been set. -func (o *ScheduledJob) HasQueue() bool { - if o != nil && !IsNil(o.Queue) { - return true - } - - return false -} - -// SetQueue gets a reference to the given string and assigns it to the Queue field. -func (o *ScheduledJob) SetQueue(v string) { - o.Queue = &v -} - // GetOneOff returns the OneOff field value if set, zero value otherwise. func (o *ScheduledJob) GetOneOff() bool { if o == nil || IsNil(o.OneOff) { @@ -783,6 +783,48 @@ func (o *ScheduledJob) UnsetJobModel() { o.JobModel.Unset() } +// GetJobQueue returns the JobQueue field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ScheduledJob) GetJobQueue() JobQueueOverride { + if o == nil || IsNil(o.JobQueue.Get()) { + var ret JobQueueOverride + return ret + } + return *o.JobQueue.Get() +} + +// GetJobQueueOk returns a tuple with the JobQueue field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ScheduledJob) GetJobQueueOk() (*JobQueueOverride, bool) { + if o == nil { + return nil, false + } + return o.JobQueue.Get(), o.JobQueue.IsSet() +} + +// HasJobQueue returns a boolean if a field has been set. +func (o *ScheduledJob) HasJobQueue() bool { + if o != nil && o.JobQueue.IsSet() { + return true + } + + return false +} + +// SetJobQueue gets a reference to the given NullableJobQueueOverride and assigns it to the JobQueue field. +func (o *ScheduledJob) SetJobQueue(v JobQueueOverride) { + o.JobQueue.Set(&v) +} +// SetJobQueueNil sets the value for JobQueue to be an explicit nil +func (o *ScheduledJob) SetJobQueueNil() { + o.JobQueue.Set(nil) +} + +// UnsetJobQueue ensures that no value is present for JobQueue, not even an explicit nil +func (o *ScheduledJob) UnsetJobQueue() { + o.JobQueue.Unset() +} + // GetUser returns the User field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ScheduledJob) GetUser() ScheduledJobUser { if o == nil || IsNil(o.User.Get()) { @@ -877,11 +919,14 @@ func (o ScheduledJob) MarshalJSON() ([]byte, error) { func (o ScheduledJob) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["queue"] = o.Queue if !IsNil(o.TimeZone) { toSerialize["time_zone"] = o.TimeZone } @@ -897,9 +942,6 @@ func (o ScheduledJob) ToMap() (map[string]interface{}, error) { if o.CeleryKwargs != nil { toSerialize["celery_kwargs"] = o.CeleryKwargs } - if !IsNil(o.Queue) { - toSerialize["queue"] = o.Queue - } if !IsNil(o.OneOff) { toSerialize["one_off"] = o.OneOff } @@ -925,6 +967,9 @@ func (o ScheduledJob) ToMap() (map[string]interface{}, error) { if o.JobModel.IsSet() { toSerialize["job_model"] = o.JobModel.Get() } + if o.JobQueue.IsSet() { + toSerialize["job_queue"] = o.JobQueue.Get() + } if o.User.IsSet() { toSerialize["user"] = o.User.Get() } @@ -944,11 +989,11 @@ func (o *ScheduledJob) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", "natural_slug", + "queue", "name", "task", "interval", @@ -990,6 +1035,7 @@ func (o *ScheduledJob) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") + delete(additionalProperties, "queue") delete(additionalProperties, "time_zone") delete(additionalProperties, "name") delete(additionalProperties, "task") @@ -997,7 +1043,6 @@ func (o *ScheduledJob) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "args") delete(additionalProperties, "kwargs") delete(additionalProperties, "celery_kwargs") - delete(additionalProperties, "queue") delete(additionalProperties, "one_off") delete(additionalProperties, "start_time") delete(additionalProperties, "enabled") @@ -1009,6 +1054,7 @@ func (o *ScheduledJob) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "approved_at") delete(additionalProperties, "crontab") delete(additionalProperties, "job_model") + delete(additionalProperties, "job_queue") delete(additionalProperties, "user") delete(additionalProperties, "approved_by_user") o.AdditionalProperties = additionalProperties diff --git a/model_scheduled_job_approved_by_user.go b/model_scheduled_job_approved_by_user.go index 579276e9..8b209341 100644 --- a/model_scheduled_job_approved_by_user.go +++ b/model_scheduled_job_approved_by_user.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/model_scheduled_job_user.go b/model_scheduled_job_user.go index b6961f0c..81ccaea5 100644 --- a/model_scheduled_job_user.go +++ b/model_scheduled_job_user.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/model_secret.go b/model_secret.go index 8e9608ca..8b076a8b 100644 --- a/model_secret.go +++ b/model_secret.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Secret{} // Secret Serializer for `Secret` objects. type Secret struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _Secret Secret // 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 -func NewSecret(id string, objectType string, display string, url string, naturalSlug string, name string, provider string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Secret { +func NewSecret(objectType string, display string, url string, naturalSlug string, name string, provider string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Secret { this := Secret{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -68,28 +67,36 @@ func NewSecretWithDefaults() *Secret { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Secret) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Secret) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Secret) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Secret) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -451,7 +458,9 @@ func (o Secret) MarshalJSON() ([]byte, error) { func (o Secret) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -486,7 +495,6 @@ func (o *Secret) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_secret_request.go b/model_secret_request.go index 4397b29d..941f2994 100644 --- a/model_secret_request.go +++ b/model_secret_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &SecretRequest{} // SecretRequest Serializer for `Secret` objects. type SecretRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Provider string `json:"provider"` @@ -51,6 +52,38 @@ func NewSecretRequestWithDefaults() *SecretRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *SecretRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SecretRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SecretRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SecretRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *SecretRequest) GetName() string { if o == nil { @@ -270,6 +303,9 @@ func (o SecretRequest) MarshalJSON() ([]byte, error) { func (o SecretRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -331,6 +367,7 @@ func (o *SecretRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "provider") diff --git a/model_secret_type_enum.go b/model_secret_type_enum.go index 958aae76..1dce93fc 100644 --- a/model_secret_type_enum.go +++ b/model_secret_type_enum.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. @@ -20,19 +20,31 @@ type SecretTypeEnum string // List of SecretTypeEnum const ( + SECRETTYPEENUM_AUTHENTICATION_KEY SecretTypeEnum = "authentication-key" + SECRETTYPEENUM_AUTHENTICATION_PROTOCOL SecretTypeEnum = "authentication-protocol" SECRETTYPEENUM_KEY SecretTypeEnum = "key" + SECRETTYPEENUM_NOTES SecretTypeEnum = "notes" SECRETTYPEENUM_PASSWORD SecretTypeEnum = "password" + SECRETTYPEENUM_PRIVATE_ALGORITHM SecretTypeEnum = "private-algorithm" + SECRETTYPEENUM_PRIVATE_KEY SecretTypeEnum = "private-key" SECRETTYPEENUM_SECRET SecretTypeEnum = "secret" SECRETTYPEENUM_TOKEN SecretTypeEnum = "token" + SECRETTYPEENUM_URL SecretTypeEnum = "url" SECRETTYPEENUM_USERNAME SecretTypeEnum = "username" ) // All allowed values of SecretTypeEnum enum var AllowedSecretTypeEnumEnumValues = []SecretTypeEnum{ + "authentication-key", + "authentication-protocol", "key", + "notes", "password", + "private-algorithm", + "private-key", "secret", "token", + "url", "username", } diff --git a/model_secrets_group.go b/model_secrets_group.go index 6c09ebd3..5a5635eb 100644 --- a/model_secrets_group.go +++ b/model_secrets_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &SecretsGroup{} // SecretsGroup Serializer for `SecretsGroup` objects. type SecretsGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -43,9 +43,8 @@ type _SecretsGroup SecretsGroup // 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 -func NewSecretsGroup(id string, objectType string, display string, url string, naturalSlug string, name string, secrets []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *SecretsGroup { +func NewSecretsGroup(objectType string, display string, url string, naturalSlug string, name string, secrets []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *SecretsGroup { this := SecretsGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -66,28 +65,36 @@ func NewSecretsGroupWithDefaults() *SecretsGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *SecretsGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *SecretsGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SecretsGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *SecretsGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -384,7 +391,9 @@ func (o SecretsGroup) MarshalJSON() ([]byte, error) { func (o SecretsGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -413,7 +422,6 @@ func (o *SecretsGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_secrets_group_association.go b/model_secrets_group_association.go index 803513f9..c2da2592 100644 --- a/model_secrets_group_association.go +++ b/model_secrets_group_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &SecretsGroupAssociation{} // SecretsGroupAssociation Serializer for `SecretsGroupAssociation` objects. type SecretsGroupAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -39,9 +39,8 @@ type _SecretsGroupAssociation SecretsGroupAssociation // 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 -func NewSecretsGroupAssociation(id string, objectType string, display string, url string, naturalSlug string, accessType AccessTypeEnum, secretType SecretTypeEnum, secretsGroup BulkWritableCableRequestStatus, secret BulkWritableCableRequestStatus) *SecretsGroupAssociation { +func NewSecretsGroupAssociation(objectType string, display string, url string, naturalSlug string, accessType AccessTypeEnum, secretType SecretTypeEnum, secretsGroup BulkWritableCableRequestStatus, secret BulkWritableCableRequestStatus) *SecretsGroupAssociation { this := SecretsGroupAssociation{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -61,28 +60,36 @@ func NewSecretsGroupAssociationWithDefaults() *SecretsGroupAssociation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *SecretsGroupAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *SecretsGroupAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SecretsGroupAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *SecretsGroupAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -287,7 +294,9 @@ func (o SecretsGroupAssociation) MarshalJSON() ([]byte, error) { func (o SecretsGroupAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -309,7 +318,6 @@ func (o *SecretsGroupAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_secrets_group_association_request.go b/model_secrets_group_association_request.go index c8a181d8..5920edcf 100644 --- a/model_secrets_group_association_request.go +++ b/model_secrets_group_association_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &SecretsGroupAssociationRequest{} // SecretsGroupAssociationRequest Serializer for `SecretsGroupAssociation` objects. type SecretsGroupAssociationRequest struct { + Id *string `json:"id,omitempty"` AccessType AccessTypeEnum `json:"access_type"` SecretType SecretTypeEnum `json:"secret_type"` SecretsGroup BulkWritableCableRequestStatus `json:"secrets_group"` @@ -50,6 +51,38 @@ func NewSecretsGroupAssociationRequestWithDefaults() *SecretsGroupAssociationReq return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *SecretsGroupAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SecretsGroupAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SecretsGroupAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SecretsGroupAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetAccessType returns the AccessType field value func (o *SecretsGroupAssociationRequest) GetAccessType() AccessTypeEnum { if o == nil { @@ -156,6 +189,9 @@ func (o SecretsGroupAssociationRequest) MarshalJSON() ([]byte, error) { func (o SecretsGroupAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["access_type"] = o.AccessType toSerialize["secret_type"] = o.SecretType toSerialize["secrets_group"] = o.SecretsGroup @@ -206,6 +242,7 @@ func (o *SecretsGroupAssociationRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "access_type") delete(additionalProperties, "secret_type") delete(additionalProperties, "secrets_group") diff --git a/model_secrets_group_request.go b/model_secrets_group_request.go index 631a5b6c..f8edc94c 100644 --- a/model_secrets_group_request.go +++ b/model_secrets_group_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &SecretsGroupRequest{} // SecretsGroupRequest Serializer for `SecretsGroup` objects. type SecretsGroupRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -47,6 +48,38 @@ func NewSecretsGroupRequestWithDefaults() *SecretsGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *SecretsGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SecretsGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SecretsGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SecretsGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *SecretsGroupRequest) GetName() string { if o == nil { @@ -177,6 +210,9 @@ func (o SecretsGroupRequest) MarshalJSON() ([]byte, error) { func (o SecretsGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -230,6 +266,7 @@ func (o *SecretsGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "custom_fields") diff --git a/model_service.go b/model_service.go index 103d2340..47a13250 100644 --- a/model_service.go +++ b/model_service.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Service{} // Service 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. type Service struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -48,9 +48,8 @@ type _Service Service // 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 -func NewService(id string, objectType string, display string, url string, naturalSlug string, ports []int32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Service { +func NewService(objectType string, display string, url string, naturalSlug string, ports []int32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Service { this := Service{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -71,28 +70,36 @@ func NewServiceWithDefaults() *Service { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Service) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Service) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Service) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Service) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -569,7 +576,9 @@ func (o Service) MarshalJSON() ([]byte, error) { func (o Service) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -613,7 +622,6 @@ func (o *Service) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_service_protocol.go b/model_service_protocol.go index 87bd2ed7..43e6eaf4 100644 --- a/model_service_protocol.go +++ b/model_service_protocol.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/model_service_protocol_choices.go b/model_service_protocol_choices.go index e07d775a..386ff80a 100644 --- a/model_service_protocol_choices.go +++ b/model_service_protocol_choices.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/model_service_protocol_label.go b/model_service_protocol_label.go index 85e01a35..ac58de22 100644 --- a/model_service_protocol_label.go +++ b/model_service_protocol_label.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/model_service_protocol_value.go b/model_service_protocol_value.go index 2e80f83e..26815edd 100644 --- a/model_service_protocol_value.go +++ b/model_service_protocol_value.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/model_software_image_file.go b/model_software_image_file.go index 420269ac..ce9bdfb8 100644 --- a/model_software_image_file.go +++ b/model_software_image_file.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &SoftwareImageFile{} // SoftwareImageFile 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. type SoftwareImageFile struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -36,6 +36,7 @@ type SoftwareImageFile struct { // Is the default image for this software version DefaultImage *bool `json:"default_image,omitempty"` SoftwareVersion BulkWritableCableRequestStatus `json:"software_version"` + ExternalIntegration NullableBulkWritableCircuitRequestTenant `json:"external_integration,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` @@ -51,9 +52,8 @@ type _SoftwareImageFile SoftwareImageFile // 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 -func NewSoftwareImageFile(id string, objectType string, display string, url string, naturalSlug string, imageFileName string, softwareVersion BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *SoftwareImageFile { +func NewSoftwareImageFile(objectType string, display string, url string, naturalSlug string, imageFileName string, softwareVersion BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *SoftwareImageFile { this := SoftwareImageFile{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -75,28 +75,36 @@ func NewSoftwareImageFileWithDefaults() *SoftwareImageFile { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *SoftwareImageFile) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *SoftwareImageFile) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SoftwareImageFile) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *SoftwareImageFile) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -413,6 +421,48 @@ func (o *SoftwareImageFile) SetSoftwareVersion(v BulkWritableCableRequestStatus) o.SoftwareVersion = v } +// GetExternalIntegration returns the ExternalIntegration field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SoftwareImageFile) GetExternalIntegration() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ExternalIntegration.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ExternalIntegration.Get() +} + +// GetExternalIntegrationOk returns a tuple with the ExternalIntegration field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SoftwareImageFile) GetExternalIntegrationOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ExternalIntegration.Get(), o.ExternalIntegration.IsSet() +} + +// HasExternalIntegration returns a boolean if a field has been set. +func (o *SoftwareImageFile) HasExternalIntegration() bool { + if o != nil && o.ExternalIntegration.IsSet() { + return true + } + + return false +} + +// SetExternalIntegration gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ExternalIntegration field. +func (o *SoftwareImageFile) SetExternalIntegration(v BulkWritableCircuitRequestTenant) { + o.ExternalIntegration.Set(&v) +} +// SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil +func (o *SoftwareImageFile) SetExternalIntegrationNil() { + o.ExternalIntegration.Set(nil) +} + +// UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil +func (o *SoftwareImageFile) UnsetExternalIntegration() { + o.ExternalIntegration.Unset() +} + // GetStatus returns the Status field value func (o *SoftwareImageFile) GetStatus() BulkWritableCableRequestStatus { if o == nil { @@ -587,7 +637,9 @@ func (o SoftwareImageFile) MarshalJSON() ([]byte, error) { func (o SoftwareImageFile) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -609,6 +661,9 @@ func (o SoftwareImageFile) ToMap() (map[string]interface{}, error) { toSerialize["default_image"] = o.DefaultImage } toSerialize["software_version"] = o.SoftwareVersion + if o.ExternalIntegration.IsSet() { + toSerialize["external_integration"] = o.ExternalIntegration.Get() + } toSerialize["status"] = o.Status toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() @@ -632,7 +687,6 @@ func (o *SoftwareImageFile) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -684,6 +738,7 @@ func (o *SoftwareImageFile) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "download_url") delete(additionalProperties, "default_image") delete(additionalProperties, "software_version") + delete(additionalProperties, "external_integration") delete(additionalProperties, "status") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") diff --git a/model_software_image_file_request.go b/model_software_image_file_request.go index b763166c..ed7c33a6 100644 --- a/model_software_image_file_request.go +++ b/model_software_image_file_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &SoftwareImageFileRequest{} // SoftwareImageFileRequest 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. type SoftwareImageFileRequest struct { + Id *string `json:"id,omitempty"` ImageFileName string `json:"image_file_name"` ImageFileChecksum *string `json:"image_file_checksum,omitempty"` HashingAlgorithm *BulkWritableSoftwareImageFileRequestHashingAlgorithm `json:"hashing_algorithm,omitempty"` @@ -29,6 +30,7 @@ type SoftwareImageFileRequest struct { // Is the default image for this software version DefaultImage *bool `json:"default_image,omitempty"` SoftwareVersion BulkWritableCableRequestStatus `json:"software_version"` + ExternalIntegration NullableBulkWritableCircuitRequestTenant `json:"external_integration,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` @@ -58,6 +60,38 @@ func NewSoftwareImageFileRequestWithDefaults() *SoftwareImageFileRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *SoftwareImageFileRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SoftwareImageFileRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SoftwareImageFileRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SoftwareImageFileRequest) SetId(v string) { + o.Id = &v +} + // GetImageFileName returns the ImageFileName field value func (o *SoftwareImageFileRequest) GetImageFileName() string { if o == nil { @@ -276,6 +310,48 @@ func (o *SoftwareImageFileRequest) SetSoftwareVersion(v BulkWritableCableRequest o.SoftwareVersion = v } +// GetExternalIntegration returns the ExternalIntegration field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.ExternalIntegration.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.ExternalIntegration.Get() +} + +// GetExternalIntegrationOk returns a tuple with the ExternalIntegration field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SoftwareImageFileRequest) GetExternalIntegrationOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.ExternalIntegration.Get(), o.ExternalIntegration.IsSet() +} + +// HasExternalIntegration returns a boolean if a field has been set. +func (o *SoftwareImageFileRequest) HasExternalIntegration() bool { + if o != nil && o.ExternalIntegration.IsSet() { + return true + } + + return false +} + +// SetExternalIntegration gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the ExternalIntegration field. +func (o *SoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant) { + o.ExternalIntegration.Set(&v) +} +// SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil +func (o *SoftwareImageFileRequest) SetExternalIntegrationNil() { + o.ExternalIntegration.Set(nil) +} + +// UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil +func (o *SoftwareImageFileRequest) UnsetExternalIntegration() { + o.ExternalIntegration.Unset() +} + // GetStatus returns the Status field value func (o *SoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus { if o == nil { @@ -406,6 +482,9 @@ func (o SoftwareImageFileRequest) MarshalJSON() ([]byte, error) { func (o SoftwareImageFileRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["image_file_name"] = o.ImageFileName if !IsNil(o.ImageFileChecksum) { toSerialize["image_file_checksum"] = o.ImageFileChecksum @@ -423,6 +502,9 @@ func (o SoftwareImageFileRequest) ToMap() (map[string]interface{}, error) { toSerialize["default_image"] = o.DefaultImage } toSerialize["software_version"] = o.SoftwareVersion + if o.ExternalIntegration.IsSet() { + toSerialize["external_integration"] = o.ExternalIntegration.Get() + } toSerialize["status"] = o.Status if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields @@ -478,6 +560,7 @@ func (o *SoftwareImageFileRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "image_file_name") delete(additionalProperties, "image_file_checksum") delete(additionalProperties, "hashing_algorithm") @@ -485,6 +568,7 @@ func (o *SoftwareImageFileRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "download_url") delete(additionalProperties, "default_image") delete(additionalProperties, "software_version") + delete(additionalProperties, "external_integration") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") diff --git a/model_software_image_files.go b/model_software_image_files.go index 251c31bb..ce82ffd6 100644 --- a/model_software_image_files.go +++ b/model_software_image_files.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/model_software_version.go b/model_software_version.go index bdb36b2b..a894fd82 100644 --- a/model_software_version.go +++ b/model_software_version.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &SoftwareVersion{} // SoftwareVersion 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. type SoftwareVersion struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -53,9 +53,8 @@ type _SoftwareVersion SoftwareVersion // 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 -func NewSoftwareVersion(id string, objectType string, display string, url string, naturalSlug string, version string, platform BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *SoftwareVersion { +func NewSoftwareVersion(objectType string, display string, url string, naturalSlug string, version string, platform BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *SoftwareVersion { this := SoftwareVersion{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -77,28 +76,36 @@ func NewSoftwareVersionWithDefaults() *SoftwareVersion { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *SoftwareVersion) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *SoftwareVersion) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SoftwareVersion) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *SoftwareVersion) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -631,7 +638,9 @@ func (o SoftwareVersion) MarshalJSON() ([]byte, error) { func (o SoftwareVersion) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -679,7 +688,6 @@ func (o *SoftwareVersion) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_software_version_request.go b/model_software_version_request.go index 864fc5b7..10ac515e 100644 --- a/model_software_version_request.go +++ b/model_software_version_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &SoftwareVersionRequest{} // SoftwareVersionRequest 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. type SoftwareVersionRequest struct { + Id *string `json:"id,omitempty"` Version string `json:"version"` // Optional alternative label for this version Alias *string `json:"alias,omitempty"` @@ -60,6 +61,38 @@ func NewSoftwareVersionRequestWithDefaults() *SoftwareVersionRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *SoftwareVersionRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SoftwareVersionRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SoftwareVersionRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SoftwareVersionRequest) SetId(v string) { + o.Id = &v +} + // GetVersion returns the Version field value func (o *SoftwareVersionRequest) GetVersion() string { if o == nil { @@ -450,6 +483,9 @@ func (o SoftwareVersionRequest) MarshalJSON() ([]byte, error) { func (o SoftwareVersionRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["version"] = o.Version if !IsNil(o.Alias) { toSerialize["alias"] = o.Alias @@ -525,6 +561,7 @@ func (o *SoftwareVersionRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "version") delete(additionalProperties, "alias") delete(additionalProperties, "release_date") diff --git a/model_standard_enum.go b/model_standard_enum.go new file mode 100644 index 00000000..018c0551 --- /dev/null +++ b/model_standard_enum.go @@ -0,0 +1,121 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// StandardEnum the model 'StandardEnum' +type StandardEnum string + +// List of StandardEnum +const ( + STANDARDENUM__802_11A StandardEnum = "802.11a" + STANDARDENUM__802_11B StandardEnum = "802.11b" + STANDARDENUM__802_11G StandardEnum = "802.11g" + STANDARDENUM__802_11N StandardEnum = "802.11n" + STANDARDENUM__802_11AC StandardEnum = "802.11ac" + STANDARDENUM__802_11AX StandardEnum = "802.11ax" + STANDARDENUM__802_11BE StandardEnum = "802.11be" +) + +// All allowed values of StandardEnum enum +var AllowedStandardEnumEnumValues = []StandardEnum{ + "802.11a", + "802.11b", + "802.11g", + "802.11n", + "802.11ac", + "802.11ax", + "802.11be", +} + +func (v *StandardEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := StandardEnum(value) + for _, existing := range AllowedStandardEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid StandardEnum", value) +} + +// NewStandardEnumFromValue returns a pointer to a valid StandardEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewStandardEnumFromValue(v string) (*StandardEnum, error) { + ev := StandardEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for StandardEnum: valid values are %v", v, AllowedStandardEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v StandardEnum) IsValid() bool { + for _, existing := range AllowedStandardEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to StandardEnum value +func (v StandardEnum) Ptr() *StandardEnum { + return &v +} + +type NullableStandardEnum struct { + value *StandardEnum + isSet bool +} + +func (v NullableStandardEnum) Get() *StandardEnum { + return v.value +} + +func (v *NullableStandardEnum) Set(val *StandardEnum) { + v.value = val + v.isSet = true +} + +func (v NullableStandardEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableStandardEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStandardEnum(val *StandardEnum) *NullableStandardEnum { + return &NullableStandardEnum{value: val, isSet: true} +} + +func (v NullableStandardEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStandardEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_static_group_association.go b/model_static_group_association.go index 29e7d16e..f3855478 100644 --- a/model_static_group_association.go +++ b/model_static_group_association.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &StaticGroupAssociation{} // StaticGroupAssociation 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. type StaticGroupAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -44,9 +44,8 @@ type _StaticGroupAssociation StaticGroupAssociation // 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 -func NewStaticGroupAssociation(id string, objectType string, display string, url string, naturalSlug string, associatedObjectType string, associatedObject DynamicGroupAssociatedObject, associatedObjectId string, dynamicGroup BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *StaticGroupAssociation { +func NewStaticGroupAssociation(objectType string, display string, url string, naturalSlug string, associatedObjectType string, associatedObject DynamicGroupAssociatedObject, associatedObjectId string, dynamicGroup BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *StaticGroupAssociation { this := StaticGroupAssociation{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -69,28 +68,36 @@ func NewStaticGroupAssociationWithDefaults() *StaticGroupAssociation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *StaticGroupAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *StaticGroupAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *StaticGroupAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *StaticGroupAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -403,7 +410,9 @@ func (o StaticGroupAssociation) MarshalJSON() ([]byte, error) { func (o StaticGroupAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -431,7 +440,6 @@ func (o *StaticGroupAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_static_group_association_request.go b/model_static_group_association_request.go index eb5b24ea..b0906fa1 100644 --- a/model_static_group_association_request.go +++ b/model_static_group_association_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &StaticGroupAssociationRequest{} // StaticGroupAssociationRequest 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. type StaticGroupAssociationRequest struct { + Id *string `json:"id,omitempty"` AssociatedObjectType string `json:"associated_object_type"` AssociatedObjectId string `json:"associated_object_id"` DynamicGroup BulkWritableCableRequestStatus `json:"dynamic_group"` @@ -50,6 +51,38 @@ func NewStaticGroupAssociationRequestWithDefaults() *StaticGroupAssociationReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *StaticGroupAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StaticGroupAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *StaticGroupAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *StaticGroupAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetAssociatedObjectType returns the AssociatedObjectType field value func (o *StaticGroupAssociationRequest) GetAssociatedObjectType() string { if o == nil { @@ -196,6 +229,9 @@ func (o StaticGroupAssociationRequest) MarshalJSON() ([]byte, error) { func (o StaticGroupAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["associated_object_type"] = o.AssociatedObjectType toSerialize["associated_object_id"] = o.AssociatedObjectId toSerialize["dynamic_group"] = o.DynamicGroup @@ -250,6 +286,7 @@ func (o *StaticGroupAssociationRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "associated_object_type") delete(additionalProperties, "associated_object_id") delete(additionalProperties, "dynamic_group") diff --git a/model_status.go b/model_status.go index 32f7afa8..7c00fcdb 100644 --- a/model_status.go +++ b/model_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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Status{} // Status Serializer for `Status` objects. type Status struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _Status Status // 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 -func NewStatus(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Status { +func NewStatus(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Status { this := Status{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -68,28 +67,36 @@ func NewStatusWithDefaults() *Status { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Status) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Status) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Status) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Status) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -418,7 +425,9 @@ func (o Status) MarshalJSON() ([]byte, error) { func (o Status) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -450,7 +459,6 @@ func (o *Status) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_status_request.go b/model_status_request.go index 4413607f..9456032b 100644 --- a/model_status_request.go +++ b/model_status_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &StatusRequest{} // StatusRequest Serializer for `Status` objects. type StatusRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Name string `json:"name"` // RGB color in hexadecimal (e.g. 00ff00) @@ -51,6 +52,38 @@ func NewStatusRequestWithDefaults() *StatusRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *StatusRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StatusRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *StatusRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *StatusRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *StatusRequest) GetContentTypes() []string { if o == nil { @@ -237,6 +270,9 @@ func (o StatusRequest) MarshalJSON() ([]byte, error) { func (o StatusRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["name"] = o.Name if !IsNil(o.Color) { @@ -295,6 +331,7 @@ func (o *StatusRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "color") diff --git a/model_status_retrieve_200_response.go b/model_status_retrieve_200_response.go index dd1745b9..2b10a8b9 100644 --- a/model_status_retrieve_200_response.go +++ b/model_status_retrieve_200_response.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/model_subdevice_role_enum.go b/model_subdevice_role_enum.go index 09bf3b7b..5c05670c 100644 --- a/model_subdevice_role_enum.go +++ b/model_subdevice_role_enum.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/model_supply_enum.go b/model_supply_enum.go index 84b0e75f..937767ca 100644 --- a/model_supply_enum.go +++ b/model_supply_enum.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/model_supported_data_rate.go b/model_supported_data_rate.go new file mode 100644 index 00000000..3b2571c1 --- /dev/null +++ b/model_supported_data_rate.go @@ -0,0 +1,565 @@ +/* +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 ( + "encoding/json" + "time" + "fmt" +) + +// checks if the SupportedDataRate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SupportedDataRate{} + +// SupportedDataRate 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. +type SupportedDataRate struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + Standard StandardEnum `json:"standard"` + Rate int32 `json:"rate"` + // 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. + McsIndex NullableInt32 `json:"mcs_index,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + NotesUrl string `json:"notes_url"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SupportedDataRate SupportedDataRate + +// NewSupportedDataRate instantiates a new SupportedDataRate 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 +func NewSupportedDataRate(objectType string, display string, url string, naturalSlug string, standard StandardEnum, rate int32, created NullableTime, lastUpdated NullableTime, notesUrl string) *SupportedDataRate { + this := SupportedDataRate{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.Standard = standard + this.Rate = rate + this.Created = created + this.LastUpdated = lastUpdated + this.NotesUrl = notesUrl + return &this +} + +// NewSupportedDataRateWithDefaults instantiates a new SupportedDataRate 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 +func NewSupportedDataRateWithDefaults() *SupportedDataRate { + this := SupportedDataRate{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *SupportedDataRate) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SupportedDataRate) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SupportedDataRate) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *SupportedDataRate) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *SupportedDataRate) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *SupportedDataRate) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *SupportedDataRate) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *SupportedDataRate) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *SupportedDataRate) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *SupportedDataRate) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *SupportedDataRate) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetStandard returns the Standard field value +func (o *SupportedDataRate) GetStandard() StandardEnum { + if o == nil { + var ret StandardEnum + return ret + } + + return o.Standard +} + +// GetStandardOk returns a tuple with the Standard field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetStandardOk() (*StandardEnum, bool) { + if o == nil { + return nil, false + } + return &o.Standard, true +} + +// SetStandard sets field value +func (o *SupportedDataRate) SetStandard(v StandardEnum) { + o.Standard = v +} + +// GetRate returns the Rate field value +func (o *SupportedDataRate) GetRate() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Rate +} + +// GetRateOk returns a tuple with the Rate field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetRateOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Rate, true +} + +// SetRate sets field value +func (o *SupportedDataRate) SetRate(v int32) { + o.Rate = v +} + +// GetMcsIndex returns the McsIndex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SupportedDataRate) GetMcsIndex() int32 { + if o == nil || IsNil(o.McsIndex.Get()) { + var ret int32 + return ret + } + return *o.McsIndex.Get() +} + +// GetMcsIndexOk returns a tuple with the McsIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SupportedDataRate) GetMcsIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.McsIndex.Get(), o.McsIndex.IsSet() +} + +// HasMcsIndex returns a boolean if a field has been set. +func (o *SupportedDataRate) HasMcsIndex() bool { + if o != nil && o.McsIndex.IsSet() { + return true + } + + return false +} + +// SetMcsIndex gets a reference to the given NullableInt32 and assigns it to the McsIndex field. +func (o *SupportedDataRate) SetMcsIndex(v int32) { + o.McsIndex.Set(&v) +} +// SetMcsIndexNil sets the value for McsIndex to be an explicit nil +func (o *SupportedDataRate) SetMcsIndexNil() { + o.McsIndex.Set(nil) +} + +// UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +func (o *SupportedDataRate) UnsetMcsIndex() { + o.McsIndex.Unset() +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *SupportedDataRate) GetCreated() time.Time { + if o == nil || o.Created.Get() == nil { + var ret time.Time + return ret + } + + return *o.Created.Get() +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SupportedDataRate) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *SupportedDataRate) SetCreated(v time.Time) { + o.Created.Set(&v) +} + +// GetLastUpdated returns the LastUpdated field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *SupportedDataRate) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time + return ret + } + + return *o.LastUpdated.Get() +} + +// GetLastUpdatedOk returns a tuple with the LastUpdated field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SupportedDataRate) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *SupportedDataRate) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetNotesUrl returns the NotesUrl field value +func (o *SupportedDataRate) GetNotesUrl() string { + if o == nil { + var ret string + return ret + } + + return o.NotesUrl +} + +// GetNotesUrlOk returns a tuple with the NotesUrl field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetNotesUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NotesUrl, true +} + +// SetNotesUrl sets field value +func (o *SupportedDataRate) SetNotesUrl(v string) { + o.NotesUrl = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *SupportedDataRate) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *SupportedDataRate) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *SupportedDataRate) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *SupportedDataRate) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SupportedDataRate) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *SupportedDataRate) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *SupportedDataRate) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o SupportedDataRate) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SupportedDataRate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["standard"] = o.Standard + toSerialize["rate"] = o.Rate + if o.McsIndex.IsSet() { + toSerialize["mcs_index"] = o.McsIndex.Get() + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["notes_url"] = o.NotesUrl + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SupportedDataRate) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "standard", + "rate", + "created", + "last_updated", + "notes_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSupportedDataRate := _SupportedDataRate{} + + err = json.Unmarshal(data, &varSupportedDataRate) + + if err != nil { + return err + } + + *o = SupportedDataRate(varSupportedDataRate) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "standard") + delete(additionalProperties, "rate") + delete(additionalProperties, "mcs_index") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "notes_url") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSupportedDataRate struct { + value *SupportedDataRate + isSet bool +} + +func (v NullableSupportedDataRate) Get() *SupportedDataRate { + return v.value +} + +func (v *NullableSupportedDataRate) Set(val *SupportedDataRate) { + v.value = val + v.isSet = true +} + +func (v NullableSupportedDataRate) IsSet() bool { + return v.isSet +} + +func (v *NullableSupportedDataRate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSupportedDataRate(val *SupportedDataRate) *NullableSupportedDataRate { + return &NullableSupportedDataRate{value: val, isSet: true} +} + +func (v NullableSupportedDataRate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSupportedDataRate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_supported_data_rate_request.go b/model_supported_data_rate_request.go new file mode 100644 index 00000000..10d545ad --- /dev/null +++ b/model_supported_data_rate_request.go @@ -0,0 +1,393 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the SupportedDataRateRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SupportedDataRateRequest{} + +// SupportedDataRateRequest 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. +type SupportedDataRateRequest struct { + Id *string `json:"id,omitempty"` + Standard StandardEnum `json:"standard"` + Rate int32 `json:"rate"` + // 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. + McsIndex NullableInt32 `json:"mcs_index,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SupportedDataRateRequest SupportedDataRateRequest + +// NewSupportedDataRateRequest instantiates a new SupportedDataRateRequest 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 +func NewSupportedDataRateRequest(standard StandardEnum, rate int32) *SupportedDataRateRequest { + this := SupportedDataRateRequest{} + this.Standard = standard + this.Rate = rate + return &this +} + +// NewSupportedDataRateRequestWithDefaults instantiates a new SupportedDataRateRequest 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 +func NewSupportedDataRateRequestWithDefaults() *SupportedDataRateRequest { + this := SupportedDataRateRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *SupportedDataRateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SupportedDataRateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SupportedDataRateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SupportedDataRateRequest) SetId(v string) { + o.Id = &v +} + +// GetStandard returns the Standard field value +func (o *SupportedDataRateRequest) GetStandard() StandardEnum { + if o == nil { + var ret StandardEnum + return ret + } + + return o.Standard +} + +// GetStandardOk returns a tuple with the Standard field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRateRequest) GetStandardOk() (*StandardEnum, bool) { + if o == nil { + return nil, false + } + return &o.Standard, true +} + +// SetStandard sets field value +func (o *SupportedDataRateRequest) SetStandard(v StandardEnum) { + o.Standard = v +} + +// GetRate returns the Rate field value +func (o *SupportedDataRateRequest) GetRate() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Rate +} + +// GetRateOk returns a tuple with the Rate field value +// and a boolean to check if the value has been set. +func (o *SupportedDataRateRequest) GetRateOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Rate, true +} + +// SetRate sets field value +func (o *SupportedDataRateRequest) SetRate(v int32) { + o.Rate = v +} + +// GetMcsIndex returns the McsIndex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SupportedDataRateRequest) GetMcsIndex() int32 { + if o == nil || IsNil(o.McsIndex.Get()) { + var ret int32 + return ret + } + return *o.McsIndex.Get() +} + +// GetMcsIndexOk returns a tuple with the McsIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SupportedDataRateRequest) GetMcsIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.McsIndex.Get(), o.McsIndex.IsSet() +} + +// HasMcsIndex returns a boolean if a field has been set. +func (o *SupportedDataRateRequest) HasMcsIndex() bool { + if o != nil && o.McsIndex.IsSet() { + return true + } + + return false +} + +// SetMcsIndex gets a reference to the given NullableInt32 and assigns it to the McsIndex field. +func (o *SupportedDataRateRequest) SetMcsIndex(v int32) { + o.McsIndex.Set(&v) +} +// SetMcsIndexNil sets the value for McsIndex to be an explicit nil +func (o *SupportedDataRateRequest) SetMcsIndexNil() { + o.McsIndex.Set(nil) +} + +// UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil +func (o *SupportedDataRateRequest) UnsetMcsIndex() { + o.McsIndex.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *SupportedDataRateRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SupportedDataRateRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *SupportedDataRateRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *SupportedDataRateRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *SupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SupportedDataRateRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *SupportedDataRateRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *SupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *SupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SupportedDataRateRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *SupportedDataRateRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *SupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o SupportedDataRateRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SupportedDataRateRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["standard"] = o.Standard + toSerialize["rate"] = o.Rate + if o.McsIndex.IsSet() { + toSerialize["mcs_index"] = o.McsIndex.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SupportedDataRateRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "standard", + "rate", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSupportedDataRateRequest := _SupportedDataRateRequest{} + + err = json.Unmarshal(data, &varSupportedDataRateRequest) + + if err != nil { + return err + } + + *o = SupportedDataRateRequest(varSupportedDataRateRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "standard") + delete(additionalProperties, "rate") + delete(additionalProperties, "mcs_index") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSupportedDataRateRequest struct { + value *SupportedDataRateRequest + isSet bool +} + +func (v NullableSupportedDataRateRequest) Get() *SupportedDataRateRequest { + return v.value +} + +func (v *NullableSupportedDataRateRequest) Set(val *SupportedDataRateRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSupportedDataRateRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSupportedDataRateRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSupportedDataRateRequest(val *SupportedDataRateRequest) *NullableSupportedDataRateRequest { + return &NullableSupportedDataRateRequest{value: val, isSet: true} +} + +func (v NullableSupportedDataRateRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSupportedDataRateRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_swagger_retrieve_format_parameter.go b/model_swagger_retrieve_format_parameter.go index ddb45fac..33356368 100644 --- a/model_swagger_retrieve_format_parameter.go +++ b/model_swagger_retrieve_format_parameter.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/model_swagger_retrieve_lang_parameter.go b/model_swagger_retrieve_lang_parameter.go index b0a19437..26443939 100644 --- a/model_swagger_retrieve_lang_parameter.go +++ b/model_swagger_retrieve_lang_parameter.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/model_tag.go b/model_tag.go index 6bd843a4..f27a659a 100644 --- a/model_tag.go +++ b/model_tag.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Tag{} // Tag 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. type Tag struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -46,9 +46,8 @@ type _Tag Tag // 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 -func NewTag(id string, objectType string, display string, url string, naturalSlug string, taggedItems int32, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Tag { +func NewTag(objectType string, display string, url string, naturalSlug string, taggedItems int32, contentTypes []string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Tag { this := Tag{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -70,28 +69,36 @@ func NewTagWithDefaults() *Tag { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Tag) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Tag) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Tag) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Tag) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -444,7 +451,9 @@ func (o Tag) MarshalJSON() ([]byte, error) { func (o Tag) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -477,7 +486,6 @@ func (o *Tag) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_tag_request.go b/model_tag_request.go index 70af9191..96fbcbd6 100644 --- a/model_tag_request.go +++ b/model_tag_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &TagRequest{} // TagRequest 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. type TagRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Name string `json:"name"` // RGB color in hexadecimal (e.g. 00ff00) @@ -51,6 +52,38 @@ func NewTagRequestWithDefaults() *TagRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *TagRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TagRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TagRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *TagRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *TagRequest) GetContentTypes() []string { if o == nil { @@ -237,6 +270,9 @@ func (o TagRequest) MarshalJSON() ([]byte, error) { func (o TagRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["name"] = o.Name if !IsNil(o.Color) { @@ -295,6 +331,7 @@ func (o *TagRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "color") diff --git a/model_tagged_vlans.go b/model_tagged_vlans.go index 14ac7135..19e86385 100644 --- a/model_tagged_vlans.go +++ b/model_tagged_vlans.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/model_team.go b/model_team.go index 5996b62f..abda7346 100644 --- a/model_team.go +++ b/model_team.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. @@ -21,22 +21,23 @@ var _ MappedNullable = &Team{} // Team 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. type Team struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` Url string `json:"url"` NaturalSlug string `json:"natural_slug"` - Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` Name string `json:"name"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` Address *string `json:"address,omitempty"` Comments *string `json:"comments,omitempty"` + Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -46,9 +47,8 @@ type _Team Team // 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 -func NewTeam(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Team { +func NewTeam(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Team { this := Team{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -76,28 +76,36 @@ func NewTeamWithDefaults() *Team { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Team) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Team) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *Team) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Team) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -196,38 +204,6 @@ func (o *Team) SetNaturalSlug(v string) { o.NaturalSlug = v } -// GetContacts returns the Contacts field value if set, zero value otherwise. -func (o *Team) GetContacts() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Contacts) { - var ret []BulkWritableCableRequestStatus - return ret - } - return o.Contacts -} - -// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Team) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Contacts) { - return nil, false - } - return o.Contacts, true -} - -// HasContacts returns a boolean if a field has been set. -func (o *Team) HasContacts() bool { - if o != nil && !IsNil(o.Contacts) { - return true - } - - return false -} - -// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. -func (o *Team) SetContacts(v []BulkWritableCableRequestStatus) { - o.Contacts = v -} - // GetName returns the Name field value func (o *Team) GetName() string { if o == nil { @@ -380,6 +356,38 @@ func (o *Team) SetComments(v string) { o.Comments = &v } +// GetContacts returns the Contacts field value if set, zero value otherwise. +func (o *Team) GetContacts() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Contacts) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Contacts +} + +// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Team) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Contacts) { + return nil, false + } + return o.Contacts, true +} + +// HasContacts returns a boolean if a field has been set. +func (o *Team) HasContacts() bool { + if o != nil && !IsNil(o.Contacts) { + return true + } + + return false +} + +// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. +func (o *Team) SetContacts(v []BulkWritableCableRequestStatus) { + o.Contacts = v +} + // GetCreated returns the Created field value // If the value is explicit nil, the zero value for time.Time will be returned func (o *Team) GetCreated() time.Time { @@ -488,6 +496,38 @@ func (o *Team) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Team) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Team) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *Team) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *Team) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o Team) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -498,14 +538,13 @@ func (o Team) MarshalJSON() ([]byte, error) { func (o Team) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug - if !IsNil(o.Contacts) { - toSerialize["contacts"] = o.Contacts - } toSerialize["name"] = o.Name if !IsNil(o.Phone) { toSerialize["phone"] = o.Phone @@ -519,12 +558,18 @@ func (o Team) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } + if !IsNil(o.Contacts) { + toSerialize["contacts"] = o.Contacts + } toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["notes_url"] = o.NotesUrl if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -538,7 +583,6 @@ func (o *Team) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -581,16 +625,17 @@ func (o *Team) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "display") delete(additionalProperties, "url") delete(additionalProperties, "natural_slug") - delete(additionalProperties, "contacts") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") delete(additionalProperties, "address") delete(additionalProperties, "comments") + delete(additionalProperties, "contacts") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_team_request.go b/model_team_request.go index cd05cd3a..9002fd01 100644 --- a/model_team_request.go +++ b/model_team_request.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. @@ -20,14 +20,16 @@ var _ MappedNullable = &TeamRequest{} // TeamRequest 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. type TeamRequest struct { - Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` + Id *string `json:"id,omitempty"` Name string `json:"name"` Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` Address *string `json:"address,omitempty"` Comments *string `json:"comments,omitempty"` + Contacts []BulkWritableCableRequestStatus `json:"contacts,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -59,36 +61,36 @@ func NewTeamRequestWithDefaults() *TeamRequest { return &this } -// GetContacts returns the Contacts field value if set, zero value otherwise. -func (o *TeamRequest) GetContacts() []BulkWritableCableRequestStatus { - if o == nil || IsNil(o.Contacts) { - var ret []BulkWritableCableRequestStatus +// GetId returns the Id field value if set, zero value otherwise. +func (o *TeamRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string return ret } - return o.Contacts + return *o.Id } -// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { - if o == nil || IsNil(o.Contacts) { +func (o *TeamRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { return nil, false } - return o.Contacts, true + return o.Id, true } -// HasContacts returns a boolean if a field has been set. -func (o *TeamRequest) HasContacts() bool { - if o != nil && !IsNil(o.Contacts) { +// HasId returns a boolean if a field has been set. +func (o *TeamRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { return true } return false } -// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. -func (o *TeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { - o.Contacts = v +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *TeamRequest) SetId(v string) { + o.Id = &v } // GetName returns the Name field value @@ -243,6 +245,38 @@ func (o *TeamRequest) SetComments(v string) { o.Comments = &v } +// GetContacts returns the Contacts field value if set, zero value otherwise. +func (o *TeamRequest) GetContacts() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Contacts) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Contacts +} + +// GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TeamRequest) GetContactsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Contacts) { + return nil, false + } + return o.Contacts, true +} + +// HasContacts returns a boolean if a field has been set. +func (o *TeamRequest) HasContacts() bool { + if o != nil && !IsNil(o.Contacts) { + return true + } + + return false +} + +// SetContacts gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Contacts field. +func (o *TeamRequest) SetContacts(v []BulkWritableCableRequestStatus) { + o.Contacts = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *TeamRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -307,6 +341,38 @@ func (o *TeamRequest) SetRelationships(v map[string]BulkWritableCableRequestRela o.Relationships = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *TeamRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TeamRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *TeamRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *TeamRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + func (o TeamRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -317,8 +383,8 @@ func (o TeamRequest) MarshalJSON() ([]byte, error) { func (o TeamRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.Contacts) { - toSerialize["contacts"] = o.Contacts + if !IsNil(o.Id) { + toSerialize["id"] = o.Id } toSerialize["name"] = o.Name if !IsNil(o.Phone) { @@ -333,12 +399,18 @@ func (o TeamRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } + if !IsNil(o.Contacts) { + toSerialize["contacts"] = o.Contacts + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -382,14 +454,16 @@ func (o *TeamRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "contacts") + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "phone") delete(additionalProperties, "email") delete(additionalProperties, "address") delete(additionalProperties, "comments") + delete(additionalProperties, "contacts") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_tenant.go b/model_tenant.go index 6f22f43a..0fd2e1bf 100644 --- a/model_tenant.go +++ b/model_tenant.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Tenant{} // Tenant 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. type Tenant struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -54,9 +54,8 @@ type _Tenant Tenant // 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 -func NewTenant(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Tenant { +func NewTenant(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Tenant { this := Tenant{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -76,28 +75,36 @@ func NewTenantWithDefaults() *Tenant { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Tenant) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Tenant) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Tenant) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Tenant) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -764,7 +771,9 @@ func (o Tenant) MarshalJSON() ([]byte, error) { func (o Tenant) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -828,7 +837,6 @@ func (o *Tenant) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_tenant_group.go b/model_tenant_group.go index 9c83c7bc..dd6959dd 100644 --- a/model_tenant_group.go +++ b/model_tenant_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &TenantGroup{} // TenantGroup 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. type TenantGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _TenantGroup TenantGroup // 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 -func NewTenantGroup(id string, objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *TenantGroup { +func NewTenantGroup(objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *TenantGroup { this := TenantGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -68,28 +67,36 @@ func NewTenantGroupWithDefaults() *TenantGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *TenantGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *TenantGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TenantGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *TenantGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -462,7 +469,9 @@ func (o TenantGroup) MarshalJSON() ([]byte, error) { func (o TenantGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -497,7 +506,6 @@ func (o *TenantGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_tenant_group_request.go b/model_tenant_group_request.go index 889a1149..cd4b2fcd 100644 --- a/model_tenant_group_request.go +++ b/model_tenant_group_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &TenantGroupRequest{} // TenantGroupRequest 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. type TenantGroupRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Parent NullableBulkWritableCircuitRequestTenant `json:"parent,omitempty"` @@ -48,6 +49,38 @@ func NewTenantGroupRequestWithDefaults() *TenantGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *TenantGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TenantGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TenantGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *TenantGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *TenantGroupRequest) GetName() string { if o == nil { @@ -220,6 +253,9 @@ func (o TenantGroupRequest) MarshalJSON() ([]byte, error) { func (o TenantGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -276,6 +312,7 @@ func (o *TenantGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "parent") diff --git a/model_tenant_request.go b/model_tenant_request.go index 38a4c3df..f1b62161 100644 --- a/model_tenant_request.go +++ b/model_tenant_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &TenantRequest{} // TenantRequest 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. type TenantRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -50,6 +51,38 @@ func NewTenantRequestWithDefaults() *TenantRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *TenantRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TenantRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TenantRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *TenantRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *TenantRequest) GetName() string { if o == nil { @@ -286,6 +319,9 @@ func (o TenantRequest) MarshalJSON() ([]byte, error) { func (o TenantRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -348,6 +384,7 @@ func (o *TenantRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "comments") diff --git a/model_term_side_enum.go b/model_term_side_enum.go index fc5f0de5..f71ffee4 100644 --- a/model_term_side_enum.go +++ b/model_term_side_enum.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/model_token.go b/model_token.go index b4ec401d..c9fa3309 100644 --- a/model_token.go +++ b/model_token.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Token{} // Token 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) type Token struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -42,9 +42,8 @@ type _Token Token // 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 -func NewToken(id string, objectType string, display string, url string, naturalSlug string, created time.Time) *Token { +func NewToken(objectType string, display string, url string, naturalSlug string, created time.Time) *Token { this := Token{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -61,28 +60,36 @@ func NewTokenWithDefaults() *Token { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Token) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Token) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Token) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Token) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -353,7 +360,9 @@ func (o Token) MarshalJSON() ([]byte, error) { func (o Token) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -384,7 +393,6 @@ func (o *Token) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_token_request.go b/model_token_request.go index 28c461ab..59924105 100644 --- a/model_token_request.go +++ b/model_token_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &TokenRequest{} // TokenRequest 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) type TokenRequest struct { + Id *string `json:"id,omitempty"` Key *string `json:"key,omitempty"` Expires NullableTime `json:"expires,omitempty"` // Permit create/update/delete operations using this key @@ -47,6 +48,38 @@ func NewTokenRequestWithDefaults() *TokenRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *TokenRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TokenRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TokenRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *TokenRequest) SetId(v string) { + o.Id = &v +} + // GetKey returns the Key field value if set, zero value otherwise. func (o *TokenRequest) GetKey() string { if o == nil || IsNil(o.Key) { @@ -195,6 +228,9 @@ func (o TokenRequest) MarshalJSON() ([]byte, error) { func (o TokenRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.Key) { toSerialize["key"] = o.Key } @@ -229,6 +265,7 @@ func (o *TokenRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "key") delete(additionalProperties, "expires") delete(additionalProperties, "write_enabled") diff --git a/model_user.go b/model_user.go index d0aabecf..2b39ac1b 100644 --- a/model_user.go +++ b/model_user.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &User{} // User 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) type User struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -54,9 +54,8 @@ type _User User // 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 -func NewUser(id string, objectType string, display string, url string, naturalSlug string, username string, defaultSavedViews []UserSpecificDefaultSavedViews) *User { +func NewUser(objectType string, display string, url string, naturalSlug string, username string, defaultSavedViews []UserSpecificDefaultSavedViews) *User { this := User{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -74,28 +73,36 @@ func NewUserWithDefaults() *User { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *User) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *User) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *User) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *User) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -583,7 +590,9 @@ func (o User) MarshalJSON() ([]byte, error) { func (o User) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -633,7 +642,6 @@ func (o *User) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_user_request.go b/model_user_request.go index 64b21569..b5258fad 100644 --- a/model_user_request.go +++ b/model_user_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &UserRequest{} // UserRequest 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) type UserRequest struct { + Id *string `json:"id,omitempty"` Password NullableString `json:"password,omitempty"` LastLogin NullableTime `json:"last_login,omitempty"` // Designates that this user has all permissions without explicitly assigning them. @@ -61,6 +62,38 @@ func NewUserRequestWithDefaults() *UserRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *UserRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *UserRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *UserRequest) SetId(v string) { + o.Id = &v +} + // GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). func (o *UserRequest) GetPassword() string { if o == nil || IsNil(o.Password.Get()) { @@ -468,6 +501,9 @@ func (o UserRequest) MarshalJSON() ([]byte, error) { func (o UserRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Password.IsSet() { toSerialize["password"] = o.Password.Get() } @@ -545,6 +581,7 @@ func (o *UserRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "password") delete(additionalProperties, "last_login") delete(additionalProperties, "is_superuser") diff --git a/model_user_saved_view_association.go b/model_user_saved_view_association.go index 6e81c687..09023471 100644 --- a/model_user_saved_view_association.go +++ b/model_user_saved_view_association.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &UserSavedViewAssociation{} // UserSavedViewAssociation 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) type UserSavedViewAssociation struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -38,9 +38,8 @@ type _UserSavedViewAssociation UserSavedViewAssociation // 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 -func NewUserSavedViewAssociation(id string, objectType string, display string, url string, naturalSlug string, viewName string, savedView BulkWritableCableRequestStatus, user BulkWritableCableRequestStatus) *UserSavedViewAssociation { +func NewUserSavedViewAssociation(objectType string, display string, url string, naturalSlug string, viewName string, savedView BulkWritableCableRequestStatus, user BulkWritableCableRequestStatus) *UserSavedViewAssociation { this := UserSavedViewAssociation{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -59,28 +58,36 @@ func NewUserSavedViewAssociationWithDefaults() *UserSavedViewAssociation { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *UserSavedViewAssociation) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *UserSavedViewAssociation) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *UserSavedViewAssociation) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *UserSavedViewAssociation) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -261,7 +268,9 @@ func (o UserSavedViewAssociation) MarshalJSON() ([]byte, error) { func (o UserSavedViewAssociation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -282,7 +291,6 @@ func (o *UserSavedViewAssociation) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_user_saved_view_association_request.go b/model_user_saved_view_association_request.go index 3aee0366..72adaf07 100644 --- a/model_user_saved_view_association_request.go +++ b/model_user_saved_view_association_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &UserSavedViewAssociationRequest{} // UserSavedViewAssociationRequest 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) type UserSavedViewAssociationRequest struct { + Id *string `json:"id,omitempty"` ViewName string `json:"view_name"` SavedView BulkWritableCableRequestStatus `json:"saved_view"` User BulkWritableCableRequestStatus `json:"user"` @@ -48,6 +49,38 @@ func NewUserSavedViewAssociationRequestWithDefaults() *UserSavedViewAssociationR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *UserSavedViewAssociationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserSavedViewAssociationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *UserSavedViewAssociationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *UserSavedViewAssociationRequest) SetId(v string) { + o.Id = &v +} + // GetViewName returns the ViewName field value func (o *UserSavedViewAssociationRequest) GetViewName() string { if o == nil { @@ -130,6 +163,9 @@ func (o UserSavedViewAssociationRequest) MarshalJSON() ([]byte, error) { func (o UserSavedViewAssociationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["view_name"] = o.ViewName toSerialize["saved_view"] = o.SavedView toSerialize["user"] = o.User @@ -178,6 +214,7 @@ func (o *UserSavedViewAssociationRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "view_name") delete(additionalProperties, "saved_view") delete(additionalProperties, "user") diff --git a/model_user_specific_default_saved_views.go b/model_user_specific_default_saved_views.go index 2c65a98b..406f3f9e 100644 --- a/model_user_specific_default_saved_views.go +++ b/model_user_specific_default_saved_views.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/model_virtual_chassis.go b/model_virtual_chassis.go index e5f7bb00..e7bbc266 100644 --- a/model_virtual_chassis.go +++ b/model_virtual_chassis.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &VirtualChassis{} // VirtualChassis 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. type VirtualChassis struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -45,9 +45,8 @@ type _VirtualChassis VirtualChassis // 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 -func NewVirtualChassis(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *VirtualChassis { +func NewVirtualChassis(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *VirtualChassis { this := VirtualChassis{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -67,28 +66,36 @@ func NewVirtualChassisWithDefaults() *VirtualChassis { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VirtualChassis) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VirtualChassis) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VirtualChassis) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VirtualChassis) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -467,7 +474,9 @@ func (o VirtualChassis) MarshalJSON() ([]byte, error) { func (o VirtualChassis) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -504,7 +513,6 @@ func (o *VirtualChassis) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_virtual_chassis_request.go b/model_virtual_chassis_request.go index 758cd23b..e25f8738 100644 --- a/model_virtual_chassis_request.go +++ b/model_virtual_chassis_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &VirtualChassisRequest{} // VirtualChassisRequest 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. type VirtualChassisRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Domain *string `json:"domain,omitempty"` Master NullableBulkWritableCircuitRequestTenant `json:"master,omitempty"` @@ -49,6 +50,38 @@ func NewVirtualChassisRequestWithDefaults() *VirtualChassisRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VirtualChassisRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualChassisRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VirtualChassisRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VirtualChassisRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *VirtualChassisRequest) GetName() string { if o == nil { @@ -253,6 +286,9 @@ func (o VirtualChassisRequest) MarshalJSON() ([]byte, error) { func (o VirtualChassisRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Domain) { toSerialize["domain"] = o.Domain @@ -312,6 +348,7 @@ func (o *VirtualChassisRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "domain") delete(additionalProperties, "master") diff --git a/model_virtual_device_context.go b/model_virtual_device_context.go new file mode 100644 index 00000000..765723e3 --- /dev/null +++ b/model_virtual_device_context.go @@ -0,0 +1,848 @@ +/* +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 ( + "encoding/json" + "time" + "fmt" +) + +// checks if the VirtualDeviceContext type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &VirtualDeviceContext{} + +// VirtualDeviceContext 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. +type VirtualDeviceContext struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + Name string `json:"name"` + // Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) + Identifier NullableInt32 `json:"identifier,omitempty"` + Description *string `json:"description,omitempty"` + Device BulkWritableCableRequestStatus `json:"device"` + Status BulkWritableCableRequestStatus `json:"status"` + Role NullableBulkWritableCircuitRequestTenant `json:"role,omitempty"` + PrimaryIp4 NullablePrimaryIPv4 `json:"primary_ip4,omitempty"` + PrimaryIp6 NullablePrimaryIPv6 `json:"primary_ip6,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Interfaces []BulkWritableCableRequestStatus `json:"interfaces"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + NotesUrl string `json:"notes_url"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _VirtualDeviceContext VirtualDeviceContext + +// NewVirtualDeviceContext instantiates a new VirtualDeviceContext 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 +func NewVirtualDeviceContext(objectType string, display string, url string, naturalSlug string, name string, device BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, interfaces []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *VirtualDeviceContext { + this := VirtualDeviceContext{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.Name = name + this.Device = device + this.Status = status + this.Interfaces = interfaces + this.Created = created + this.LastUpdated = lastUpdated + this.NotesUrl = notesUrl + return &this +} + +// NewVirtualDeviceContextWithDefaults instantiates a new VirtualDeviceContext 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 +func NewVirtualDeviceContextWithDefaults() *VirtualDeviceContext { + this := VirtualDeviceContext{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *VirtualDeviceContext) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VirtualDeviceContext) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *VirtualDeviceContext) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *VirtualDeviceContext) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *VirtualDeviceContext) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *VirtualDeviceContext) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *VirtualDeviceContext) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *VirtualDeviceContext) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *VirtualDeviceContext) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *VirtualDeviceContext) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetName returns the Name field value +func (o *VirtualDeviceContext) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *VirtualDeviceContext) SetName(v string) { + o.Name = v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContext) GetIdentifier() int32 { + if o == nil || IsNil(o.Identifier.Get()) { + var ret int32 + return ret + } + return *o.Identifier.Get() +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContext) GetIdentifierOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Identifier.Get(), o.Identifier.IsSet() +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableInt32 and assigns it to the Identifier field. +func (o *VirtualDeviceContext) SetIdentifier(v int32) { + o.Identifier.Set(&v) +} +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *VirtualDeviceContext) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *VirtualDeviceContext) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *VirtualDeviceContext) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *VirtualDeviceContext) SetDescription(v string) { + o.Description = &v +} + +// GetDevice returns the Device field value +func (o *VirtualDeviceContext) GetDevice() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Device +} + +// GetDeviceOk returns a tuple with the Device field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetDeviceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *VirtualDeviceContext) SetDevice(v BulkWritableCableRequestStatus) { + o.Device = v +} + +// GetStatus returns the Status field value +func (o *VirtualDeviceContext) GetStatus() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetStatusOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *VirtualDeviceContext) SetStatus(v BulkWritableCableRequestStatus) { + o.Status = v +} + +// GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContext) GetRole() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Role.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Role.Get() +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContext) GetRoleOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Role.Get(), o.Role.IsSet() +} + +// HasRole returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Role field. +func (o *VirtualDeviceContext) SetRole(v BulkWritableCircuitRequestTenant) { + o.Role.Set(&v) +} +// SetRoleNil sets the value for Role to be an explicit nil +func (o *VirtualDeviceContext) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *VirtualDeviceContext) UnsetRole() { + o.Role.Unset() +} + +// GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContext) GetPrimaryIp4() PrimaryIPv4 { + if o == nil || IsNil(o.PrimaryIp4.Get()) { + var ret PrimaryIPv4 + return ret + } + return *o.PrimaryIp4.Get() +} + +// GetPrimaryIp4Ok returns a tuple with the PrimaryIp4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContext) GetPrimaryIp4Ok() (*PrimaryIPv4, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp4.Get(), o.PrimaryIp4.IsSet() +} + +// HasPrimaryIp4 returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasPrimaryIp4() bool { + if o != nil && o.PrimaryIp4.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp4 gets a reference to the given NullablePrimaryIPv4 and assigns it to the PrimaryIp4 field. +func (o *VirtualDeviceContext) SetPrimaryIp4(v PrimaryIPv4) { + o.PrimaryIp4.Set(&v) +} +// SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil +func (o *VirtualDeviceContext) SetPrimaryIp4Nil() { + o.PrimaryIp4.Set(nil) +} + +// UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +func (o *VirtualDeviceContext) UnsetPrimaryIp4() { + o.PrimaryIp4.Unset() +} + +// GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContext) GetPrimaryIp6() PrimaryIPv6 { + if o == nil || IsNil(o.PrimaryIp6.Get()) { + var ret PrimaryIPv6 + return ret + } + return *o.PrimaryIp6.Get() +} + +// GetPrimaryIp6Ok returns a tuple with the PrimaryIp6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContext) GetPrimaryIp6Ok() (*PrimaryIPv6, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp6.Get(), o.PrimaryIp6.IsSet() +} + +// HasPrimaryIp6 returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasPrimaryIp6() bool { + if o != nil && o.PrimaryIp6.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp6 gets a reference to the given NullablePrimaryIPv6 and assigns it to the PrimaryIp6 field. +func (o *VirtualDeviceContext) SetPrimaryIp6(v PrimaryIPv6) { + o.PrimaryIp6.Set(&v) +} +// SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil +func (o *VirtualDeviceContext) SetPrimaryIp6Nil() { + o.PrimaryIp6.Set(nil) +} + +// UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +func (o *VirtualDeviceContext) UnsetPrimaryIp6() { + o.PrimaryIp6.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContext) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContext) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *VirtualDeviceContext) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *VirtualDeviceContext) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *VirtualDeviceContext) UnsetTenant() { + o.Tenant.Unset() +} + +// GetInterfaces returns the Interfaces field value +func (o *VirtualDeviceContext) GetInterfaces() []BulkWritableCableRequestStatus { + if o == nil { + var ret []BulkWritableCableRequestStatus + return ret + } + + return o.Interfaces +} + +// GetInterfacesOk returns a tuple with the Interfaces field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetInterfacesOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return o.Interfaces, true +} + +// SetInterfaces sets field value +func (o *VirtualDeviceContext) SetInterfaces(v []BulkWritableCableRequestStatus) { + o.Interfaces = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *VirtualDeviceContext) GetCreated() time.Time { + if o == nil || o.Created.Get() == nil { + var ret time.Time + return ret + } + + return *o.Created.Get() +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContext) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *VirtualDeviceContext) SetCreated(v time.Time) { + o.Created.Set(&v) +} + +// GetLastUpdated returns the LastUpdated field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *VirtualDeviceContext) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time + return ret + } + + return *o.LastUpdated.Get() +} + +// GetLastUpdatedOk returns a tuple with the LastUpdated field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContext) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *VirtualDeviceContext) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetNotesUrl returns the NotesUrl field value +func (o *VirtualDeviceContext) GetNotesUrl() string { + if o == nil { + var ret string + return ret + } + + return o.NotesUrl +} + +// GetNotesUrlOk returns a tuple with the NotesUrl field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetNotesUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NotesUrl, true +} + +// SetNotesUrl sets field value +func (o *VirtualDeviceContext) SetNotesUrl(v string) { + o.NotesUrl = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VirtualDeviceContext) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *VirtualDeviceContext) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VirtualDeviceContext) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *VirtualDeviceContext) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o VirtualDeviceContext) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o VirtualDeviceContext) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["name"] = o.Name + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["device"] = o.Device + toSerialize["status"] = o.Status + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if o.PrimaryIp4.IsSet() { + toSerialize["primary_ip4"] = o.PrimaryIp4.Get() + } + if o.PrimaryIp6.IsSet() { + toSerialize["primary_ip6"] = o.PrimaryIp6.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + toSerialize["interfaces"] = o.Interfaces + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["notes_url"] = o.NotesUrl + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *VirtualDeviceContext) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "name", + "device", + "status", + "interfaces", + "created", + "last_updated", + "notes_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varVirtualDeviceContext := _VirtualDeviceContext{} + + err = json.Unmarshal(data, &varVirtualDeviceContext) + + if err != nil { + return err + } + + *o = VirtualDeviceContext(varVirtualDeviceContext) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "name") + delete(additionalProperties, "identifier") + delete(additionalProperties, "description") + delete(additionalProperties, "device") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "primary_ip4") + delete(additionalProperties, "primary_ip6") + delete(additionalProperties, "tenant") + delete(additionalProperties, "interfaces") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "notes_url") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableVirtualDeviceContext struct { + value *VirtualDeviceContext + isSet bool +} + +func (v NullableVirtualDeviceContext) Get() *VirtualDeviceContext { + return v.value +} + +func (v *NullableVirtualDeviceContext) Set(val *VirtualDeviceContext) { + v.value = val + v.isSet = true +} + +func (v NullableVirtualDeviceContext) IsSet() bool { + return v.isSet +} + +func (v *NullableVirtualDeviceContext) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVirtualDeviceContext(val *VirtualDeviceContext) *NullableVirtualDeviceContext { + return &NullableVirtualDeviceContext{value: val, isSet: true} +} + +func (v NullableVirtualDeviceContext) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVirtualDeviceContext) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_virtual_device_context_request.go b/model_virtual_device_context_request.go new file mode 100644 index 00000000..a79a1459 --- /dev/null +++ b/model_virtual_device_context_request.go @@ -0,0 +1,647 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the VirtualDeviceContextRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &VirtualDeviceContextRequest{} + +// VirtualDeviceContextRequest 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. +type VirtualDeviceContextRequest struct { + Id *string `json:"id,omitempty"` + Name string `json:"name"` + // Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) + Identifier NullableInt32 `json:"identifier,omitempty"` + Description *string `json:"description,omitempty"` + Device BulkWritableCableRequestStatus `json:"device"` + Status BulkWritableCableRequestStatus `json:"status"` + Role NullableBulkWritableCircuitRequestTenant `json:"role,omitempty"` + PrimaryIp4 NullablePrimaryIPv4 `json:"primary_ip4,omitempty"` + PrimaryIp6 NullablePrimaryIPv6 `json:"primary_ip6,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _VirtualDeviceContextRequest VirtualDeviceContextRequest + +// NewVirtualDeviceContextRequest instantiates a new VirtualDeviceContextRequest 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 +func NewVirtualDeviceContextRequest(name string, device BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus) *VirtualDeviceContextRequest { + this := VirtualDeviceContextRequest{} + this.Name = name + this.Device = device + this.Status = status + return &this +} + +// NewVirtualDeviceContextRequestWithDefaults instantiates a new VirtualDeviceContextRequest 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 +func NewVirtualDeviceContextRequestWithDefaults() *VirtualDeviceContextRequest { + this := VirtualDeviceContextRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *VirtualDeviceContextRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VirtualDeviceContextRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value +func (o *VirtualDeviceContextRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *VirtualDeviceContextRequest) SetName(v string) { + o.Name = v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContextRequest) GetIdentifier() int32 { + if o == nil || IsNil(o.Identifier.Get()) { + var ret int32 + return ret + } + return *o.Identifier.Get() +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContextRequest) GetIdentifierOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Identifier.Get(), o.Identifier.IsSet() +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableInt32 and assigns it to the Identifier field. +func (o *VirtualDeviceContextRequest) SetIdentifier(v int32) { + o.Identifier.Set(&v) +} +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *VirtualDeviceContextRequest) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *VirtualDeviceContextRequest) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *VirtualDeviceContextRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *VirtualDeviceContextRequest) SetDescription(v string) { + o.Description = &v +} + +// GetDevice returns the Device field value +func (o *VirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Device +} + +// GetDeviceOk returns a tuple with the Device field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetDeviceOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *VirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus) { + o.Device = v +} + +// GetStatus returns the Status field value +func (o *VirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetStatusOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *VirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus) { + o.Status = v +} + +// GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Role.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Role.Get() +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContextRequest) GetRoleOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Role.Get(), o.Role.IsSet() +} + +// HasRole returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Role field. +func (o *VirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant) { + o.Role.Set(&v) +} +// SetRoleNil sets the value for Role to be an explicit nil +func (o *VirtualDeviceContextRequest) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *VirtualDeviceContextRequest) UnsetRole() { + o.Role.Unset() +} + +// GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4 { + if o == nil || IsNil(o.PrimaryIp4.Get()) { + var ret PrimaryIPv4 + return ret + } + return *o.PrimaryIp4.Get() +} + +// GetPrimaryIp4Ok returns a tuple with the PrimaryIp4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContextRequest) GetPrimaryIp4Ok() (*PrimaryIPv4, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp4.Get(), o.PrimaryIp4.IsSet() +} + +// HasPrimaryIp4 returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasPrimaryIp4() bool { + if o != nil && o.PrimaryIp4.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp4 gets a reference to the given NullablePrimaryIPv4 and assigns it to the PrimaryIp4 field. +func (o *VirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4) { + o.PrimaryIp4.Set(&v) +} +// SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil +func (o *VirtualDeviceContextRequest) SetPrimaryIp4Nil() { + o.PrimaryIp4.Set(nil) +} + +// UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil +func (o *VirtualDeviceContextRequest) UnsetPrimaryIp4() { + o.PrimaryIp4.Unset() +} + +// GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6 { + if o == nil || IsNil(o.PrimaryIp6.Get()) { + var ret PrimaryIPv6 + return ret + } + return *o.PrimaryIp6.Get() +} + +// GetPrimaryIp6Ok returns a tuple with the PrimaryIp6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContextRequest) GetPrimaryIp6Ok() (*PrimaryIPv6, bool) { + if o == nil { + return nil, false + } + return o.PrimaryIp6.Get(), o.PrimaryIp6.IsSet() +} + +// HasPrimaryIp6 returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasPrimaryIp6() bool { + if o != nil && o.PrimaryIp6.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp6 gets a reference to the given NullablePrimaryIPv6 and assigns it to the PrimaryIp6 field. +func (o *VirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6) { + o.PrimaryIp6.Set(&v) +} +// SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil +func (o *VirtualDeviceContextRequest) SetPrimaryIp6Nil() { + o.PrimaryIp6.Set(nil) +} + +// UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil +func (o *VirtualDeviceContextRequest) UnsetPrimaryIp6() { + o.PrimaryIp6.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VirtualDeviceContextRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *VirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *VirtualDeviceContextRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *VirtualDeviceContextRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VirtualDeviceContextRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *VirtualDeviceContextRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *VirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *VirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContextRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *VirtualDeviceContextRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *VirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o VirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o VirtualDeviceContextRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["name"] = o.Name + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["device"] = o.Device + toSerialize["status"] = o.Status + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if o.PrimaryIp4.IsSet() { + toSerialize["primary_ip4"] = o.PrimaryIp4.Get() + } + if o.PrimaryIp6.IsSet() { + toSerialize["primary_ip6"] = o.PrimaryIp6.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *VirtualDeviceContextRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "device", + "status", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varVirtualDeviceContextRequest := _VirtualDeviceContextRequest{} + + err = json.Unmarshal(data, &varVirtualDeviceContextRequest) + + if err != nil { + return err + } + + *o = VirtualDeviceContextRequest(varVirtualDeviceContextRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "identifier") + delete(additionalProperties, "description") + delete(additionalProperties, "device") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "primary_ip4") + delete(additionalProperties, "primary_ip6") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableVirtualDeviceContextRequest struct { + value *VirtualDeviceContextRequest + isSet bool +} + +func (v NullableVirtualDeviceContextRequest) Get() *VirtualDeviceContextRequest { + return v.value +} + +func (v *NullableVirtualDeviceContextRequest) Set(val *VirtualDeviceContextRequest) { + v.value = val + v.isSet = true +} + +func (v NullableVirtualDeviceContextRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableVirtualDeviceContextRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVirtualDeviceContextRequest(val *VirtualDeviceContextRequest) *NullableVirtualDeviceContextRequest { + return &NullableVirtualDeviceContextRequest{value: val, isSet: true} +} + +func (v NullableVirtualDeviceContextRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVirtualDeviceContextRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_virtual_machine.go b/model_virtual_machine.go index b93a9ba5..e8d9eec6 100644 --- a/model_virtual_machine.go +++ b/model_virtual_machine.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &VirtualMachine{} // VirtualMachine 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. type VirtualMachine struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -60,9 +60,8 @@ type _VirtualMachine VirtualMachine // 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 -func NewVirtualMachine(id string, objectType string, display string, url string, naturalSlug string, name string, cluster BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *VirtualMachine { +func NewVirtualMachine(objectType string, display string, url string, naturalSlug string, name string, cluster BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *VirtualMachine { this := VirtualMachine{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -84,28 +83,36 @@ func NewVirtualMachineWithDefaults() *VirtualMachine { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VirtualMachine) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VirtualMachine) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VirtualMachine) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VirtualMachine) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -1027,7 +1034,9 @@ func (o VirtualMachine) MarshalJSON() ([]byte, error) { func (o VirtualMachine) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -1102,7 +1111,6 @@ func (o *VirtualMachine) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_virtual_machine_request.go b/model_virtual_machine_request.go index e495879a..f6eb65e3 100644 --- a/model_virtual_machine_request.go +++ b/model_virtual_machine_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &VirtualMachineRequest{} // VirtualMachineRequest 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. type VirtualMachineRequest struct { + Id *string `json:"id,omitempty"` LocalConfigContextData interface{} `json:"local_config_context_data,omitempty"` LocalConfigContextDataOwnerObjectId NullableString `json:"local_config_context_data_owner_object_id,omitempty"` Name string `json:"name"` @@ -67,6 +68,38 @@ func NewVirtualMachineRequestWithDefaults() *VirtualMachineRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VirtualMachineRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualMachineRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VirtualMachineRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VirtualMachineRequest) SetId(v string) { + o.Id = &v +} + // GetLocalConfigContextData returns the LocalConfigContextData field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VirtualMachineRequest) GetLocalConfigContextData() interface{} { if o == nil { @@ -846,6 +879,9 @@ func (o VirtualMachineRequest) MarshalJSON() ([]byte, error) { func (o VirtualMachineRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.LocalConfigContextData != nil { toSerialize["local_config_context_data"] = o.LocalConfigContextData } @@ -948,6 +984,7 @@ func (o *VirtualMachineRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "local_config_context_data") delete(additionalProperties, "local_config_context_data_owner_object_id") delete(additionalProperties, "name") diff --git a/model_vlan.go b/model_vlan.go index fe4f0328..c6e52609 100644 --- a/model_vlan.go +++ b/model_vlan.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &VLAN{} // VLAN 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. type VLAN struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -41,6 +41,8 @@ type VLAN struct { Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + ComputedFields map[string]interface{} `json:"computed_fields"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} } @@ -50,9 +52,8 @@ type _VLAN VLAN // 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 -func NewVLAN(id string, objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *VLAN { +func NewVLAN(objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, computedFields map[string]interface{}) *VLAN { this := VLAN{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -64,6 +65,7 @@ func NewVLAN(id string, objectType string, display string, url string, naturalSl this.Created = created this.LastUpdated = lastUpdated this.NotesUrl = notesUrl + this.ComputedFields = computedFields return &this } @@ -75,28 +77,36 @@ func NewVLANWithDefaults() *VLAN { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VLAN) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VLAN) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true } -// SetId sets field value +// HasId returns a boolean if a field has been set. +func (o *VLAN) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VLAN) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -621,6 +631,62 @@ func (o *VLAN) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetComputedFields returns the ComputedFields field value +func (o *VLAN) GetComputedFields() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.ComputedFields +} + +// GetComputedFieldsOk returns a tuple with the ComputedFields field value +// and a boolean to check if the value has been set. +func (o *VLAN) GetComputedFieldsOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false + } + return o.ComputedFields, true +} + +// SetComputedFields sets field value +func (o *VLAN) SetComputedFields(v map[string]interface{}) { + o.ComputedFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *VLAN) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLAN) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *VLAN) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *VLAN) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + func (o VLAN) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -631,7 +697,9 @@ func (o VLAN) MarshalJSON() ([]byte, error) { func (o VLAN) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -664,6 +732,10 @@ func (o VLAN) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + toSerialize["computed_fields"] = o.ComputedFields + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -677,7 +749,6 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -689,6 +760,7 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) { "created", "last_updated", "notes_url", + "computed_fields", } allProperties := make(map[string]interface{}) @@ -737,6 +809,8 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "tags") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "computed_fields") + delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties } diff --git a/model_vlan_allocation_request.go b/model_vlan_allocation_request.go new file mode 100644 index 00000000..3c420668 --- /dev/null +++ b/model_vlan_allocation_request.go @@ -0,0 +1,560 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the VLANAllocationRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &VLANAllocationRequest{} + +// VLANAllocationRequest Input serializer for POST to /api/ipam/vlan-groups//available-vlans/, i.e. allocating VLAN from VLANGroup. +type VLANAllocationRequest struct { + Id *string `json:"id,omitempty"` + Vid *int32 `json:"vid,omitempty"` + VlanGroup NullableBulkWritableCircuitRequestTenant `json:"vlan_group,omitempty"` + Name string `json:"name"` + Status BulkWritableCableRequestStatus `json:"status"` + Role NullableBulkWritableCircuitRequestTenant `json:"role,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _VLANAllocationRequest VLANAllocationRequest + +// NewVLANAllocationRequest instantiates a new VLANAllocationRequest 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 +func NewVLANAllocationRequest(name string, status BulkWritableCableRequestStatus) *VLANAllocationRequest { + this := VLANAllocationRequest{} + this.Name = name + this.Status = status + return &this +} + +// NewVLANAllocationRequestWithDefaults instantiates a new VLANAllocationRequest 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 +func NewVLANAllocationRequestWithDefaults() *VLANAllocationRequest { + this := VLANAllocationRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *VLANAllocationRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VLANAllocationRequest) SetId(v string) { + o.Id = &v +} + +// GetVid returns the Vid field value if set, zero value otherwise. +func (o *VLANAllocationRequest) GetVid() int32 { + if o == nil || IsNil(o.Vid) { + var ret int32 + return ret + } + return *o.Vid +} + +// GetVidOk returns a tuple with the Vid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetVidOk() (*int32, bool) { + if o == nil || IsNil(o.Vid) { + return nil, false + } + return o.Vid, true +} + +// HasVid returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasVid() bool { + if o != nil && !IsNil(o.Vid) { + return true + } + + return false +} + +// SetVid gets a reference to the given int32 and assigns it to the Vid field. +func (o *VLANAllocationRequest) SetVid(v int32) { + o.Vid = &v +} + +// GetVlanGroup returns the VlanGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLANAllocationRequest) GetVlanGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.VlanGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.VlanGroup.Get() +} + +// GetVlanGroupOk returns a tuple with the VlanGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VLANAllocationRequest) GetVlanGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.VlanGroup.Get(), o.VlanGroup.IsSet() +} + +// HasVlanGroup returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasVlanGroup() bool { + if o != nil && o.VlanGroup.IsSet() { + return true + } + + return false +} + +// SetVlanGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the VlanGroup field. +func (o *VLANAllocationRequest) SetVlanGroup(v BulkWritableCircuitRequestTenant) { + o.VlanGroup.Set(&v) +} +// SetVlanGroupNil sets the value for VlanGroup to be an explicit nil +func (o *VLANAllocationRequest) SetVlanGroupNil() { + o.VlanGroup.Set(nil) +} + +// UnsetVlanGroup ensures that no value is present for VlanGroup, not even an explicit nil +func (o *VLANAllocationRequest) UnsetVlanGroup() { + o.VlanGroup.Unset() +} + +// GetName returns the Name field value +func (o *VLANAllocationRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *VLANAllocationRequest) SetName(v string) { + o.Name = v +} + +// GetStatus returns the Status field value +func (o *VLANAllocationRequest) GetStatus() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetStatusOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *VLANAllocationRequest) SetStatus(v BulkWritableCableRequestStatus) { + o.Status = v +} + +// GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLANAllocationRequest) GetRole() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Role.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Role.Get() +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VLANAllocationRequest) GetRoleOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Role.Get(), o.Role.IsSet() +} + +// HasRole returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Role field. +func (o *VLANAllocationRequest) SetRole(v BulkWritableCircuitRequestTenant) { + o.Role.Set(&v) +} +// SetRoleNil sets the value for Role to be an explicit nil +func (o *VLANAllocationRequest) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *VLANAllocationRequest) UnsetRole() { + o.Role.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLANAllocationRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VLANAllocationRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *VLANAllocationRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *VLANAllocationRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *VLANAllocationRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *VLANAllocationRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *VLANAllocationRequest) SetDescription(v string) { + o.Description = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VLANAllocationRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *VLANAllocationRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VLANAllocationRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *VLANAllocationRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *VLANAllocationRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANAllocationRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *VLANAllocationRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *VLANAllocationRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +func (o VLANAllocationRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o VLANAllocationRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Vid) { + toSerialize["vid"] = o.Vid + } + if o.VlanGroup.IsSet() { + toSerialize["vlan_group"] = o.VlanGroup.Get() + } + toSerialize["name"] = o.Name + toSerialize["status"] = o.Status + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *VLANAllocationRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "status", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varVLANAllocationRequest := _VLANAllocationRequest{} + + err = json.Unmarshal(data, &varVLANAllocationRequest) + + if err != nil { + return err + } + + *o = VLANAllocationRequest(varVLANAllocationRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "vid") + delete(additionalProperties, "vlan_group") + delete(additionalProperties, "name") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "tenant") + delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableVLANAllocationRequest struct { + value *VLANAllocationRequest + isSet bool +} + +func (v NullableVLANAllocationRequest) Get() *VLANAllocationRequest { + return v.value +} + +func (v *NullableVLANAllocationRequest) Set(val *VLANAllocationRequest) { + v.value = val + v.isSet = true +} + +func (v NullableVLANAllocationRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableVLANAllocationRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVLANAllocationRequest(val *VLANAllocationRequest) *NullableVLANAllocationRequest { + return &NullableVLANAllocationRequest{value: val, isSet: true} +} + +func (v NullableVLANAllocationRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVLANAllocationRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_vlan_group.go b/model_vlan_group.go index d7f559d0..c6363b32 100644 --- a/model_vlan_group.go +++ b/model_vlan_group.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &VLANGroup{} // VLANGroup 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. type VLANGroup struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -30,9 +30,12 @@ type VLANGroup struct { VlanCount *int32 `json:"vlan_count,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` + // Permitted VID range(s) as comma-separated list, default '1-4094' if left blank. + Range *string `json:"range,omitempty"` Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -44,9 +47,8 @@ type _VLANGroup VLANGroup // 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 -func NewVLANGroup(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *VLANGroup { +func NewVLANGroup(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string) *VLANGroup { this := VLANGroup{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -66,28 +68,36 @@ func NewVLANGroupWithDefaults() *VLANGroup { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VLANGroup) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VLANGroup) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VLANGroup) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VLANGroup) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -274,6 +284,38 @@ func (o *VLANGroup) SetDescription(v string) { o.Description = &v } +// GetRange returns the Range field value if set, zero value otherwise. +func (o *VLANGroup) GetRange() string { + if o == nil || IsNil(o.Range) { + var ret string + return ret + } + return *o.Range +} + +// GetRangeOk returns a tuple with the Range field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANGroup) GetRangeOk() (*string, bool) { + if o == nil || IsNil(o.Range) { + return nil, false + } + return o.Range, true +} + +// HasRange returns a boolean if a field has been set. +func (o *VLANGroup) HasRange() bool { + if o != nil && !IsNil(o.Range) { + return true + } + + return false +} + +// SetRange gets a reference to the given string and assigns it to the Range field. +func (o *VLANGroup) SetRange(v string) { + o.Range = &v +} + // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VLANGroup) GetLocation() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Location.Get()) { @@ -368,6 +410,38 @@ func (o *VLANGroup) SetLastUpdated(v time.Time) { o.LastUpdated.Set(&v) } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VLANGroup) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANGroup) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *VLANGroup) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *VLANGroup) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetNotesUrl returns the NotesUrl field value func (o *VLANGroup) GetNotesUrl() string { if o == nil { @@ -434,7 +508,9 @@ func (o VLANGroup) MarshalJSON() ([]byte, error) { func (o VLANGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -446,11 +522,17 @@ func (o VLANGroup) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Range) { + toSerialize["range"] = o.Range + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } toSerialize["notes_url"] = o.NotesUrl if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields @@ -468,7 +550,6 @@ func (o *VLANGroup) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -514,9 +595,11 @@ func (o *VLANGroup) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "vlan_count") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "range") delete(additionalProperties, "location") delete(additionalProperties, "created") delete(additionalProperties, "last_updated") + delete(additionalProperties, "tags") delete(additionalProperties, "notes_url") delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties diff --git a/model_vlan_group_request.go b/model_vlan_group_request.go index b12b4bae..0259e26c 100644 --- a/model_vlan_group_request.go +++ b/model_vlan_group_request.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. @@ -20,9 +20,13 @@ var _ MappedNullable = &VLANGroupRequest{} // VLANGroupRequest 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. type VLANGroupRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` + // Permitted VID range(s) as comma-separated list, default '1-4094' if left blank. + Range *string `json:"range,omitempty"` Location NullableBulkWritableCircuitRequestTenant `json:"location,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} @@ -48,6 +52,38 @@ func NewVLANGroupRequestWithDefaults() *VLANGroupRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VLANGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VLANGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VLANGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *VLANGroupRequest) GetName() string { if o == nil { @@ -104,6 +140,38 @@ func (o *VLANGroupRequest) SetDescription(v string) { o.Description = &v } +// GetRange returns the Range field value if set, zero value otherwise. +func (o *VLANGroupRequest) GetRange() string { + if o == nil || IsNil(o.Range) { + var ret string + return ret + } + return *o.Range +} + +// GetRangeOk returns a tuple with the Range field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANGroupRequest) GetRangeOk() (*string, bool) { + if o == nil || IsNil(o.Range) { + return nil, false + } + return o.Range, true +} + +// HasRange returns a boolean if a field has been set. +func (o *VLANGroupRequest) HasRange() bool { + if o != nil && !IsNil(o.Range) { + return true + } + + return false +} + +// SetRange gets a reference to the given string and assigns it to the Range field. +func (o *VLANGroupRequest) SetRange(v string) { + o.Range = &v +} + // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Location.Get()) { @@ -146,6 +214,38 @@ func (o *VLANGroupRequest) UnsetLocation() { o.Location.Unset() } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VLANGroupRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANGroupRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *VLANGroupRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *VLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *VLANGroupRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -220,13 +320,22 @@ func (o VLANGroupRequest) MarshalJSON() ([]byte, error) { func (o VLANGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Range) { + toSerialize["range"] = o.Range + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -276,9 +385,12 @@ func (o *VLANGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "range") delete(additionalProperties, "location") + delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") delete(additionalProperties, "relationships") o.AdditionalProperties = additionalProperties diff --git a/model_vlan_location_assignment.go b/model_vlan_location_assignment.go index 23ea285e..23bf70a3 100644 --- a/model_vlan_location_assignment.go +++ b/model_vlan_location_assignment.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &VLANLocationAssignment{} // VLANLocationAssignment 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) type VLANLocationAssignment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -37,9 +37,8 @@ type _VLANLocationAssignment VLANLocationAssignment // 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 -func NewVLANLocationAssignment(id string, objectType string, display string, url string, naturalSlug string, vlan BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus) *VLANLocationAssignment { +func NewVLANLocationAssignment(objectType string, display string, url string, naturalSlug string, vlan BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus) *VLANLocationAssignment { this := VLANLocationAssignment{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -57,28 +56,36 @@ func NewVLANLocationAssignmentWithDefaults() *VLANLocationAssignment { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VLANLocationAssignment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VLANLocationAssignment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VLANLocationAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VLANLocationAssignment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -235,7 +242,9 @@ func (o VLANLocationAssignment) MarshalJSON() ([]byte, error) { func (o VLANLocationAssignment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -255,7 +264,6 @@ func (o *VLANLocationAssignment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_vlan_location_assignment_request.go b/model_vlan_location_assignment_request.go index 637af860..45e85da5 100644 --- a/model_vlan_location_assignment_request.go +++ b/model_vlan_location_assignment_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &VLANLocationAssignmentRequest{} // VLANLocationAssignmentRequest 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) type VLANLocationAssignmentRequest struct { + Id *string `json:"id,omitempty"` Vlan BulkWritableCableRequestStatus `json:"vlan"` Location BulkWritableCableRequestStatus `json:"location"` AdditionalProperties map[string]interface{} @@ -46,6 +47,38 @@ func NewVLANLocationAssignmentRequestWithDefaults() *VLANLocationAssignmentReque return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VLANLocationAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANLocationAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VLANLocationAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VLANLocationAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetVlan returns the Vlan field value func (o *VLANLocationAssignmentRequest) GetVlan() BulkWritableCableRequestStatus { if o == nil { @@ -104,6 +137,9 @@ func (o VLANLocationAssignmentRequest) MarshalJSON() ([]byte, error) { func (o VLANLocationAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["vlan"] = o.Vlan toSerialize["location"] = o.Location @@ -150,6 +186,7 @@ func (o *VLANLocationAssignmentRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "vlan") delete(additionalProperties, "location") o.AdditionalProperties = additionalProperties diff --git a/model_vlan_request.go b/model_vlan_request.go index d61c9bf6..0e1e716c 100644 --- a/model_vlan_request.go +++ b/model_vlan_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &VLANRequest{} // VLANRequest 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. type VLANRequest struct { + Id *string `json:"id,omitempty"` Location NullableBulkWritablePrefixRequestLocation `json:"location,omitempty"` Vid int32 `json:"vid"` Name string `json:"name"` @@ -56,6 +57,38 @@ func NewVLANRequestWithDefaults() *VLANRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VLANRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VLANRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VLANRequest) SetId(v string) { + o.Id = &v +} + // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VLANRequest) GetLocation() BulkWritablePrefixRequestLocation { if o == nil || IsNil(o.Location.Get()) { @@ -434,6 +467,9 @@ func (o VLANRequest) MarshalJSON() ([]byte, error) { func (o VLANRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } @@ -506,6 +542,7 @@ func (o *VLANRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "location") delete(additionalProperties, "vid") delete(additionalProperties, "name") diff --git a/model_vm_interface.go b/model_vm_interface.go index acdead6d..0de97113 100644 --- a/model_vm_interface.go +++ b/model_vm_interface.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &VMInterface{} // VMInterface 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. type VMInterface struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -56,9 +56,8 @@ type _VMInterface VMInterface // 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 -func NewVMInterface(id string, objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, virtualMachine BulkWritableCableRequestStatus, ipAddresses []IPAddresses, created NullableTime, lastUpdated NullableTime, notesUrl string) *VMInterface { +func NewVMInterface(objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, virtualMachine BulkWritableCableRequestStatus, ipAddresses []IPAddresses, created NullableTime, lastUpdated NullableTime, notesUrl string) *VMInterface { this := VMInterface{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -81,28 +80,36 @@ func NewVMInterfaceWithDefaults() *VMInterface { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VMInterface) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VMInterface) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VMInterface) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VMInterface) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -869,7 +876,9 @@ func (o VMInterface) MarshalJSON() ([]byte, error) { func (o VMInterface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -933,7 +942,6 @@ func (o *VMInterface) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_vrf.go b/model_vrf.go index d9fde971..d2916366 100644 --- a/model_vrf.go +++ b/model_vrf.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &VRF{} // VRF 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. type VRF struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -29,13 +29,14 @@ type VRF struct { NaturalSlug string `json:"natural_slug"` Name string `json:"name"` // Unique route distinguisher (as defined in RFC 4364) - Rd NullableString `json:"rd"` + Rd NullableString `json:"rd,omitempty"` Description *string `json:"description,omitempty"` Status NullableBulkWritableCircuitRequestTenant `json:"status,omitempty"` Namespace *BulkWritableCableRequestStatus `json:"namespace,omitempty"` Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` Devices []BulkWritableCableRequestStatus `json:"devices"` VirtualMachines []BulkWritableCableRequestStatus `json:"virtual_machines"` + VirtualDeviceContexts []BulkWritableCableRequestStatus `json:"virtual_device_contexts"` Prefixes []BulkWritableCableRequestStatus `json:"prefixes"` ImportTargets []BulkWritableCableRequestStatus `json:"import_targets,omitempty"` ExportTargets []BulkWritableCableRequestStatus `json:"export_targets,omitempty"` @@ -53,17 +54,16 @@ type _VRF VRF // 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 -func NewVRF(id string, objectType string, display string, url string, naturalSlug string, name string, rd NullableString, devices []BulkWritableCableRequestStatus, virtualMachines []BulkWritableCableRequestStatus, prefixes []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *VRF { +func NewVRF(objectType string, display string, url string, naturalSlug string, name string, devices []BulkWritableCableRequestStatus, virtualMachines []BulkWritableCableRequestStatus, virtualDeviceContexts []BulkWritableCableRequestStatus, prefixes []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *VRF { this := VRF{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url this.NaturalSlug = naturalSlug this.Name = name - this.Rd = rd this.Devices = devices this.VirtualMachines = virtualMachines + this.VirtualDeviceContexts = virtualDeviceContexts this.Prefixes = prefixes this.Created = created this.LastUpdated = lastUpdated @@ -79,28 +79,36 @@ func NewVRFWithDefaults() *VRF { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VRF) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VRF) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VRF) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VRF) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -223,18 +231,16 @@ func (o *VRF) SetName(v string) { o.Name = v } -// GetRd returns the Rd field value -// If the value is explicit nil, the zero value for string will be returned +// GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VRF) GetRd() string { - if o == nil || o.Rd.Get() == nil { + if o == nil || IsNil(o.Rd.Get()) { var ret string return ret } - return *o.Rd.Get() } -// GetRdOk returns a tuple with the Rd field value +// GetRdOk returns a tuple with the Rd field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *VRF) GetRdOk() (*string, bool) { @@ -244,10 +250,28 @@ func (o *VRF) GetRdOk() (*string, bool) { return o.Rd.Get(), o.Rd.IsSet() } -// SetRd sets field value +// HasRd returns a boolean if a field has been set. +func (o *VRF) HasRd() bool { + if o != nil && o.Rd.IsSet() { + return true + } + + return false +} + +// SetRd gets a reference to the given NullableString and assigns it to the Rd field. func (o *VRF) SetRd(v string) { o.Rd.Set(&v) } +// SetRdNil sets the value for Rd to be an explicit nil +func (o *VRF) SetRdNil() { + o.Rd.Set(nil) +} + +// UnsetRd ensures that no value is present for Rd, not even an explicit nil +func (o *VRF) UnsetRd() { + o.Rd.Unset() +} // GetDescription returns the Description field value if set, zero value otherwise. func (o *VRF) GetDescription() string { @@ -445,6 +469,30 @@ func (o *VRF) SetVirtualMachines(v []BulkWritableCableRequestStatus) { o.VirtualMachines = v } +// GetVirtualDeviceContexts returns the VirtualDeviceContexts field value +func (o *VRF) GetVirtualDeviceContexts() []BulkWritableCableRequestStatus { + if o == nil { + var ret []BulkWritableCableRequestStatus + return ret + } + + return o.VirtualDeviceContexts +} + +// GetVirtualDeviceContextsOk returns a tuple with the VirtualDeviceContexts field value +// and a boolean to check if the value has been set. +func (o *VRF) GetVirtualDeviceContextsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return o.VirtualDeviceContexts, true +} + +// SetVirtualDeviceContexts sets field value +func (o *VRF) SetVirtualDeviceContexts(v []BulkWritableCableRequestStatus) { + o.VirtualDeviceContexts = v +} + // GetPrefixes returns the Prefixes field value func (o *VRF) GetPrefixes() []BulkWritableCableRequestStatus { if o == nil { @@ -683,13 +731,17 @@ func (o VRF) MarshalJSON() ([]byte, error) { func (o VRF) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url toSerialize["natural_slug"] = o.NaturalSlug toSerialize["name"] = o.Name - toSerialize["rd"] = o.Rd.Get() + if o.Rd.IsSet() { + toSerialize["rd"] = o.Rd.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -704,6 +756,7 @@ func (o VRF) ToMap() (map[string]interface{}, error) { } toSerialize["devices"] = o.Devices toSerialize["virtual_machines"] = o.VirtualMachines + toSerialize["virtual_device_contexts"] = o.VirtualDeviceContexts toSerialize["prefixes"] = o.Prefixes if !IsNil(o.ImportTargets) { toSerialize["import_targets"] = o.ImportTargets @@ -733,15 +786,14 @@ func (o *VRF) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", "natural_slug", "name", - "rd", "devices", "virtual_machines", + "virtual_device_contexts", "prefixes", "created", "last_updated", @@ -788,6 +840,7 @@ func (o *VRF) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "tenant") delete(additionalProperties, "devices") delete(additionalProperties, "virtual_machines") + delete(additionalProperties, "virtual_device_contexts") delete(additionalProperties, "prefixes") delete(additionalProperties, "import_targets") delete(additionalProperties, "export_targets") diff --git a/model_vrf_device_assignment.go b/model_vrf_device_assignment.go index fb718b0e..8c592ea9 100644 --- a/model_vrf_device_assignment.go +++ b/model_vrf_device_assignment.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &VRFDeviceAssignment{} // VRFDeviceAssignment 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) type VRFDeviceAssignment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -32,6 +32,7 @@ type VRFDeviceAssignment struct { Vrf BulkWritableCableRequestStatus `json:"vrf"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` VirtualMachine NullableBulkWritableCircuitRequestTenant `json:"virtual_machine,omitempty"` + VirtualDeviceContext NullableBulkWritableCircuitRequestTenant `json:"virtual_device_context,omitempty"` AdditionalProperties map[string]interface{} } @@ -41,9 +42,8 @@ type _VRFDeviceAssignment VRFDeviceAssignment // 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 -func NewVRFDeviceAssignment(id string, objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus) *VRFDeviceAssignment { +func NewVRFDeviceAssignment(objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus) *VRFDeviceAssignment { this := VRFDeviceAssignment{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -60,28 +60,36 @@ func NewVRFDeviceAssignmentWithDefaults() *VRFDeviceAssignment { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VRFDeviceAssignment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VRFDeviceAssignment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VRFDeviceAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VRFDeviceAssignment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -362,6 +370,48 @@ func (o *VRFDeviceAssignment) UnsetVirtualMachine() { o.VirtualMachine.Unset() } +// GetVirtualDeviceContext returns the VirtualDeviceContext field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VRFDeviceAssignment) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.VirtualDeviceContext.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.VirtualDeviceContext.Get() +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VRFDeviceAssignment) GetVirtualDeviceContextOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.VirtualDeviceContext.Get(), o.VirtualDeviceContext.IsSet() +} + +// HasVirtualDeviceContext returns a boolean if a field has been set. +func (o *VRFDeviceAssignment) HasVirtualDeviceContext() bool { + if o != nil && o.VirtualDeviceContext.IsSet() { + return true + } + + return false +} + +// SetVirtualDeviceContext gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the VirtualDeviceContext field. +func (o *VRFDeviceAssignment) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant) { + o.VirtualDeviceContext.Set(&v) +} +// SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil +func (o *VRFDeviceAssignment) SetVirtualDeviceContextNil() { + o.VirtualDeviceContext.Set(nil) +} + +// UnsetVirtualDeviceContext ensures that no value is present for VirtualDeviceContext, not even an explicit nil +func (o *VRFDeviceAssignment) UnsetVirtualDeviceContext() { + o.VirtualDeviceContext.Unset() +} + func (o VRFDeviceAssignment) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -372,7 +422,9 @@ func (o VRFDeviceAssignment) MarshalJSON() ([]byte, error) { func (o VRFDeviceAssignment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -390,6 +442,9 @@ func (o VRFDeviceAssignment) ToMap() (map[string]interface{}, error) { if o.VirtualMachine.IsSet() { toSerialize["virtual_machine"] = o.VirtualMachine.Get() } + if o.VirtualDeviceContext.IsSet() { + toSerialize["virtual_device_context"] = o.VirtualDeviceContext.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -403,7 +458,6 @@ func (o *VRFDeviceAssignment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", @@ -448,6 +502,7 @@ func (o *VRFDeviceAssignment) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "vrf") delete(additionalProperties, "device") delete(additionalProperties, "virtual_machine") + delete(additionalProperties, "virtual_device_context") o.AdditionalProperties = additionalProperties } diff --git a/model_vrf_device_assignment_request.go b/model_vrf_device_assignment_request.go index 85bed4b4..0e5df8b4 100644 --- a/model_vrf_device_assignment_request.go +++ b/model_vrf_device_assignment_request.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. @@ -20,12 +20,14 @@ var _ MappedNullable = &VRFDeviceAssignmentRequest{} // VRFDeviceAssignmentRequest 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) type VRFDeviceAssignmentRequest struct { + Id *string `json:"id,omitempty"` // Unique route distinguisher (as defined in RFC 4364) Rd NullableString `json:"rd,omitempty"` Name *string `json:"name,omitempty"` Vrf BulkWritableCableRequestStatus `json:"vrf"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` VirtualMachine NullableBulkWritableCircuitRequestTenant `json:"virtual_machine,omitempty"` + VirtualDeviceContext NullableBulkWritableCircuitRequestTenant `json:"virtual_device_context,omitempty"` AdditionalProperties map[string]interface{} } @@ -49,6 +51,38 @@ func NewVRFDeviceAssignmentRequestWithDefaults() *VRFDeviceAssignmentRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VRFDeviceAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRFDeviceAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VRFDeviceAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VRFDeviceAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VRFDeviceAssignmentRequest) GetRd() string { if o == nil || IsNil(o.Rd.Get()) { @@ -231,6 +265,48 @@ func (o *VRFDeviceAssignmentRequest) UnsetVirtualMachine() { o.VirtualMachine.Unset() } +// GetVirtualDeviceContext returns the VirtualDeviceContext field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.VirtualDeviceContext.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.VirtualDeviceContext.Get() +} + +// GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VRFDeviceAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.VirtualDeviceContext.Get(), o.VirtualDeviceContext.IsSet() +} + +// HasVirtualDeviceContext returns a boolean if a field has been set. +func (o *VRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool { + if o != nil && o.VirtualDeviceContext.IsSet() { + return true + } + + return false +} + +// SetVirtualDeviceContext gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the VirtualDeviceContext field. +func (o *VRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant) { + o.VirtualDeviceContext.Set(&v) +} +// SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil +func (o *VRFDeviceAssignmentRequest) SetVirtualDeviceContextNil() { + o.VirtualDeviceContext.Set(nil) +} + +// UnsetVirtualDeviceContext ensures that no value is present for VirtualDeviceContext, not even an explicit nil +func (o *VRFDeviceAssignmentRequest) UnsetVirtualDeviceContext() { + o.VirtualDeviceContext.Unset() +} + func (o VRFDeviceAssignmentRequest) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -241,6 +317,9 @@ func (o VRFDeviceAssignmentRequest) MarshalJSON() ([]byte, error) { func (o VRFDeviceAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.Rd.IsSet() { toSerialize["rd"] = o.Rd.Get() } @@ -254,6 +333,9 @@ func (o VRFDeviceAssignmentRequest) ToMap() (map[string]interface{}, error) { if o.VirtualMachine.IsSet() { toSerialize["virtual_machine"] = o.VirtualMachine.Get() } + if o.VirtualDeviceContext.IsSet() { + toSerialize["virtual_device_context"] = o.VirtualDeviceContext.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -297,11 +379,13 @@ func (o *VRFDeviceAssignmentRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "rd") delete(additionalProperties, "name") delete(additionalProperties, "vrf") delete(additionalProperties, "device") delete(additionalProperties, "virtual_machine") + delete(additionalProperties, "virtual_device_context") o.AdditionalProperties = additionalProperties } diff --git a/model_vrf_prefix_assignment.go b/model_vrf_prefix_assignment.go index 86fc3db6..19a234f7 100644 --- a/model_vrf_prefix_assignment.go +++ b/model_vrf_prefix_assignment.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. @@ -20,7 +20,7 @@ var _ MappedNullable = &VRFPrefixAssignment{} // VRFPrefixAssignment 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) type VRFPrefixAssignment struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -37,9 +37,8 @@ type _VRFPrefixAssignment VRFPrefixAssignment // 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 -func NewVRFPrefixAssignment(id string, objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus, prefix BulkWritableCableRequestStatus) *VRFPrefixAssignment { +func NewVRFPrefixAssignment(objectType string, display string, url string, naturalSlug string, vrf BulkWritableCableRequestStatus, prefix BulkWritableCableRequestStatus) *VRFPrefixAssignment { this := VRFPrefixAssignment{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -57,28 +56,36 @@ func NewVRFPrefixAssignmentWithDefaults() *VRFPrefixAssignment { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *VRFPrefixAssignment) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VRFPrefixAssignment) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VRFPrefixAssignment) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *VRFPrefixAssignment) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -235,7 +242,9 @@ func (o VRFPrefixAssignment) MarshalJSON() ([]byte, error) { func (o VRFPrefixAssignment) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -255,7 +264,6 @@ func (o *VRFPrefixAssignment) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_vrf_prefix_assignment_request.go b/model_vrf_prefix_assignment_request.go index 5e6851ae..f2b648be 100644 --- a/model_vrf_prefix_assignment_request.go +++ b/model_vrf_prefix_assignment_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &VRFPrefixAssignmentRequest{} // VRFPrefixAssignmentRequest 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) type VRFPrefixAssignmentRequest struct { + Id *string `json:"id,omitempty"` Vrf BulkWritableCableRequestStatus `json:"vrf"` Prefix BulkWritableCableRequestStatus `json:"prefix"` AdditionalProperties map[string]interface{} @@ -46,6 +47,38 @@ func NewVRFPrefixAssignmentRequestWithDefaults() *VRFPrefixAssignmentRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VRFPrefixAssignmentRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRFPrefixAssignmentRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VRFPrefixAssignmentRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VRFPrefixAssignmentRequest) SetId(v string) { + o.Id = &v +} + // GetVrf returns the Vrf field value func (o *VRFPrefixAssignmentRequest) GetVrf() BulkWritableCableRequestStatus { if o == nil { @@ -104,6 +137,9 @@ func (o VRFPrefixAssignmentRequest) MarshalJSON() ([]byte, error) { func (o VRFPrefixAssignmentRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["vrf"] = o.Vrf toSerialize["prefix"] = o.Prefix @@ -150,6 +186,7 @@ func (o *VRFPrefixAssignmentRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "vrf") delete(additionalProperties, "prefix") o.AdditionalProperties = additionalProperties diff --git a/model_vrf_request.go b/model_vrf_request.go index 67ade8c5..add3cf1e 100644 --- a/model_vrf_request.go +++ b/model_vrf_request.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. @@ -20,9 +20,10 @@ var _ MappedNullable = &VRFRequest{} // VRFRequest 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. type VRFRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Unique route distinguisher (as defined in RFC 4364) - Rd NullableString `json:"rd"` + Rd NullableString `json:"rd,omitempty"` Description *string `json:"description,omitempty"` Status NullableBulkWritableCircuitRequestTenant `json:"status,omitempty"` Namespace *BulkWritableCableRequestStatus `json:"namespace,omitempty"` @@ -41,10 +42,9 @@ type _VRFRequest VRFRequest // 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 -func NewVRFRequest(name string, rd NullableString) *VRFRequest { +func NewVRFRequest(name string) *VRFRequest { this := VRFRequest{} this.Name = name - this.Rd = rd return &this } @@ -56,6 +56,38 @@ func NewVRFRequestWithDefaults() *VRFRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *VRFRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRFRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *VRFRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *VRFRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *VRFRequest) GetName() string { if o == nil { @@ -80,18 +112,16 @@ func (o *VRFRequest) SetName(v string) { o.Name = v } -// GetRd returns the Rd field value -// If the value is explicit nil, the zero value for string will be returned +// GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VRFRequest) GetRd() string { - if o == nil || o.Rd.Get() == nil { + if o == nil || IsNil(o.Rd.Get()) { var ret string return ret } - return *o.Rd.Get() } -// GetRdOk returns a tuple with the Rd field value +// GetRdOk returns a tuple with the Rd field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *VRFRequest) GetRdOk() (*string, bool) { @@ -101,10 +131,28 @@ func (o *VRFRequest) GetRdOk() (*string, bool) { return o.Rd.Get(), o.Rd.IsSet() } -// SetRd sets field value +// HasRd returns a boolean if a field has been set. +func (o *VRFRequest) HasRd() bool { + if o != nil && o.Rd.IsSet() { + return true + } + + return false +} + +// SetRd gets a reference to the given NullableString and assigns it to the Rd field. func (o *VRFRequest) SetRd(v string) { o.Rd.Set(&v) } +// SetRdNil sets the value for Rd to be an explicit nil +func (o *VRFRequest) SetRdNil() { + o.Rd.Set(nil) +} + +// UnsetRd ensures that no value is present for Rd, not even an explicit nil +func (o *VRFRequest) UnsetRd() { + o.Rd.Unset() +} // GetDescription returns the Description field value if set, zero value otherwise. func (o *VRFRequest) GetDescription() string { @@ -424,8 +472,13 @@ func (o VRFRequest) MarshalJSON() ([]byte, error) { func (o VRFRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name - toSerialize["rd"] = o.Rd.Get() + if o.Rd.IsSet() { + toSerialize["rd"] = o.Rd.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -467,7 +520,6 @@ func (o *VRFRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "name", - "rd", } allProperties := make(map[string]interface{}) @@ -497,6 +549,7 @@ func (o *VRFRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "rd") delete(additionalProperties, "description") diff --git a/model_webhook.go b/model_webhook.go index 5c52a7ce..d05f8d8a 100644 --- a/model_webhook.go +++ b/model_webhook.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. @@ -21,7 +21,7 @@ var _ MappedNullable = &Webhook{} // Webhook 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) type Webhook struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` // Human friendly display value Display string `json:"display"` @@ -63,9 +63,8 @@ type _Webhook Webhook // 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 -func NewWebhook(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, payloadUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Webhook { +func NewWebhook(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, payloadUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string) *Webhook { this := Webhook{} - this.Id = id this.ObjectType = objectType this.Display = display this.Url = url @@ -87,28 +86,36 @@ func NewWebhookWithDefaults() *Webhook { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *Webhook) GetId() string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Webhook) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.Id) { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Webhook) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *Webhook) SetId(v string) { - o.Id = v + o.Id = &v } // GetObjectType returns the ObjectType field value @@ -717,7 +724,9 @@ func (o Webhook) MarshalJSON() ([]byte, error) { func (o Webhook) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["id"] = o.Id + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["object_type"] = o.ObjectType toSerialize["display"] = o.Display toSerialize["url"] = o.Url @@ -774,7 +783,6 @@ func (o *Webhook) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "id", "object_type", "display", "url", diff --git a/model_webhook_request.go b/model_webhook_request.go index 478427a9..b85c36f5 100644 --- a/model_webhook_request.go +++ b/model_webhook_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WebhookRequest{} // WebhookRequest 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) type WebhookRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Name string `json:"name"` // Call this webhook when a matching object is created. @@ -69,6 +70,38 @@ func NewWebhookRequestWithDefaults() *WebhookRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WebhookRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WebhookRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WebhookRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WebhookRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *WebhookRequest) GetContentTypes() []string { if o == nil { @@ -503,6 +536,9 @@ func (o WebhookRequest) MarshalJSON() ([]byte, error) { func (o WebhookRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["name"] = o.Name if !IsNil(o.TypeCreate) { @@ -584,6 +620,7 @@ func (o *WebhookRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "name") delete(additionalProperties, "type_create") diff --git a/model_width_enum.go b/model_width_enum.go index 3c2631a2..e76ff465 100644 --- a/model_width_enum.go +++ b/model_width_enum.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/model_wireless_network.go b/model_wireless_network.go new file mode 100644 index 00000000..4b8ecfe5 --- /dev/null +++ b/model_wireless_network.go @@ -0,0 +1,780 @@ +/* +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 ( + "encoding/json" + "time" + "fmt" +) + +// checks if the WirelessNetwork type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WirelessNetwork{} + +// WirelessNetwork 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. +type WirelessNetwork struct { + Id *string `json:"id,omitempty"` + ObjectType string `json:"object_type" validate:"regexp=^[a-z][a-z0-9_]+\\\\.[a-z][a-z0-9_]+$"` + // Human friendly display value + Display string `json:"display"` + Url string `json:"url"` + NaturalSlug string `json:"natural_slug"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Ssid string `json:"ssid"` + Mode WirelessNetworkModeChoices `json:"mode"` + Enabled *bool `json:"enabled,omitempty"` + Authentication AuthenticationEnum `json:"authentication"` + Hidden *bool `json:"hidden,omitempty"` + SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + NotesUrl string `json:"notes_url"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _WirelessNetwork WirelessNetwork + +// NewWirelessNetwork instantiates a new WirelessNetwork 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 +func NewWirelessNetwork(objectType string, display string, url string, naturalSlug string, name string, ssid string, mode WirelessNetworkModeChoices, authentication AuthenticationEnum, created NullableTime, lastUpdated NullableTime, notesUrl string) *WirelessNetwork { + this := WirelessNetwork{} + this.ObjectType = objectType + this.Display = display + this.Url = url + this.NaturalSlug = naturalSlug + this.Name = name + this.Ssid = ssid + this.Mode = mode + this.Authentication = authentication + this.Created = created + this.LastUpdated = lastUpdated + this.NotesUrl = notesUrl + return &this +} + +// NewWirelessNetworkWithDefaults instantiates a new WirelessNetwork 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 +func NewWirelessNetworkWithDefaults() *WirelessNetwork { + this := WirelessNetwork{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *WirelessNetwork) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WirelessNetwork) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WirelessNetwork) SetId(v string) { + o.Id = &v +} + +// GetObjectType returns the ObjectType field value +func (o *WirelessNetwork) GetObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectType +} + +// GetObjectTypeOk returns a tuple with the ObjectType field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *WirelessNetwork) SetObjectType(v string) { + o.ObjectType = v +} + +// GetDisplay returns the Display field value +func (o *WirelessNetwork) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *WirelessNetwork) SetDisplay(v string) { + o.Display = v +} + +// GetUrl returns the Url field value +func (o *WirelessNetwork) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *WirelessNetwork) SetUrl(v string) { + o.Url = v +} + +// GetNaturalSlug returns the NaturalSlug field value +func (o *WirelessNetwork) GetNaturalSlug() string { + if o == nil { + var ret string + return ret + } + + return o.NaturalSlug +} + +// GetNaturalSlugOk returns a tuple with the NaturalSlug field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetNaturalSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NaturalSlug, true +} + +// SetNaturalSlug sets field value +func (o *WirelessNetwork) SetNaturalSlug(v string) { + o.NaturalSlug = v +} + +// GetName returns the Name field value +func (o *WirelessNetwork) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *WirelessNetwork) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *WirelessNetwork) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *WirelessNetwork) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *WirelessNetwork) SetDescription(v string) { + o.Description = &v +} + +// GetSsid returns the Ssid field value +func (o *WirelessNetwork) GetSsid() string { + if o == nil { + var ret string + return ret + } + + return o.Ssid +} + +// GetSsidOk returns a tuple with the Ssid field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetSsidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Ssid, true +} + +// SetSsid sets field value +func (o *WirelessNetwork) SetSsid(v string) { + o.Ssid = v +} + +// GetMode returns the Mode field value +func (o *WirelessNetwork) GetMode() WirelessNetworkModeChoices { + if o == nil { + var ret WirelessNetworkModeChoices + return ret + } + + return o.Mode +} + +// GetModeOk returns a tuple with the Mode field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetModeOk() (*WirelessNetworkModeChoices, bool) { + if o == nil { + return nil, false + } + return &o.Mode, true +} + +// SetMode sets field value +func (o *WirelessNetwork) SetMode(v WirelessNetworkModeChoices) { + o.Mode = v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *WirelessNetwork) GetEnabled() bool { + if o == nil || IsNil(o.Enabled) { + var ret bool + return ret + } + return *o.Enabled +} + +// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.Enabled) { + return nil, false + } + return o.Enabled, true +} + +// HasEnabled returns a boolean if a field has been set. +func (o *WirelessNetwork) HasEnabled() bool { + if o != nil && !IsNil(o.Enabled) { + return true + } + + return false +} + +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *WirelessNetwork) SetEnabled(v bool) { + o.Enabled = &v +} + +// GetAuthentication returns the Authentication field value +func (o *WirelessNetwork) GetAuthentication() AuthenticationEnum { + if o == nil { + var ret AuthenticationEnum + return ret + } + + return o.Authentication +} + +// GetAuthenticationOk returns a tuple with the Authentication field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetAuthenticationOk() (*AuthenticationEnum, bool) { + if o == nil { + return nil, false + } + return &o.Authentication, true +} + +// SetAuthentication sets field value +func (o *WirelessNetwork) SetAuthentication(v AuthenticationEnum) { + o.Authentication = v +} + +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *WirelessNetwork) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *WirelessNetwork) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *WirelessNetwork) SetHidden(v bool) { + o.Hidden = &v +} + +// GetSecretsGroup returns the SecretsGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessNetwork) GetSecretsGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.SecretsGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.SecretsGroup.Get() +} + +// GetSecretsGroupOk returns a tuple with the SecretsGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetwork) GetSecretsGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.SecretsGroup.Get(), o.SecretsGroup.IsSet() +} + +// HasSecretsGroup returns a boolean if a field has been set. +func (o *WirelessNetwork) HasSecretsGroup() bool { + if o != nil && o.SecretsGroup.IsSet() { + return true + } + + return false +} + +// SetSecretsGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the SecretsGroup field. +func (o *WirelessNetwork) SetSecretsGroup(v BulkWritableCircuitRequestTenant) { + o.SecretsGroup.Set(&v) +} +// SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil +func (o *WirelessNetwork) SetSecretsGroupNil() { + o.SecretsGroup.Set(nil) +} + +// UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +func (o *WirelessNetwork) UnsetSecretsGroup() { + o.SecretsGroup.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessNetwork) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetwork) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *WirelessNetwork) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *WirelessNetwork) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *WirelessNetwork) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *WirelessNetwork) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *WirelessNetwork) GetCreated() time.Time { + if o == nil || o.Created.Get() == nil { + var ret time.Time + return ret + } + + return *o.Created.Get() +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetwork) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *WirelessNetwork) SetCreated(v time.Time) { + o.Created.Set(&v) +} + +// GetLastUpdated returns the LastUpdated field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *WirelessNetwork) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time + return ret + } + + return *o.LastUpdated.Get() +} + +// GetLastUpdatedOk returns a tuple with the LastUpdated field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetwork) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *WirelessNetwork) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetNotesUrl returns the NotesUrl field value +func (o *WirelessNetwork) GetNotesUrl() string { + if o == nil { + var ret string + return ret + } + + return o.NotesUrl +} + +// GetNotesUrlOk returns a tuple with the NotesUrl field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetNotesUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NotesUrl, true +} + +// SetNotesUrl sets field value +func (o *WirelessNetwork) SetNotesUrl(v string) { + o.NotesUrl = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *WirelessNetwork) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *WirelessNetwork) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *WirelessNetwork) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *WirelessNetwork) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *WirelessNetwork) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *WirelessNetwork) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o WirelessNetwork) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WirelessNetwork) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["object_type"] = o.ObjectType + toSerialize["display"] = o.Display + toSerialize["url"] = o.Url + toSerialize["natural_slug"] = o.NaturalSlug + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["ssid"] = o.Ssid + toSerialize["mode"] = o.Mode + if !IsNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + toSerialize["authentication"] = o.Authentication + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } + if o.SecretsGroup.IsSet() { + toSerialize["secrets_group"] = o.SecretsGroup.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["notes_url"] = o.NotesUrl + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *WirelessNetwork) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "object_type", + "display", + "url", + "natural_slug", + "name", + "ssid", + "mode", + "authentication", + "created", + "last_updated", + "notes_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varWirelessNetwork := _WirelessNetwork{} + + err = json.Unmarshal(data, &varWirelessNetwork) + + if err != nil { + return err + } + + *o = WirelessNetwork(varWirelessNetwork) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "object_type") + delete(additionalProperties, "display") + delete(additionalProperties, "url") + delete(additionalProperties, "natural_slug") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "ssid") + delete(additionalProperties, "mode") + delete(additionalProperties, "enabled") + delete(additionalProperties, "authentication") + delete(additionalProperties, "hidden") + delete(additionalProperties, "secrets_group") + delete(additionalProperties, "tenant") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "notes_url") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWirelessNetwork struct { + value *WirelessNetwork + isSet bool +} + +func (v NullableWirelessNetwork) Get() *WirelessNetwork { + return v.value +} + +func (v *NullableWirelessNetwork) Set(val *WirelessNetwork) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessNetwork) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessNetwork) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessNetwork(val *WirelessNetwork) *NullableWirelessNetwork { + return &NullableWirelessNetwork{value: val, isSet: true} +} + +func (v NullableWirelessNetwork) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessNetwork) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_wireless_network_mode_choices.go b/model_wireless_network_mode_choices.go new file mode 100644 index 00000000..b6b0e4c6 --- /dev/null +++ b/model_wireless_network_mode_choices.go @@ -0,0 +1,119 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// WirelessNetworkModeChoices the model 'WirelessNetworkModeChoices' +type WirelessNetworkModeChoices string + +// List of WirelessNetworkModeChoices +const ( + WIRELESSNETWORKMODECHOICES_CENTRAL WirelessNetworkModeChoices = "Central" + WIRELESSNETWORKMODECHOICES_FABRIC WirelessNetworkModeChoices = "Fabric" + WIRELESSNETWORKMODECHOICES_STANDALONE__AUTONOMOUS WirelessNetworkModeChoices = "Standalone (Autonomous)" + WIRELESSNETWORKMODECHOICES_LOCAL__FLEX WirelessNetworkModeChoices = "Local (Flex)" + WIRELESSNETWORKMODECHOICES_MESH WirelessNetworkModeChoices = "Mesh" + WIRELESSNETWORKMODECHOICES_BRIDGE WirelessNetworkModeChoices = "Bridge" +) + +// All allowed values of WirelessNetworkModeChoices enum +var AllowedWirelessNetworkModeChoicesEnumValues = []WirelessNetworkModeChoices{ + "Central", + "Fabric", + "Standalone (Autonomous)", + "Local (Flex)", + "Mesh", + "Bridge", +} + +func (v *WirelessNetworkModeChoices) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WirelessNetworkModeChoices(value) + for _, existing := range AllowedWirelessNetworkModeChoicesEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WirelessNetworkModeChoices", value) +} + +// NewWirelessNetworkModeChoicesFromValue returns a pointer to a valid WirelessNetworkModeChoices +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWirelessNetworkModeChoicesFromValue(v string) (*WirelessNetworkModeChoices, error) { + ev := WirelessNetworkModeChoices(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WirelessNetworkModeChoices: valid values are %v", v, AllowedWirelessNetworkModeChoicesEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WirelessNetworkModeChoices) IsValid() bool { + for _, existing := range AllowedWirelessNetworkModeChoicesEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WirelessNetworkModeChoices value +func (v WirelessNetworkModeChoices) Ptr() *WirelessNetworkModeChoices { + return &v +} + +type NullableWirelessNetworkModeChoices struct { + value *WirelessNetworkModeChoices + isSet bool +} + +func (v NullableWirelessNetworkModeChoices) Get() *WirelessNetworkModeChoices { + return v.value +} + +func (v *NullableWirelessNetworkModeChoices) Set(val *WirelessNetworkModeChoices) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessNetworkModeChoices) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessNetworkModeChoices) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessNetworkModeChoices(val *WirelessNetworkModeChoices) *NullableWirelessNetworkModeChoices { + return &NullableWirelessNetworkModeChoices{value: val, isSet: true} +} + +func (v NullableWirelessNetworkModeChoices) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessNetworkModeChoices) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_wireless_network_request.go b/model_wireless_network_request.go new file mode 100644 index 00000000..d83bf028 --- /dev/null +++ b/model_wireless_network_request.go @@ -0,0 +1,608 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the WirelessNetworkRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WirelessNetworkRequest{} + +// WirelessNetworkRequest 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. +type WirelessNetworkRequest struct { + Id *string `json:"id,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Ssid string `json:"ssid"` + Mode WirelessNetworkModeChoices `json:"mode"` + Enabled *bool `json:"enabled,omitempty"` + Authentication AuthenticationEnum `json:"authentication"` + Hidden *bool `json:"hidden,omitempty"` + SecretsGroup NullableBulkWritableCircuitRequestTenant `json:"secrets_group,omitempty"` + Tenant NullableBulkWritableCircuitRequestTenant `json:"tenant,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _WirelessNetworkRequest WirelessNetworkRequest + +// NewWirelessNetworkRequest instantiates a new WirelessNetworkRequest 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 +func NewWirelessNetworkRequest(name string, ssid string, mode WirelessNetworkModeChoices, authentication AuthenticationEnum) *WirelessNetworkRequest { + this := WirelessNetworkRequest{} + this.Name = name + this.Ssid = ssid + this.Mode = mode + this.Authentication = authentication + return &this +} + +// NewWirelessNetworkRequestWithDefaults instantiates a new WirelessNetworkRequest 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 +func NewWirelessNetworkRequestWithDefaults() *WirelessNetworkRequest { + this := WirelessNetworkRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *WirelessNetworkRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WirelessNetworkRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value +func (o *WirelessNetworkRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *WirelessNetworkRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *WirelessNetworkRequest) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *WirelessNetworkRequest) SetDescription(v string) { + o.Description = &v +} + +// GetSsid returns the Ssid field value +func (o *WirelessNetworkRequest) GetSsid() string { + if o == nil { + var ret string + return ret + } + + return o.Ssid +} + +// GetSsidOk returns a tuple with the Ssid field value +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetSsidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Ssid, true +} + +// SetSsid sets field value +func (o *WirelessNetworkRequest) SetSsid(v string) { + o.Ssid = v +} + +// GetMode returns the Mode field value +func (o *WirelessNetworkRequest) GetMode() WirelessNetworkModeChoices { + if o == nil { + var ret WirelessNetworkModeChoices + return ret + } + + return o.Mode +} + +// GetModeOk returns a tuple with the Mode field value +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetModeOk() (*WirelessNetworkModeChoices, bool) { + if o == nil { + return nil, false + } + return &o.Mode, true +} + +// SetMode sets field value +func (o *WirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices) { + o.Mode = v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *WirelessNetworkRequest) GetEnabled() bool { + if o == nil || IsNil(o.Enabled) { + var ret bool + return ret + } + return *o.Enabled +} + +// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.Enabled) { + return nil, false + } + return o.Enabled, true +} + +// HasEnabled returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasEnabled() bool { + if o != nil && !IsNil(o.Enabled) { + return true + } + + return false +} + +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *WirelessNetworkRequest) SetEnabled(v bool) { + o.Enabled = &v +} + +// GetAuthentication returns the Authentication field value +func (o *WirelessNetworkRequest) GetAuthentication() AuthenticationEnum { + if o == nil { + var ret AuthenticationEnum + return ret + } + + return o.Authentication +} + +// GetAuthenticationOk returns a tuple with the Authentication field value +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetAuthenticationOk() (*AuthenticationEnum, bool) { + if o == nil { + return nil, false + } + return &o.Authentication, true +} + +// SetAuthentication sets field value +func (o *WirelessNetworkRequest) SetAuthentication(v AuthenticationEnum) { + o.Authentication = v +} + +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *WirelessNetworkRequest) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *WirelessNetworkRequest) SetHidden(v bool) { + o.Hidden = &v +} + +// GetSecretsGroup returns the SecretsGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.SecretsGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.SecretsGroup.Get() +} + +// GetSecretsGroupOk returns a tuple with the SecretsGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetworkRequest) GetSecretsGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.SecretsGroup.Get(), o.SecretsGroup.IsSet() +} + +// HasSecretsGroup returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasSecretsGroup() bool { + if o != nil && o.SecretsGroup.IsSet() { + return true + } + + return false +} + +// SetSecretsGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the SecretsGroup field. +func (o *WirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant) { + o.SecretsGroup.Set(&v) +} +// SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil +func (o *WirelessNetworkRequest) SetSecretsGroupNil() { + o.SecretsGroup.Set(nil) +} + +// UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil +func (o *WirelessNetworkRequest) UnsetSecretsGroup() { + o.SecretsGroup.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.Tenant.Get() +} + +// GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetworkRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.Tenant.Get(), o.Tenant.IsSet() +} + +// HasTenant returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the Tenant field. +func (o *WirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant) { + o.Tenant.Set(&v) +} +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *WirelessNetworkRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *WirelessNetworkRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *WirelessNetworkRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *WirelessNetworkRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *WirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *WirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *WirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessNetworkRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *WirelessNetworkRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *WirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o WirelessNetworkRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WirelessNetworkRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["ssid"] = o.Ssid + toSerialize["mode"] = o.Mode + if !IsNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + toSerialize["authentication"] = o.Authentication + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } + if o.SecretsGroup.IsSet() { + toSerialize["secrets_group"] = o.SecretsGroup.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *WirelessNetworkRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "ssid", + "mode", + "authentication", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varWirelessNetworkRequest := _WirelessNetworkRequest{} + + err = json.Unmarshal(data, &varWirelessNetworkRequest) + + if err != nil { + return err + } + + *o = WirelessNetworkRequest(varWirelessNetworkRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "ssid") + delete(additionalProperties, "mode") + delete(additionalProperties, "enabled") + delete(additionalProperties, "authentication") + delete(additionalProperties, "hidden") + delete(additionalProperties, "secrets_group") + delete(additionalProperties, "tenant") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWirelessNetworkRequest struct { + value *WirelessNetworkRequest + isSet bool +} + +func (v NullableWirelessNetworkRequest) Get() *WirelessNetworkRequest { + return v.value +} + +func (v *NullableWirelessNetworkRequest) Set(val *WirelessNetworkRequest) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessNetworkRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessNetworkRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessNetworkRequest(val *WirelessNetworkRequest) *NullableWirelessNetworkRequest { + return &NullableWirelessNetworkRequest{value: val, isSet: true} +} + +func (v NullableWirelessNetworkRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessNetworkRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_writable_cable_request.go b/model_writable_cable_request.go index 903e14b2..7918652a 100644 --- a/model_writable_cable_request.go +++ b/model_writable_cable_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableCableRequest{} // WritableCableRequest 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. type WritableCableRequest struct { + Id *string `json:"id,omitempty"` TerminationAType string `json:"termination_a_type"` TerminationBType string `json:"termination_b_type"` TerminationAId string `json:"termination_a_id"` @@ -61,6 +62,38 @@ func NewWritableCableRequestWithDefaults() *WritableCableRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableCableRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableCableRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableCableRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableCableRequest) SetId(v string) { + o.Id = &v +} + // GetTerminationAType returns the TerminationAType field value func (o *WritableCableRequest) GetTerminationAType() string { if o == nil { @@ -457,6 +490,9 @@ func (o WritableCableRequest) MarshalJSON() ([]byte, error) { func (o WritableCableRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["termination_a_type"] = o.TerminationAType toSerialize["termination_b_type"] = o.TerminationBType toSerialize["termination_a_id"] = o.TerminationAId @@ -533,6 +569,7 @@ func (o *WritableCableRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "termination_a_type") delete(additionalProperties, "termination_b_type") delete(additionalProperties, "termination_a_id") diff --git a/model_writable_console_port_request.go b/model_writable_console_port_request.go index f7600d09..9cf627c2 100644 --- a/model_writable_console_port_request.go +++ b/model_writable_console_port_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableConsolePortRequest{} // WritableConsolePortRequest 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. type WritableConsolePortRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -53,6 +54,38 @@ func NewWritableConsolePortRequestWithDefaults() *WritableConsolePortRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableConsolePortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableConsolePortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableConsolePortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableConsolePortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableConsolePortRequest) GetName() string { if o == nil { @@ -363,6 +396,9 @@ func (o WritableConsolePortRequest) MarshalJSON() ([]byte, error) { func (o WritableConsolePortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -431,6 +467,7 @@ func (o *WritableConsolePortRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_console_port_template_request.go b/model_writable_console_port_template_request.go index f0994d7d..d594866e 100644 --- a/model_writable_console_port_template_request.go +++ b/model_writable_console_port_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableConsolePortTemplateRequest{} // WritableConsolePortTemplateRequest 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. type WritableConsolePortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -52,6 +53,38 @@ func NewWritableConsolePortTemplateRequestWithDefaults() *WritableConsolePortTem return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableConsolePortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableConsolePortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableConsolePortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableConsolePortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableConsolePortTemplateRequest) GetName() string { if o == nil { @@ -330,6 +363,9 @@ func (o WritableConsolePortTemplateRequest) MarshalJSON() ([]byte, error) { func (o WritableConsolePortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -395,6 +431,7 @@ func (o *WritableConsolePortTemplateRequest) UnmarshalJSON(data []byte) (err err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_console_server_port_request.go b/model_writable_console_server_port_request.go index 5c7b5916..c062e4c7 100644 --- a/model_writable_console_server_port_request.go +++ b/model_writable_console_server_port_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableConsoleServerPortRequest{} // WritableConsoleServerPortRequest 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. type WritableConsoleServerPortRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -53,6 +54,38 @@ func NewWritableConsoleServerPortRequestWithDefaults() *WritableConsoleServerPor return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableConsoleServerPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableConsoleServerPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableConsoleServerPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableConsoleServerPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableConsoleServerPortRequest) GetName() string { if o == nil { @@ -363,6 +396,9 @@ func (o WritableConsoleServerPortRequest) MarshalJSON() ([]byte, error) { func (o WritableConsoleServerPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -431,6 +467,7 @@ func (o *WritableConsoleServerPortRequest) UnmarshalJSON(data []byte) (err error additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_console_server_port_template_request.go b/model_writable_console_server_port_template_request.go index a867323d..3a231a6c 100644 --- a/model_writable_console_server_port_template_request.go +++ b/model_writable_console_server_port_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableConsoleServerPortTemplateRequest{} // WritableConsoleServerPortTemplateRequest 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. type WritableConsoleServerPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -52,6 +53,38 @@ func NewWritableConsoleServerPortTemplateRequestWithDefaults() *WritableConsoleS return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableConsoleServerPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableConsoleServerPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableConsoleServerPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableConsoleServerPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableConsoleServerPortTemplateRequest) GetName() string { if o == nil { @@ -330,6 +363,9 @@ func (o WritableConsoleServerPortTemplateRequest) MarshalJSON() ([]byte, error) func (o WritableConsoleServerPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -395,6 +431,7 @@ func (o *WritableConsoleServerPortTemplateRequest) UnmarshalJSON(data []byte) (e additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_custom_field_request.go b/model_writable_custom_field_request.go index 78ec06a6..eba3d16b 100644 --- a/model_writable_custom_field_request.go +++ b/model_writable_custom_field_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableCustomFieldRequest{} // WritableCustomFieldRequest 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) type WritableCustomFieldRequest struct { + Id *string `json:"id,omitempty"` ContentTypes []string `json:"content_types"` Label string `json:"label"` // Human-readable grouping that this custom field belongs to. @@ -70,6 +71,38 @@ func NewWritableCustomFieldRequestWithDefaults() *WritableCustomFieldRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableCustomFieldRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableCustomFieldRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableCustomFieldRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableCustomFieldRequest) SetId(v string) { + o.Id = &v +} + // GetContentTypes returns the ContentTypes field value func (o *WritableCustomFieldRequest) GetContentTypes() []string { if o == nil { @@ -533,6 +566,9 @@ func (o WritableCustomFieldRequest) MarshalJSON() ([]byte, error) { func (o WritableCustomFieldRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["content_types"] = o.ContentTypes toSerialize["label"] = o.Label if !IsNil(o.Grouping) { @@ -615,6 +651,7 @@ func (o *WritableCustomFieldRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "content_types") delete(additionalProperties, "label") delete(additionalProperties, "grouping") diff --git a/model_writable_device_redundancy_group_request.go b/model_writable_device_redundancy_group_request.go index bd547c53..e10a3a1b 100644 --- a/model_writable_device_redundancy_group_request.go +++ b/model_writable_device_redundancy_group_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableDeviceRedundancyGroupRequest{} // WritableDeviceRedundancyGroupRequest 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. type WritableDeviceRedundancyGroupRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` FailoverStrategy *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy `json:"failover_strategy,omitempty"` @@ -41,6 +42,8 @@ type _WritableDeviceRedundancyGroupRequest WritableDeviceRedundancyGroupRequest func NewWritableDeviceRedundancyGroupRequest(name string, status BulkWritableCableRequestStatus) *WritableDeviceRedundancyGroupRequest { this := WritableDeviceRedundancyGroupRequest{} this.Name = name + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy this.Status = status return &this } @@ -50,9 +53,43 @@ func NewWritableDeviceRedundancyGroupRequest(name string, status BulkWritableCab // but it doesn't guarantee that properties required by API are set func NewWritableDeviceRedundancyGroupRequestWithDefaults() *WritableDeviceRedundancyGroupRequest { this := WritableDeviceRedundancyGroupRequest{} + var failoverStrategy BulkWritableDeviceRedundancyGroupRequestFailoverStrategy = BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY + this.FailoverStrategy = &failoverStrategy return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableDeviceRedundancyGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableDeviceRedundancyGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableDeviceRedundancyGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableDeviceRedundancyGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableDeviceRedundancyGroupRequest) GetName() string { if o == nil { @@ -345,6 +382,9 @@ func (o WritableDeviceRedundancyGroupRequest) MarshalJSON() ([]byte, error) { func (o WritableDeviceRedundancyGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -412,6 +452,7 @@ func (o *WritableDeviceRedundancyGroupRequest) UnmarshalJSON(data []byte) (err e additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "failover_strategy") diff --git a/model_writable_device_request.go b/model_writable_device_request.go index 9708ebcd..84727bef 100644 --- a/model_writable_device_request.go +++ b/model_writable_device_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableDeviceRequest{} // WritableDeviceRequest 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. type WritableDeviceRequest struct { + Id *string `json:"id,omitempty"` LocalConfigContextData interface{} `json:"local_config_context_data,omitempty"` LocalConfigContextDataOwnerObjectId NullableString `json:"local_config_context_data_owner_object_id,omitempty"` Name NullableString `json:"name,omitempty"` @@ -83,6 +84,38 @@ func NewWritableDeviceRequestWithDefaults() *WritableDeviceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableDeviceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableDeviceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableDeviceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableDeviceRequest) SetId(v string) { + o.Id = &v +} + // GetLocalConfigContextData returns the LocalConfigContextData field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritableDeviceRequest) GetLocalConfigContextData() interface{} { if o == nil { @@ -1328,6 +1361,9 @@ func (o WritableDeviceRequest) MarshalJSON() ([]byte, error) { func (o WritableDeviceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.LocalConfigContextData != nil { toSerialize["local_config_context_data"] = o.LocalConfigContextData } @@ -1465,6 +1501,7 @@ func (o *WritableDeviceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "local_config_context_data") delete(additionalProperties, "local_config_context_data_owner_object_id") delete(additionalProperties, "name") diff --git a/model_writable_device_type_request.go b/model_writable_device_type_request.go index bdedc8a1..ad13b1fd 100644 --- a/model_writable_device_type_request.go +++ b/model_writable_device_type_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &WritableDeviceTypeRequest{} // WritableDeviceTypeRequest 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. type WritableDeviceTypeRequest struct { + Id *string `json:"id,omitempty"` FrontImage **os.File `json:"front_image,omitempty"` RearImage **os.File `json:"rear_image,omitempty"` Model string `json:"model"` @@ -60,6 +61,38 @@ func NewWritableDeviceTypeRequestWithDefaults() *WritableDeviceTypeRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableDeviceTypeRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableDeviceTypeRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableDeviceTypeRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableDeviceTypeRequest) SetId(v string) { + o.Id = &v +} + // GetFrontImage returns the FrontImage field value if set, zero value otherwise. func (o *WritableDeviceTypeRequest) GetFrontImage() *os.File { if o == nil || IsNil(o.FrontImage) { @@ -480,6 +513,9 @@ func (o WritableDeviceTypeRequest) MarshalJSON() ([]byte, error) { func (o WritableDeviceTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if !IsNil(o.FrontImage) { toSerialize["front_image"] = o.FrontImage } @@ -559,6 +595,7 @@ func (o *WritableDeviceTypeRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "front_image") delete(additionalProperties, "rear_image") delete(additionalProperties, "model") diff --git a/model_writable_front_port_request.go b/model_writable_front_port_request.go index 711b980a..01d8527c 100644 --- a/model_writable_front_port_request.go +++ b/model_writable_front_port_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableFrontPortRequest{} // WritableFrontPortRequest 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. type WritableFrontPortRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -57,6 +58,38 @@ func NewWritableFrontPortRequestWithDefaults() *WritableFrontPortRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableFrontPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableFrontPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableFrontPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableFrontPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableFrontPortRequest) GetName() string { if o == nil { @@ -415,6 +448,9 @@ func (o WritableFrontPortRequest) MarshalJSON() ([]byte, error) { func (o WritableFrontPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -487,6 +523,7 @@ func (o *WritableFrontPortRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_front_port_template_request.go b/model_writable_front_port_template_request.go index c78b8160..c23b2657 100644 --- a/model_writable_front_port_template_request.go +++ b/model_writable_front_port_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableFrontPortTemplateRequest{} // WritableFrontPortTemplateRequest 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. type WritableFrontPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -56,6 +57,38 @@ func NewWritableFrontPortTemplateRequestWithDefaults() *WritableFrontPortTemplat return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableFrontPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableFrontPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableFrontPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableFrontPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableFrontPortTemplateRequest) GetName() string { if o == nil { @@ -382,6 +415,9 @@ func (o WritableFrontPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o WritableFrontPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -451,6 +487,7 @@ func (o *WritableFrontPortTemplateRequest) UnmarshalJSON(data []byte) (err error additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_interface_redundancy_group_request.go b/model_writable_interface_redundancy_group_request.go index d633799d..9a5c15e0 100644 --- a/model_writable_interface_redundancy_group_request.go +++ b/model_writable_interface_redundancy_group_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableInterfaceRedundancyGroupRequest{} // WritableInterfaceRedundancyGroupRequest InterfaceRedundancyGroup Serializer. type WritableInterfaceRedundancyGroupRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Description *string `json:"description,omitempty"` Protocol *RedundancyProtocol `json:"protocol,omitempty"` @@ -54,6 +55,38 @@ func NewWritableInterfaceRedundancyGroupRequestWithDefaults() *WritableInterface return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableInterfaceRedundancyGroupRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableInterfaceRedundancyGroupRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableInterfaceRedundancyGroupRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableInterfaceRedundancyGroupRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableInterfaceRedundancyGroupRequest) GetName() string { if o == nil { @@ -388,6 +421,9 @@ func (o WritableInterfaceRedundancyGroupRequest) MarshalJSON() ([]byte, error) { func (o WritableInterfaceRedundancyGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -458,6 +494,7 @@ func (o *WritableInterfaceRedundancyGroupRequest) UnmarshalJSON(data []byte) (er additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "description") delete(additionalProperties, "protocol") diff --git a/model_writable_interface_request.go b/model_writable_interface_request.go index 01e47c66..c7661b3d 100644 --- a/model_writable_interface_request.go +++ b/model_writable_interface_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableInterfaceRequest{} // WritableInterfaceRequest 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. type WritableInterfaceRequest struct { + Id *string `json:"id,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Name string `json:"name"` // Physical label @@ -69,6 +70,38 @@ func NewWritableInterfaceRequestWithDefaults() *WritableInterfaceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableInterfaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableInterfaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableInterfaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableInterfaceRequest) SetId(v string) { + o.Id = &v +} + // GetMacAddress returns the MacAddress field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritableInterfaceRequest) GetMacAddress() string { if o == nil || IsNil(o.MacAddress.Get()) { @@ -859,6 +892,9 @@ func (o WritableInterfaceRequest) MarshalJSON() ([]byte, error) { func (o WritableInterfaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.MacAddress.IsSet() { toSerialize["mac_address"] = o.MacAddress.Get() } @@ -964,6 +1000,7 @@ func (o *WritableInterfaceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "mac_address") delete(additionalProperties, "name") delete(additionalProperties, "label") diff --git a/model_writable_interface_template_request.go b/model_writable_interface_template_request.go index 66a7fa5a..96e9c6d1 100644 --- a/model_writable_interface_template_request.go +++ b/model_writable_interface_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableInterfaceTemplateRequest{} // WritableInterfaceTemplateRequest 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. type WritableInterfaceTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -54,6 +55,38 @@ func NewWritableInterfaceTemplateRequestWithDefaults() *WritableInterfaceTemplat return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableInterfaceTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableInterfaceTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableInterfaceTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableInterfaceTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableInterfaceTemplateRequest) GetName() string { if o == nil { @@ -356,6 +389,9 @@ func (o WritableInterfaceTemplateRequest) MarshalJSON() ([]byte, error) { func (o WritableInterfaceTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -423,6 +459,7 @@ func (o *WritableInterfaceTemplateRequest) UnmarshalJSON(data []byte) (err error additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_power_feed_request.go b/model_writable_power_feed_request.go index e70eb845..ebfbf8ed 100644 --- a/model_writable_power_feed_request.go +++ b/model_writable_power_feed_request.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. @@ -20,17 +20,23 @@ var _ MappedNullable = &WritablePowerFeedRequest{} // WritablePowerFeedRequest 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. type WritablePowerFeedRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` Type *PowerFeedTypeChoices `json:"type,omitempty"` + PowerPath *PatchedWritablePowerFeedRequestPowerPath `json:"power_path,omitempty"` Supply *SupplyEnum `json:"supply,omitempty"` Phase *PhaseEnum `json:"phase,omitempty"` Voltage *int32 `json:"voltage,omitempty"` Amperage *int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` + // Starting circuit breaker position in panel + BreakerPosition NullableInt32 `json:"breaker_position,omitempty"` + BreakerPoleCount NullableBreakerPoleCountEnum `json:"breaker_pole_count,omitempty"` Comments *string `json:"comments,omitempty"` Cable NullableBulkWritableCircuitRequestTenant `json:"cable,omitempty"` - PowerPanel BulkWritableCableRequestStatus `json:"power_panel"` + PowerPanel BulkWritablePowerFeedRequestPowerPanel `json:"power_panel"` + DestinationPanel NullableBulkWritablePowerFeedRequestDestinationPanel `json:"destination_panel,omitempty"` Rack NullableBulkWritableCircuitRequestTenant `json:"rack,omitempty"` Status BulkWritableCableRequestStatus `json:"status"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -45,7 +51,7 @@ type _WritablePowerFeedRequest WritablePowerFeedRequest // 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 -func NewWritablePowerFeedRequest(name string, powerPanel BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus) *WritablePowerFeedRequest { +func NewWritablePowerFeedRequest(name string, powerPanel BulkWritablePowerFeedRequestPowerPanel, status BulkWritableCableRequestStatus) *WritablePowerFeedRequest { this := WritablePowerFeedRequest{} this.Name = name this.PowerPanel = powerPanel @@ -61,6 +67,38 @@ func NewWritablePowerFeedRequestWithDefaults() *WritablePowerFeedRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritablePowerFeedRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerFeedRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritablePowerFeedRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritablePowerFeedRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritablePowerFeedRequest) GetName() string { if o == nil { @@ -117,6 +155,38 @@ func (o *WritablePowerFeedRequest) SetType(v PowerFeedTypeChoices) { o.Type = &v } +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *WritablePowerFeedRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath { + if o == nil || IsNil(o.PowerPath) { + var ret PatchedWritablePowerFeedRequestPowerPath + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerFeedRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *WritablePowerFeedRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PatchedWritablePowerFeedRequestPowerPath and assigns it to the PowerPath field. +func (o *WritablePowerFeedRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath) { + o.PowerPath = &v +} + // GetSupply returns the Supply field value if set, zero value otherwise. func (o *WritablePowerFeedRequest) GetSupply() SupplyEnum { if o == nil || IsNil(o.Supply) { @@ -277,6 +347,90 @@ func (o *WritablePowerFeedRequest) SetMaxUtilization(v int32) { o.MaxUtilization = &v } +// GetBreakerPosition returns the BreakerPosition field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritablePowerFeedRequest) GetBreakerPosition() int32 { + if o == nil || IsNil(o.BreakerPosition.Get()) { + var ret int32 + return ret + } + return *o.BreakerPosition.Get() +} + +// GetBreakerPositionOk returns a tuple with the BreakerPosition field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WritablePowerFeedRequest) GetBreakerPositionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPosition.Get(), o.BreakerPosition.IsSet() +} + +// HasBreakerPosition returns a boolean if a field has been set. +func (o *WritablePowerFeedRequest) HasBreakerPosition() bool { + if o != nil && o.BreakerPosition.IsSet() { + return true + } + + return false +} + +// SetBreakerPosition gets a reference to the given NullableInt32 and assigns it to the BreakerPosition field. +func (o *WritablePowerFeedRequest) SetBreakerPosition(v int32) { + o.BreakerPosition.Set(&v) +} +// SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil +func (o *WritablePowerFeedRequest) SetBreakerPositionNil() { + o.BreakerPosition.Set(nil) +} + +// UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil +func (o *WritablePowerFeedRequest) UnsetBreakerPosition() { + o.BreakerPosition.Unset() +} + +// GetBreakerPoleCount returns the BreakerPoleCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum { + if o == nil || IsNil(o.BreakerPoleCount.Get()) { + var ret BreakerPoleCountEnum + return ret + } + return *o.BreakerPoleCount.Get() +} + +// GetBreakerPoleCountOk returns a tuple with the BreakerPoleCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WritablePowerFeedRequest) GetBreakerPoleCountOk() (*BreakerPoleCountEnum, bool) { + if o == nil { + return nil, false + } + return o.BreakerPoleCount.Get(), o.BreakerPoleCount.IsSet() +} + +// HasBreakerPoleCount returns a boolean if a field has been set. +func (o *WritablePowerFeedRequest) HasBreakerPoleCount() bool { + if o != nil && o.BreakerPoleCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPoleCount gets a reference to the given NullableBreakerPoleCountEnum and assigns it to the BreakerPoleCount field. +func (o *WritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum) { + o.BreakerPoleCount.Set(&v) +} +// SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil +func (o *WritablePowerFeedRequest) SetBreakerPoleCountNil() { + o.BreakerPoleCount.Set(nil) +} + +// UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil +func (o *WritablePowerFeedRequest) UnsetBreakerPoleCount() { + o.BreakerPoleCount.Unset() +} + // GetComments returns the Comments field value if set, zero value otherwise. func (o *WritablePowerFeedRequest) GetComments() string { if o == nil || IsNil(o.Comments) { @@ -352,9 +506,9 @@ func (o *WritablePowerFeedRequest) UnsetCable() { } // GetPowerPanel returns the PowerPanel field value -func (o *WritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus { +func (o *WritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel { if o == nil { - var ret BulkWritableCableRequestStatus + var ret BulkWritablePowerFeedRequestPowerPanel return ret } @@ -363,7 +517,7 @@ func (o *WritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatu // GetPowerPanelOk returns a tuple with the PowerPanel field value // and a boolean to check if the value has been set. -func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool) { +func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritablePowerFeedRequestPowerPanel, bool) { if o == nil { return nil, false } @@ -371,10 +525,52 @@ func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestS } // SetPowerPanel sets field value -func (o *WritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus) { +func (o *WritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel) { o.PowerPanel = v } +// GetDestinationPanel returns the DestinationPanel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel { + if o == nil || IsNil(o.DestinationPanel.Get()) { + var ret BulkWritablePowerFeedRequestDestinationPanel + return ret + } + return *o.DestinationPanel.Get() +} + +// GetDestinationPanelOk returns a tuple with the DestinationPanel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WritablePowerFeedRequest) GetDestinationPanelOk() (*BulkWritablePowerFeedRequestDestinationPanel, bool) { + if o == nil { + return nil, false + } + return o.DestinationPanel.Get(), o.DestinationPanel.IsSet() +} + +// HasDestinationPanel returns a boolean if a field has been set. +func (o *WritablePowerFeedRequest) HasDestinationPanel() bool { + if o != nil && o.DestinationPanel.IsSet() { + return true + } + + return false +} + +// SetDestinationPanel gets a reference to the given NullableBulkWritablePowerFeedRequestDestinationPanel and assigns it to the DestinationPanel field. +func (o *WritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel) { + o.DestinationPanel.Set(&v) +} +// SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil +func (o *WritablePowerFeedRequest) SetDestinationPanelNil() { + o.DestinationPanel.Set(nil) +} + +// UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil +func (o *WritablePowerFeedRequest) UnsetDestinationPanel() { + o.DestinationPanel.Unset() +} + // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Rack.Get()) { @@ -547,10 +743,16 @@ func (o WritablePowerFeedRequest) MarshalJSON() ([]byte, error) { func (o WritablePowerFeedRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Type) { toSerialize["type"] = o.Type } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } if !IsNil(o.Supply) { toSerialize["supply"] = o.Supply } @@ -566,6 +768,12 @@ func (o WritablePowerFeedRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaxUtilization) { toSerialize["max_utilization"] = o.MaxUtilization } + if o.BreakerPosition.IsSet() { + toSerialize["breaker_position"] = o.BreakerPosition.Get() + } + if o.BreakerPoleCount.IsSet() { + toSerialize["breaker_pole_count"] = o.BreakerPoleCount.Get() + } if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } @@ -573,6 +781,9 @@ func (o WritablePowerFeedRequest) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() } toSerialize["power_panel"] = o.PowerPanel + if o.DestinationPanel.IsSet() { + toSerialize["destination_panel"] = o.DestinationPanel.Get() + } if o.Rack.IsSet() { toSerialize["rack"] = o.Rack.Get() } @@ -631,16 +842,21 @@ func (o *WritablePowerFeedRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "type") + delete(additionalProperties, "power_path") delete(additionalProperties, "supply") delete(additionalProperties, "phase") delete(additionalProperties, "voltage") delete(additionalProperties, "amperage") delete(additionalProperties, "max_utilization") + delete(additionalProperties, "breaker_position") + delete(additionalProperties, "breaker_pole_count") delete(additionalProperties, "comments") delete(additionalProperties, "cable") delete(additionalProperties, "power_panel") + delete(additionalProperties, "destination_panel") delete(additionalProperties, "rack") delete(additionalProperties, "status") delete(additionalProperties, "custom_fields") diff --git a/model_writable_power_outlet_request.go b/model_writable_power_outlet_request.go index cbee39bb..6b7c2c66 100644 --- a/model_writable_power_outlet_request.go +++ b/model_writable_power_outlet_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritablePowerOutletRequest{} // WritablePowerOutletRequest 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. type WritablePowerOutletRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -55,6 +56,38 @@ func NewWritablePowerOutletRequestWithDefaults() *WritablePowerOutletRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritablePowerOutletRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerOutletRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritablePowerOutletRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritablePowerOutletRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritablePowerOutletRequest) GetName() string { if o == nil { @@ -439,6 +472,9 @@ func (o WritablePowerOutletRequest) MarshalJSON() ([]byte, error) { func (o WritablePowerOutletRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -513,6 +549,7 @@ func (o *WritablePowerOutletRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_power_outlet_template_request.go b/model_writable_power_outlet_template_request.go index 939cab36..4fa9c6c2 100644 --- a/model_writable_power_outlet_template_request.go +++ b/model_writable_power_outlet_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritablePowerOutletTemplateRequest{} // WritablePowerOutletTemplateRequest 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. type WritablePowerOutletTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -54,6 +55,38 @@ func NewWritablePowerOutletTemplateRequestWithDefaults() *WritablePowerOutletTem return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritablePowerOutletTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerOutletTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritablePowerOutletTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritablePowerOutletTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritablePowerOutletTemplateRequest) GetName() string { if o == nil { @@ -406,6 +439,9 @@ func (o WritablePowerOutletTemplateRequest) MarshalJSON() ([]byte, error) { func (o WritablePowerOutletTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -477,6 +513,7 @@ func (o *WritablePowerOutletTemplateRequest) UnmarshalJSON(data []byte) (err err additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_power_panel_request.go b/model_writable_power_panel_request.go new file mode 100644 index 00000000..4def75e9 --- /dev/null +++ b/model_writable_power_panel_request.go @@ -0,0 +1,514 @@ +/* +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 ( + "encoding/json" + "fmt" +) + +// checks if the WritablePowerPanelRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WritablePowerPanelRequest{} + +// WritablePowerPanelRequest 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. +type WritablePowerPanelRequest struct { + Id *string `json:"id,omitempty"` + Name string `json:"name"` + PanelType *PatchedWritablePowerPanelRequestPanelType `json:"panel_type,omitempty"` + // Total number of breaker positions in the panel (e.g., 42) + BreakerPositionCount NullableInt32 `json:"breaker_position_count,omitempty"` + PowerPath *PatchedWritablePowerFeedRequestPowerPath `json:"power_path,omitempty"` + Location BulkWritableCableRequestStatus `json:"location"` + RackGroup NullableBulkWritableCircuitRequestTenant `json:"rack_group,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` + Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _WritablePowerPanelRequest WritablePowerPanelRequest + +// NewWritablePowerPanelRequest instantiates a new WritablePowerPanelRequest 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 +func NewWritablePowerPanelRequest(name string, location BulkWritableCableRequestStatus) *WritablePowerPanelRequest { + this := WritablePowerPanelRequest{} + this.Name = name + this.Location = location + return &this +} + +// NewWritablePowerPanelRequestWithDefaults instantiates a new WritablePowerPanelRequest 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 +func NewWritablePowerPanelRequestWithDefaults() *WritablePowerPanelRequest { + this := WritablePowerPanelRequest{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritablePowerPanelRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritablePowerPanelRequest) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value +func (o *WritablePowerPanelRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *WritablePowerPanelRequest) SetName(v string) { + o.Name = v +} + +// GetPanelType returns the PanelType field value if set, zero value otherwise. +func (o *WritablePowerPanelRequest) GetPanelType() PatchedWritablePowerPanelRequestPanelType { + if o == nil || IsNil(o.PanelType) { + var ret PatchedWritablePowerPanelRequestPanelType + return ret + } + return *o.PanelType +} + +// GetPanelTypeOk returns a tuple with the PanelType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetPanelTypeOk() (*PatchedWritablePowerPanelRequestPanelType, bool) { + if o == nil || IsNil(o.PanelType) { + return nil, false + } + return o.PanelType, true +} + +// HasPanelType returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasPanelType() bool { + if o != nil && !IsNil(o.PanelType) { + return true + } + + return false +} + +// SetPanelType gets a reference to the given PatchedWritablePowerPanelRequestPanelType and assigns it to the PanelType field. +func (o *WritablePowerPanelRequest) SetPanelType(v PatchedWritablePowerPanelRequestPanelType) { + o.PanelType = &v +} + +// GetBreakerPositionCount returns the BreakerPositionCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritablePowerPanelRequest) GetBreakerPositionCount() int32 { + if o == nil || IsNil(o.BreakerPositionCount.Get()) { + var ret int32 + return ret + } + return *o.BreakerPositionCount.Get() +} + +// GetBreakerPositionCountOk returns a tuple with the BreakerPositionCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WritablePowerPanelRequest) GetBreakerPositionCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.BreakerPositionCount.Get(), o.BreakerPositionCount.IsSet() +} + +// HasBreakerPositionCount returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasBreakerPositionCount() bool { + if o != nil && o.BreakerPositionCount.IsSet() { + return true + } + + return false +} + +// SetBreakerPositionCount gets a reference to the given NullableInt32 and assigns it to the BreakerPositionCount field. +func (o *WritablePowerPanelRequest) SetBreakerPositionCount(v int32) { + o.BreakerPositionCount.Set(&v) +} +// SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil +func (o *WritablePowerPanelRequest) SetBreakerPositionCountNil() { + o.BreakerPositionCount.Set(nil) +} + +// UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil +func (o *WritablePowerPanelRequest) UnsetBreakerPositionCount() { + o.BreakerPositionCount.Unset() +} + +// GetPowerPath returns the PowerPath field value if set, zero value otherwise. +func (o *WritablePowerPanelRequest) GetPowerPath() PatchedWritablePowerFeedRequestPowerPath { + if o == nil || IsNil(o.PowerPath) { + var ret PatchedWritablePowerFeedRequestPowerPath + return ret + } + return *o.PowerPath +} + +// GetPowerPathOk returns a tuple with the PowerPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetPowerPathOk() (*PatchedWritablePowerFeedRequestPowerPath, bool) { + if o == nil || IsNil(o.PowerPath) { + return nil, false + } + return o.PowerPath, true +} + +// HasPowerPath returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasPowerPath() bool { + if o != nil && !IsNil(o.PowerPath) { + return true + } + + return false +} + +// SetPowerPath gets a reference to the given PatchedWritablePowerFeedRequestPowerPath and assigns it to the PowerPath field. +func (o *WritablePowerPanelRequest) SetPowerPath(v PatchedWritablePowerFeedRequestPowerPath) { + o.PowerPath = &v +} + +// GetLocation returns the Location field value +func (o *WritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus { + if o == nil { + var ret BulkWritableCableRequestStatus + return ret + } + + return o.Location +} + +// GetLocationOk returns a tuple with the Location field value +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetLocationOk() (*BulkWritableCableRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Location, true +} + +// SetLocation sets field value +func (o *WritablePowerPanelRequest) SetLocation(v BulkWritableCableRequestStatus) { + o.Location = v +} + +// GetRackGroup returns the RackGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritablePowerPanelRequest) GetRackGroup() BulkWritableCircuitRequestTenant { + if o == nil || IsNil(o.RackGroup.Get()) { + var ret BulkWritableCircuitRequestTenant + return ret + } + return *o.RackGroup.Get() +} + +// GetRackGroupOk returns a tuple with the RackGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WritablePowerPanelRequest) GetRackGroupOk() (*BulkWritableCircuitRequestTenant, bool) { + if o == nil { + return nil, false + } + return o.RackGroup.Get(), o.RackGroup.IsSet() +} + +// HasRackGroup returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasRackGroup() bool { + if o != nil && o.RackGroup.IsSet() { + return true + } + + return false +} + +// SetRackGroup gets a reference to the given NullableBulkWritableCircuitRequestTenant and assigns it to the RackGroup field. +func (o *WritablePowerPanelRequest) SetRackGroup(v BulkWritableCircuitRequestTenant) { + o.RackGroup.Set(&v) +} +// SetRackGroupNil sets the value for RackGroup to be an explicit nil +func (o *WritablePowerPanelRequest) SetRackGroupNil() { + o.RackGroup.Set(nil) +} + +// UnsetRackGroup ensures that no value is present for RackGroup, not even an explicit nil +func (o *WritablePowerPanelRequest) UnsetRackGroup() { + o.RackGroup.Unset() +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *WritablePowerPanelRequest) GetCustomFields() map[string]interface{} { + if o == nil || IsNil(o.CustomFields) { + var ret map[string]interface{} + return ret + } + return o.CustomFields +} + +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetCustomFieldsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CustomFields) { + return map[string]interface{}{}, false + } + return o.CustomFields, true +} + +// HasCustomFields returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasCustomFields() bool { + if o != nil && !IsNil(o.CustomFields) { + return true + } + + return false +} + +// SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field. +func (o *WritablePowerPanelRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *WritablePowerPanelRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue { + if o == nil || IsNil(o.Relationships) { + var ret map[string]BulkWritableCableRequestRelationshipsValue + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given map[string]BulkWritableCableRequestRelationshipsValue and assigns it to the Relationships field. +func (o *WritablePowerPanelRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue) { + o.Relationships = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *WritablePowerPanelRequest) GetTags() []BulkWritableCableRequestStatus { + if o == nil || IsNil(o.Tags) { + var ret []BulkWritableCableRequestStatus + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPanelRequest) GetTagsOk() ([]BulkWritableCableRequestStatus, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *WritablePowerPanelRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []BulkWritableCableRequestStatus and assigns it to the Tags field. +func (o *WritablePowerPanelRequest) SetTags(v []BulkWritableCableRequestStatus) { + o.Tags = v +} + +func (o WritablePowerPanelRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WritablePowerPanelRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + toSerialize["name"] = o.Name + if !IsNil(o.PanelType) { + toSerialize["panel_type"] = o.PanelType + } + if o.BreakerPositionCount.IsSet() { + toSerialize["breaker_position_count"] = o.BreakerPositionCount.Get() + } + if !IsNil(o.PowerPath) { + toSerialize["power_path"] = o.PowerPath + } + toSerialize["location"] = o.Location + if o.RackGroup.IsSet() { + toSerialize["rack_group"] = o.RackGroup.Get() + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *WritablePowerPanelRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "location", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varWritablePowerPanelRequest := _WritablePowerPanelRequest{} + + err = json.Unmarshal(data, &varWritablePowerPanelRequest) + + if err != nil { + return err + } + + *o = WritablePowerPanelRequest(varWritablePowerPanelRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "panel_type") + delete(additionalProperties, "breaker_position_count") + delete(additionalProperties, "power_path") + delete(additionalProperties, "location") + delete(additionalProperties, "rack_group") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "relationships") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWritablePowerPanelRequest struct { + value *WritablePowerPanelRequest + isSet bool +} + +func (v NullableWritablePowerPanelRequest) Get() *WritablePowerPanelRequest { + return v.value +} + +func (v *NullableWritablePowerPanelRequest) Set(val *WritablePowerPanelRequest) { + v.value = val + v.isSet = true +} + +func (v NullableWritablePowerPanelRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableWritablePowerPanelRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWritablePowerPanelRequest(val *WritablePowerPanelRequest) *NullableWritablePowerPanelRequest { + return &NullableWritablePowerPanelRequest{value: val, isSet: true} +} + +func (v NullableWritablePowerPanelRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWritablePowerPanelRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_writable_power_port_request.go b/model_writable_power_port_request.go index f4dff12e..1a78d0d2 100644 --- a/model_writable_power_port_request.go +++ b/model_writable_power_port_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritablePowerPortRequest{} // WritablePowerPortRequest 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. type WritablePowerPortRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -29,6 +30,8 @@ type WritablePowerPortRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` Device NullableBulkWritableCircuitRequestTenant `json:"device,omitempty"` Module NullableBulkWritableCircuitRequestTenant `json:"module,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -57,6 +60,38 @@ func NewWritablePowerPortRequestWithDefaults() *WritablePowerPortRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritablePowerPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritablePowerPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritablePowerPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritablePowerPortRequest) GetName() string { if o == nil { @@ -261,6 +296,38 @@ func (o *WritablePowerPortRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *WritablePowerPortRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPortRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *WritablePowerPortRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *WritablePowerPortRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.Device.Get()) { @@ -451,6 +518,9 @@ func (o WritablePowerPortRequest) MarshalJSON() ([]byte, error) { func (o WritablePowerPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -467,6 +537,9 @@ func (o WritablePowerPortRequest) ToMap() (map[string]interface{}, error) { if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } @@ -525,12 +598,14 @@ func (o *WritablePowerPortRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "type") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device") delete(additionalProperties, "module") delete(additionalProperties, "custom_fields") diff --git a/model_writable_power_port_template_request.go b/model_writable_power_port_template_request.go index 7dc285bc..efe98ef1 100644 --- a/model_writable_power_port_template_request.go +++ b/model_writable_power_port_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritablePowerPortTemplateRequest{} // WritablePowerPortTemplateRequest 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. type WritablePowerPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -29,6 +30,8 @@ type WritablePowerPortTemplateRequest struct { MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + // Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. + PowerFactor *float64 `json:"power_factor,omitempty" validate:"regexp=^-?\\\\d{0,2}(?:\\\\.\\\\d{0,2})?$"` DeviceType NullableBulkWritableCircuitRequestTenant `json:"device_type,omitempty"` ModuleType NullableBulkWritableCircuitRequestTenant `json:"module_type,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -56,6 +59,38 @@ func NewWritablePowerPortTemplateRequestWithDefaults() *WritablePowerPortTemplat return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritablePowerPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritablePowerPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritablePowerPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritablePowerPortTemplateRequest) GetName() string { if o == nil { @@ -260,6 +295,38 @@ func (o *WritablePowerPortTemplateRequest) UnsetAllocatedDraw() { o.AllocatedDraw.Unset() } +// GetPowerFactor returns the PowerFactor field value if set, zero value otherwise. +func (o *WritablePowerPortTemplateRequest) GetPowerFactor() float64 { + if o == nil || IsNil(o.PowerFactor) { + var ret float64 + return ret + } + return *o.PowerFactor +} + +// GetPowerFactorOk returns a tuple with the PowerFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePowerPortTemplateRequest) GetPowerFactorOk() (*float64, bool) { + if o == nil || IsNil(o.PowerFactor) { + return nil, false + } + return o.PowerFactor, true +} + +// HasPowerFactor returns a boolean if a field has been set. +func (o *WritablePowerPortTemplateRequest) HasPowerFactor() bool { + if o != nil && !IsNil(o.PowerFactor) { + return true + } + + return false +} + +// SetPowerFactor gets a reference to the given float64 and assigns it to the PowerFactor field. +func (o *WritablePowerPortTemplateRequest) SetPowerFactor(v float64) { + o.PowerFactor = &v +} + // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant { if o == nil || IsNil(o.DeviceType.Get()) { @@ -418,6 +485,9 @@ func (o WritablePowerPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o WritablePowerPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -434,6 +504,9 @@ func (o WritablePowerPortTemplateRequest) ToMap() (map[string]interface{}, error if o.AllocatedDraw.IsSet() { toSerialize["allocated_draw"] = o.AllocatedDraw.Get() } + if !IsNil(o.PowerFactor) { + toSerialize["power_factor"] = o.PowerFactor + } if o.DeviceType.IsSet() { toSerialize["device_type"] = o.DeviceType.Get() } @@ -489,12 +562,14 @@ func (o *WritablePowerPortTemplateRequest) UnmarshalJSON(data []byte) (err error additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") delete(additionalProperties, "type") delete(additionalProperties, "maximum_draw") delete(additionalProperties, "allocated_draw") + delete(additionalProperties, "power_factor") delete(additionalProperties, "device_type") delete(additionalProperties, "module_type") delete(additionalProperties, "custom_fields") diff --git a/model_writable_prefix_request.go b/model_writable_prefix_request.go index 73121b2e..0edbae29 100644 --- a/model_writable_prefix_request.go +++ b/model_writable_prefix_request.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. @@ -21,6 +21,7 @@ var _ MappedNullable = &WritablePrefixRequest{} // WritablePrefixRequest 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. type WritablePrefixRequest struct { + Id *string `json:"id,omitempty"` Prefix string `json:"prefix"` Location NullableBulkWritablePrefixRequestLocation `json:"location,omitempty"` Type *PrefixTypeChoices `json:"type,omitempty"` @@ -61,6 +62,38 @@ func NewWritablePrefixRequestWithDefaults() *WritablePrefixRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritablePrefixRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritablePrefixRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritablePrefixRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritablePrefixRequest) SetId(v string) { + o.Id = &v +} + // GetPrefix returns the Prefix field value func (o *WritablePrefixRequest) GetPrefix() string { if o == nil { @@ -605,6 +638,9 @@ func (o WritablePrefixRequest) MarshalJSON() ([]byte, error) { func (o WritablePrefixRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["prefix"] = o.Prefix if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() @@ -690,6 +726,7 @@ func (o *WritablePrefixRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "prefix") delete(additionalProperties, "location") delete(additionalProperties, "type") diff --git a/model_writable_rack_request.go b/model_writable_rack_request.go index 8278a62a..f825daa1 100644 --- a/model_writable_rack_request.go +++ b/model_writable_rack_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableRackRequest{} // WritableRackRequest 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. type WritableRackRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Locally-assigned identifier FacilityId NullableString `json:"facility_id,omitempty"` @@ -72,6 +73,38 @@ func NewWritableRackRequestWithDefaults() *WritableRackRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableRackRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableRackRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableRackRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableRackRequest) GetName() string { if o == nil { @@ -768,6 +801,9 @@ func (o WritableRackRequest) MarshalJSON() ([]byte, error) { func (o WritableRackRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if o.FacilityId.IsSet() { toSerialize["facility_id"] = o.FacilityId.Get() @@ -867,6 +903,7 @@ func (o *WritableRackRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "facility_id") delete(additionalProperties, "serial") diff --git a/model_writable_rear_port_request.go b/model_writable_rear_port_request.go index 6ca703c2..26aaaeaa 100644 --- a/model_writable_rear_port_request.go +++ b/model_writable_rear_port_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableRearPortRequest{} // WritableRearPortRequest 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. type WritableRearPortRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -55,6 +56,38 @@ func NewWritableRearPortRequestWithDefaults() *WritableRearPortRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableRearPortRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRearPortRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableRearPortRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableRearPortRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableRearPortRequest) GetName() string { if o == nil { @@ -389,6 +422,9 @@ func (o WritableRearPortRequest) MarshalJSON() ([]byte, error) { func (o WritableRearPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -459,6 +495,7 @@ func (o *WritableRearPortRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_rear_port_template_request.go b/model_writable_rear_port_template_request.go index c28805f7..0ea25ccf 100644 --- a/model_writable_rear_port_template_request.go +++ b/model_writable_rear_port_template_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableRearPortTemplateRequest{} // WritableRearPortTemplateRequest 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. type WritableRearPortTemplateRequest struct { + Id *string `json:"id,omitempty"` Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` @@ -54,6 +55,38 @@ func NewWritableRearPortTemplateRequestWithDefaults() *WritableRearPortTemplateR return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableRearPortTemplateRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRearPortTemplateRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableRearPortTemplateRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableRearPortTemplateRequest) SetId(v string) { + o.Id = &v +} + // GetName returns the Name field value func (o *WritableRearPortTemplateRequest) GetName() string { if o == nil { @@ -356,6 +389,9 @@ func (o WritableRearPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o WritableRearPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -423,6 +459,7 @@ func (o *WritableRearPortTemplateRequest) UnmarshalJSON(data []byte) (err error) additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "description") diff --git a/model_writable_service_request.go b/model_writable_service_request.go index 97024c84..8971e902 100644 --- a/model_writable_service_request.go +++ b/model_writable_service_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableServiceRequest{} // WritableServiceRequest 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. type WritableServiceRequest struct { + Id *string `json:"id,omitempty"` Ports []int32 `json:"ports"` Name string `json:"name"` Protocol ServiceProtocolChoices `json:"protocol"` @@ -55,6 +56,38 @@ func NewWritableServiceRequestWithDefaults() *WritableServiceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableServiceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableServiceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableServiceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableServiceRequest) SetId(v string) { + o.Id = &v +} + // GetPorts returns the Ports field value func (o *WritableServiceRequest) GetPorts() []int32 { if o == nil { @@ -381,6 +414,9 @@ func (o WritableServiceRequest) MarshalJSON() ([]byte, error) { func (o WritableServiceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } toSerialize["ports"] = o.Ports toSerialize["name"] = o.Name toSerialize["protocol"] = o.Protocol @@ -450,6 +486,7 @@ func (o *WritableServiceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "ports") delete(additionalProperties, "name") delete(additionalProperties, "protocol") diff --git a/model_writable_vm_interface_request.go b/model_writable_vm_interface_request.go index e618f1fe..fa9138e2 100644 --- a/model_writable_vm_interface_request.go +++ b/model_writable_vm_interface_request.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. @@ -20,6 +20,7 @@ var _ MappedNullable = &WritableVMInterfaceRequest{} // WritableVMInterfaceRequest 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. type WritableVMInterfaceRequest struct { + Id *string `json:"id,omitempty"` MacAddress NullableString `json:"mac_address,omitempty"` Enabled *bool `json:"enabled,omitempty"` Mtu NullableInt32 `json:"mtu,omitempty"` @@ -62,6 +63,38 @@ func NewWritableVMInterfaceRequestWithDefaults() *WritableVMInterfaceRequest { return &this } +// GetId returns the Id field value if set, zero value otherwise. +func (o *WritableVMInterfaceRequest) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableVMInterfaceRequest) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *WritableVMInterfaceRequest) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *WritableVMInterfaceRequest) SetId(v string) { + o.Id = &v +} + // GetMacAddress returns the MacAddress field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritableVMInterfaceRequest) GetMacAddress() string { if o == nil || IsNil(o.MacAddress.Get()) { @@ -662,6 +695,9 @@ func (o WritableVMInterfaceRequest) MarshalJSON() ([]byte, error) { func (o WritableVMInterfaceRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } if o.MacAddress.IsSet() { toSerialize["mac_address"] = o.MacAddress.Get() } @@ -752,6 +788,7 @@ func (o *WritableVMInterfaceRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") delete(additionalProperties, "mac_address") delete(additionalProperties, "enabled") delete(additionalProperties, "mtu") diff --git a/response.go b/response.go index 16ff20c8..2d1714cd 100644 --- a/response.go +++ b/response.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/test/api_cloud_test.go b/test/api_cloud_test.go index a2f0c1ab..5ef2827f 100644 --- a/test/api_cloud_test.go +++ b/test/api_cloud_test.go @@ -236,34 +236,6 @@ func Test_nautobot_CloudAPIService(t *testing.T) { }) - t.Run("Test CloudAPIService CloudCloudNetworkPrefixAssignmentsNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CloudAPIService CloudCloudNetworkPrefixAssignmentsNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test CloudAPIService CloudCloudNetworkPrefixAssignmentsPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -662,34 +634,6 @@ func Test_nautobot_CloudAPIService(t *testing.T) { }) - t.Run("Test CloudAPIService CloudCloudServiceNetworkAssignmentsNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CloudAPIService CloudCloudServiceNetworkAssignmentsNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test CloudAPIService CloudCloudServiceNetworkAssignmentsPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/test/api_core_test.go b/test/api_core_test.go new file mode 100644 index 00000000..be299d12 --- /dev/null +++ b/test/api_core_test.go @@ -0,0 +1,37 @@ +/* +API Documentation + +Testing CoreAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package nautobot + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func Test_nautobot_CoreAPIService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test CoreAPIService CoreRenderJinjaTemplateCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.CoreAPI.CoreRenderJinjaTemplateCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_dcim_test.go b/test/api_dcim_test.go index 6235430a..4cbfc007 100644 --- a/test/api_dcim_test.go +++ b/test/api_dcim_test.go @@ -260,34 +260,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimConsolePortTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimConsolePortTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimConsolePortTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimConsolePortTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimConsolePortTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -558,34 +530,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimConsoleServerPortTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimConsoleServerPortTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimConsoleServerPortTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -1140,34 +1084,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimDeviceBayTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimDeviceBayTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimDeviceBayTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimDeviceBayTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimDeviceBayTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -2120,34 +2036,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimFrontPortTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimFrontPortTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimFrontPortTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimFrontPortTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimFrontPortTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -2714,13 +2602,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimInterfaceTemplatesNotesCreate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimInterfaceTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesNotesCreate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -2728,13 +2616,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimInterfaceTemplatesNotesList", func(t *testing.T) { + t.Run("Test DcimAPIService DcimInterfaceTemplatesRetrieve", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesNotesList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -2742,13 +2630,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimInterfaceTemplatesPartialUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimInterfaceTemplatesUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -2756,13 +2644,71 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimInterfaceTemplatesRetrieve", func(t *testing.T) { + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsDestroy", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesRetrieve(context.Background(), id).Execute() + httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -2770,13 +2716,41 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimInterfaceTemplatesUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceTemplatesUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimInterfaceVdcAssignmentsUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3580,34 +3554,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleBayTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimModuleBayTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimModuleBayTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimModuleBayTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimModuleBayTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -3792,22 +3738,22 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesBulkDestroy", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesBulkDestroy", func(t *testing.T) { t.Skip("skip test") // remove to run test - httpRes, err := apiClient.DcimAPI.DcimModuleTypesBulkDestroy(context.Background()).Execute() + httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesBulkDestroy(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test DcimAPIService DcimModuleTypesBulkPartialUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesBulkPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3815,11 +3761,11 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesBulkUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesBulkUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesBulkUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesBulkUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3827,11 +3773,11 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesCreate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesCreate", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3839,24 +3785,24 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesDestroy", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesDestroy", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.DcimAPI.DcimModuleTypesDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test DcimAPIService DcimModuleTypesList", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesList", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesList(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3864,13 +3810,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesNotesCreate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesNotesCreate", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesNotesCreate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesNotesCreate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3878,13 +3824,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesNotesList", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesNotesList", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesNotesList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesNotesList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3892,13 +3838,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesPartialUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3906,13 +3852,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesRetrieve", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesRetrieve", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3920,13 +3866,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModuleTypesUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleFamiliesUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleFamiliesUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3934,22 +3880,22 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModulesBulkDestroy", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesBulkDestroy", func(t *testing.T) { t.Skip("skip test") // remove to run test - httpRes, err := apiClient.DcimAPI.DcimModulesBulkDestroy(context.Background()).Execute() + httpRes, err := apiClient.DcimAPI.DcimModuleTypesBulkDestroy(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test DcimAPIService DcimModulesBulkPartialUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesBulkPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModulesBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3957,11 +3903,11 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModulesBulkUpdate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesBulkUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModulesBulkUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesBulkUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3969,11 +3915,11 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModulesCreate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesCreate", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModulesCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -3981,24 +3927,24 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModulesDestroy", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesDestroy", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.DcimAPI.DcimModulesDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.DcimAPI.DcimModuleTypesDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test DcimAPIService DcimModulesList", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesList", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.DcimAPI.DcimModulesList(context.Background()).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -4006,13 +3952,13 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModulesNotesCreate", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesNotesCreate", func(t *testing.T) { t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.DcimAPI.DcimModulesNotesCreate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesNotesCreate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -4020,7 +3966,149 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimModulesNotesList", func(t *testing.T) { + t.Run("Test DcimAPIService DcimModuleTypesNotesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesNotesList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModuleTypesPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModuleTypesRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModuleTypesUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimModuleTypesUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DcimAPI.DcimModulesBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimModulesBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimModulesBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimModulesCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.DcimAPI.DcimModulesDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimModulesList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesNotesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimModulesNotesCreate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimModulesNotesList", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -4458,34 +4546,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimPowerOutletTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimPowerOutletTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimPowerOutletTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimPowerOutletTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimPowerOutletTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -4898,34 +4958,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimPowerPortTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimPowerPortTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimPowerPortTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimPowerPortTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimPowerPortTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -5636,34 +5668,6 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) - t.Run("Test DcimAPIService DcimRearPortTemplatesNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimRearPortTemplatesNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DcimAPIService DcimRearPortTemplatesNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.DcimAPI.DcimRearPortTemplatesNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test DcimAPIService DcimRearPortTemplatesPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -6288,4 +6292,146 @@ func Test_nautobot_DcimAPIService(t *testing.T) { }) + t.Run("Test DcimAPIService DcimVirtualDeviceContextsBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsNotesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsNotesCreate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsNotesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsNotesList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DcimAPIService DcimVirtualDeviceContextsUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.DcimAPI.DcimVirtualDeviceContextsUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + } diff --git a/test/api_extras_test.go b/test/api_extras_test.go index c8e1ef9c..7a99eac7 100644 --- a/test/api_extras_test.go +++ b/test/api_extras_test.go @@ -2486,6 +2486,262 @@ func Test_nautobot_ExtrasAPIService(t *testing.T) { }) + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueueAssignmentsUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesNotesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesNotesCreate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesNotesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesNotesList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ExtrasAPIService ExtrasJobQueuesUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ExtrasAPI.ExtrasJobQueuesUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test ExtrasAPIService ExtrasJobResultsBulkDestroy", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -3287,34 +3543,6 @@ func Test_nautobot_ExtrasAPIService(t *testing.T) { }) - t.Run("Test ExtrasAPIService ExtrasObjectMetadataNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.ExtrasAPI.ExtrasObjectMetadataNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExtrasAPIService ExtrasObjectMetadataNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.ExtrasAPI.ExtrasObjectMetadataNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test ExtrasAPIService ExtrasObjectMetadataPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -3883,6 +4111,17 @@ func Test_nautobot_ExtrasAPIService(t *testing.T) { }) + t.Run("Test ExtrasAPIService ExtrasScheduledJobsBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.ExtrasAPI.ExtrasScheduledJobsBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test ExtrasAPIService ExtrasScheduledJobsDenyCreate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -3897,6 +4136,19 @@ func Test_nautobot_ExtrasAPIService(t *testing.T) { }) + t.Run("Test ExtrasAPIService ExtrasScheduledJobsDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.ExtrasAPI.ExtrasScheduledJobsDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test ExtrasAPIService ExtrasScheduledJobsDryRunCreate", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/test/api_ipam_test.go b/test/api_ipam_test.go index 21b39c1e..8d601f90 100644 --- a/test/api_ipam_test.go +++ b/test/api_ipam_test.go @@ -520,34 +520,6 @@ func Test_nautobot_IpamAPIService(t *testing.T) { }) - t.Run("Test IpamAPIService IpamPrefixLocationAssignmentsNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test IpamAPIService IpamPrefixLocationAssignmentsNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test IpamAPIService IpamPrefixLocationAssignmentsPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -1214,6 +1186,34 @@ func Test_nautobot_IpamAPIService(t *testing.T) { }) + t.Run("Test IpamAPIService IpamVlanGroupsAvailableVlansCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.IpamAPI.IpamVlanGroupsAvailableVlansCreate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test IpamAPIService IpamVlanGroupsAvailableVlansList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.IpamAPI.IpamVlanGroupsAvailableVlansList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test IpamAPIService IpamVlanGroupsBulkDestroy", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -1428,34 +1428,6 @@ func Test_nautobot_IpamAPIService(t *testing.T) { }) - t.Run("Test IpamAPIService IpamVlanLocationAssignmentsNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test IpamAPIService IpamVlanLocationAssignmentsNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test IpamAPIService IpamVlanLocationAssignmentsPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -1712,34 +1684,6 @@ func Test_nautobot_IpamAPIService(t *testing.T) { }) - t.Run("Test IpamAPIService IpamVrfDeviceAssignmentsNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test IpamAPIService IpamVrfDeviceAssignmentsNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test IpamAPIService IpamVrfDeviceAssignmentsPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -1854,34 +1798,6 @@ func Test_nautobot_IpamAPIService(t *testing.T) { }) - t.Run("Test IpamAPIService IpamVrfPrefixAssignmentsNotesCreate", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsNotesCreate(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test IpamAPIService IpamVrfPrefixAssignmentsNotesList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsNotesList(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - t.Run("Test IpamAPIService IpamVrfPrefixAssignmentsPartialUpdate", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/test/api_ui_test.go b/test/api_ui_test.go new file mode 100644 index 00000000..df089257 --- /dev/null +++ b/test/api_ui_test.go @@ -0,0 +1,37 @@ +/* +API Documentation + +Testing UiAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package nautobot + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func Test_nautobot_UiAPIService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test UiAPIService UiCoreRenderJinjaTemplateCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.UiAPI.UiCoreRenderJinjaTemplateCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_wireless_test.go b/test/api_wireless_test.go new file mode 100644 index 00000000..39e153e5 --- /dev/null +++ b/test/api_wireless_test.go @@ -0,0 +1,679 @@ +/* +API Documentation + +Testing WirelessAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package nautobot + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/nautobot/go-nautobot/v2" +) + +func Test_nautobot_WirelessAPIService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesNotesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesNotesCreate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesNotesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesNotesList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessRadioProfilesUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessRadioProfilesUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesNotesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesNotesCreate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesNotesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesNotesList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessSupportedDataRatesUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessSupportedDataRatesUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksBulkDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksBulkDestroy(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksBulkPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksBulkPartialUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksBulkUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksBulkUpdate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksNotesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksNotesCreate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksNotesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksNotesList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test WirelessAPIService WirelessWirelessNetworksUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.WirelessAPI.WirelessWirelessNetworksUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/utils.go b/utils.go index 04af5c29..2f1ef212 100644 --- a/utils.go +++ b/utils.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. From a185369f458ed9284551d6a3322aaa6bc0ec55e1 Mon Sep 17 00:00:00 2001 From: TobiPeterG Date: Wed, 29 Oct 2025 13:14:26 +0000 Subject: [PATCH 2/5] Fix CI Signed-off-by: TobiPeterG --- .github/workflows/ci.yml | 10 +++------- .github/workflows/release.yml | 12 ++++-------- development/Dockerfile | 2 +- 3 files changed, 8 insertions(+), 16 deletions(-) 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/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 From 66cbee38bf291d34c6e2b6b14741e683a736c539 Mon Sep 17 00:00:00 2001 From: TobiPeterG Date: Mon, 3 Nov 2025 14:04:34 +0000 Subject: [PATCH 3/5] Set DNS servers in oapi container Otherwise the container likes to fail to resolve npm repos Signed-off-by: TobiPeterG --- development/docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/development/docker-compose.yml b/development/docker-compose.yml index ce2f9aff..13466766 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -20,6 +20,9 @@ services: - NAUTOBOT_VER=${NAUTOBOT_VER} volumes: - "../:/client" + dns: + - 1.1.1.1 + - 8.8.8.8 nautobot: healthcheck: interval: 30s From 087df41eaf82e89600690d90179fe9ff3d608e66 Mon Sep 17 00:00:00 2001 From: TobiPeterG Date: Mon, 3 Nov 2025 16:01:02 +0000 Subject: [PATCH 4/5] Remove computed_fields from required list for VLANs See https://github.com/nautobot/nautobot/issues/8082 Signed-off-by: TobiPeterG --- .openapi-generator/VERSION | 2 +- api/nautobot_version | 2 +- api/openapi.yaml | 645 +++++++- api_circuits.go | 160 +- api_cloud.go | 160 +- api_dcim.go | 1440 ++++++++++------- api_extras.go | 1200 ++++++++------ api_ipam.go | 410 +++-- api_status.go | 10 +- api_swagger.go | 10 +- api_swagger_json.go | 10 +- api_swagger_yaml.go | 10 +- api_tenancy.go | 60 +- api_users.go | 90 +- api_virtualization.go | 150 +- api_wireless.go | 130 +- configuration.go | 2 +- development/scripts/fix-spec.py | 6 + ...bleExternalIntegrationRequestHttpMethod.md | 23 +- ...tRepositoryRequestProvidedContentsInner.md | 23 +- ...ulkWritableRadioProfileRequestFrequency.md | 23 +- ...lkWritableRelationshipRequestRequiredOn.md | 23 +- ...oftwareImageFileRequestHashingAlgorithm.md | 29 +- docs/ParentChildStatus.md | 23 +- docs/PatchedWritableCableRequestLengthUnit.md | 23 +- docs/PatchedWritableCableRequestType.md | 59 +- docs/PatchedWritableConsolePortRequestType.md | 41 +- ...dWritableConsolePortTemplateRequestType.md | 41 +- docs/PatchedWritableInterfaceRequestMode.md | 23 +- ...atchedWritablePowerFeedRequestPowerPath.md | 23 +- ...atchedWritablePowerOutletRequestFeedLeg.md | 23 +- docs/PatchedWritablePowerOutletRequestType.md | 199 ++- ...dWritablePowerOutletTemplateRequestType.md | 199 ++- ...tchedWritablePowerPanelRequestPanelType.md | 31 +- docs/PatchedWritablePowerPortRequestType.md | 211 ++- ...hedWritablePowerPortTemplateRequestType.md | 211 ++- docs/PatchedWritableRackRequestOuterUnit.md | 23 +- docs/PatchedWritableRackRequestType.md | 27 +- docs/README.md | 2 +- docs/RackFace.md | 23 +- docs/RedundancyProtocol.md | 23 +- docs/VLAN.md | 9 +- go.mod | 2 +- go.sum | 3 + ...xternal_integration_request_http_method.go | 150 +- ...ository_request_provided_contents_inner.go | 150 +- ...ritable_radio_profile_request_frequency.go | 144 +- ...itable_relationship_request_required_on.go | 142 +- ...re_image_file_request_hashing_algorithm.go | 158 +- model_parent_child_status.go | 142 +- ...ched_writable_cable_request_length_unit.go | 152 +- model_patched_writable_cable_request_type.go | 188 +-- ...ched_writable_console_port_request_type.go | 170 +- ...able_console_port_template_request_type.go | 170 +- ...patched_writable_interface_request_mode.go | 144 +- ..._writable_power_feed_request_power_path.go | 142 +- ..._writable_power_outlet_request_feed_leg.go | 144 +- ...ched_writable_power_outlet_request_type.go | 328 ++-- ...able_power_outlet_template_request_type.go | 328 ++-- ...writable_power_panel_request_panel_type.go | 160 +- ...atched_writable_power_port_request_type.go | 340 ++-- ...itable_power_port_template_request_type.go | 340 ++-- ...atched_writable_rack_request_outer_unit.go | 142 +- model_patched_writable_rack_request_type.go | 156 +- model_rack_face.go | 142 +- model_redundancy_protocol.go | 146 +- model_vlan.go | 30 +- 67 files changed, 5746 insertions(+), 4199 deletions(-) diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index e465da43..6328c542 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.14.0 +7.17.0 diff --git a/api/nautobot_version b/api/nautobot_version index f68fc912..b4bbee4f 100644 --- a/api/nautobot_version +++ b/api/nautobot_version @@ -1 +1 @@ -2.4.20-beta +2.4.21-beta diff --git a/api/openapi.yaml b/api/openapi.yaml index a8d03d50..b408a434 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -217828,7 +217828,6 @@ components: $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value" type: object required: - - computed_fields - created - display - last_updated @@ -224480,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: @@ -224502,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 @@ -224865,15 +224874,20 @@ components: type: string type: object BulkWritableRadioProfileRequest_frequency: - oneOf: - - $ref: "#/components/schemas/FrequencyEnum" - - $ref: "#/components/schemas/BlankEnum" + 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: @@ -224946,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: @@ -225784,83 +225807,567 @@ components: 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/InterfaceModeChoices" - - $ref: "#/components/schemas/BlankEnum" + enum: + - access + - tagged + - tagged-all + - "" + type: string PatchedWritablePowerFeedRequest_power_path: description: Physical power distribution redundancy path. - oneOf: - - $ref: "#/components/schemas/PowerPathEnum" - - $ref: "#/components/schemas/BlankEnum" + 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" - PatchedWritablePowerOutletTemplateRequest_type: - oneOf: - - $ref: "#/components/schemas/PowerOutletTypeChoices" - - $ref: "#/components/schemas/BlankEnum" - PatchedWritablePowerPanelRequest_panel_type: - oneOf: - - $ref: "#/components/schemas/PanelTypeEnum" - - $ref: "#/components/schemas/BlankEnum" + enum: + - A + - B + - C + - "" + type: string + PatchedWritablePowerOutletTemplateRequest_type: + 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: diff --git a/api_circuits.go b/api_circuits.go index fc096bcc..c7eff559 100644 --- a/api_circuits.go +++ b/api_circuits.go @@ -2377,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2686,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2972,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3124,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4940,14 +4948,16 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesListExecute(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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5249,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5535,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8367,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8676,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8962,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11149,14 +11169,16 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksListExecute(r ApiCircuitsPr if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11458,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11744,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14818,14 +14844,16 @@ func (a *CircuitsAPIService) CircuitsProvidersListExecute(r ApiCircuitsProviders if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15127,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15413,14 +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 - r.excludeM2m = &defaultValue + 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 d7473d6a..394b4db2 100644 --- a/api_cloud.go +++ b/api_cloud.go @@ -1986,14 +1986,16 @@ func (a *CloudAPIService) CloudCloudAccountsListExecute(r ApiCloudCloudAccountsL if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2295,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2581,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3645,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3931,14 +3939,16 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieveExecute(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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5980,14 +5990,16 @@ func (a *CloudAPIService) CloudCloudNetworksListExecute(r ApiCloudCloudNetworksL if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6289,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6575,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8502,14 +8518,16 @@ func (a *CloudAPIService) CloudCloudResourceTypesListExecute(r ApiCloudCloudReso if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8811,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9097,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10161,14 +10183,16 @@ func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsListExecute(r ApiCl if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10447,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12418,14 +12444,16 @@ func (a *CloudAPIService) CloudCloudServicesListExecute(r ApiCloudCloudServicesL if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12727,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13013,14 +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 - r.excludeM2m = &defaultValue + 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_dcim.go b/api_dcim.go index c73140b4..7673c6c4 100644 --- a/api_dcim.go +++ b/api_dcim.go @@ -2588,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2897,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3183,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3495,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4114,14 +4122,16 @@ func (a *DcimAPIService) DcimConsoleConnectionsListExecute(r ApiDcimConsoleConne if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6198,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6484,14 +6496,16 @@ func (a *DcimAPIService) DcimConsolePortTemplatesRetrieveExecute(r ApiDcimConsol if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8758,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9067,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9353,14 +9371,16 @@ 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 } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9505,14 +9525,16 @@ func (a *DcimAPIService) DcimConsolePortsTraceRetrieveExecute(r ApiDcimConsolePo if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11726,14 +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 + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12012,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14286,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14595,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14881,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15033,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17329,14 +17363,16 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsListExecute(r ApiDcimC if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17638,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17924,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20257,14 +20297,16 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20566,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20852,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22761,14 +22807,16 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesListExecute(r ApiDcimDeviceBayTem if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -23047,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25034,14 +25084,16 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25343,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25629,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27542,14 +27598,16 @@ func (a *DcimAPIService) DcimDeviceFamiliesListExecute(r ApiDcimDeviceFamiliesLi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27851,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -28137,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30074,14 +30136,16 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30383,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30669,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33846,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -34155,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -34441,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -35590,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -35876,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -40660,14 +40738,16 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -40822,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -41131,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -41417,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -43776,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -44062,14 +44150,16 @@ func (a *DcimAPIService) DcimFrontPortTemplatesRetrieveExecute(r ApiDcimFrontPor if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -46461,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -46770,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -47076,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -47228,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -47746,14 +47844,16 @@ func (a *DcimAPIService) DcimInterfaceConnectionsListExecute(r ApiDcimInterfaceC if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -48775,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -49084,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -49370,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -51544,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -51853,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -52139,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54369,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54655,14 +54769,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55797,14 +55913,16 @@ func (a *DcimAPIService) DcimInterfaceVdcAssignmentsListExecute(r ApiDcimInterfa if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -56083,14 +56201,16 @@ func (a *DcimAPIService) DcimInterfaceVdcAssignmentsRetrieveExecute(r ApiDcimInt if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -59604,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -59913,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -60199,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -60351,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63266,14 +63394,16 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63575,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63861,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -65764,14 +65898,16 @@ func (a *DcimAPIService) DcimLocationTypesListExecute(r ApiDcimLocationTypesList if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66073,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66359,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -71269,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -71578,14 +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 + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -71864,14 +72008,16 @@ func (a *DcimAPIService) DcimLocationsRetrieveExecute(r ApiDcimLocationsRetrieve if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -73842,14 +73988,16 @@ func (a *DcimAPIService) DcimManufacturersListExecute(r ApiDcimManufacturersList if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -74151,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -74437,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -76934,14 +77086,16 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -77220,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -79775,14 +79931,16 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -80084,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -80370,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -82290,14 +82452,16 @@ func (a *DcimAPIService) DcimModuleFamiliesListExecute(r ApiDcimModuleFamiliesLi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -82599,14 +82763,16 @@ func (a *DcimAPIService) DcimModuleFamiliesNotesListExecute(r ApiDcimModuleFamil if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -82885,14 +83051,16 @@ func (a *DcimAPIService) DcimModuleFamiliesRetrieveExecute(r ApiDcimModuleFamili if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -85510,14 +85678,16 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -85819,14 +85989,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -86105,14 +86277,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -89138,14 +89312,16 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -89447,14 +89623,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -89733,14 +89911,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -92192,14 +92372,16 @@ func (a *DcimAPIService) DcimPlatformsListExecute(r ApiDcimPlatformsListRequest) if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -92501,14 +92683,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -92787,14 +92971,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -93543,14 +93729,16 @@ func (a *DcimAPIService) DcimPowerConnectionsListExecute(r ApiDcimPowerConnectio if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -97248,14 +97436,16 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -97557,14 +97747,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -97843,14 +98035,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -97995,14 +98189,16 @@ func (a *DcimAPIService) DcimPowerFeedsTraceRetrieveExecute(r ApiDcimPowerFeedsT if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -100499,14 +100695,16 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -100785,14 +100983,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -103343,14 +103543,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -103652,14 +103854,16 @@ func (a *DcimAPIService) DcimPowerOutletsNotesListExecute(r ApiDcimPowerOutletsN if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -103938,14 +104142,16 @@ func (a *DcimAPIService) DcimPowerOutletsRetrieveExecute(r ApiDcimPowerOutletsRe if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -104090,14 +104296,16 @@ func (a *DcimAPIService) DcimPowerOutletsTraceRetrieveExecute(r ApiDcimPowerOutl if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -106330,14 +106538,16 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -106639,14 +106849,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -106925,14 +107137,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -109422,14 +109636,16 @@ func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTem if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -109708,14 +109924,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -112258,14 +112476,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -112567,14 +112787,16 @@ func (a *DcimAPIService) DcimPowerPortsNotesListExecute(r ApiDcimPowerPortsNotes if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -112853,14 +113075,16 @@ func (a *DcimAPIService) DcimPowerPortsRetrieveExecute(r ApiDcimPowerPortsRetrie if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -113005,14 +113229,16 @@ func (a *DcimAPIService) DcimPowerPortsTraceRetrieveExecute(r ApiDcimPowerPortsT if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -115077,14 +115303,16 @@ func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -115386,14 +115614,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -115672,14 +115902,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -117539,14 +117771,16 @@ func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservatio if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -117848,14 +118082,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -118134,14 +118370,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -119136,8 +119374,9 @@ func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationLi if r.displayFullname != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "display_fullname", r.displayFullname, "form", "") } else { - var defaultValue bool = true - r.displayFullname = &defaultValue + var defaultValue bool = true + parameterAddToHeaderOrQuery(localVarQueryParams, "display_fullname", defaultValue, "form", "") + r.displayFullname = &defaultValue } if r.exclude != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude", r.exclude, "form", "") @@ -119145,14 +119384,16 @@ func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationLi if r.expandDevices != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "expand_devices", r.expandDevices, "form", "") } else { - var defaultValue bool = true - r.expandDevices = &defaultValue + 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" - r.face = &defaultValue + var defaultValue DcimRacksElevationListFaceParameter = "front" + parameterAddToHeaderOrQuery(localVarQueryParams, "face", defaultValue, "form", "") + r.face = &defaultValue } if r.format != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "") @@ -119160,8 +119401,9 @@ func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationLi if r.includeImages != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "include_images", r.includeImages, "form", "") } else { - var defaultValue bool = true - r.includeImages = &defaultValue + var defaultValue bool = true + parameterAddToHeaderOrQuery(localVarQueryParams, "include_images", defaultValue, "form", "") + r.includeImages = &defaultValue } if r.isOccupied != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "is_occupied", r.isOccupied, "form", "") @@ -119169,8 +119411,9 @@ func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationLi if r.legendWidth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "legend_width", r.legendWidth, "form", "") } else { - var defaultValue int32 = 30 - r.legendWidth = &defaultValue + var defaultValue int32 = 30 + parameterAddToHeaderOrQuery(localVarQueryParams, "legend_width", defaultValue, "form", "") + r.legendWidth = &defaultValue } if r.limit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") @@ -119184,8 +119427,9 @@ func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationLi if r.render != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "render", r.render, "form", "") } else { - var defaultValue DcimRacksElevationListRenderParameter = "json" - r.render = &defaultValue + var defaultValue DcimRacksElevationListRenderParameter = "json" + parameterAddToHeaderOrQuery(localVarQueryParams, "render", defaultValue, "form", "") + r.render = &defaultValue } if r.unitHeight != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "unit_height", r.unitHeight, "form", "") @@ -119196,14 +119440,16 @@ func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationLi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -122526,14 +122772,16 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -122835,14 +123083,16 @@ func (a *DcimAPIService) DcimRacksNotesListExecute(r ApiDcimRacksNotesListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -123121,14 +123371,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -125499,14 +125751,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -125785,14 +126039,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -128204,14 +128460,16 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -128513,14 +128771,16 @@ func (a *DcimAPIService) DcimRearPortsNotesListExecute(r ApiDcimRearPortsNotesLi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -128819,14 +129079,16 @@ func (a *DcimAPIService) DcimRearPortsPathsListExecute(r ApiDcimRearPortsPathsLi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -128971,14 +129233,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -131648,14 +131912,16 @@ func (a *DcimAPIService) DcimSoftwareImageFilesListExecute(r ApiDcimSoftwareImag if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -131957,14 +132223,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -132243,14 +132511,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -134908,14 +135178,16 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -135217,14 +135489,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -135503,14 +135777,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -137538,14 +137814,16 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -137847,14 +138125,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -138133,14 +138413,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -140439,14 +140721,16 @@ func (a *DcimAPIService) DcimVirtualDeviceContextsListExecute(r ApiDcimVirtualDe if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -140748,14 +141032,16 @@ func (a *DcimAPIService) DcimVirtualDeviceContextsNotesListExecute(r ApiDcimVirt if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -141034,14 +141320,16 @@ func (a *DcimAPIService) DcimVirtualDeviceContextsRetrieveExecute(r ApiDcimVirtu if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + 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_extras.go b/api_extras.go index 9c14e879..9c2a049e 100644 --- a/api_extras.go +++ b/api_extras.go @@ -2002,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2311,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2597,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4218,14 +4224,16 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasListExecute(r ApiExtrasConf if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4527,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4813,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6818,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7127,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7413,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8848,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9157,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9443,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11989,14 +12013,16 @@ func (a *ExtrasAPIService) ExtrasContactsListExecute(r ApiExtrasContactsListRequ if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12298,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12584,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13548,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13700,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14933,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15219,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17197,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17506,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17792,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20230,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20539,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20825,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22263,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22549,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -24816,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -24968,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25277,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25563,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27007,14 +27069,16 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27316,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27602,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30136,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30445,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30731,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -31020,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -31673,14 +31749,16 @@ 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 } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -31825,14 +31903,16 @@ func (a *ExtrasAPIService) ExtrasFileProxiesRetrieveExecute(r ApiExtrasFileProxi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -34130,14 +34210,16 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesListExecute(r ApiExtrasGitReposi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -34439,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -34725,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -36207,14 +36293,16 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesListExecute(r ApiExtrasGraphqlQue if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -36516,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -36802,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -38240,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -38526,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -40768,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -41077,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -41363,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -42823,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -43132,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -43418,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -45088,14 +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 + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -45240,14 +45350,16 @@ func (a *ExtrasAPIService) ExtrasJobLogsRetrieveExecute(r ApiExtrasJobLogsRetrie if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -46167,14 +46279,16 @@ func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsListExecute(r ApiExtrasJobQu if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -46453,14 +46567,16 @@ func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsRetrieveExecute(r ApiExtrasJ if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -48738,14 +48854,16 @@ func (a *ExtrasAPIService) ExtrasJobQueuesListExecute(r ApiExtrasJobQueuesListRe if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -49047,14 +49165,16 @@ func (a *ExtrasAPIService) ExtrasJobQueuesNotesListExecute(r ApiExtrasJobQueuesN if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -49333,14 +49453,16 @@ func (a *ExtrasAPIService) ExtrasJobQueuesRetrieveExecute(r ApiExtrasJobQueuesRe if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -50892,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -51044,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -51196,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -53572,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54018,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54190,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54610,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -54762,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55486,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -55668,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -57123,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -57409,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -59541,14 +59687,16 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesListExecute(r ApiExtrasMetadataTyp if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -59850,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -60136,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -61722,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -62008,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63396,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -63548,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -64855,14 +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 } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -65141,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66326,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66612,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -68513,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -68822,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -69108,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -71069,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -71378,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -71664,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -73188,14 +73368,16 @@ 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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -73474,14 +73656,16 @@ func (a *ExtrasAPIService) ExtrasSavedViewsRetrieveExecute(r ApiExtrasSavedViews if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -75354,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -75506,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -76046,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -77733,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -78019,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -79631,14 +79825,16 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsListExecute(r ApiExtrasSecretsGrou if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -79940,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -80226,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -81449,14 +81649,16 @@ func (a *ExtrasAPIService) ExtrasSecretsListExecute(r ApiExtrasSecretsListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -81758,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -82044,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -83364,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -83673,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -83959,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -85809,14 +86021,16 @@ func (a *ExtrasAPIService) ExtrasStatusesListExecute(r ApiExtrasStatusesListRequ if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -86118,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -86404,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -88254,14 +88472,16 @@ func (a *ExtrasAPIService) ExtrasTagsListExecute(r ApiExtrasTagsListRequest) (*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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -88563,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -88849,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -91385,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -91694,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -91980,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -93306,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -93592,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -95256,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -95565,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -95851,14 +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 - r.excludeM2m = &defaultValue + 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_ipam.go b/api_ipam.go index c4731825..898b33ba 100644 --- a/api_ipam.go +++ b/api_ipam.go @@ -1028,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1337,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1623,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4448,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4757,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5043,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -6929,14 +6941,16 @@ func (a *IpamAPIService) IpamNamespacesListExecute(r ApiIpamNamespacesListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7238,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7524,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8622,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8908,14 +8928,16 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieveExecute(r ApiIpamP if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9446,14 +9468,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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -9801,14 +9825,16 @@ func (a *IpamAPIService) IpamPrefixesAvailablePrefixesListExecute(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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12253,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12562,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -12848,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14673,14 +14705,16 @@ func (a *IpamAPIService) IpamRirsListExecute(r ApiIpamRirsListRequest) (*Paginat if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14982,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15268,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17111,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17420,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -17706,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -19662,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -19971,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20257,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -20747,14 +20797,16 @@ func (a *IpamAPIService) IpamVlanGroupsAvailableVlansListExecute(r ApiIpamVlanGr if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22513,14 +22565,16 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -22822,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -23108,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -24206,14 +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 + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -24492,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -26557,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -26866,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27152,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -28833,14 +28901,16 @@ func (a *IpamAPIService) IpamVrfDeviceAssignmentsListExecute(r ApiIpamVrfDeviceA if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -29119,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30217,14 +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 } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -30503,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33025,14 +33101,16 @@ func (a *IpamAPIService) IpamVrfsListExecute(r ApiIpamVrfsListRequest) (*Paginat if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33334,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -33620,14 +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 - r.excludeM2m = &defaultValue + 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 64481110..049ea001 100644 --- a/api_status.go +++ b/api_status.go @@ -93,14 +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 - r.excludeM2m = &defaultValue + 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 3e1a3cc5..b32ae600 100644 --- a/api_swagger.go +++ b/api_swagger.go @@ -105,14 +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 - r.excludeM2m = &defaultValue + 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 5b35ca52..c683ffb4 100644 --- a/api_swagger_json.go +++ b/api_swagger_json.go @@ -96,14 +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 - r.excludeM2m = &defaultValue + 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 95680e6a..6da0e70f 100644 --- a/api_swagger_yaml.go +++ b/api_swagger_yaml.go @@ -96,14 +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 - r.excludeM2m = &defaultValue + 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 faedf536..d05c0331 100644 --- a/api_tenancy.go +++ b/api_tenancy.go @@ -1779,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2088,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2374,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5171,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5480,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5766,14 +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 - r.excludeM2m = &defaultValue + 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_users.go b/api_users.go index 3477e5a0..3296303a 100644 --- a/api_users.go +++ b/api_users.go @@ -96,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1261,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1547,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3168,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -3454,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5145,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5431,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7632,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7918,14 +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 - r.excludeM2m = &defaultValue + 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 4a33a1a9..ecd04d8d 100644 --- a/api_virtualization.go +++ b/api_virtualization.go @@ -1681,14 +1681,16 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsListExecute(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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1990,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2276,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4146,14 +4152,16 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesListExecute(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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4455,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -4741,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7046,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7355,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7641,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10428,14 +10446,16 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10737,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11023,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14423,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -14732,14 +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 - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15018,14 +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 - r.excludeM2m = &defaultValue + 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 index 5a2d4307..54653686 100644 --- a/api_wireless.go +++ b/api_wireless.go @@ -875,14 +875,16 @@ func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAss if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1161,14 +1163,16 @@ func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAss if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2252,14 +2256,16 @@ func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetwork if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2538,14 +2544,16 @@ func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetwork if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5082,14 +5090,16 @@ func (a *WirelessAPIService) WirelessRadioProfilesListExecute(r ApiWirelessRadio if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5391,14 +5401,16 @@ func (a *WirelessAPIService) WirelessRadioProfilesNotesListExecute(r ApiWireless if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -5677,14 +5689,16 @@ func (a *WirelessAPIService) WirelessRadioProfilesRetrieveExecute(r ApiWirelessR if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7565,14 +7579,16 @@ func (a *WirelessAPIService) WirelessSupportedDataRatesListExecute(r ApiWireless if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -7874,14 +7890,16 @@ func (a *WirelessAPIService) WirelessSupportedDataRatesNotesListExecute(r ApiWir if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -8160,14 +8178,16 @@ func (a *WirelessAPIService) WirelessSupportedDataRatesRetrieveExecute(r ApiWire if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -10983,14 +11003,16 @@ func (a *WirelessAPIService) WirelessWirelessNetworksListExecute(r ApiWirelessWi if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11292,14 +11314,16 @@ func (a *WirelessAPIService) WirelessWirelessNetworksNotesListExecute(r ApiWirel if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -11578,14 +11602,16 @@ func (a *WirelessAPIService) WirelessWirelessNetworksRetrieveExecute(r ApiWirele if r.depth != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "") } else { - var defaultValue int32 = 1 - r.depth = &defaultValue + var defaultValue int32 = 1 + parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "") + r.depth = &defaultValue } if r.excludeM2m != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "") } else { - var defaultValue bool = false - r.excludeM2m = &defaultValue + var defaultValue bool = false + parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "") + r.excludeM2m = &defaultValue } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/configuration.go b/configuration.go index 3fea0e5f..4bf50917 100644 --- a/configuration.go +++ b/configuration.go @@ -92,7 +92,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "go-nautobot/2.4.20-beta", + UserAgent: "go-nautobot/2.4.21-beta", Debug: false, Servers: ServerConfigurations{ { diff --git a/development/scripts/fix-spec.py b/development/scripts/fix-spec.py index 583f374f..038802bb 100755 --- a/development/scripts/fix-spec.py +++ b/development/scripts/fix-spec.py @@ -28,6 +28,12 @@ def _is_stringy_oneof(s): for field in fields_to_remove: required_fields.remove(field) + # 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: if 'type' in schema['properties']: 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/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/BulkWritableRadioProfileRequestFrequency.md b/docs/BulkWritableRadioProfileRequestFrequency.md index 81bb2a51..bd84d96a 100644 --- a/docs/BulkWritableRadioProfileRequestFrequency.md +++ b/docs/BulkWritableRadioProfileRequestFrequency.md @@ -1,28 +1,15 @@ # BulkWritableRadioProfileRequestFrequency -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `_2_4_GHZ` (value: `"2.4GHz"`) -### NewBulkWritableRadioProfileRequestFrequency +* `_5_GHZ` (value: `"5GHz"`) -`func NewBulkWritableRadioProfileRequestFrequency() *BulkWritableRadioProfileRequestFrequency` +* `_6_GHZ` (value: `"6GHz"`) -NewBulkWritableRadioProfileRequestFrequency instantiates a new BulkWritableRadioProfileRequestFrequency 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 - -### NewBulkWritableRadioProfileRequestFrequencyWithDefaults - -`func NewBulkWritableRadioProfileRequestFrequencyWithDefaults() *BulkWritableRadioProfileRequestFrequency` - -NewBulkWritableRadioProfileRequestFrequencyWithDefaults instantiates a new BulkWritableRadioProfileRequestFrequency 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/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/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/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/PatchedWritableCableRequestLengthUnit.md b/docs/PatchedWritableCableRequestLengthUnit.md index 37851412..0d6f76f7 100644 --- a/docs/PatchedWritableCableRequestLengthUnit.md +++ b/docs/PatchedWritableCableRequestLengthUnit.md @@ -1,28 +1,21 @@ # PatchedWritableCableRequestLengthUnit -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `KM` (value: `"km"`) -### NewPatchedWritableCableRequestLengthUnit +* `M` (value: `"m"`) -`func NewPatchedWritableCableRequestLengthUnit() *PatchedWritableCableRequestLengthUnit` +* `CM` (value: `"cm"`) -NewPatchedWritableCableRequestLengthUnit instantiates a new PatchedWritableCableRequestLengthUnit 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 +* `MI` (value: `"mi"`) -### NewPatchedWritableCableRequestLengthUnitWithDefaults +* `FT` (value: `"ft"`) -`func NewPatchedWritableCableRequestLengthUnitWithDefaults() *PatchedWritableCableRequestLengthUnit` +* `IN` (value: `"in"`) -NewPatchedWritableCableRequestLengthUnitWithDefaults instantiates a new PatchedWritableCableRequestLengthUnit 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/PatchedWritableCableRequestType.md b/docs/PatchedWritableCableRequestType.md index 337b3b13..685fb7eb 100644 --- a/docs/PatchedWritableCableRequestType.md +++ b/docs/PatchedWritableCableRequestType.md @@ -1,28 +1,57 @@ # PatchedWritableCableRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `CAT3` (value: `"cat3"`) -### NewPatchedWritableCableRequestType +* `CAT5` (value: `"cat5"`) -`func NewPatchedWritableCableRequestType() *PatchedWritableCableRequestType` +* `CAT5E` (value: `"cat5e"`) -NewPatchedWritableCableRequestType instantiates a new PatchedWritableCableRequestType 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 +* `CAT6` (value: `"cat6"`) -### NewPatchedWritableCableRequestTypeWithDefaults +* `CAT6A` (value: `"cat6a"`) -`func NewPatchedWritableCableRequestTypeWithDefaults() *PatchedWritableCableRequestType` +* `CAT7` (value: `"cat7"`) -NewPatchedWritableCableRequestTypeWithDefaults instantiates a new PatchedWritableCableRequestType 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 +* `CAT7A` (value: `"cat7a"`) + +* `CAT8` (value: `"cat8"`) + +* `DAC_ACTIVE` (value: `"dac-active"`) + +* `DAC_PASSIVE` (value: `"dac-passive"`) + +* `MRJ21_TRUNK` (value: `"mrj21-trunk"`) + +* `COAXIAL` (value: `"coaxial"`) + +* `MMF` (value: `"mmf"`) + +* `MMF_OM1` (value: `"mmf-om1"`) + +* `MMF_OM2` (value: `"mmf-om2"`) + +* `MMF_OM3` (value: `"mmf-om3"`) + +* `MMF_OM4` (value: `"mmf-om4"`) + +* `MMF_OM5` (value: `"mmf-om5"`) + +* `SMF` (value: `"smf"`) + +* `SMF_OS1` (value: `"smf-os1"`) + +* `SMF_OS2` (value: `"smf-os2"`) + +* `AOC` (value: `"aoc"`) + +* `POWER` (value: `"power"`) + +* `OTHER` (value: `"other"`) + +* `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/PatchedWritableConsolePortRequestType.md b/docs/PatchedWritableConsolePortRequestType.md index 133841b2..c074074b 100644 --- a/docs/PatchedWritableConsolePortRequestType.md +++ b/docs/PatchedWritableConsolePortRequestType.md @@ -1,28 +1,39 @@ # PatchedWritableConsolePortRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `DE_9` (value: `"de-9"`) -### NewPatchedWritableConsolePortRequestType +* `DB_25` (value: `"db-25"`) -`func NewPatchedWritableConsolePortRequestType() *PatchedWritableConsolePortRequestType` +* `RJ_11` (value: `"rj-11"`) -NewPatchedWritableConsolePortRequestType instantiates a new PatchedWritableConsolePortRequestType 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 +* `RJ_12` (value: `"rj-12"`) -### NewPatchedWritableConsolePortRequestTypeWithDefaults +* `RJ_45` (value: `"rj-45"`) -`func NewPatchedWritableConsolePortRequestTypeWithDefaults() *PatchedWritableConsolePortRequestType` +* `MINI_DIN_8` (value: `"mini-din-8"`) -NewPatchedWritableConsolePortRequestTypeWithDefaults instantiates a new PatchedWritableConsolePortRequestType 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 +* `USB_A` (value: `"usb-a"`) + +* `USB_B` (value: `"usb-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MINI_A` (value: `"usb-mini-a"`) + +* `USB_MINI_B` (value: `"usb-mini-b"`) + +* `USB_MICRO_A` (value: `"usb-micro-a"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_MICRO_AB` (value: `"usb-micro-ab"`) + +* `OTHER` (value: `"other"`) + +* `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/PatchedWritableConsolePortTemplateRequestType.md b/docs/PatchedWritableConsolePortTemplateRequestType.md index 671b4d21..e51b4d85 100644 --- a/docs/PatchedWritableConsolePortTemplateRequestType.md +++ b/docs/PatchedWritableConsolePortTemplateRequestType.md @@ -1,28 +1,39 @@ # PatchedWritableConsolePortTemplateRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `DE_9` (value: `"de-9"`) -### NewPatchedWritableConsolePortTemplateRequestType +* `DB_25` (value: `"db-25"`) -`func NewPatchedWritableConsolePortTemplateRequestType() *PatchedWritableConsolePortTemplateRequestType` +* `RJ_11` (value: `"rj-11"`) -NewPatchedWritableConsolePortTemplateRequestType instantiates a new PatchedWritableConsolePortTemplateRequestType 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 +* `RJ_12` (value: `"rj-12"`) -### NewPatchedWritableConsolePortTemplateRequestTypeWithDefaults +* `RJ_45` (value: `"rj-45"`) -`func NewPatchedWritableConsolePortTemplateRequestTypeWithDefaults() *PatchedWritableConsolePortTemplateRequestType` +* `MINI_DIN_8` (value: `"mini-din-8"`) -NewPatchedWritableConsolePortTemplateRequestTypeWithDefaults instantiates a new PatchedWritableConsolePortTemplateRequestType 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 +* `USB_A` (value: `"usb-a"`) + +* `USB_B` (value: `"usb-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MINI_A` (value: `"usb-mini-a"`) + +* `USB_MINI_B` (value: `"usb-mini-b"`) + +* `USB_MICRO_A` (value: `"usb-micro-a"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_MICRO_AB` (value: `"usb-micro-ab"`) + +* `OTHER` (value: `"other"`) + +* `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/PatchedWritableInterfaceRequestMode.md b/docs/PatchedWritableInterfaceRequestMode.md index 64f06992..8a23d525 100644 --- a/docs/PatchedWritableInterfaceRequestMode.md +++ b/docs/PatchedWritableInterfaceRequestMode.md @@ -1,28 +1,15 @@ # PatchedWritableInterfaceRequestMode -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `ACCESS` (value: `"access"`) -### NewPatchedWritableInterfaceRequestMode +* `TAGGED` (value: `"tagged"`) -`func NewPatchedWritableInterfaceRequestMode() *PatchedWritableInterfaceRequestMode` +* `TAGGED_ALL` (value: `"tagged-all"`) -NewPatchedWritableInterfaceRequestMode instantiates a new PatchedWritableInterfaceRequestMode 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 - -### NewPatchedWritableInterfaceRequestModeWithDefaults - -`func NewPatchedWritableInterfaceRequestModeWithDefaults() *PatchedWritableInterfaceRequestMode` - -NewPatchedWritableInterfaceRequestModeWithDefaults instantiates a new PatchedWritableInterfaceRequestMode 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/PatchedWritablePowerFeedRequestPowerPath.md b/docs/PatchedWritablePowerFeedRequestPowerPath.md index cc79212b..4632374a 100644 --- a/docs/PatchedWritablePowerFeedRequestPowerPath.md +++ b/docs/PatchedWritablePowerFeedRequestPowerPath.md @@ -1,28 +1,13 @@ # PatchedWritablePowerFeedRequestPowerPath -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `A` (value: `"a"`) -### NewPatchedWritablePowerFeedRequestPowerPath +* `B` (value: `"b"`) -`func NewPatchedWritablePowerFeedRequestPowerPath() *PatchedWritablePowerFeedRequestPowerPath` - -NewPatchedWritablePowerFeedRequestPowerPath instantiates a new PatchedWritablePowerFeedRequestPowerPath 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 - -### NewPatchedWritablePowerFeedRequestPowerPathWithDefaults - -`func NewPatchedWritablePowerFeedRequestPowerPathWithDefaults() *PatchedWritablePowerFeedRequestPowerPath` - -NewPatchedWritablePowerFeedRequestPowerPathWithDefaults instantiates a new PatchedWritablePowerFeedRequestPowerPath 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/PatchedWritablePowerOutletRequestFeedLeg.md b/docs/PatchedWritablePowerOutletRequestFeedLeg.md index 712df82b..f157cbc7 100644 --- a/docs/PatchedWritablePowerOutletRequestFeedLeg.md +++ b/docs/PatchedWritablePowerOutletRequestFeedLeg.md @@ -1,28 +1,15 @@ # PatchedWritablePowerOutletRequestFeedLeg -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `A` (value: `"A"`) -### NewPatchedWritablePowerOutletRequestFeedLeg +* `B` (value: `"B"`) -`func NewPatchedWritablePowerOutletRequestFeedLeg() *PatchedWritablePowerOutletRequestFeedLeg` +* `C` (value: `"C"`) -NewPatchedWritablePowerOutletRequestFeedLeg instantiates a new PatchedWritablePowerOutletRequestFeedLeg 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 - -### NewPatchedWritablePowerOutletRequestFeedLegWithDefaults - -`func NewPatchedWritablePowerOutletRequestFeedLegWithDefaults() *PatchedWritablePowerOutletRequestFeedLeg` - -NewPatchedWritablePowerOutletRequestFeedLegWithDefaults instantiates a new PatchedWritablePowerOutletRequestFeedLeg 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/PatchedWritablePowerOutletRequestType.md b/docs/PatchedWritablePowerOutletRequestType.md index ae7a87f4..ff02d5b1 100644 --- a/docs/PatchedWritablePowerOutletRequestType.md +++ b/docs/PatchedWritablePowerOutletRequestType.md @@ -1,28 +1,197 @@ # PatchedWritablePowerOutletRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `IEC_60320_C5` (value: `"iec-60320-c5"`) -### NewPatchedWritablePowerOutletRequestType +* `IEC_60320_C7` (value: `"iec-60320-c7"`) -`func NewPatchedWritablePowerOutletRequestType() *PatchedWritablePowerOutletRequestType` +* `IEC_60320_C13` (value: `"iec-60320-c13"`) -NewPatchedWritablePowerOutletRequestType instantiates a new PatchedWritablePowerOutletRequestType 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 +* `IEC_60320_C15` (value: `"iec-60320-c15"`) -### NewPatchedWritablePowerOutletRequestTypeWithDefaults +* `IEC_60320_C19` (value: `"iec-60320-c19"`) -`func NewPatchedWritablePowerOutletRequestTypeWithDefaults() *PatchedWritablePowerOutletRequestType` +* `IEC_60320_C21` (value: `"iec-60320-c21"`) -NewPatchedWritablePowerOutletRequestTypeWithDefaults instantiates a new PatchedWritablePowerOutletRequestType 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 +* `IEC_60309_P_N_E_4H` (value: `"iec-60309-p-n-e-4h"`) + +* `IEC_60309_P_N_E_6H` (value: `"iec-60309-p-n-e-6h"`) + +* `IEC_60309_P_N_E_9H` (value: `"iec-60309-p-n-e-9h"`) + +* `IEC_60309_2P_E_4H` (value: `"iec-60309-2p-e-4h"`) + +* `IEC_60309_2P_E_6H` (value: `"iec-60309-2p-e-6h"`) + +* `IEC_60309_2P_E_9H` (value: `"iec-60309-2p-e-9h"`) + +* `IEC_60309_3P_E_4H` (value: `"iec-60309-3p-e-4h"`) + +* `IEC_60309_3P_E_6H` (value: `"iec-60309-3p-e-6h"`) + +* `IEC_60309_3P_E_9H` (value: `"iec-60309-3p-e-9h"`) + +* `IEC_60309_3P_N_E_4H` (value: `"iec-60309-3p-n-e-4h"`) + +* `IEC_60309_3P_N_E_6H` (value: `"iec-60309-3p-n-e-6h"`) + +* `IEC_60309_3P_N_E_9H` (value: `"iec-60309-3p-n-e-9h"`) + +* `IEC_60906_1` (value: `"iec-60906-1"`) + +* `NBR_14136_10A` (value: `"nbr-14136-10a"`) + +* `NBR_14136_20A` (value: `"nbr-14136-20a"`) + +* `NEMA_1_15R` (value: `"nema-1-15r"`) + +* `NEMA_5_15R` (value: `"nema-5-15r"`) + +* `NEMA_5_20R` (value: `"nema-5-20r"`) + +* `NEMA_5_30R` (value: `"nema-5-30r"`) + +* `NEMA_5_50R` (value: `"nema-5-50r"`) + +* `NEMA_6_15R` (value: `"nema-6-15r"`) + +* `NEMA_6_20R` (value: `"nema-6-20r"`) + +* `NEMA_6_30R` (value: `"nema-6-30r"`) + +* `NEMA_6_50R` (value: `"nema-6-50r"`) + +* `NEMA_10_30R` (value: `"nema-10-30r"`) + +* `NEMA_10_50R` (value: `"nema-10-50r"`) + +* `NEMA_14_20R` (value: `"nema-14-20r"`) + +* `NEMA_14_30R` (value: `"nema-14-30r"`) + +* `NEMA_14_50R` (value: `"nema-14-50r"`) + +* `NEMA_14_60R` (value: `"nema-14-60r"`) + +* `NEMA_15_15R` (value: `"nema-15-15r"`) + +* `NEMA_15_20R` (value: `"nema-15-20r"`) + +* `NEMA_15_30R` (value: `"nema-15-30r"`) + +* `NEMA_15_50R` (value: `"nema-15-50r"`) + +* `NEMA_15_60R` (value: `"nema-15-60r"`) + +* `NEMA_L1_15R` (value: `"nema-l1-15r"`) + +* `NEMA_L5_15R` (value: `"nema-l5-15r"`) + +* `NEMA_L5_20R` (value: `"nema-l5-20r"`) + +* `NEMA_L5_30R` (value: `"nema-l5-30r"`) + +* `NEMA_L5_50R` (value: `"nema-l5-50r"`) + +* `NEMA_L6_15R` (value: `"nema-l6-15r"`) + +* `NEMA_L6_20R` (value: `"nema-l6-20r"`) + +* `NEMA_L6_30R` (value: `"nema-l6-30r"`) + +* `NEMA_L6_50R` (value: `"nema-l6-50r"`) + +* `NEMA_L10_30R` (value: `"nema-l10-30r"`) + +* `NEMA_L14_20R` (value: `"nema-l14-20r"`) + +* `NEMA_L14_30R` (value: `"nema-l14-30r"`) + +* `NEMA_L14_50R` (value: `"nema-l14-50r"`) + +* `NEMA_L14_60R` (value: `"nema-l14-60r"`) + +* `NEMA_L15_20R` (value: `"nema-l15-20r"`) + +* `NEMA_L15_30R` (value: `"nema-l15-30r"`) + +* `NEMA_L15_50R` (value: `"nema-l15-50r"`) + +* `NEMA_L15_60R` (value: `"nema-l15-60r"`) + +* `NEMA_L21_20R` (value: `"nema-l21-20r"`) + +* `NEMA_L21_30R` (value: `"nema-l21-30r"`) + +* `NEMA_L22_30R` (value: `"nema-l22-30r"`) + +* `CS6360_C` (value: `"CS6360C"`) + +* `CS6364_C` (value: `"CS6364C"`) + +* `CS8164_C` (value: `"CS8164C"`) + +* `CS8264_C` (value: `"CS8264C"`) + +* `CS8364_C` (value: `"CS8364C"`) + +* `CS8464_C` (value: `"CS8464C"`) + +* `ITA_E` (value: `"ita-e"`) + +* `ITA_F` (value: `"ita-f"`) + +* `ITA_G` (value: `"ita-g"`) + +* `ITA_H` (value: `"ita-h"`) + +* `ITA_I` (value: `"ita-i"`) + +* `ITA_J` (value: `"ita-j"`) + +* `ITA_K` (value: `"ita-k"`) + +* `ITA_L` (value: `"ita-l"`) + +* `ITA_M` (value: `"ita-m"`) + +* `ITA_N` (value: `"ita-n"`) + +* `ITA_O` (value: `"ita-o"`) + +* `ITA_MULTISTANDARD` (value: `"ita-multistandard"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `DC_TERMINAL` (value: `"dc-terminal"`) + +* `HDOT_CX` (value: `"hdot-cx"`) + +* `SAF_D_GRID` (value: `"saf-d-grid"`) + +* `NEUTRIK_POWERCON_20A` (value: `"neutrik-powercon-20a"`) + +* `NEUTRIK_POWERCON_32A` (value: `"neutrik-powercon-32a"`) + +* `NEUTRIK_POWERCON_TRUE1` (value: `"neutrik-powercon-true1"`) + +* `NEUTRIK_POWERCON_TRUE1_TOP` (value: `"neutrik-powercon-true1-top"`) + +* `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) + +* `EATON_C39` (value: `"eaton-c39"`) + +* `HARDWIRED` (value: `"hardwired"`) + +* `OTHER` (value: `"other"`) + +* `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/PatchedWritablePowerOutletTemplateRequestType.md b/docs/PatchedWritablePowerOutletTemplateRequestType.md index 7898075f..dbfa9887 100644 --- a/docs/PatchedWritablePowerOutletTemplateRequestType.md +++ b/docs/PatchedWritablePowerOutletTemplateRequestType.md @@ -1,28 +1,197 @@ # PatchedWritablePowerOutletTemplateRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `IEC_60320_C5` (value: `"iec-60320-c5"`) -### NewPatchedWritablePowerOutletTemplateRequestType +* `IEC_60320_C7` (value: `"iec-60320-c7"`) -`func NewPatchedWritablePowerOutletTemplateRequestType() *PatchedWritablePowerOutletTemplateRequestType` +* `IEC_60320_C13` (value: `"iec-60320-c13"`) -NewPatchedWritablePowerOutletTemplateRequestType instantiates a new PatchedWritablePowerOutletTemplateRequestType 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 +* `IEC_60320_C15` (value: `"iec-60320-c15"`) -### NewPatchedWritablePowerOutletTemplateRequestTypeWithDefaults +* `IEC_60320_C19` (value: `"iec-60320-c19"`) -`func NewPatchedWritablePowerOutletTemplateRequestTypeWithDefaults() *PatchedWritablePowerOutletTemplateRequestType` +* `IEC_60320_C21` (value: `"iec-60320-c21"`) -NewPatchedWritablePowerOutletTemplateRequestTypeWithDefaults instantiates a new PatchedWritablePowerOutletTemplateRequestType 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 +* `IEC_60309_P_N_E_4H` (value: `"iec-60309-p-n-e-4h"`) + +* `IEC_60309_P_N_E_6H` (value: `"iec-60309-p-n-e-6h"`) + +* `IEC_60309_P_N_E_9H` (value: `"iec-60309-p-n-e-9h"`) + +* `IEC_60309_2P_E_4H` (value: `"iec-60309-2p-e-4h"`) + +* `IEC_60309_2P_E_6H` (value: `"iec-60309-2p-e-6h"`) + +* `IEC_60309_2P_E_9H` (value: `"iec-60309-2p-e-9h"`) + +* `IEC_60309_3P_E_4H` (value: `"iec-60309-3p-e-4h"`) + +* `IEC_60309_3P_E_6H` (value: `"iec-60309-3p-e-6h"`) + +* `IEC_60309_3P_E_9H` (value: `"iec-60309-3p-e-9h"`) + +* `IEC_60309_3P_N_E_4H` (value: `"iec-60309-3p-n-e-4h"`) + +* `IEC_60309_3P_N_E_6H` (value: `"iec-60309-3p-n-e-6h"`) + +* `IEC_60309_3P_N_E_9H` (value: `"iec-60309-3p-n-e-9h"`) + +* `IEC_60906_1` (value: `"iec-60906-1"`) + +* `NBR_14136_10A` (value: `"nbr-14136-10a"`) + +* `NBR_14136_20A` (value: `"nbr-14136-20a"`) + +* `NEMA_1_15R` (value: `"nema-1-15r"`) + +* `NEMA_5_15R` (value: `"nema-5-15r"`) + +* `NEMA_5_20R` (value: `"nema-5-20r"`) + +* `NEMA_5_30R` (value: `"nema-5-30r"`) + +* `NEMA_5_50R` (value: `"nema-5-50r"`) + +* `NEMA_6_15R` (value: `"nema-6-15r"`) + +* `NEMA_6_20R` (value: `"nema-6-20r"`) + +* `NEMA_6_30R` (value: `"nema-6-30r"`) + +* `NEMA_6_50R` (value: `"nema-6-50r"`) + +* `NEMA_10_30R` (value: `"nema-10-30r"`) + +* `NEMA_10_50R` (value: `"nema-10-50r"`) + +* `NEMA_14_20R` (value: `"nema-14-20r"`) + +* `NEMA_14_30R` (value: `"nema-14-30r"`) + +* `NEMA_14_50R` (value: `"nema-14-50r"`) + +* `NEMA_14_60R` (value: `"nema-14-60r"`) + +* `NEMA_15_15R` (value: `"nema-15-15r"`) + +* `NEMA_15_20R` (value: `"nema-15-20r"`) + +* `NEMA_15_30R` (value: `"nema-15-30r"`) + +* `NEMA_15_50R` (value: `"nema-15-50r"`) + +* `NEMA_15_60R` (value: `"nema-15-60r"`) + +* `NEMA_L1_15R` (value: `"nema-l1-15r"`) + +* `NEMA_L5_15R` (value: `"nema-l5-15r"`) + +* `NEMA_L5_20R` (value: `"nema-l5-20r"`) + +* `NEMA_L5_30R` (value: `"nema-l5-30r"`) + +* `NEMA_L5_50R` (value: `"nema-l5-50r"`) + +* `NEMA_L6_15R` (value: `"nema-l6-15r"`) + +* `NEMA_L6_20R` (value: `"nema-l6-20r"`) + +* `NEMA_L6_30R` (value: `"nema-l6-30r"`) + +* `NEMA_L6_50R` (value: `"nema-l6-50r"`) + +* `NEMA_L10_30R` (value: `"nema-l10-30r"`) + +* `NEMA_L14_20R` (value: `"nema-l14-20r"`) + +* `NEMA_L14_30R` (value: `"nema-l14-30r"`) + +* `NEMA_L14_50R` (value: `"nema-l14-50r"`) + +* `NEMA_L14_60R` (value: `"nema-l14-60r"`) + +* `NEMA_L15_20R` (value: `"nema-l15-20r"`) + +* `NEMA_L15_30R` (value: `"nema-l15-30r"`) + +* `NEMA_L15_50R` (value: `"nema-l15-50r"`) + +* `NEMA_L15_60R` (value: `"nema-l15-60r"`) + +* `NEMA_L21_20R` (value: `"nema-l21-20r"`) + +* `NEMA_L21_30R` (value: `"nema-l21-30r"`) + +* `NEMA_L22_30R` (value: `"nema-l22-30r"`) + +* `CS6360_C` (value: `"CS6360C"`) + +* `CS6364_C` (value: `"CS6364C"`) + +* `CS8164_C` (value: `"CS8164C"`) + +* `CS8264_C` (value: `"CS8264C"`) + +* `CS8364_C` (value: `"CS8364C"`) + +* `CS8464_C` (value: `"CS8464C"`) + +* `ITA_E` (value: `"ita-e"`) + +* `ITA_F` (value: `"ita-f"`) + +* `ITA_G` (value: `"ita-g"`) + +* `ITA_H` (value: `"ita-h"`) + +* `ITA_I` (value: `"ita-i"`) + +* `ITA_J` (value: `"ita-j"`) + +* `ITA_K` (value: `"ita-k"`) + +* `ITA_L` (value: `"ita-l"`) + +* `ITA_M` (value: `"ita-m"`) + +* `ITA_N` (value: `"ita-n"`) + +* `ITA_O` (value: `"ita-o"`) + +* `ITA_MULTISTANDARD` (value: `"ita-multistandard"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `DC_TERMINAL` (value: `"dc-terminal"`) + +* `HDOT_CX` (value: `"hdot-cx"`) + +* `SAF_D_GRID` (value: `"saf-d-grid"`) + +* `NEUTRIK_POWERCON_20A` (value: `"neutrik-powercon-20a"`) + +* `NEUTRIK_POWERCON_32A` (value: `"neutrik-powercon-32a"`) + +* `NEUTRIK_POWERCON_TRUE1` (value: `"neutrik-powercon-true1"`) + +* `NEUTRIK_POWERCON_TRUE1_TOP` (value: `"neutrik-powercon-true1-top"`) + +* `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) + +* `EATON_C39` (value: `"eaton-c39"`) + +* `HARDWIRED` (value: `"hardwired"`) + +* `OTHER` (value: `"other"`) + +* `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/PatchedWritablePowerPanelRequestPanelType.md b/docs/PatchedWritablePowerPanelRequestPanelType.md index dbde3bc6..f1f86c00 100644 --- a/docs/PatchedWritablePowerPanelRequestPanelType.md +++ b/docs/PatchedWritablePowerPanelRequestPanelType.md @@ -1,28 +1,29 @@ # PatchedWritablePowerPanelRequestPanelType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `UTILITY` (value: `"utility"`) -### NewPatchedWritablePowerPanelRequestPanelType +* `GENERATOR` (value: `"generator"`) -`func NewPatchedWritablePowerPanelRequestPanelType() *PatchedWritablePowerPanelRequestPanelType` +* `SWITCHGEAR` (value: `"switchgear"`) -NewPatchedWritablePowerPanelRequestPanelType instantiates a new PatchedWritablePowerPanelRequestPanelType 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 +* `MDP` (value: `"mdp"`) -### NewPatchedWritablePowerPanelRequestPanelTypeWithDefaults +* `UPS` (value: `"ups"`) -`func NewPatchedWritablePowerPanelRequestPanelTypeWithDefaults() *PatchedWritablePowerPanelRequestPanelType` +* `TRANSFER_SWITCH` (value: `"transfer-switch"`) -NewPatchedWritablePowerPanelRequestPanelTypeWithDefaults instantiates a new PatchedWritablePowerPanelRequestPanelType 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 +* `PDU` (value: `"pdu"`) + +* `PANELBOARD` (value: `"panelboard"`) + +* `MLC` (value: `"mlc"`) + +* `RPP` (value: `"rpp"`) + +* `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/PatchedWritablePowerPortRequestType.md b/docs/PatchedWritablePowerPortRequestType.md index 4b8cb304..f1563d80 100644 --- a/docs/PatchedWritablePowerPortRequestType.md +++ b/docs/PatchedWritablePowerPortRequestType.md @@ -1,28 +1,209 @@ # PatchedWritablePowerPortRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `IEC_60320_C6` (value: `"iec-60320-c6"`) -### NewPatchedWritablePowerPortRequestType +* `IEC_60320_C8` (value: `"iec-60320-c8"`) -`func NewPatchedWritablePowerPortRequestType() *PatchedWritablePowerPortRequestType` +* `IEC_60320_C14` (value: `"iec-60320-c14"`) -NewPatchedWritablePowerPortRequestType instantiates a new PatchedWritablePowerPortRequestType 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 +* `IEC_60320_C16` (value: `"iec-60320-c16"`) -### NewPatchedWritablePowerPortRequestTypeWithDefaults +* `IEC_60320_C20` (value: `"iec-60320-c20"`) -`func NewPatchedWritablePowerPortRequestTypeWithDefaults() *PatchedWritablePowerPortRequestType` +* `IEC_60320_C22` (value: `"iec-60320-c22"`) -NewPatchedWritablePowerPortRequestTypeWithDefaults instantiates a new PatchedWritablePowerPortRequestType 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 +* `IEC_60309_P_N_E_4H` (value: `"iec-60309-p-n-e-4h"`) + +* `IEC_60309_P_N_E_6H` (value: `"iec-60309-p-n-e-6h"`) + +* `IEC_60309_P_N_E_9H` (value: `"iec-60309-p-n-e-9h"`) + +* `IEC_60309_2P_E_4H` (value: `"iec-60309-2p-e-4h"`) + +* `IEC_60309_2P_E_6H` (value: `"iec-60309-2p-e-6h"`) + +* `IEC_60309_2P_E_9H` (value: `"iec-60309-2p-e-9h"`) + +* `IEC_60309_3P_E_4H` (value: `"iec-60309-3p-e-4h"`) + +* `IEC_60309_3P_E_6H` (value: `"iec-60309-3p-e-6h"`) + +* `IEC_60309_3P_E_9H` (value: `"iec-60309-3p-e-9h"`) + +* `IEC_60309_3P_N_E_4H` (value: `"iec-60309-3p-n-e-4h"`) + +* `IEC_60309_3P_N_E_6H` (value: `"iec-60309-3p-n-e-6h"`) + +* `IEC_60309_3P_N_E_9H` (value: `"iec-60309-3p-n-e-9h"`) + +* `IEC_60906_1` (value: `"iec-60906-1"`) + +* `NBR_14136_10A` (value: `"nbr-14136-10a"`) + +* `NBR_14136_20A` (value: `"nbr-14136-20a"`) + +* `NEMA_1_15P` (value: `"nema-1-15p"`) + +* `NEMA_5_15P` (value: `"nema-5-15p"`) + +* `NEMA_5_20P` (value: `"nema-5-20p"`) + +* `NEMA_5_30P` (value: `"nema-5-30p"`) + +* `NEMA_5_50P` (value: `"nema-5-50p"`) + +* `NEMA_6_15P` (value: `"nema-6-15p"`) + +* `NEMA_6_20P` (value: `"nema-6-20p"`) + +* `NEMA_6_30P` (value: `"nema-6-30p"`) + +* `NEMA_6_50P` (value: `"nema-6-50p"`) + +* `NEMA_10_30P` (value: `"nema-10-30p"`) + +* `NEMA_10_50P` (value: `"nema-10-50p"`) + +* `NEMA_14_20P` (value: `"nema-14-20p"`) + +* `NEMA_14_30P` (value: `"nema-14-30p"`) + +* `NEMA_14_50P` (value: `"nema-14-50p"`) + +* `NEMA_14_60P` (value: `"nema-14-60p"`) + +* `NEMA_15_15P` (value: `"nema-15-15p"`) + +* `NEMA_15_20P` (value: `"nema-15-20p"`) + +* `NEMA_15_30P` (value: `"nema-15-30p"`) + +* `NEMA_15_50P` (value: `"nema-15-50p"`) + +* `NEMA_15_60P` (value: `"nema-15-60p"`) + +* `NEMA_L1_15P` (value: `"nema-l1-15p"`) + +* `NEMA_L5_15P` (value: `"nema-l5-15p"`) + +* `NEMA_L5_20P` (value: `"nema-l5-20p"`) + +* `NEMA_L5_30P` (value: `"nema-l5-30p"`) + +* `NEMA_L5_50P` (value: `"nema-l5-50p"`) + +* `NEMA_L6_15P` (value: `"nema-l6-15p"`) + +* `NEMA_L6_20P` (value: `"nema-l6-20p"`) + +* `NEMA_L6_30P` (value: `"nema-l6-30p"`) + +* `NEMA_L6_50P` (value: `"nema-l6-50p"`) + +* `NEMA_L10_30P` (value: `"nema-l10-30p"`) + +* `NEMA_L14_20P` (value: `"nema-l14-20p"`) + +* `NEMA_L14_30P` (value: `"nema-l14-30p"`) + +* `NEMA_L14_50P` (value: `"nema-l14-50p"`) + +* `NEMA_L14_60P` (value: `"nema-l14-60p"`) + +* `NEMA_L15_20P` (value: `"nema-l15-20p"`) + +* `NEMA_L15_30P` (value: `"nema-l15-30p"`) + +* `NEMA_L15_50P` (value: `"nema-l15-50p"`) + +* `NEMA_L15_60P` (value: `"nema-l15-60p"`) + +* `NEMA_L21_20P` (value: `"nema-l21-20p"`) + +* `NEMA_L21_30P` (value: `"nema-l21-30p"`) + +* `NEMA_L22_30P` (value: `"nema-l22-30p"`) + +* `CS6361C` (value: `"cs6361c"`) + +* `CS6365C` (value: `"cs6365c"`) + +* `CS8165C` (value: `"cs8165c"`) + +* `CS8265C` (value: `"cs8265c"`) + +* `CS8365C` (value: `"cs8365c"`) + +* `CS8465C` (value: `"cs8465c"`) + +* `ITA_C` (value: `"ita-c"`) + +* `ITA_E` (value: `"ita-e"`) + +* `ITA_F` (value: `"ita-f"`) + +* `ITA_EF` (value: `"ita-ef"`) + +* `ITA_G` (value: `"ita-g"`) + +* `ITA_H` (value: `"ita-h"`) + +* `ITA_I` (value: `"ita-i"`) + +* `ITA_J` (value: `"ita-j"`) + +* `ITA_K` (value: `"ita-k"`) + +* `ITA_L` (value: `"ita-l"`) + +* `ITA_M` (value: `"ita-m"`) + +* `ITA_N` (value: `"ita-n"`) + +* `ITA_O` (value: `"ita-o"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_B` (value: `"usb-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MINI_A` (value: `"usb-mini-a"`) + +* `USB_MINI_B` (value: `"usb-mini-b"`) + +* `USB_MICRO_A` (value: `"usb-micro-a"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_MICRO_AB` (value: `"usb-micro-ab"`) + +* `USB_3_B` (value: `"usb-3-b"`) + +* `USB_3_MICRO_B` (value: `"usb-3-micro-b"`) + +* `DC_TERMINAL` (value: `"dc-terminal"`) + +* `SAF_D_GRID` (value: `"saf-d-grid"`) + +* `NEUTRIK_POWERCON_20` (value: `"neutrik-powercon-20"`) + +* `NEUTRIK_POWERCON_32` (value: `"neutrik-powercon-32"`) + +* `NEUTRIK_POWERCON_TRUE1` (value: `"neutrik-powercon-true1"`) + +* `NEUTRIK_POWERCON_TRUE1_TOP` (value: `"neutrik-powercon-true1-top"`) + +* `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) + +* `HARDWIRED` (value: `"hardwired"`) + +* `OTHER` (value: `"other"`) + +* `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/PatchedWritablePowerPortTemplateRequestType.md b/docs/PatchedWritablePowerPortTemplateRequestType.md index 4d0531c3..5dd17c5b 100644 --- a/docs/PatchedWritablePowerPortTemplateRequestType.md +++ b/docs/PatchedWritablePowerPortTemplateRequestType.md @@ -1,28 +1,209 @@ # PatchedWritablePowerPortTemplateRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `IEC_60320_C6` (value: `"iec-60320-c6"`) -### NewPatchedWritablePowerPortTemplateRequestType +* `IEC_60320_C8` (value: `"iec-60320-c8"`) -`func NewPatchedWritablePowerPortTemplateRequestType() *PatchedWritablePowerPortTemplateRequestType` +* `IEC_60320_C14` (value: `"iec-60320-c14"`) -NewPatchedWritablePowerPortTemplateRequestType instantiates a new PatchedWritablePowerPortTemplateRequestType 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 +* `IEC_60320_C16` (value: `"iec-60320-c16"`) -### NewPatchedWritablePowerPortTemplateRequestTypeWithDefaults +* `IEC_60320_C20` (value: `"iec-60320-c20"`) -`func NewPatchedWritablePowerPortTemplateRequestTypeWithDefaults() *PatchedWritablePowerPortTemplateRequestType` +* `IEC_60320_C22` (value: `"iec-60320-c22"`) -NewPatchedWritablePowerPortTemplateRequestTypeWithDefaults instantiates a new PatchedWritablePowerPortTemplateRequestType 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 +* `IEC_60309_P_N_E_4H` (value: `"iec-60309-p-n-e-4h"`) + +* `IEC_60309_P_N_E_6H` (value: `"iec-60309-p-n-e-6h"`) + +* `IEC_60309_P_N_E_9H` (value: `"iec-60309-p-n-e-9h"`) + +* `IEC_60309_2P_E_4H` (value: `"iec-60309-2p-e-4h"`) + +* `IEC_60309_2P_E_6H` (value: `"iec-60309-2p-e-6h"`) + +* `IEC_60309_2P_E_9H` (value: `"iec-60309-2p-e-9h"`) + +* `IEC_60309_3P_E_4H` (value: `"iec-60309-3p-e-4h"`) + +* `IEC_60309_3P_E_6H` (value: `"iec-60309-3p-e-6h"`) + +* `IEC_60309_3P_E_9H` (value: `"iec-60309-3p-e-9h"`) + +* `IEC_60309_3P_N_E_4H` (value: `"iec-60309-3p-n-e-4h"`) + +* `IEC_60309_3P_N_E_6H` (value: `"iec-60309-3p-n-e-6h"`) + +* `IEC_60309_3P_N_E_9H` (value: `"iec-60309-3p-n-e-9h"`) + +* `IEC_60906_1` (value: `"iec-60906-1"`) + +* `NBR_14136_10A` (value: `"nbr-14136-10a"`) + +* `NBR_14136_20A` (value: `"nbr-14136-20a"`) + +* `NEMA_1_15P` (value: `"nema-1-15p"`) + +* `NEMA_5_15P` (value: `"nema-5-15p"`) + +* `NEMA_5_20P` (value: `"nema-5-20p"`) + +* `NEMA_5_30P` (value: `"nema-5-30p"`) + +* `NEMA_5_50P` (value: `"nema-5-50p"`) + +* `NEMA_6_15P` (value: `"nema-6-15p"`) + +* `NEMA_6_20P` (value: `"nema-6-20p"`) + +* `NEMA_6_30P` (value: `"nema-6-30p"`) + +* `NEMA_6_50P` (value: `"nema-6-50p"`) + +* `NEMA_10_30P` (value: `"nema-10-30p"`) + +* `NEMA_10_50P` (value: `"nema-10-50p"`) + +* `NEMA_14_20P` (value: `"nema-14-20p"`) + +* `NEMA_14_30P` (value: `"nema-14-30p"`) + +* `NEMA_14_50P` (value: `"nema-14-50p"`) + +* `NEMA_14_60P` (value: `"nema-14-60p"`) + +* `NEMA_15_15P` (value: `"nema-15-15p"`) + +* `NEMA_15_20P` (value: `"nema-15-20p"`) + +* `NEMA_15_30P` (value: `"nema-15-30p"`) + +* `NEMA_15_50P` (value: `"nema-15-50p"`) + +* `NEMA_15_60P` (value: `"nema-15-60p"`) + +* `NEMA_L1_15P` (value: `"nema-l1-15p"`) + +* `NEMA_L5_15P` (value: `"nema-l5-15p"`) + +* `NEMA_L5_20P` (value: `"nema-l5-20p"`) + +* `NEMA_L5_30P` (value: `"nema-l5-30p"`) + +* `NEMA_L5_50P` (value: `"nema-l5-50p"`) + +* `NEMA_L6_15P` (value: `"nema-l6-15p"`) + +* `NEMA_L6_20P` (value: `"nema-l6-20p"`) + +* `NEMA_L6_30P` (value: `"nema-l6-30p"`) + +* `NEMA_L6_50P` (value: `"nema-l6-50p"`) + +* `NEMA_L10_30P` (value: `"nema-l10-30p"`) + +* `NEMA_L14_20P` (value: `"nema-l14-20p"`) + +* `NEMA_L14_30P` (value: `"nema-l14-30p"`) + +* `NEMA_L14_50P` (value: `"nema-l14-50p"`) + +* `NEMA_L14_60P` (value: `"nema-l14-60p"`) + +* `NEMA_L15_20P` (value: `"nema-l15-20p"`) + +* `NEMA_L15_30P` (value: `"nema-l15-30p"`) + +* `NEMA_L15_50P` (value: `"nema-l15-50p"`) + +* `NEMA_L15_60P` (value: `"nema-l15-60p"`) + +* `NEMA_L21_20P` (value: `"nema-l21-20p"`) + +* `NEMA_L21_30P` (value: `"nema-l21-30p"`) + +* `NEMA_L22_30P` (value: `"nema-l22-30p"`) + +* `CS6361C` (value: `"cs6361c"`) + +* `CS6365C` (value: `"cs6365c"`) + +* `CS8165C` (value: `"cs8165c"`) + +* `CS8265C` (value: `"cs8265c"`) + +* `CS8365C` (value: `"cs8365c"`) + +* `CS8465C` (value: `"cs8465c"`) + +* `ITA_C` (value: `"ita-c"`) + +* `ITA_E` (value: `"ita-e"`) + +* `ITA_F` (value: `"ita-f"`) + +* `ITA_EF` (value: `"ita-ef"`) + +* `ITA_G` (value: `"ita-g"`) + +* `ITA_H` (value: `"ita-h"`) + +* `ITA_I` (value: `"ita-i"`) + +* `ITA_J` (value: `"ita-j"`) + +* `ITA_K` (value: `"ita-k"`) + +* `ITA_L` (value: `"ita-l"`) + +* `ITA_M` (value: `"ita-m"`) + +* `ITA_N` (value: `"ita-n"`) + +* `ITA_O` (value: `"ita-o"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_B` (value: `"usb-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MINI_A` (value: `"usb-mini-a"`) + +* `USB_MINI_B` (value: `"usb-mini-b"`) + +* `USB_MICRO_A` (value: `"usb-micro-a"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_MICRO_AB` (value: `"usb-micro-ab"`) + +* `USB_3_B` (value: `"usb-3-b"`) + +* `USB_3_MICRO_B` (value: `"usb-3-micro-b"`) + +* `DC_TERMINAL` (value: `"dc-terminal"`) + +* `SAF_D_GRID` (value: `"saf-d-grid"`) + +* `NEUTRIK_POWERCON_20` (value: `"neutrik-powercon-20"`) + +* `NEUTRIK_POWERCON_32` (value: `"neutrik-powercon-32"`) + +* `NEUTRIK_POWERCON_TRUE1` (value: `"neutrik-powercon-true1"`) + +* `NEUTRIK_POWERCON_TRUE1_TOP` (value: `"neutrik-powercon-true1-top"`) + +* `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) + +* `HARDWIRED` (value: `"hardwired"`) + +* `OTHER` (value: `"other"`) + +* `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/PatchedWritableRackRequestOuterUnit.md b/docs/PatchedWritableRackRequestOuterUnit.md index a49785aa..3b2df08c 100644 --- a/docs/PatchedWritableRackRequestOuterUnit.md +++ b/docs/PatchedWritableRackRequestOuterUnit.md @@ -1,28 +1,13 @@ # PatchedWritableRackRequestOuterUnit -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `MM` (value: `"mm"`) -### NewPatchedWritableRackRequestOuterUnit +* `IN` (value: `"in"`) -`func NewPatchedWritableRackRequestOuterUnit() *PatchedWritableRackRequestOuterUnit` - -NewPatchedWritableRackRequestOuterUnit instantiates a new PatchedWritableRackRequestOuterUnit 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 - -### NewPatchedWritableRackRequestOuterUnitWithDefaults - -`func NewPatchedWritableRackRequestOuterUnitWithDefaults() *PatchedWritableRackRequestOuterUnit` - -NewPatchedWritableRackRequestOuterUnitWithDefaults instantiates a new PatchedWritableRackRequestOuterUnit 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/PatchedWritableRackRequestType.md b/docs/PatchedWritableRackRequestType.md index c07c32d6..5cc7a041 100644 --- a/docs/PatchedWritableRackRequestType.md +++ b/docs/PatchedWritableRackRequestType.md @@ -1,28 +1,25 @@ # PatchedWritableRackRequestType -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `_2_POST_FRAME` (value: `"2-post-frame"`) -### NewPatchedWritableRackRequestType +* `_4_POST_FRAME` (value: `"4-post-frame"`) -`func NewPatchedWritableRackRequestType() *PatchedWritableRackRequestType` +* `_4_POST_CABINET` (value: `"4-post-cabinet"`) -NewPatchedWritableRackRequestType instantiates a new PatchedWritableRackRequestType 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 +* `WALL_FRAME` (value: `"wall-frame"`) -### NewPatchedWritableRackRequestTypeWithDefaults +* `WALL_FRAME_VERTICAL` (value: `"wall-frame-vertical"`) -`func NewPatchedWritableRackRequestTypeWithDefaults() *PatchedWritableRackRequestType` +* `WALL_CABINET` (value: `"wall-cabinet"`) -NewPatchedWritableRackRequestTypeWithDefaults instantiates a new PatchedWritableRackRequestType 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 +* `WALL_CABINET_VERTICAL` (value: `"wall-cabinet-vertical"`) + +* `OTHER` (value: `"other"`) + +* `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/README.md b/docs/README.md index f8f1aafa..3b5bb219 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 2.4.21 (2.4) - Package version: 3 -- Generator version: 7.14.0 +- Generator version: 7.17.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/docs/RackFace.md b/docs/RackFace.md index 35146f3e..10bfeb07 100644 --- a/docs/RackFace.md +++ b/docs/RackFace.md @@ -1,28 +1,13 @@ # RackFace -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `FRONT` (value: `"front"`) -### NewRackFace +* `REAR` (value: `"rear"`) -`func NewRackFace() *RackFace` - -NewRackFace instantiates a new RackFace 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 - -### NewRackFaceWithDefaults - -`func NewRackFaceWithDefaults() *RackFace` - -NewRackFaceWithDefaults instantiates a new RackFace 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/RedundancyProtocol.md b/docs/RedundancyProtocol.md index 4ede289f..2684bb91 100644 --- a/docs/RedundancyProtocol.md +++ b/docs/RedundancyProtocol.md @@ -1,28 +1,17 @@ # RedundancyProtocol -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -## Methods +* `HSRP` (value: `"hsrp"`) -### NewRedundancyProtocol +* `VRRP` (value: `"vrrp"`) -`func NewRedundancyProtocol() *RedundancyProtocol` +* `GLBP` (value: `"glbp"`) -NewRedundancyProtocol instantiates a new RedundancyProtocol 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 +* `CARP` (value: `"carp"`) -### NewRedundancyProtocolWithDefaults - -`func NewRedundancyProtocolWithDefaults() *RedundancyProtocol` - -NewRedundancyProtocolWithDefaults instantiates a new RedundancyProtocol 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/VLAN.md b/docs/VLAN.md index 9a9c22bf..5649882d 100644 --- a/docs/VLAN.md +++ b/docs/VLAN.md @@ -23,14 +23,14 @@ Name | Type | Description | Notes **Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional] **NotesUrl** | **string** | | [readonly] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] -**ComputedFields** | **map[string]interface{}** | | [readonly] +**ComputedFields** | Pointer to **map[string]interface{}** | | [optional] [readonly] **Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional] ## Methods ### NewVLAN -`func NewVLAN(objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, computedFields map[string]interface{}, ) *VLAN` +`func NewVLAN(objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *VLAN` NewVLAN instantiates a new VLAN object This constructor will assign default values to properties that have it defined, @@ -534,6 +534,11 @@ and a boolean to check if the value has been set. SetComputedFields sets ComputedFields field to given value. +### HasComputedFields + +`func (o *VLAN) HasComputedFields() bool` + +HasComputedFields returns a boolean if a field has been set. ### GetRelationships diff --git a/go.mod b/go.mod index fa21b037..0c14df2b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nautobot/go-nautobot/v2 -go 1.18 +go 1.23 require ( github.com/stretchr/testify v1.11.1 diff --git a/go.sum b/go.sum index 266a1c61..95293cee 100644 --- a/go.sum +++ b/go.sum @@ -1,13 +1,16 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/validator.v2 v2.0.1 h1:xF0KWyGWXm/LM2G1TrEjqOu4pa6coO9AlWSf3msVfDY= gopkg.in/validator.v2 v2.0.1/go.mod h1:lIUZBlB3Im4s/eYp39Ry/wkR02yOPhZ9IwIRBjuPuG8= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/model_bulk_writable_external_integration_request_http_method.go b/model_bulk_writable_external_integration_request_http_method.go index 500fc88d..a0d5d56e 100644 --- a/model_bulk_writable_external_integration_request_http_method.go +++ b/model_bulk_writable_external_integration_request_http_method.go @@ -13,123 +13,72 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// BulkWritableExternalIntegrationRequestHttpMethod - struct for BulkWritableExternalIntegrationRequestHttpMethod -type BulkWritableExternalIntegrationRequestHttpMethod struct { - BlankEnum *BlankEnum - HttpMethodEnum *HttpMethodEnum -} - -// BlankEnumAsBulkWritableExternalIntegrationRequestHttpMethod is a convenience function that returns BlankEnum wrapped in BulkWritableExternalIntegrationRequestHttpMethod -func BlankEnumAsBulkWritableExternalIntegrationRequestHttpMethod(v *BlankEnum) BulkWritableExternalIntegrationRequestHttpMethod { - return BulkWritableExternalIntegrationRequestHttpMethod{ - BlankEnum: v, - } -} +// BulkWritableExternalIntegrationRequestHttpMethod the model 'BulkWritableExternalIntegrationRequestHttpMethod' +type BulkWritableExternalIntegrationRequestHttpMethod string + +// List of BulkWritableExternalIntegrationRequest_http_method +const ( + BULKWRITABLEEXTERNALINTEGRATIONREQUESTHTTPMETHOD_GET BulkWritableExternalIntegrationRequestHttpMethod = "GET" + BULKWRITABLEEXTERNALINTEGRATIONREQUESTHTTPMETHOD_POST BulkWritableExternalIntegrationRequestHttpMethod = "POST" + BULKWRITABLEEXTERNALINTEGRATIONREQUESTHTTPMETHOD_PUT BulkWritableExternalIntegrationRequestHttpMethod = "PUT" + BULKWRITABLEEXTERNALINTEGRATIONREQUESTHTTPMETHOD_PATCH BulkWritableExternalIntegrationRequestHttpMethod = "PATCH" + BULKWRITABLEEXTERNALINTEGRATIONREQUESTHTTPMETHOD_DELETE BulkWritableExternalIntegrationRequestHttpMethod = "DELETE" + BULKWRITABLEEXTERNALINTEGRATIONREQUESTHTTPMETHOD_EMPTY BulkWritableExternalIntegrationRequestHttpMethod = "" +) -// HttpMethodEnumAsBulkWritableExternalIntegrationRequestHttpMethod is a convenience function that returns HttpMethodEnum wrapped in BulkWritableExternalIntegrationRequestHttpMethod -func HttpMethodEnumAsBulkWritableExternalIntegrationRequestHttpMethod(v *HttpMethodEnum) BulkWritableExternalIntegrationRequestHttpMethod { - return BulkWritableExternalIntegrationRequestHttpMethod{ - HttpMethodEnum: v, - } +// All allowed values of BulkWritableExternalIntegrationRequestHttpMethod enum +var AllowedBulkWritableExternalIntegrationRequestHttpMethodEnumValues = []BulkWritableExternalIntegrationRequestHttpMethod{ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *BulkWritableExternalIntegrationRequestHttpMethod) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *BulkWritableExternalIntegrationRequestHttpMethod) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into HttpMethodEnum - err = newStrictDecoder(data).Decode(&dst.HttpMethodEnum) - if err == nil { - jsonHttpMethodEnum, _ := json.Marshal(dst.HttpMethodEnum) - if string(jsonHttpMethodEnum) == "{}" { // empty struct - dst.HttpMethodEnum = nil - } else { - if err = validator.Validate(dst.HttpMethodEnum); err != nil { - dst.HttpMethodEnum = nil - } else { - match++ - } + enumTypeValue := BulkWritableExternalIntegrationRequestHttpMethod(value) + for _, existing := range AllowedBulkWritableExternalIntegrationRequestHttpMethodEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.HttpMethodEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.HttpMethodEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(BulkWritableExternalIntegrationRequestHttpMethod)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(BulkWritableExternalIntegrationRequestHttpMethod)") - } + return fmt.Errorf("%+v is not a valid BulkWritableExternalIntegrationRequestHttpMethod", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BulkWritableExternalIntegrationRequestHttpMethod) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.HttpMethodEnum != nil { - return json.Marshal(&src.HttpMethodEnum) +// NewBulkWritableExternalIntegrationRequestHttpMethodFromValue returns a pointer to a valid BulkWritableExternalIntegrationRequestHttpMethod +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBulkWritableExternalIntegrationRequestHttpMethodFromValue(v string) (*BulkWritableExternalIntegrationRequestHttpMethod, error) { + ev := BulkWritableExternalIntegrationRequestHttpMethod(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BulkWritableExternalIntegrationRequestHttpMethod: valid values are %v", v, AllowedBulkWritableExternalIntegrationRequestHttpMethodEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *BulkWritableExternalIntegrationRequestHttpMethod) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.HttpMethodEnum != nil { - return obj.HttpMethodEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v BulkWritableExternalIntegrationRequestHttpMethod) IsValid() bool { + for _, existing := range AllowedBulkWritableExternalIntegrationRequestHttpMethodEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj BulkWritableExternalIntegrationRequestHttpMethod) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.HttpMethodEnum != nil { - return *obj.HttpMethodEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to BulkWritableExternalIntegrationRequest_http_method value +func (v BulkWritableExternalIntegrationRequestHttpMethod) Ptr() *BulkWritableExternalIntegrationRequestHttpMethod { + return &v } type NullableBulkWritableExternalIntegrationRequestHttpMethod struct { @@ -168,4 +117,3 @@ func (v *NullableBulkWritableExternalIntegrationRequestHttpMethod) UnmarshalJSON return json.Unmarshal(src, &v.value) } - diff --git a/model_bulk_writable_git_repository_request_provided_contents_inner.go b/model_bulk_writable_git_repository_request_provided_contents_inner.go index b5e22b51..96774bb2 100644 --- a/model_bulk_writable_git_repository_request_provided_contents_inner.go +++ b/model_bulk_writable_git_repository_request_provided_contents_inner.go @@ -13,123 +13,72 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// BulkWritableGitRepositoryRequestProvidedContentsInner - struct for BulkWritableGitRepositoryRequestProvidedContentsInner -type BulkWritableGitRepositoryRequestProvidedContentsInner struct { - BlankEnum *BlankEnum - ProvidedContentsEnum *ProvidedContentsEnum -} - -// BlankEnumAsBulkWritableGitRepositoryRequestProvidedContentsInner is a convenience function that returns BlankEnum wrapped in BulkWritableGitRepositoryRequestProvidedContentsInner -func BlankEnumAsBulkWritableGitRepositoryRequestProvidedContentsInner(v *BlankEnum) BulkWritableGitRepositoryRequestProvidedContentsInner { - return BulkWritableGitRepositoryRequestProvidedContentsInner{ - BlankEnum: v, - } -} +// BulkWritableGitRepositoryRequestProvidedContentsInner the model 'BulkWritableGitRepositoryRequestProvidedContentsInner' +type BulkWritableGitRepositoryRequestProvidedContentsInner string + +// List of BulkWritableGitRepositoryRequest_provided_contents_inner +const ( + BULKWRITABLEGITREPOSITORYREQUESTPROVIDEDCONTENTSINNER_EXTRAS_CONFIGCONTEXT BulkWritableGitRepositoryRequestProvidedContentsInner = "extras.configcontext" + BULKWRITABLEGITREPOSITORYREQUESTPROVIDEDCONTENTSINNER_EXTRAS_CONFIGCONTEXTSCHEMA BulkWritableGitRepositoryRequestProvidedContentsInner = "extras.configcontextschema" + BULKWRITABLEGITREPOSITORYREQUESTPROVIDEDCONTENTSINNER_EXTRAS_EXPORTTEMPLATE BulkWritableGitRepositoryRequestProvidedContentsInner = "extras.exporttemplate" + BULKWRITABLEGITREPOSITORYREQUESTPROVIDEDCONTENTSINNER_EXTRAS_GRAPHQLQUERY BulkWritableGitRepositoryRequestProvidedContentsInner = "extras.graphqlquery" + BULKWRITABLEGITREPOSITORYREQUESTPROVIDEDCONTENTSINNER_EXTRAS_JOB BulkWritableGitRepositoryRequestProvidedContentsInner = "extras.job" + BULKWRITABLEGITREPOSITORYREQUESTPROVIDEDCONTENTSINNER_EMPTY BulkWritableGitRepositoryRequestProvidedContentsInner = "" +) -// ProvidedContentsEnumAsBulkWritableGitRepositoryRequestProvidedContentsInner is a convenience function that returns ProvidedContentsEnum wrapped in BulkWritableGitRepositoryRequestProvidedContentsInner -func ProvidedContentsEnumAsBulkWritableGitRepositoryRequestProvidedContentsInner(v *ProvidedContentsEnum) BulkWritableGitRepositoryRequestProvidedContentsInner { - return BulkWritableGitRepositoryRequestProvidedContentsInner{ - ProvidedContentsEnum: v, - } +// All allowed values of BulkWritableGitRepositoryRequestProvidedContentsInner enum +var AllowedBulkWritableGitRepositoryRequestProvidedContentsInnerEnumValues = []BulkWritableGitRepositoryRequestProvidedContentsInner{ + "extras.configcontext", + "extras.configcontextschema", + "extras.exporttemplate", + "extras.graphqlquery", + "extras.job", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *BulkWritableGitRepositoryRequestProvidedContentsInner) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *BulkWritableGitRepositoryRequestProvidedContentsInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into ProvidedContentsEnum - err = newStrictDecoder(data).Decode(&dst.ProvidedContentsEnum) - if err == nil { - jsonProvidedContentsEnum, _ := json.Marshal(dst.ProvidedContentsEnum) - if string(jsonProvidedContentsEnum) == "{}" { // empty struct - dst.ProvidedContentsEnum = nil - } else { - if err = validator.Validate(dst.ProvidedContentsEnum); err != nil { - dst.ProvidedContentsEnum = nil - } else { - match++ - } + enumTypeValue := BulkWritableGitRepositoryRequestProvidedContentsInner(value) + for _, existing := range AllowedBulkWritableGitRepositoryRequestProvidedContentsInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.ProvidedContentsEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.ProvidedContentsEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(BulkWritableGitRepositoryRequestProvidedContentsInner)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(BulkWritableGitRepositoryRequestProvidedContentsInner)") - } + return fmt.Errorf("%+v is not a valid BulkWritableGitRepositoryRequestProvidedContentsInner", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BulkWritableGitRepositoryRequestProvidedContentsInner) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.ProvidedContentsEnum != nil { - return json.Marshal(&src.ProvidedContentsEnum) +// NewBulkWritableGitRepositoryRequestProvidedContentsInnerFromValue returns a pointer to a valid BulkWritableGitRepositoryRequestProvidedContentsInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBulkWritableGitRepositoryRequestProvidedContentsInnerFromValue(v string) (*BulkWritableGitRepositoryRequestProvidedContentsInner, error) { + ev := BulkWritableGitRepositoryRequestProvidedContentsInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BulkWritableGitRepositoryRequestProvidedContentsInner: valid values are %v", v, AllowedBulkWritableGitRepositoryRequestProvidedContentsInnerEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *BulkWritableGitRepositoryRequestProvidedContentsInner) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.ProvidedContentsEnum != nil { - return obj.ProvidedContentsEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v BulkWritableGitRepositoryRequestProvidedContentsInner) IsValid() bool { + for _, existing := range AllowedBulkWritableGitRepositoryRequestProvidedContentsInnerEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj BulkWritableGitRepositoryRequestProvidedContentsInner) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.ProvidedContentsEnum != nil { - return *obj.ProvidedContentsEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to BulkWritableGitRepositoryRequest_provided_contents_inner value +func (v BulkWritableGitRepositoryRequestProvidedContentsInner) Ptr() *BulkWritableGitRepositoryRequestProvidedContentsInner { + return &v } type NullableBulkWritableGitRepositoryRequestProvidedContentsInner struct { @@ -168,4 +117,3 @@ func (v *NullableBulkWritableGitRepositoryRequestProvidedContentsInner) Unmarsha return json.Unmarshal(src, &v.value) } - diff --git a/model_bulk_writable_radio_profile_request_frequency.go b/model_bulk_writable_radio_profile_request_frequency.go index 2a572936..56d5a5ef 100644 --- a/model_bulk_writable_radio_profile_request_frequency.go +++ b/model_bulk_writable_radio_profile_request_frequency.go @@ -13,123 +13,68 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// BulkWritableRadioProfileRequestFrequency - struct for BulkWritableRadioProfileRequestFrequency -type BulkWritableRadioProfileRequestFrequency struct { - BlankEnum *BlankEnum - FrequencyEnum *FrequencyEnum -} +// BulkWritableRadioProfileRequestFrequency the model 'BulkWritableRadioProfileRequestFrequency' +type BulkWritableRadioProfileRequestFrequency string -// BlankEnumAsBulkWritableRadioProfileRequestFrequency is a convenience function that returns BlankEnum wrapped in BulkWritableRadioProfileRequestFrequency -func BlankEnumAsBulkWritableRadioProfileRequestFrequency(v *BlankEnum) BulkWritableRadioProfileRequestFrequency { - return BulkWritableRadioProfileRequestFrequency{ - BlankEnum: v, - } -} +// List of BulkWritableRadioProfileRequest_frequency +const ( + BULKWRITABLERADIOPROFILEREQUESTFREQUENCY__2_4_GHZ BulkWritableRadioProfileRequestFrequency = "2.4GHz" + BULKWRITABLERADIOPROFILEREQUESTFREQUENCY__5_GHZ BulkWritableRadioProfileRequestFrequency = "5GHz" + BULKWRITABLERADIOPROFILEREQUESTFREQUENCY__6_GHZ BulkWritableRadioProfileRequestFrequency = "6GHz" + BULKWRITABLERADIOPROFILEREQUESTFREQUENCY_EMPTY BulkWritableRadioProfileRequestFrequency = "" +) -// FrequencyEnumAsBulkWritableRadioProfileRequestFrequency is a convenience function that returns FrequencyEnum wrapped in BulkWritableRadioProfileRequestFrequency -func FrequencyEnumAsBulkWritableRadioProfileRequestFrequency(v *FrequencyEnum) BulkWritableRadioProfileRequestFrequency { - return BulkWritableRadioProfileRequestFrequency{ - FrequencyEnum: v, - } +// All allowed values of BulkWritableRadioProfileRequestFrequency enum +var AllowedBulkWritableRadioProfileRequestFrequencyEnumValues = []BulkWritableRadioProfileRequestFrequency{ + "2.4GHz", + "5GHz", + "6GHz", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *BulkWritableRadioProfileRequestFrequency) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *BulkWritableRadioProfileRequestFrequency) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into FrequencyEnum - err = newStrictDecoder(data).Decode(&dst.FrequencyEnum) - if err == nil { - jsonFrequencyEnum, _ := json.Marshal(dst.FrequencyEnum) - if string(jsonFrequencyEnum) == "{}" { // empty struct - dst.FrequencyEnum = nil - } else { - if err = validator.Validate(dst.FrequencyEnum); err != nil { - dst.FrequencyEnum = nil - } else { - match++ - } + enumTypeValue := BulkWritableRadioProfileRequestFrequency(value) + for _, existing := range AllowedBulkWritableRadioProfileRequestFrequencyEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.FrequencyEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.FrequencyEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(BulkWritableRadioProfileRequestFrequency)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(BulkWritableRadioProfileRequestFrequency)") - } + return fmt.Errorf("%+v is not a valid BulkWritableRadioProfileRequestFrequency", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BulkWritableRadioProfileRequestFrequency) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.FrequencyEnum != nil { - return json.Marshal(&src.FrequencyEnum) +// NewBulkWritableRadioProfileRequestFrequencyFromValue returns a pointer to a valid BulkWritableRadioProfileRequestFrequency +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBulkWritableRadioProfileRequestFrequencyFromValue(v string) (*BulkWritableRadioProfileRequestFrequency, error) { + ev := BulkWritableRadioProfileRequestFrequency(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BulkWritableRadioProfileRequestFrequency: valid values are %v", v, AllowedBulkWritableRadioProfileRequestFrequencyEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *BulkWritableRadioProfileRequestFrequency) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.FrequencyEnum != nil { - return obj.FrequencyEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v BulkWritableRadioProfileRequestFrequency) IsValid() bool { + for _, existing := range AllowedBulkWritableRadioProfileRequestFrequencyEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj BulkWritableRadioProfileRequestFrequency) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.FrequencyEnum != nil { - return *obj.FrequencyEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to BulkWritableRadioProfileRequest_frequency value +func (v BulkWritableRadioProfileRequestFrequency) Ptr() *BulkWritableRadioProfileRequestFrequency { + return &v } type NullableBulkWritableRadioProfileRequestFrequency struct { @@ -168,4 +113,3 @@ func (v *NullableBulkWritableRadioProfileRequestFrequency) UnmarshalJSON(src []b return json.Unmarshal(src, &v.value) } - diff --git a/model_bulk_writable_relationship_request_required_on.go b/model_bulk_writable_relationship_request_required_on.go index 3b7309cf..684571e9 100644 --- a/model_bulk_writable_relationship_request_required_on.go +++ b/model_bulk_writable_relationship_request_required_on.go @@ -13,123 +13,66 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// BulkWritableRelationshipRequestRequiredOn - Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. -type BulkWritableRelationshipRequestRequiredOn struct { - BlankEnum *BlankEnum - RequiredOnEnum *RequiredOnEnum -} +// BulkWritableRelationshipRequestRequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. +type BulkWritableRelationshipRequestRequiredOn string -// BlankEnumAsBulkWritableRelationshipRequestRequiredOn is a convenience function that returns BlankEnum wrapped in BulkWritableRelationshipRequestRequiredOn -func BlankEnumAsBulkWritableRelationshipRequestRequiredOn(v *BlankEnum) BulkWritableRelationshipRequestRequiredOn { - return BulkWritableRelationshipRequestRequiredOn{ - BlankEnum: v, - } -} +// List of BulkWritableRelationshipRequest_required_on +const ( + BULKWRITABLERELATIONSHIPREQUESTREQUIREDON_SOURCE BulkWritableRelationshipRequestRequiredOn = "source" + BULKWRITABLERELATIONSHIPREQUESTREQUIREDON_DESTINATION BulkWritableRelationshipRequestRequiredOn = "destination" + BULKWRITABLERELATIONSHIPREQUESTREQUIREDON_EMPTY BulkWritableRelationshipRequestRequiredOn = "" +) -// RequiredOnEnumAsBulkWritableRelationshipRequestRequiredOn is a convenience function that returns RequiredOnEnum wrapped in BulkWritableRelationshipRequestRequiredOn -func RequiredOnEnumAsBulkWritableRelationshipRequestRequiredOn(v *RequiredOnEnum) BulkWritableRelationshipRequestRequiredOn { - return BulkWritableRelationshipRequestRequiredOn{ - RequiredOnEnum: v, - } +// All allowed values of BulkWritableRelationshipRequestRequiredOn enum +var AllowedBulkWritableRelationshipRequestRequiredOnEnumValues = []BulkWritableRelationshipRequestRequiredOn{ + "source", + "destination", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *BulkWritableRelationshipRequestRequiredOn) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *BulkWritableRelationshipRequestRequiredOn) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into RequiredOnEnum - err = newStrictDecoder(data).Decode(&dst.RequiredOnEnum) - if err == nil { - jsonRequiredOnEnum, _ := json.Marshal(dst.RequiredOnEnum) - if string(jsonRequiredOnEnum) == "{}" { // empty struct - dst.RequiredOnEnum = nil - } else { - if err = validator.Validate(dst.RequiredOnEnum); err != nil { - dst.RequiredOnEnum = nil - } else { - match++ - } + enumTypeValue := BulkWritableRelationshipRequestRequiredOn(value) + for _, existing := range AllowedBulkWritableRelationshipRequestRequiredOnEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.RequiredOnEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.RequiredOnEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(BulkWritableRelationshipRequestRequiredOn)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(BulkWritableRelationshipRequestRequiredOn)") - } + return fmt.Errorf("%+v is not a valid BulkWritableRelationshipRequestRequiredOn", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BulkWritableRelationshipRequestRequiredOn) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.RequiredOnEnum != nil { - return json.Marshal(&src.RequiredOnEnum) +// NewBulkWritableRelationshipRequestRequiredOnFromValue returns a pointer to a valid BulkWritableRelationshipRequestRequiredOn +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBulkWritableRelationshipRequestRequiredOnFromValue(v string) (*BulkWritableRelationshipRequestRequiredOn, error) { + ev := BulkWritableRelationshipRequestRequiredOn(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BulkWritableRelationshipRequestRequiredOn: valid values are %v", v, AllowedBulkWritableRelationshipRequestRequiredOnEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *BulkWritableRelationshipRequestRequiredOn) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.RequiredOnEnum != nil { - return obj.RequiredOnEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v BulkWritableRelationshipRequestRequiredOn) IsValid() bool { + for _, existing := range AllowedBulkWritableRelationshipRequestRequiredOnEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj BulkWritableRelationshipRequestRequiredOn) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.RequiredOnEnum != nil { - return *obj.RequiredOnEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to BulkWritableRelationshipRequest_required_on value +func (v BulkWritableRelationshipRequestRequiredOn) Ptr() *BulkWritableRelationshipRequestRequiredOn { + return &v } type NullableBulkWritableRelationshipRequestRequiredOn struct { @@ -168,4 +111,3 @@ func (v *NullableBulkWritableRelationshipRequestRequiredOn) UnmarshalJSON(src [] return json.Unmarshal(src, &v.value) } - diff --git a/model_bulk_writable_software_image_file_request_hashing_algorithm.go b/model_bulk_writable_software_image_file_request_hashing_algorithm.go index f6c98dbf..d1a68296 100644 --- a/model_bulk_writable_software_image_file_request_hashing_algorithm.go +++ b/model_bulk_writable_software_image_file_request_hashing_algorithm.go @@ -13,123 +13,80 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// BulkWritableSoftwareImageFileRequestHashingAlgorithm - Hashing algorithm for image file checksum -type BulkWritableSoftwareImageFileRequestHashingAlgorithm struct { - BlankEnum *BlankEnum - HashingAlgorithmEnum *HashingAlgorithmEnum -} - -// BlankEnumAsBulkWritableSoftwareImageFileRequestHashingAlgorithm is a convenience function that returns BlankEnum wrapped in BulkWritableSoftwareImageFileRequestHashingAlgorithm -func BlankEnumAsBulkWritableSoftwareImageFileRequestHashingAlgorithm(v *BlankEnum) BulkWritableSoftwareImageFileRequestHashingAlgorithm { - return BulkWritableSoftwareImageFileRequestHashingAlgorithm{ - BlankEnum: v, - } -} +// BulkWritableSoftwareImageFileRequestHashingAlgorithm Hashing algorithm for image file checksum +type BulkWritableSoftwareImageFileRequestHashingAlgorithm string + +// List of BulkWritableSoftwareImageFileRequest_hashing_algorithm +const ( + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_MD5 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "md5" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_SHA1 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "sha1" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_SHA224 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "sha224" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_SHA384 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "sha384" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_SHA256 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "sha256" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_SHA512 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "sha512" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_SHA3 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "sha3" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_BLAKE2 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "blake2" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_BLAKE3 BulkWritableSoftwareImageFileRequestHashingAlgorithm = "blake3" + BULKWRITABLESOFTWAREIMAGEFILEREQUESTHASHINGALGORITHM_EMPTY BulkWritableSoftwareImageFileRequestHashingAlgorithm = "" +) -// HashingAlgorithmEnumAsBulkWritableSoftwareImageFileRequestHashingAlgorithm is a convenience function that returns HashingAlgorithmEnum wrapped in BulkWritableSoftwareImageFileRequestHashingAlgorithm -func HashingAlgorithmEnumAsBulkWritableSoftwareImageFileRequestHashingAlgorithm(v *HashingAlgorithmEnum) BulkWritableSoftwareImageFileRequestHashingAlgorithm { - return BulkWritableSoftwareImageFileRequestHashingAlgorithm{ - HashingAlgorithmEnum: v, - } +// All allowed values of BulkWritableSoftwareImageFileRequestHashingAlgorithm enum +var AllowedBulkWritableSoftwareImageFileRequestHashingAlgorithmEnumValues = []BulkWritableSoftwareImageFileRequestHashingAlgorithm{ + "md5", + "sha1", + "sha224", + "sha384", + "sha256", + "sha512", + "sha3", + "blake2", + "blake3", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *BulkWritableSoftwareImageFileRequestHashingAlgorithm) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *BulkWritableSoftwareImageFileRequestHashingAlgorithm) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into HashingAlgorithmEnum - err = newStrictDecoder(data).Decode(&dst.HashingAlgorithmEnum) - if err == nil { - jsonHashingAlgorithmEnum, _ := json.Marshal(dst.HashingAlgorithmEnum) - if string(jsonHashingAlgorithmEnum) == "{}" { // empty struct - dst.HashingAlgorithmEnum = nil - } else { - if err = validator.Validate(dst.HashingAlgorithmEnum); err != nil { - dst.HashingAlgorithmEnum = nil - } else { - match++ - } + enumTypeValue := BulkWritableSoftwareImageFileRequestHashingAlgorithm(value) + for _, existing := range AllowedBulkWritableSoftwareImageFileRequestHashingAlgorithmEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.HashingAlgorithmEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.HashingAlgorithmEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(BulkWritableSoftwareImageFileRequestHashingAlgorithm)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(BulkWritableSoftwareImageFileRequestHashingAlgorithm)") - } + return fmt.Errorf("%+v is not a valid BulkWritableSoftwareImageFileRequestHashingAlgorithm", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BulkWritableSoftwareImageFileRequestHashingAlgorithm) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.HashingAlgorithmEnum != nil { - return json.Marshal(&src.HashingAlgorithmEnum) +// NewBulkWritableSoftwareImageFileRequestHashingAlgorithmFromValue returns a pointer to a valid BulkWritableSoftwareImageFileRequestHashingAlgorithm +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBulkWritableSoftwareImageFileRequestHashingAlgorithmFromValue(v string) (*BulkWritableSoftwareImageFileRequestHashingAlgorithm, error) { + ev := BulkWritableSoftwareImageFileRequestHashingAlgorithm(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BulkWritableSoftwareImageFileRequestHashingAlgorithm: valid values are %v", v, AllowedBulkWritableSoftwareImageFileRequestHashingAlgorithmEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *BulkWritableSoftwareImageFileRequestHashingAlgorithm) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.HashingAlgorithmEnum != nil { - return obj.HashingAlgorithmEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v BulkWritableSoftwareImageFileRequestHashingAlgorithm) IsValid() bool { + for _, existing := range AllowedBulkWritableSoftwareImageFileRequestHashingAlgorithmEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj BulkWritableSoftwareImageFileRequestHashingAlgorithm) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.HashingAlgorithmEnum != nil { - return *obj.HashingAlgorithmEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to BulkWritableSoftwareImageFileRequest_hashing_algorithm value +func (v BulkWritableSoftwareImageFileRequestHashingAlgorithm) Ptr() *BulkWritableSoftwareImageFileRequestHashingAlgorithm { + return &v } type NullableBulkWritableSoftwareImageFileRequestHashingAlgorithm struct { @@ -168,4 +125,3 @@ func (v *NullableBulkWritableSoftwareImageFileRequestHashingAlgorithm) Unmarshal return json.Unmarshal(src, &v.value) } - diff --git a/model_parent_child_status.go b/model_parent_child_status.go index ccce3266..3fc289a8 100644 --- a/model_parent_child_status.go +++ b/model_parent_child_status.go @@ -13,123 +13,66 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// ParentChildStatus - Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. -type ParentChildStatus struct { - BlankEnum *BlankEnum - SubdeviceRoleEnum *SubdeviceRoleEnum -} +// ParentChildStatus Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. +type ParentChildStatus string -// BlankEnumAsParentChildStatus is a convenience function that returns BlankEnum wrapped in ParentChildStatus -func BlankEnumAsParentChildStatus(v *BlankEnum) ParentChildStatus { - return ParentChildStatus{ - BlankEnum: v, - } -} +// List of Parent_child_status +const ( + PARENTCHILDSTATUS_PARENT ParentChildStatus = "parent" + PARENTCHILDSTATUS_CHILD ParentChildStatus = "child" + PARENTCHILDSTATUS_EMPTY ParentChildStatus = "" +) -// SubdeviceRoleEnumAsParentChildStatus is a convenience function that returns SubdeviceRoleEnum wrapped in ParentChildStatus -func SubdeviceRoleEnumAsParentChildStatus(v *SubdeviceRoleEnum) ParentChildStatus { - return ParentChildStatus{ - SubdeviceRoleEnum: v, - } +// All allowed values of ParentChildStatus enum +var AllowedParentChildStatusEnumValues = []ParentChildStatus{ + "parent", + "child", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *ParentChildStatus) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *ParentChildStatus) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into SubdeviceRoleEnum - err = newStrictDecoder(data).Decode(&dst.SubdeviceRoleEnum) - if err == nil { - jsonSubdeviceRoleEnum, _ := json.Marshal(dst.SubdeviceRoleEnum) - if string(jsonSubdeviceRoleEnum) == "{}" { // empty struct - dst.SubdeviceRoleEnum = nil - } else { - if err = validator.Validate(dst.SubdeviceRoleEnum); err != nil { - dst.SubdeviceRoleEnum = nil - } else { - match++ - } + enumTypeValue := ParentChildStatus(value) + for _, existing := range AllowedParentChildStatusEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.SubdeviceRoleEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.SubdeviceRoleEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(ParentChildStatus)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(ParentChildStatus)") - } + return fmt.Errorf("%+v is not a valid ParentChildStatus", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ParentChildStatus) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.SubdeviceRoleEnum != nil { - return json.Marshal(&src.SubdeviceRoleEnum) +// NewParentChildStatusFromValue returns a pointer to a valid ParentChildStatus +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewParentChildStatusFromValue(v string) (*ParentChildStatus, error) { + ev := ParentChildStatus(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ParentChildStatus: valid values are %v", v, AllowedParentChildStatusEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *ParentChildStatus) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.SubdeviceRoleEnum != nil { - return obj.SubdeviceRoleEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v ParentChildStatus) IsValid() bool { + for _, existing := range AllowedParentChildStatusEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj ParentChildStatus) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.SubdeviceRoleEnum != nil { - return *obj.SubdeviceRoleEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to Parent_child_status value +func (v ParentChildStatus) Ptr() *ParentChildStatus { + return &v } type NullableParentChildStatus struct { @@ -168,4 +111,3 @@ func (v *NullableParentChildStatus) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_cable_request_length_unit.go b/model_patched_writable_cable_request_length_unit.go index 89c596c4..f27eb7c1 100644 --- a/model_patched_writable_cable_request_length_unit.go +++ b/model_patched_writable_cable_request_length_unit.go @@ -13,123 +13,74 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritableCableRequestLengthUnit - struct for PatchedWritableCableRequestLengthUnit -type PatchedWritableCableRequestLengthUnit struct { - BlankEnum *BlankEnum - LengthUnitEnum *LengthUnitEnum -} - -// BlankEnumAsPatchedWritableCableRequestLengthUnit is a convenience function that returns BlankEnum wrapped in PatchedWritableCableRequestLengthUnit -func BlankEnumAsPatchedWritableCableRequestLengthUnit(v *BlankEnum) PatchedWritableCableRequestLengthUnit { - return PatchedWritableCableRequestLengthUnit{ - BlankEnum: v, - } -} +// PatchedWritableCableRequestLengthUnit the model 'PatchedWritableCableRequestLengthUnit' +type PatchedWritableCableRequestLengthUnit string + +// List of PatchedWritableCableRequest_length_unit +const ( + PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_KM PatchedWritableCableRequestLengthUnit = "km" + PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_M PatchedWritableCableRequestLengthUnit = "m" + PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_CM PatchedWritableCableRequestLengthUnit = "cm" + PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_MI PatchedWritableCableRequestLengthUnit = "mi" + PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_FT PatchedWritableCableRequestLengthUnit = "ft" + PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_IN PatchedWritableCableRequestLengthUnit = "in" + PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_EMPTY PatchedWritableCableRequestLengthUnit = "" +) -// LengthUnitEnumAsPatchedWritableCableRequestLengthUnit is a convenience function that returns LengthUnitEnum wrapped in PatchedWritableCableRequestLengthUnit -func LengthUnitEnumAsPatchedWritableCableRequestLengthUnit(v *LengthUnitEnum) PatchedWritableCableRequestLengthUnit { - return PatchedWritableCableRequestLengthUnit{ - LengthUnitEnum: v, - } +// All allowed values of PatchedWritableCableRequestLengthUnit enum +var AllowedPatchedWritableCableRequestLengthUnitEnumValues = []PatchedWritableCableRequestLengthUnit{ + "km", + "m", + "cm", + "mi", + "ft", + "in", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritableCableRequestLengthUnit) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritableCableRequestLengthUnit) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into LengthUnitEnum - err = newStrictDecoder(data).Decode(&dst.LengthUnitEnum) - if err == nil { - jsonLengthUnitEnum, _ := json.Marshal(dst.LengthUnitEnum) - if string(jsonLengthUnitEnum) == "{}" { // empty struct - dst.LengthUnitEnum = nil - } else { - if err = validator.Validate(dst.LengthUnitEnum); err != nil { - dst.LengthUnitEnum = nil - } else { - match++ - } + enumTypeValue := PatchedWritableCableRequestLengthUnit(value) + for _, existing := range AllowedPatchedWritableCableRequestLengthUnitEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.LengthUnitEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.LengthUnitEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableCableRequestLengthUnit)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritableCableRequestLengthUnit)") - } + return fmt.Errorf("%+v is not a valid PatchedWritableCableRequestLengthUnit", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritableCableRequestLengthUnit) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.LengthUnitEnum != nil { - return json.Marshal(&src.LengthUnitEnum) +// NewPatchedWritableCableRequestLengthUnitFromValue returns a pointer to a valid PatchedWritableCableRequestLengthUnit +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableCableRequestLengthUnitFromValue(v string) (*PatchedWritableCableRequestLengthUnit, error) { + ev := PatchedWritableCableRequestLengthUnit(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableCableRequestLengthUnit: valid values are %v", v, AllowedPatchedWritableCableRequestLengthUnitEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritableCableRequestLengthUnit) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.LengthUnitEnum != nil { - return obj.LengthUnitEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableCableRequestLengthUnit) IsValid() bool { + for _, existing := range AllowedPatchedWritableCableRequestLengthUnitEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritableCableRequestLengthUnit) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.LengthUnitEnum != nil { - return *obj.LengthUnitEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritableCableRequest_length_unit value +func (v PatchedWritableCableRequestLengthUnit) Ptr() *PatchedWritableCableRequestLengthUnit { + return &v } type NullablePatchedWritableCableRequestLengthUnit struct { @@ -168,4 +119,3 @@ func (v *NullablePatchedWritableCableRequestLengthUnit) UnmarshalJSON(src []byte return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_cable_request_type.go b/model_patched_writable_cable_request_type.go index af8af3ef..74c2945f 100644 --- a/model_patched_writable_cable_request_type.go +++ b/model_patched_writable_cable_request_type.go @@ -13,123 +13,110 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritableCableRequestType - struct for PatchedWritableCableRequestType -type PatchedWritableCableRequestType struct { - BlankEnum *BlankEnum - CableTypeChoices *CableTypeChoices -} - -// BlankEnumAsPatchedWritableCableRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritableCableRequestType -func BlankEnumAsPatchedWritableCableRequestType(v *BlankEnum) PatchedWritableCableRequestType { - return PatchedWritableCableRequestType{ - BlankEnum: v, - } -} +// PatchedWritableCableRequestType the model 'PatchedWritableCableRequestType' +type PatchedWritableCableRequestType string + +// List of PatchedWritableCableRequest_type +const ( + PATCHEDWRITABLECABLEREQUESTTYPE_CAT3 PatchedWritableCableRequestType = "cat3" + PATCHEDWRITABLECABLEREQUESTTYPE_CAT5 PatchedWritableCableRequestType = "cat5" + PATCHEDWRITABLECABLEREQUESTTYPE_CAT5E PatchedWritableCableRequestType = "cat5e" + PATCHEDWRITABLECABLEREQUESTTYPE_CAT6 PatchedWritableCableRequestType = "cat6" + PATCHEDWRITABLECABLEREQUESTTYPE_CAT6A PatchedWritableCableRequestType = "cat6a" + PATCHEDWRITABLECABLEREQUESTTYPE_CAT7 PatchedWritableCableRequestType = "cat7" + PATCHEDWRITABLECABLEREQUESTTYPE_CAT7A PatchedWritableCableRequestType = "cat7a" + PATCHEDWRITABLECABLEREQUESTTYPE_CAT8 PatchedWritableCableRequestType = "cat8" + PATCHEDWRITABLECABLEREQUESTTYPE_DAC_ACTIVE PatchedWritableCableRequestType = "dac-active" + PATCHEDWRITABLECABLEREQUESTTYPE_DAC_PASSIVE PatchedWritableCableRequestType = "dac-passive" + PATCHEDWRITABLECABLEREQUESTTYPE_MRJ21_TRUNK PatchedWritableCableRequestType = "mrj21-trunk" + PATCHEDWRITABLECABLEREQUESTTYPE_COAXIAL PatchedWritableCableRequestType = "coaxial" + PATCHEDWRITABLECABLEREQUESTTYPE_MMF PatchedWritableCableRequestType = "mmf" + PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM1 PatchedWritableCableRequestType = "mmf-om1" + PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM2 PatchedWritableCableRequestType = "mmf-om2" + PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM3 PatchedWritableCableRequestType = "mmf-om3" + PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM4 PatchedWritableCableRequestType = "mmf-om4" + PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM5 PatchedWritableCableRequestType = "mmf-om5" + PATCHEDWRITABLECABLEREQUESTTYPE_SMF PatchedWritableCableRequestType = "smf" + PATCHEDWRITABLECABLEREQUESTTYPE_SMF_OS1 PatchedWritableCableRequestType = "smf-os1" + PATCHEDWRITABLECABLEREQUESTTYPE_SMF_OS2 PatchedWritableCableRequestType = "smf-os2" + PATCHEDWRITABLECABLEREQUESTTYPE_AOC PatchedWritableCableRequestType = "aoc" + PATCHEDWRITABLECABLEREQUESTTYPE_POWER PatchedWritableCableRequestType = "power" + PATCHEDWRITABLECABLEREQUESTTYPE_OTHER PatchedWritableCableRequestType = "other" + PATCHEDWRITABLECABLEREQUESTTYPE_EMPTY PatchedWritableCableRequestType = "" +) -// CableTypeChoicesAsPatchedWritableCableRequestType is a convenience function that returns CableTypeChoices wrapped in PatchedWritableCableRequestType -func CableTypeChoicesAsPatchedWritableCableRequestType(v *CableTypeChoices) PatchedWritableCableRequestType { - return PatchedWritableCableRequestType{ - CableTypeChoices: v, - } +// All allowed values of PatchedWritableCableRequestType enum +var AllowedPatchedWritableCableRequestTypeEnumValues = []PatchedWritableCableRequestType{ + "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", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritableCableRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritableCableRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into CableTypeChoices - err = newStrictDecoder(data).Decode(&dst.CableTypeChoices) - if err == nil { - jsonCableTypeChoices, _ := json.Marshal(dst.CableTypeChoices) - if string(jsonCableTypeChoices) == "{}" { // empty struct - dst.CableTypeChoices = nil - } else { - if err = validator.Validate(dst.CableTypeChoices); err != nil { - dst.CableTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritableCableRequestType(value) + for _, existing := range AllowedPatchedWritableCableRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.CableTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.CableTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableCableRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritableCableRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritableCableRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritableCableRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.CableTypeChoices != nil { - return json.Marshal(&src.CableTypeChoices) +// NewPatchedWritableCableRequestTypeFromValue returns a pointer to a valid PatchedWritableCableRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableCableRequestTypeFromValue(v string) (*PatchedWritableCableRequestType, error) { + ev := PatchedWritableCableRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableCableRequestType: valid values are %v", v, AllowedPatchedWritableCableRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritableCableRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.CableTypeChoices != nil { - return obj.CableTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableCableRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritableCableRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritableCableRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.CableTypeChoices != nil { - return *obj.CableTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritableCableRequest_type value +func (v PatchedWritableCableRequestType) Ptr() *PatchedWritableCableRequestType { + return &v } type NullablePatchedWritableCableRequestType struct { @@ -168,4 +155,3 @@ func (v *NullablePatchedWritableCableRequestType) UnmarshalJSON(src []byte) erro return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_console_port_request_type.go b/model_patched_writable_console_port_request_type.go index d5aaee72..e92a281c 100644 --- a/model_patched_writable_console_port_request_type.go +++ b/model_patched_writable_console_port_request_type.go @@ -13,123 +13,92 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritableConsolePortRequestType - Physical port type -type PatchedWritableConsolePortRequestType struct { - BlankEnum *BlankEnum - ConsolePortTypeChoices *ConsolePortTypeChoices -} - -// BlankEnumAsPatchedWritableConsolePortRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritableConsolePortRequestType -func BlankEnumAsPatchedWritableConsolePortRequestType(v *BlankEnum) PatchedWritableConsolePortRequestType { - return PatchedWritableConsolePortRequestType{ - BlankEnum: v, - } -} +// PatchedWritableConsolePortRequestType Physical port type +type PatchedWritableConsolePortRequestType string + +// List of PatchedWritableConsolePortRequest_type +const ( + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_DE_9 PatchedWritableConsolePortRequestType = "de-9" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_DB_25 PatchedWritableConsolePortRequestType = "db-25" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_RJ_11 PatchedWritableConsolePortRequestType = "rj-11" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_RJ_12 PatchedWritableConsolePortRequestType = "rj-12" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_RJ_45 PatchedWritableConsolePortRequestType = "rj-45" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_MINI_DIN_8 PatchedWritableConsolePortRequestType = "mini-din-8" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_A PatchedWritableConsolePortRequestType = "usb-a" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_B PatchedWritableConsolePortRequestType = "usb-b" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_C PatchedWritableConsolePortRequestType = "usb-c" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_MINI_A PatchedWritableConsolePortRequestType = "usb-mini-a" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_MINI_B PatchedWritableConsolePortRequestType = "usb-mini-b" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_MICRO_A PatchedWritableConsolePortRequestType = "usb-micro-a" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_MICRO_B PatchedWritableConsolePortRequestType = "usb-micro-b" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_USB_MICRO_AB PatchedWritableConsolePortRequestType = "usb-micro-ab" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_OTHER PatchedWritableConsolePortRequestType = "other" + PATCHEDWRITABLECONSOLEPORTREQUESTTYPE_EMPTY PatchedWritableConsolePortRequestType = "" +) -// ConsolePortTypeChoicesAsPatchedWritableConsolePortRequestType is a convenience function that returns ConsolePortTypeChoices wrapped in PatchedWritableConsolePortRequestType -func ConsolePortTypeChoicesAsPatchedWritableConsolePortRequestType(v *ConsolePortTypeChoices) PatchedWritableConsolePortRequestType { - return PatchedWritableConsolePortRequestType{ - ConsolePortTypeChoices: v, - } +// All allowed values of PatchedWritableConsolePortRequestType enum +var AllowedPatchedWritableConsolePortRequestTypeEnumValues = []PatchedWritableConsolePortRequestType{ + "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", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritableConsolePortRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritableConsolePortRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into ConsolePortTypeChoices - err = newStrictDecoder(data).Decode(&dst.ConsolePortTypeChoices) - if err == nil { - jsonConsolePortTypeChoices, _ := json.Marshal(dst.ConsolePortTypeChoices) - if string(jsonConsolePortTypeChoices) == "{}" { // empty struct - dst.ConsolePortTypeChoices = nil - } else { - if err = validator.Validate(dst.ConsolePortTypeChoices); err != nil { - dst.ConsolePortTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritableConsolePortRequestType(value) + for _, existing := range AllowedPatchedWritableConsolePortRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.ConsolePortTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.ConsolePortTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableConsolePortRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritableConsolePortRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritableConsolePortRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritableConsolePortRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.ConsolePortTypeChoices != nil { - return json.Marshal(&src.ConsolePortTypeChoices) +// NewPatchedWritableConsolePortRequestTypeFromValue returns a pointer to a valid PatchedWritableConsolePortRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableConsolePortRequestTypeFromValue(v string) (*PatchedWritableConsolePortRequestType, error) { + ev := PatchedWritableConsolePortRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableConsolePortRequestType: valid values are %v", v, AllowedPatchedWritableConsolePortRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritableConsolePortRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.ConsolePortTypeChoices != nil { - return obj.ConsolePortTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableConsolePortRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritableConsolePortRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritableConsolePortRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.ConsolePortTypeChoices != nil { - return *obj.ConsolePortTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritableConsolePortRequest_type value +func (v PatchedWritableConsolePortRequestType) Ptr() *PatchedWritableConsolePortRequestType { + return &v } type NullablePatchedWritableConsolePortRequestType struct { @@ -168,4 +137,3 @@ func (v *NullablePatchedWritableConsolePortRequestType) UnmarshalJSON(src []byte return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_console_port_template_request_type.go b/model_patched_writable_console_port_template_request_type.go index 8a85a1d2..0def92c9 100644 --- a/model_patched_writable_console_port_template_request_type.go +++ b/model_patched_writable_console_port_template_request_type.go @@ -13,123 +13,92 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritableConsolePortTemplateRequestType - struct for PatchedWritableConsolePortTemplateRequestType -type PatchedWritableConsolePortTemplateRequestType struct { - BlankEnum *BlankEnum - ConsolePortTypeChoices *ConsolePortTypeChoices -} - -// BlankEnumAsPatchedWritableConsolePortTemplateRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritableConsolePortTemplateRequestType -func BlankEnumAsPatchedWritableConsolePortTemplateRequestType(v *BlankEnum) PatchedWritableConsolePortTemplateRequestType { - return PatchedWritableConsolePortTemplateRequestType{ - BlankEnum: v, - } -} +// PatchedWritableConsolePortTemplateRequestType the model 'PatchedWritableConsolePortTemplateRequestType' +type PatchedWritableConsolePortTemplateRequestType string + +// List of PatchedWritableConsolePortTemplateRequest_type +const ( + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_DE_9 PatchedWritableConsolePortTemplateRequestType = "de-9" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_DB_25 PatchedWritableConsolePortTemplateRequestType = "db-25" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_RJ_11 PatchedWritableConsolePortTemplateRequestType = "rj-11" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_RJ_12 PatchedWritableConsolePortTemplateRequestType = "rj-12" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_RJ_45 PatchedWritableConsolePortTemplateRequestType = "rj-45" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_MINI_DIN_8 PatchedWritableConsolePortTemplateRequestType = "mini-din-8" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_A PatchedWritableConsolePortTemplateRequestType = "usb-a" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_B PatchedWritableConsolePortTemplateRequestType = "usb-b" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_C PatchedWritableConsolePortTemplateRequestType = "usb-c" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_MINI_A PatchedWritableConsolePortTemplateRequestType = "usb-mini-a" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_MINI_B PatchedWritableConsolePortTemplateRequestType = "usb-mini-b" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_MICRO_A PatchedWritableConsolePortTemplateRequestType = "usb-micro-a" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_MICRO_B PatchedWritableConsolePortTemplateRequestType = "usb-micro-b" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_USB_MICRO_AB PatchedWritableConsolePortTemplateRequestType = "usb-micro-ab" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_OTHER PatchedWritableConsolePortTemplateRequestType = "other" + PATCHEDWRITABLECONSOLEPORTTEMPLATEREQUESTTYPE_EMPTY PatchedWritableConsolePortTemplateRequestType = "" +) -// ConsolePortTypeChoicesAsPatchedWritableConsolePortTemplateRequestType is a convenience function that returns ConsolePortTypeChoices wrapped in PatchedWritableConsolePortTemplateRequestType -func ConsolePortTypeChoicesAsPatchedWritableConsolePortTemplateRequestType(v *ConsolePortTypeChoices) PatchedWritableConsolePortTemplateRequestType { - return PatchedWritableConsolePortTemplateRequestType{ - ConsolePortTypeChoices: v, - } +// All allowed values of PatchedWritableConsolePortTemplateRequestType enum +var AllowedPatchedWritableConsolePortTemplateRequestTypeEnumValues = []PatchedWritableConsolePortTemplateRequestType{ + "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", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritableConsolePortTemplateRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritableConsolePortTemplateRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into ConsolePortTypeChoices - err = newStrictDecoder(data).Decode(&dst.ConsolePortTypeChoices) - if err == nil { - jsonConsolePortTypeChoices, _ := json.Marshal(dst.ConsolePortTypeChoices) - if string(jsonConsolePortTypeChoices) == "{}" { // empty struct - dst.ConsolePortTypeChoices = nil - } else { - if err = validator.Validate(dst.ConsolePortTypeChoices); err != nil { - dst.ConsolePortTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritableConsolePortTemplateRequestType(value) + for _, existing := range AllowedPatchedWritableConsolePortTemplateRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.ConsolePortTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.ConsolePortTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableConsolePortTemplateRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritableConsolePortTemplateRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritableConsolePortTemplateRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritableConsolePortTemplateRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.ConsolePortTypeChoices != nil { - return json.Marshal(&src.ConsolePortTypeChoices) +// NewPatchedWritableConsolePortTemplateRequestTypeFromValue returns a pointer to a valid PatchedWritableConsolePortTemplateRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableConsolePortTemplateRequestTypeFromValue(v string) (*PatchedWritableConsolePortTemplateRequestType, error) { + ev := PatchedWritableConsolePortTemplateRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableConsolePortTemplateRequestType: valid values are %v", v, AllowedPatchedWritableConsolePortTemplateRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritableConsolePortTemplateRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.ConsolePortTypeChoices != nil { - return obj.ConsolePortTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableConsolePortTemplateRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritableConsolePortTemplateRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritableConsolePortTemplateRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.ConsolePortTypeChoices != nil { - return *obj.ConsolePortTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritableConsolePortTemplateRequest_type value +func (v PatchedWritableConsolePortTemplateRequestType) Ptr() *PatchedWritableConsolePortTemplateRequestType { + return &v } type NullablePatchedWritableConsolePortTemplateRequestType struct { @@ -168,4 +137,3 @@ func (v *NullablePatchedWritableConsolePortTemplateRequestType) UnmarshalJSON(sr return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_interface_request_mode.go b/model_patched_writable_interface_request_mode.go index 492a5912..02735713 100644 --- a/model_patched_writable_interface_request_mode.go +++ b/model_patched_writable_interface_request_mode.go @@ -13,123 +13,68 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritableInterfaceRequestMode - struct for PatchedWritableInterfaceRequestMode -type PatchedWritableInterfaceRequestMode struct { - BlankEnum *BlankEnum - InterfaceModeChoices *InterfaceModeChoices -} +// PatchedWritableInterfaceRequestMode the model 'PatchedWritableInterfaceRequestMode' +type PatchedWritableInterfaceRequestMode string -// BlankEnumAsPatchedWritableInterfaceRequestMode is a convenience function that returns BlankEnum wrapped in PatchedWritableInterfaceRequestMode -func BlankEnumAsPatchedWritableInterfaceRequestMode(v *BlankEnum) PatchedWritableInterfaceRequestMode { - return PatchedWritableInterfaceRequestMode{ - BlankEnum: v, - } -} +// List of PatchedWritableInterfaceRequest_mode +const ( + PATCHEDWRITABLEINTERFACEREQUESTMODE_ACCESS PatchedWritableInterfaceRequestMode = "access" + PATCHEDWRITABLEINTERFACEREQUESTMODE_TAGGED PatchedWritableInterfaceRequestMode = "tagged" + PATCHEDWRITABLEINTERFACEREQUESTMODE_TAGGED_ALL PatchedWritableInterfaceRequestMode = "tagged-all" + PATCHEDWRITABLEINTERFACEREQUESTMODE_EMPTY PatchedWritableInterfaceRequestMode = "" +) -// InterfaceModeChoicesAsPatchedWritableInterfaceRequestMode is a convenience function that returns InterfaceModeChoices wrapped in PatchedWritableInterfaceRequestMode -func InterfaceModeChoicesAsPatchedWritableInterfaceRequestMode(v *InterfaceModeChoices) PatchedWritableInterfaceRequestMode { - return PatchedWritableInterfaceRequestMode{ - InterfaceModeChoices: v, - } +// All allowed values of PatchedWritableInterfaceRequestMode enum +var AllowedPatchedWritableInterfaceRequestModeEnumValues = []PatchedWritableInterfaceRequestMode{ + "access", + "tagged", + "tagged-all", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritableInterfaceRequestMode) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritableInterfaceRequestMode) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into InterfaceModeChoices - err = newStrictDecoder(data).Decode(&dst.InterfaceModeChoices) - if err == nil { - jsonInterfaceModeChoices, _ := json.Marshal(dst.InterfaceModeChoices) - if string(jsonInterfaceModeChoices) == "{}" { // empty struct - dst.InterfaceModeChoices = nil - } else { - if err = validator.Validate(dst.InterfaceModeChoices); err != nil { - dst.InterfaceModeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritableInterfaceRequestMode(value) + for _, existing := range AllowedPatchedWritableInterfaceRequestModeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.InterfaceModeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.InterfaceModeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableInterfaceRequestMode)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritableInterfaceRequestMode)") - } + return fmt.Errorf("%+v is not a valid PatchedWritableInterfaceRequestMode", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritableInterfaceRequestMode) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.InterfaceModeChoices != nil { - return json.Marshal(&src.InterfaceModeChoices) +// NewPatchedWritableInterfaceRequestModeFromValue returns a pointer to a valid PatchedWritableInterfaceRequestMode +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableInterfaceRequestModeFromValue(v string) (*PatchedWritableInterfaceRequestMode, error) { + ev := PatchedWritableInterfaceRequestMode(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableInterfaceRequestMode: valid values are %v", v, AllowedPatchedWritableInterfaceRequestModeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritableInterfaceRequestMode) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.InterfaceModeChoices != nil { - return obj.InterfaceModeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableInterfaceRequestMode) IsValid() bool { + for _, existing := range AllowedPatchedWritableInterfaceRequestModeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritableInterfaceRequestMode) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.InterfaceModeChoices != nil { - return *obj.InterfaceModeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritableInterfaceRequest_mode value +func (v PatchedWritableInterfaceRequestMode) Ptr() *PatchedWritableInterfaceRequestMode { + return &v } type NullablePatchedWritableInterfaceRequestMode struct { @@ -168,4 +113,3 @@ func (v *NullablePatchedWritableInterfaceRequestMode) UnmarshalJSON(src []byte) return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_power_feed_request_power_path.go b/model_patched_writable_power_feed_request_power_path.go index 67316fa6..79b21cb2 100644 --- a/model_patched_writable_power_feed_request_power_path.go +++ b/model_patched_writable_power_feed_request_power_path.go @@ -13,123 +13,66 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritablePowerFeedRequestPowerPath - Physical power distribution redundancy path. -type PatchedWritablePowerFeedRequestPowerPath struct { - BlankEnum *BlankEnum - PowerPathEnum *PowerPathEnum -} +// PatchedWritablePowerFeedRequestPowerPath Physical power distribution redundancy path. +type PatchedWritablePowerFeedRequestPowerPath string -// BlankEnumAsPatchedWritablePowerFeedRequestPowerPath is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerFeedRequestPowerPath -func BlankEnumAsPatchedWritablePowerFeedRequestPowerPath(v *BlankEnum) PatchedWritablePowerFeedRequestPowerPath { - return PatchedWritablePowerFeedRequestPowerPath{ - BlankEnum: v, - } -} +// List of PatchedWritablePowerFeedRequest_power_path +const ( + PATCHEDWRITABLEPOWERFEEDREQUESTPOWERPATH_A PatchedWritablePowerFeedRequestPowerPath = "a" + PATCHEDWRITABLEPOWERFEEDREQUESTPOWERPATH_B PatchedWritablePowerFeedRequestPowerPath = "b" + PATCHEDWRITABLEPOWERFEEDREQUESTPOWERPATH_EMPTY PatchedWritablePowerFeedRequestPowerPath = "" +) -// PowerPathEnumAsPatchedWritablePowerFeedRequestPowerPath is a convenience function that returns PowerPathEnum wrapped in PatchedWritablePowerFeedRequestPowerPath -func PowerPathEnumAsPatchedWritablePowerFeedRequestPowerPath(v *PowerPathEnum) PatchedWritablePowerFeedRequestPowerPath { - return PatchedWritablePowerFeedRequestPowerPath{ - PowerPathEnum: v, - } +// All allowed values of PatchedWritablePowerFeedRequestPowerPath enum +var AllowedPatchedWritablePowerFeedRequestPowerPathEnumValues = []PatchedWritablePowerFeedRequestPowerPath{ + "a", + "b", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritablePowerFeedRequestPowerPath) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritablePowerFeedRequestPowerPath) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into PowerPathEnum - err = newStrictDecoder(data).Decode(&dst.PowerPathEnum) - if err == nil { - jsonPowerPathEnum, _ := json.Marshal(dst.PowerPathEnum) - if string(jsonPowerPathEnum) == "{}" { // empty struct - dst.PowerPathEnum = nil - } else { - if err = validator.Validate(dst.PowerPathEnum); err != nil { - dst.PowerPathEnum = nil - } else { - match++ - } + enumTypeValue := PatchedWritablePowerFeedRequestPowerPath(value) + for _, existing := range AllowedPatchedWritablePowerFeedRequestPowerPathEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.PowerPathEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.PowerPathEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerFeedRequestPowerPath)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerFeedRequestPowerPath)") - } + return fmt.Errorf("%+v is not a valid PatchedWritablePowerFeedRequestPowerPath", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritablePowerFeedRequestPowerPath) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.PowerPathEnum != nil { - return json.Marshal(&src.PowerPathEnum) +// NewPatchedWritablePowerFeedRequestPowerPathFromValue returns a pointer to a valid PatchedWritablePowerFeedRequestPowerPath +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritablePowerFeedRequestPowerPathFromValue(v string) (*PatchedWritablePowerFeedRequestPowerPath, error) { + ev := PatchedWritablePowerFeedRequestPowerPath(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritablePowerFeedRequestPowerPath: valid values are %v", v, AllowedPatchedWritablePowerFeedRequestPowerPathEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritablePowerFeedRequestPowerPath) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.PowerPathEnum != nil { - return obj.PowerPathEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritablePowerFeedRequestPowerPath) IsValid() bool { + for _, existing := range AllowedPatchedWritablePowerFeedRequestPowerPathEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritablePowerFeedRequestPowerPath) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.PowerPathEnum != nil { - return *obj.PowerPathEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritablePowerFeedRequest_power_path value +func (v PatchedWritablePowerFeedRequestPowerPath) Ptr() *PatchedWritablePowerFeedRequestPowerPath { + return &v } type NullablePatchedWritablePowerFeedRequestPowerPath struct { @@ -168,4 +111,3 @@ func (v *NullablePatchedWritablePowerFeedRequestPowerPath) UnmarshalJSON(src []b return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_power_outlet_request_feed_leg.go b/model_patched_writable_power_outlet_request_feed_leg.go index fb840a31..794f8d50 100644 --- a/model_patched_writable_power_outlet_request_feed_leg.go +++ b/model_patched_writable_power_outlet_request_feed_leg.go @@ -13,123 +13,68 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritablePowerOutletRequestFeedLeg - Phase (for three-phase feeds) -type PatchedWritablePowerOutletRequestFeedLeg struct { - BlankEnum *BlankEnum - FeedLegEnum *FeedLegEnum -} +// PatchedWritablePowerOutletRequestFeedLeg Phase (for three-phase feeds) +type PatchedWritablePowerOutletRequestFeedLeg string -// BlankEnumAsPatchedWritablePowerOutletRequestFeedLeg is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerOutletRequestFeedLeg -func BlankEnumAsPatchedWritablePowerOutletRequestFeedLeg(v *BlankEnum) PatchedWritablePowerOutletRequestFeedLeg { - return PatchedWritablePowerOutletRequestFeedLeg{ - BlankEnum: v, - } -} +// List of PatchedWritablePowerOutletRequest_feed_leg +const ( + PATCHEDWRITABLEPOWEROUTLETREQUESTFEEDLEG_A PatchedWritablePowerOutletRequestFeedLeg = "A" + PATCHEDWRITABLEPOWEROUTLETREQUESTFEEDLEG_B PatchedWritablePowerOutletRequestFeedLeg = "B" + PATCHEDWRITABLEPOWEROUTLETREQUESTFEEDLEG_C PatchedWritablePowerOutletRequestFeedLeg = "C" + PATCHEDWRITABLEPOWEROUTLETREQUESTFEEDLEG_EMPTY PatchedWritablePowerOutletRequestFeedLeg = "" +) -// FeedLegEnumAsPatchedWritablePowerOutletRequestFeedLeg is a convenience function that returns FeedLegEnum wrapped in PatchedWritablePowerOutletRequestFeedLeg -func FeedLegEnumAsPatchedWritablePowerOutletRequestFeedLeg(v *FeedLegEnum) PatchedWritablePowerOutletRequestFeedLeg { - return PatchedWritablePowerOutletRequestFeedLeg{ - FeedLegEnum: v, - } +// All allowed values of PatchedWritablePowerOutletRequestFeedLeg enum +var AllowedPatchedWritablePowerOutletRequestFeedLegEnumValues = []PatchedWritablePowerOutletRequestFeedLeg{ + "A", + "B", + "C", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritablePowerOutletRequestFeedLeg) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritablePowerOutletRequestFeedLeg) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into FeedLegEnum - err = newStrictDecoder(data).Decode(&dst.FeedLegEnum) - if err == nil { - jsonFeedLegEnum, _ := json.Marshal(dst.FeedLegEnum) - if string(jsonFeedLegEnum) == "{}" { // empty struct - dst.FeedLegEnum = nil - } else { - if err = validator.Validate(dst.FeedLegEnum); err != nil { - dst.FeedLegEnum = nil - } else { - match++ - } + enumTypeValue := PatchedWritablePowerOutletRequestFeedLeg(value) + for _, existing := range AllowedPatchedWritablePowerOutletRequestFeedLegEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.FeedLegEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.FeedLegEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerOutletRequestFeedLeg)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerOutletRequestFeedLeg)") - } + return fmt.Errorf("%+v is not a valid PatchedWritablePowerOutletRequestFeedLeg", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritablePowerOutletRequestFeedLeg) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.FeedLegEnum != nil { - return json.Marshal(&src.FeedLegEnum) +// NewPatchedWritablePowerOutletRequestFeedLegFromValue returns a pointer to a valid PatchedWritablePowerOutletRequestFeedLeg +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritablePowerOutletRequestFeedLegFromValue(v string) (*PatchedWritablePowerOutletRequestFeedLeg, error) { + ev := PatchedWritablePowerOutletRequestFeedLeg(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritablePowerOutletRequestFeedLeg: valid values are %v", v, AllowedPatchedWritablePowerOutletRequestFeedLegEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritablePowerOutletRequestFeedLeg) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.FeedLegEnum != nil { - return obj.FeedLegEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritablePowerOutletRequestFeedLeg) IsValid() bool { + for _, existing := range AllowedPatchedWritablePowerOutletRequestFeedLegEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritablePowerOutletRequestFeedLeg) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.FeedLegEnum != nil { - return *obj.FeedLegEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritablePowerOutletRequest_feed_leg value +func (v PatchedWritablePowerOutletRequestFeedLeg) Ptr() *PatchedWritablePowerOutletRequestFeedLeg { + return &v } type NullablePatchedWritablePowerOutletRequestFeedLeg struct { @@ -168,4 +113,3 @@ func (v *NullablePatchedWritablePowerOutletRequestFeedLeg) UnmarshalJSON(src []b return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_power_outlet_request_type.go b/model_patched_writable_power_outlet_request_type.go index 0e84c03c..b38edf70 100644 --- a/model_patched_writable_power_outlet_request_type.go +++ b/model_patched_writable_power_outlet_request_type.go @@ -13,123 +13,250 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritablePowerOutletRequestType - Physical port type -type PatchedWritablePowerOutletRequestType struct { - BlankEnum *BlankEnum - PowerOutletTypeChoices *PowerOutletTypeChoices -} - -// BlankEnumAsPatchedWritablePowerOutletRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerOutletRequestType -func BlankEnumAsPatchedWritablePowerOutletRequestType(v *BlankEnum) PatchedWritablePowerOutletRequestType { - return PatchedWritablePowerOutletRequestType{ - BlankEnum: v, - } -} +// PatchedWritablePowerOutletRequestType Physical port type +type PatchedWritablePowerOutletRequestType string + +// List of PatchedWritablePowerOutletRequest_type +const ( + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60320_C5 PatchedWritablePowerOutletRequestType = "iec-60320-c5" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60320_C7 PatchedWritablePowerOutletRequestType = "iec-60320-c7" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60320_C13 PatchedWritablePowerOutletRequestType = "iec-60320-c13" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60320_C15 PatchedWritablePowerOutletRequestType = "iec-60320-c15" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60320_C19 PatchedWritablePowerOutletRequestType = "iec-60320-c19" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60320_C21 PatchedWritablePowerOutletRequestType = "iec-60320-c21" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_P_N_E_4H PatchedWritablePowerOutletRequestType = "iec-60309-p-n-e-4h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_P_N_E_6H PatchedWritablePowerOutletRequestType = "iec-60309-p-n-e-6h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_P_N_E_9H PatchedWritablePowerOutletRequestType = "iec-60309-p-n-e-9h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_2P_E_4H PatchedWritablePowerOutletRequestType = "iec-60309-2p-e-4h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_2P_E_6H PatchedWritablePowerOutletRequestType = "iec-60309-2p-e-6h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_2P_E_9H PatchedWritablePowerOutletRequestType = "iec-60309-2p-e-9h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_3P_E_4H PatchedWritablePowerOutletRequestType = "iec-60309-3p-e-4h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_3P_E_6H PatchedWritablePowerOutletRequestType = "iec-60309-3p-e-6h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_3P_E_9H PatchedWritablePowerOutletRequestType = "iec-60309-3p-e-9h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_3P_N_E_4H PatchedWritablePowerOutletRequestType = "iec-60309-3p-n-e-4h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_3P_N_E_6H PatchedWritablePowerOutletRequestType = "iec-60309-3p-n-e-6h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60309_3P_N_E_9H PatchedWritablePowerOutletRequestType = "iec-60309-3p-n-e-9h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_IEC_60906_1 PatchedWritablePowerOutletRequestType = "iec-60906-1" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NBR_14136_10A PatchedWritablePowerOutletRequestType = "nbr-14136-10a" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NBR_14136_20A PatchedWritablePowerOutletRequestType = "nbr-14136-20a" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_1_15R PatchedWritablePowerOutletRequestType = "nema-1-15r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_5_15R PatchedWritablePowerOutletRequestType = "nema-5-15r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_5_20R PatchedWritablePowerOutletRequestType = "nema-5-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_5_30R PatchedWritablePowerOutletRequestType = "nema-5-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_5_50R PatchedWritablePowerOutletRequestType = "nema-5-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_6_15R PatchedWritablePowerOutletRequestType = "nema-6-15r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_6_20R PatchedWritablePowerOutletRequestType = "nema-6-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_6_30R PatchedWritablePowerOutletRequestType = "nema-6-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_6_50R PatchedWritablePowerOutletRequestType = "nema-6-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_10_30R PatchedWritablePowerOutletRequestType = "nema-10-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_10_50R PatchedWritablePowerOutletRequestType = "nema-10-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_14_20R PatchedWritablePowerOutletRequestType = "nema-14-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_14_30R PatchedWritablePowerOutletRequestType = "nema-14-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_14_50R PatchedWritablePowerOutletRequestType = "nema-14-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_14_60R PatchedWritablePowerOutletRequestType = "nema-14-60r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_15_15R PatchedWritablePowerOutletRequestType = "nema-15-15r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_15_20R PatchedWritablePowerOutletRequestType = "nema-15-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_15_30R PatchedWritablePowerOutletRequestType = "nema-15-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_15_50R PatchedWritablePowerOutletRequestType = "nema-15-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_15_60R PatchedWritablePowerOutletRequestType = "nema-15-60r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L1_15R PatchedWritablePowerOutletRequestType = "nema-l1-15r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L5_15R PatchedWritablePowerOutletRequestType = "nema-l5-15r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L5_20R PatchedWritablePowerOutletRequestType = "nema-l5-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L5_30R PatchedWritablePowerOutletRequestType = "nema-l5-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L5_50R PatchedWritablePowerOutletRequestType = "nema-l5-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L6_15R PatchedWritablePowerOutletRequestType = "nema-l6-15r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L6_20R PatchedWritablePowerOutletRequestType = "nema-l6-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L6_30R PatchedWritablePowerOutletRequestType = "nema-l6-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L6_50R PatchedWritablePowerOutletRequestType = "nema-l6-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L10_30R PatchedWritablePowerOutletRequestType = "nema-l10-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L14_20R PatchedWritablePowerOutletRequestType = "nema-l14-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L14_30R PatchedWritablePowerOutletRequestType = "nema-l14-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L14_50R PatchedWritablePowerOutletRequestType = "nema-l14-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L14_60R PatchedWritablePowerOutletRequestType = "nema-l14-60r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L15_20R PatchedWritablePowerOutletRequestType = "nema-l15-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L15_30R PatchedWritablePowerOutletRequestType = "nema-l15-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L15_50R PatchedWritablePowerOutletRequestType = "nema-l15-50r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L15_60R PatchedWritablePowerOutletRequestType = "nema-l15-60r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L21_20R PatchedWritablePowerOutletRequestType = "nema-l21-20r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L21_30R PatchedWritablePowerOutletRequestType = "nema-l21-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L22_30R PatchedWritablePowerOutletRequestType = "nema-l22-30r" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS6360_C PatchedWritablePowerOutletRequestType = "CS6360C" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS6364_C PatchedWritablePowerOutletRequestType = "CS6364C" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS8164_C PatchedWritablePowerOutletRequestType = "CS8164C" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS8264_C PatchedWritablePowerOutletRequestType = "CS8264C" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS8364_C PatchedWritablePowerOutletRequestType = "CS8364C" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS8464_C PatchedWritablePowerOutletRequestType = "CS8464C" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_E PatchedWritablePowerOutletRequestType = "ita-e" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_F PatchedWritablePowerOutletRequestType = "ita-f" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_G PatchedWritablePowerOutletRequestType = "ita-g" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_H PatchedWritablePowerOutletRequestType = "ita-h" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_I PatchedWritablePowerOutletRequestType = "ita-i" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_J PatchedWritablePowerOutletRequestType = "ita-j" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_K PatchedWritablePowerOutletRequestType = "ita-k" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_L PatchedWritablePowerOutletRequestType = "ita-l" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_M PatchedWritablePowerOutletRequestType = "ita-m" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_N PatchedWritablePowerOutletRequestType = "ita-n" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_O PatchedWritablePowerOutletRequestType = "ita-o" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_ITA_MULTISTANDARD PatchedWritablePowerOutletRequestType = "ita-multistandard" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_USB_A PatchedWritablePowerOutletRequestType = "usb-a" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_USB_MICRO_B PatchedWritablePowerOutletRequestType = "usb-micro-b" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_USB_C PatchedWritablePowerOutletRequestType = "usb-c" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_DC_TERMINAL PatchedWritablePowerOutletRequestType = "dc-terminal" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_HDOT_CX PatchedWritablePowerOutletRequestType = "hdot-cx" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_SAF_D_GRID PatchedWritablePowerOutletRequestType = "saf-d-grid" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEUTRIK_POWERCON_20A PatchedWritablePowerOutletRequestType = "neutrik-powercon-20a" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEUTRIK_POWERCON_32A PatchedWritablePowerOutletRequestType = "neutrik-powercon-32a" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEUTRIK_POWERCON_TRUE1 PatchedWritablePowerOutletRequestType = "neutrik-powercon-true1" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEUTRIK_POWERCON_TRUE1_TOP PatchedWritablePowerOutletRequestType = "neutrik-powercon-true1-top" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_UBIQUITI_SMARTPOWER PatchedWritablePowerOutletRequestType = "ubiquiti-smartpower" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_EATON_C39 PatchedWritablePowerOutletRequestType = "eaton-c39" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_HARDWIRED PatchedWritablePowerOutletRequestType = "hardwired" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_OTHER PatchedWritablePowerOutletRequestType = "other" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_EMPTY PatchedWritablePowerOutletRequestType = "" +) -// PowerOutletTypeChoicesAsPatchedWritablePowerOutletRequestType is a convenience function that returns PowerOutletTypeChoices wrapped in PatchedWritablePowerOutletRequestType -func PowerOutletTypeChoicesAsPatchedWritablePowerOutletRequestType(v *PowerOutletTypeChoices) PatchedWritablePowerOutletRequestType { - return PatchedWritablePowerOutletRequestType{ - PowerOutletTypeChoices: v, - } +// All allowed values of PatchedWritablePowerOutletRequestType enum +var AllowedPatchedWritablePowerOutletRequestTypeEnumValues = []PatchedWritablePowerOutletRequestType{ + "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", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritablePowerOutletRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritablePowerOutletRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into PowerOutletTypeChoices - err = newStrictDecoder(data).Decode(&dst.PowerOutletTypeChoices) - if err == nil { - jsonPowerOutletTypeChoices, _ := json.Marshal(dst.PowerOutletTypeChoices) - if string(jsonPowerOutletTypeChoices) == "{}" { // empty struct - dst.PowerOutletTypeChoices = nil - } else { - if err = validator.Validate(dst.PowerOutletTypeChoices); err != nil { - dst.PowerOutletTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritablePowerOutletRequestType(value) + for _, existing := range AllowedPatchedWritablePowerOutletRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.PowerOutletTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.PowerOutletTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerOutletRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerOutletRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritablePowerOutletRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritablePowerOutletRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.PowerOutletTypeChoices != nil { - return json.Marshal(&src.PowerOutletTypeChoices) +// NewPatchedWritablePowerOutletRequestTypeFromValue returns a pointer to a valid PatchedWritablePowerOutletRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritablePowerOutletRequestTypeFromValue(v string) (*PatchedWritablePowerOutletRequestType, error) { + ev := PatchedWritablePowerOutletRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritablePowerOutletRequestType: valid values are %v", v, AllowedPatchedWritablePowerOutletRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritablePowerOutletRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.PowerOutletTypeChoices != nil { - return obj.PowerOutletTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritablePowerOutletRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritablePowerOutletRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritablePowerOutletRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.PowerOutletTypeChoices != nil { - return *obj.PowerOutletTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritablePowerOutletRequest_type value +func (v PatchedWritablePowerOutletRequestType) Ptr() *PatchedWritablePowerOutletRequestType { + return &v } type NullablePatchedWritablePowerOutletRequestType struct { @@ -168,4 +295,3 @@ func (v *NullablePatchedWritablePowerOutletRequestType) UnmarshalJSON(src []byte return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_power_outlet_template_request_type.go b/model_patched_writable_power_outlet_template_request_type.go index 13c53e5e..dbaf83bc 100644 --- a/model_patched_writable_power_outlet_template_request_type.go +++ b/model_patched_writable_power_outlet_template_request_type.go @@ -13,123 +13,250 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritablePowerOutletTemplateRequestType - struct for PatchedWritablePowerOutletTemplateRequestType -type PatchedWritablePowerOutletTemplateRequestType struct { - BlankEnum *BlankEnum - PowerOutletTypeChoices *PowerOutletTypeChoices -} - -// BlankEnumAsPatchedWritablePowerOutletTemplateRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerOutletTemplateRequestType -func BlankEnumAsPatchedWritablePowerOutletTemplateRequestType(v *BlankEnum) PatchedWritablePowerOutletTemplateRequestType { - return PatchedWritablePowerOutletTemplateRequestType{ - BlankEnum: v, - } -} +// PatchedWritablePowerOutletTemplateRequestType the model 'PatchedWritablePowerOutletTemplateRequestType' +type PatchedWritablePowerOutletTemplateRequestType string + +// List of PatchedWritablePowerOutletTemplateRequest_type +const ( + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60320_C5 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c5" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60320_C7 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c7" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60320_C13 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c13" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60320_C15 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c15" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60320_C19 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c19" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60320_C21 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c21" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_P_N_E_4H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-4h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_P_N_E_6H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-6h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_P_N_E_9H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-9h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_2P_E_4H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-2p-e-4h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_2P_E_6H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-2p-e-6h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_2P_E_9H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-2p-e-9h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_3P_E_4H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-e-4h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_3P_E_6H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-e-6h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_3P_E_9H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-e-9h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_3P_N_E_4H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-4h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_3P_N_E_6H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-6h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60309_3P_N_E_9H PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-9h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_IEC_60906_1 PatchedWritablePowerOutletTemplateRequestType = "iec-60906-1" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NBR_14136_10A PatchedWritablePowerOutletTemplateRequestType = "nbr-14136-10a" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NBR_14136_20A PatchedWritablePowerOutletTemplateRequestType = "nbr-14136-20a" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_1_15R PatchedWritablePowerOutletTemplateRequestType = "nema-1-15r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_5_15R PatchedWritablePowerOutletTemplateRequestType = "nema-5-15r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_5_20R PatchedWritablePowerOutletTemplateRequestType = "nema-5-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_5_30R PatchedWritablePowerOutletTemplateRequestType = "nema-5-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_5_50R PatchedWritablePowerOutletTemplateRequestType = "nema-5-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_6_15R PatchedWritablePowerOutletTemplateRequestType = "nema-6-15r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_6_20R PatchedWritablePowerOutletTemplateRequestType = "nema-6-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_6_30R PatchedWritablePowerOutletTemplateRequestType = "nema-6-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_6_50R PatchedWritablePowerOutletTemplateRequestType = "nema-6-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_10_30R PatchedWritablePowerOutletTemplateRequestType = "nema-10-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_10_50R PatchedWritablePowerOutletTemplateRequestType = "nema-10-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_14_20R PatchedWritablePowerOutletTemplateRequestType = "nema-14-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_14_30R PatchedWritablePowerOutletTemplateRequestType = "nema-14-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_14_50R PatchedWritablePowerOutletTemplateRequestType = "nema-14-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_14_60R PatchedWritablePowerOutletTemplateRequestType = "nema-14-60r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_15_15R PatchedWritablePowerOutletTemplateRequestType = "nema-15-15r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_15_20R PatchedWritablePowerOutletTemplateRequestType = "nema-15-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_15_30R PatchedWritablePowerOutletTemplateRequestType = "nema-15-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_15_50R PatchedWritablePowerOutletTemplateRequestType = "nema-15-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_15_60R PatchedWritablePowerOutletTemplateRequestType = "nema-15-60r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L1_15R PatchedWritablePowerOutletTemplateRequestType = "nema-l1-15r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L5_15R PatchedWritablePowerOutletTemplateRequestType = "nema-l5-15r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L5_20R PatchedWritablePowerOutletTemplateRequestType = "nema-l5-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L5_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l5-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L5_50R PatchedWritablePowerOutletTemplateRequestType = "nema-l5-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L6_15R PatchedWritablePowerOutletTemplateRequestType = "nema-l6-15r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L6_20R PatchedWritablePowerOutletTemplateRequestType = "nema-l6-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L6_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l6-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L6_50R PatchedWritablePowerOutletTemplateRequestType = "nema-l6-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L10_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l10-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L14_20R PatchedWritablePowerOutletTemplateRequestType = "nema-l14-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L14_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l14-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L14_50R PatchedWritablePowerOutletTemplateRequestType = "nema-l14-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L14_60R PatchedWritablePowerOutletTemplateRequestType = "nema-l14-60r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L15_20R PatchedWritablePowerOutletTemplateRequestType = "nema-l15-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L15_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l15-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L15_50R PatchedWritablePowerOutletTemplateRequestType = "nema-l15-50r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L15_60R PatchedWritablePowerOutletTemplateRequestType = "nema-l15-60r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L21_20R PatchedWritablePowerOutletTemplateRequestType = "nema-l21-20r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L21_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l21-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L22_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l22-30r" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS6360_C PatchedWritablePowerOutletTemplateRequestType = "CS6360C" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS6364_C PatchedWritablePowerOutletTemplateRequestType = "CS6364C" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS8164_C PatchedWritablePowerOutletTemplateRequestType = "CS8164C" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS8264_C PatchedWritablePowerOutletTemplateRequestType = "CS8264C" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS8364_C PatchedWritablePowerOutletTemplateRequestType = "CS8364C" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS8464_C PatchedWritablePowerOutletTemplateRequestType = "CS8464C" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_E PatchedWritablePowerOutletTemplateRequestType = "ita-e" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_F PatchedWritablePowerOutletTemplateRequestType = "ita-f" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_G PatchedWritablePowerOutletTemplateRequestType = "ita-g" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_H PatchedWritablePowerOutletTemplateRequestType = "ita-h" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_I PatchedWritablePowerOutletTemplateRequestType = "ita-i" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_J PatchedWritablePowerOutletTemplateRequestType = "ita-j" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_K PatchedWritablePowerOutletTemplateRequestType = "ita-k" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_L PatchedWritablePowerOutletTemplateRequestType = "ita-l" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_M PatchedWritablePowerOutletTemplateRequestType = "ita-m" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_N PatchedWritablePowerOutletTemplateRequestType = "ita-n" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_O PatchedWritablePowerOutletTemplateRequestType = "ita-o" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_ITA_MULTISTANDARD PatchedWritablePowerOutletTemplateRequestType = "ita-multistandard" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_USB_A PatchedWritablePowerOutletTemplateRequestType = "usb-a" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_USB_MICRO_B PatchedWritablePowerOutletTemplateRequestType = "usb-micro-b" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_USB_C PatchedWritablePowerOutletTemplateRequestType = "usb-c" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_DC_TERMINAL PatchedWritablePowerOutletTemplateRequestType = "dc-terminal" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_HDOT_CX PatchedWritablePowerOutletTemplateRequestType = "hdot-cx" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_SAF_D_GRID PatchedWritablePowerOutletTemplateRequestType = "saf-d-grid" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_20A PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-20a" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_32A PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-32a" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_TRUE1 PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-true1" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_TRUE1_TOP PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-true1-top" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_UBIQUITI_SMARTPOWER PatchedWritablePowerOutletTemplateRequestType = "ubiquiti-smartpower" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_EATON_C39 PatchedWritablePowerOutletTemplateRequestType = "eaton-c39" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_HARDWIRED PatchedWritablePowerOutletTemplateRequestType = "hardwired" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_OTHER PatchedWritablePowerOutletTemplateRequestType = "other" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_EMPTY PatchedWritablePowerOutletTemplateRequestType = "" +) -// PowerOutletTypeChoicesAsPatchedWritablePowerOutletTemplateRequestType is a convenience function that returns PowerOutletTypeChoices wrapped in PatchedWritablePowerOutletTemplateRequestType -func PowerOutletTypeChoicesAsPatchedWritablePowerOutletTemplateRequestType(v *PowerOutletTypeChoices) PatchedWritablePowerOutletTemplateRequestType { - return PatchedWritablePowerOutletTemplateRequestType{ - PowerOutletTypeChoices: v, - } +// All allowed values of PatchedWritablePowerOutletTemplateRequestType enum +var AllowedPatchedWritablePowerOutletTemplateRequestTypeEnumValues = []PatchedWritablePowerOutletTemplateRequestType{ + "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", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritablePowerOutletTemplateRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritablePowerOutletTemplateRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into PowerOutletTypeChoices - err = newStrictDecoder(data).Decode(&dst.PowerOutletTypeChoices) - if err == nil { - jsonPowerOutletTypeChoices, _ := json.Marshal(dst.PowerOutletTypeChoices) - if string(jsonPowerOutletTypeChoices) == "{}" { // empty struct - dst.PowerOutletTypeChoices = nil - } else { - if err = validator.Validate(dst.PowerOutletTypeChoices); err != nil { - dst.PowerOutletTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritablePowerOutletTemplateRequestType(value) + for _, existing := range AllowedPatchedWritablePowerOutletTemplateRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.PowerOutletTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.PowerOutletTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerOutletTemplateRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerOutletTemplateRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritablePowerOutletTemplateRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritablePowerOutletTemplateRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.PowerOutletTypeChoices != nil { - return json.Marshal(&src.PowerOutletTypeChoices) +// NewPatchedWritablePowerOutletTemplateRequestTypeFromValue returns a pointer to a valid PatchedWritablePowerOutletTemplateRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritablePowerOutletTemplateRequestTypeFromValue(v string) (*PatchedWritablePowerOutletTemplateRequestType, error) { + ev := PatchedWritablePowerOutletTemplateRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritablePowerOutletTemplateRequestType: valid values are %v", v, AllowedPatchedWritablePowerOutletTemplateRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritablePowerOutletTemplateRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.PowerOutletTypeChoices != nil { - return obj.PowerOutletTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritablePowerOutletTemplateRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritablePowerOutletTemplateRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritablePowerOutletTemplateRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.PowerOutletTypeChoices != nil { - return *obj.PowerOutletTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritablePowerOutletTemplateRequest_type value +func (v PatchedWritablePowerOutletTemplateRequestType) Ptr() *PatchedWritablePowerOutletTemplateRequestType { + return &v } type NullablePatchedWritablePowerOutletTemplateRequestType struct { @@ -168,4 +295,3 @@ func (v *NullablePatchedWritablePowerOutletTemplateRequestType) UnmarshalJSON(sr return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_power_panel_request_panel_type.go b/model_patched_writable_power_panel_request_panel_type.go index 202ef704..3562d2e9 100644 --- a/model_patched_writable_power_panel_request_panel_type.go +++ b/model_patched_writable_power_panel_request_panel_type.go @@ -13,123 +13,82 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritablePowerPanelRequestPanelType - struct for PatchedWritablePowerPanelRequestPanelType -type PatchedWritablePowerPanelRequestPanelType struct { - BlankEnum *BlankEnum - PanelTypeEnum *PanelTypeEnum -} - -// BlankEnumAsPatchedWritablePowerPanelRequestPanelType is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerPanelRequestPanelType -func BlankEnumAsPatchedWritablePowerPanelRequestPanelType(v *BlankEnum) PatchedWritablePowerPanelRequestPanelType { - return PatchedWritablePowerPanelRequestPanelType{ - BlankEnum: v, - } -} +// PatchedWritablePowerPanelRequestPanelType the model 'PatchedWritablePowerPanelRequestPanelType' +type PatchedWritablePowerPanelRequestPanelType string + +// List of PatchedWritablePowerPanelRequest_panel_type +const ( + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_UTILITY PatchedWritablePowerPanelRequestPanelType = "utility" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_GENERATOR PatchedWritablePowerPanelRequestPanelType = "generator" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_SWITCHGEAR PatchedWritablePowerPanelRequestPanelType = "switchgear" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_MDP PatchedWritablePowerPanelRequestPanelType = "mdp" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_UPS PatchedWritablePowerPanelRequestPanelType = "ups" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_TRANSFER_SWITCH PatchedWritablePowerPanelRequestPanelType = "transfer-switch" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_PDU PatchedWritablePowerPanelRequestPanelType = "pdu" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_PANELBOARD PatchedWritablePowerPanelRequestPanelType = "panelboard" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_MLC PatchedWritablePowerPanelRequestPanelType = "mlc" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_RPP PatchedWritablePowerPanelRequestPanelType = "rpp" + PATCHEDWRITABLEPOWERPANELREQUESTPANELTYPE_EMPTY PatchedWritablePowerPanelRequestPanelType = "" +) -// PanelTypeEnumAsPatchedWritablePowerPanelRequestPanelType is a convenience function that returns PanelTypeEnum wrapped in PatchedWritablePowerPanelRequestPanelType -func PanelTypeEnumAsPatchedWritablePowerPanelRequestPanelType(v *PanelTypeEnum) PatchedWritablePowerPanelRequestPanelType { - return PatchedWritablePowerPanelRequestPanelType{ - PanelTypeEnum: v, - } +// All allowed values of PatchedWritablePowerPanelRequestPanelType enum +var AllowedPatchedWritablePowerPanelRequestPanelTypeEnumValues = []PatchedWritablePowerPanelRequestPanelType{ + "utility", + "generator", + "switchgear", + "mdp", + "ups", + "transfer-switch", + "pdu", + "panelboard", + "mlc", + "rpp", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritablePowerPanelRequestPanelType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritablePowerPanelRequestPanelType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into PanelTypeEnum - err = newStrictDecoder(data).Decode(&dst.PanelTypeEnum) - if err == nil { - jsonPanelTypeEnum, _ := json.Marshal(dst.PanelTypeEnum) - if string(jsonPanelTypeEnum) == "{}" { // empty struct - dst.PanelTypeEnum = nil - } else { - if err = validator.Validate(dst.PanelTypeEnum); err != nil { - dst.PanelTypeEnum = nil - } else { - match++ - } + enumTypeValue := PatchedWritablePowerPanelRequestPanelType(value) + for _, existing := range AllowedPatchedWritablePowerPanelRequestPanelTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.PanelTypeEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.PanelTypeEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerPanelRequestPanelType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerPanelRequestPanelType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritablePowerPanelRequestPanelType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritablePowerPanelRequestPanelType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.PanelTypeEnum != nil { - return json.Marshal(&src.PanelTypeEnum) +// NewPatchedWritablePowerPanelRequestPanelTypeFromValue returns a pointer to a valid PatchedWritablePowerPanelRequestPanelType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritablePowerPanelRequestPanelTypeFromValue(v string) (*PatchedWritablePowerPanelRequestPanelType, error) { + ev := PatchedWritablePowerPanelRequestPanelType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritablePowerPanelRequestPanelType: valid values are %v", v, AllowedPatchedWritablePowerPanelRequestPanelTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritablePowerPanelRequestPanelType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.PanelTypeEnum != nil { - return obj.PanelTypeEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritablePowerPanelRequestPanelType) IsValid() bool { + for _, existing := range AllowedPatchedWritablePowerPanelRequestPanelTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritablePowerPanelRequestPanelType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.PanelTypeEnum != nil { - return *obj.PanelTypeEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritablePowerPanelRequest_panel_type value +func (v PatchedWritablePowerPanelRequestPanelType) Ptr() *PatchedWritablePowerPanelRequestPanelType { + return &v } type NullablePatchedWritablePowerPanelRequestPanelType struct { @@ -168,4 +127,3 @@ func (v *NullablePatchedWritablePowerPanelRequestPanelType) UnmarshalJSON(src [] return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_power_port_request_type.go b/model_patched_writable_power_port_request_type.go index 35dbc22c..e3b775ef 100644 --- a/model_patched_writable_power_port_request_type.go +++ b/model_patched_writable_power_port_request_type.go @@ -13,123 +13,262 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritablePowerPortRequestType - Physical port type -type PatchedWritablePowerPortRequestType struct { - BlankEnum *BlankEnum - PowerPortTypeChoices *PowerPortTypeChoices -} - -// BlankEnumAsPatchedWritablePowerPortRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerPortRequestType -func BlankEnumAsPatchedWritablePowerPortRequestType(v *BlankEnum) PatchedWritablePowerPortRequestType { - return PatchedWritablePowerPortRequestType{ - BlankEnum: v, - } -} +// PatchedWritablePowerPortRequestType Physical port type +type PatchedWritablePowerPortRequestType string + +// List of PatchedWritablePowerPortRequest_type +const ( + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60320_C6 PatchedWritablePowerPortRequestType = "iec-60320-c6" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60320_C8 PatchedWritablePowerPortRequestType = "iec-60320-c8" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60320_C14 PatchedWritablePowerPortRequestType = "iec-60320-c14" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60320_C16 PatchedWritablePowerPortRequestType = "iec-60320-c16" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60320_C20 PatchedWritablePowerPortRequestType = "iec-60320-c20" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60320_C22 PatchedWritablePowerPortRequestType = "iec-60320-c22" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_P_N_E_4H PatchedWritablePowerPortRequestType = "iec-60309-p-n-e-4h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_P_N_E_6H PatchedWritablePowerPortRequestType = "iec-60309-p-n-e-6h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_P_N_E_9H PatchedWritablePowerPortRequestType = "iec-60309-p-n-e-9h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_2P_E_4H PatchedWritablePowerPortRequestType = "iec-60309-2p-e-4h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_2P_E_6H PatchedWritablePowerPortRequestType = "iec-60309-2p-e-6h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_2P_E_9H PatchedWritablePowerPortRequestType = "iec-60309-2p-e-9h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_3P_E_4H PatchedWritablePowerPortRequestType = "iec-60309-3p-e-4h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_3P_E_6H PatchedWritablePowerPortRequestType = "iec-60309-3p-e-6h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_3P_E_9H PatchedWritablePowerPortRequestType = "iec-60309-3p-e-9h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_3P_N_E_4H PatchedWritablePowerPortRequestType = "iec-60309-3p-n-e-4h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_3P_N_E_6H PatchedWritablePowerPortRequestType = "iec-60309-3p-n-e-6h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60309_3P_N_E_9H PatchedWritablePowerPortRequestType = "iec-60309-3p-n-e-9h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_IEC_60906_1 PatchedWritablePowerPortRequestType = "iec-60906-1" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NBR_14136_10A PatchedWritablePowerPortRequestType = "nbr-14136-10a" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NBR_14136_20A PatchedWritablePowerPortRequestType = "nbr-14136-20a" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_1_15P PatchedWritablePowerPortRequestType = "nema-1-15p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_5_15P PatchedWritablePowerPortRequestType = "nema-5-15p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_5_20P PatchedWritablePowerPortRequestType = "nema-5-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_5_30P PatchedWritablePowerPortRequestType = "nema-5-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_5_50P PatchedWritablePowerPortRequestType = "nema-5-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_6_15P PatchedWritablePowerPortRequestType = "nema-6-15p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_6_20P PatchedWritablePowerPortRequestType = "nema-6-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_6_30P PatchedWritablePowerPortRequestType = "nema-6-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_6_50P PatchedWritablePowerPortRequestType = "nema-6-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_10_30P PatchedWritablePowerPortRequestType = "nema-10-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_10_50P PatchedWritablePowerPortRequestType = "nema-10-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_14_20P PatchedWritablePowerPortRequestType = "nema-14-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_14_30P PatchedWritablePowerPortRequestType = "nema-14-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_14_50P PatchedWritablePowerPortRequestType = "nema-14-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_14_60P PatchedWritablePowerPortRequestType = "nema-14-60p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_15_15P PatchedWritablePowerPortRequestType = "nema-15-15p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_15_20P PatchedWritablePowerPortRequestType = "nema-15-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_15_30P PatchedWritablePowerPortRequestType = "nema-15-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_15_50P PatchedWritablePowerPortRequestType = "nema-15-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_15_60P PatchedWritablePowerPortRequestType = "nema-15-60p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L1_15P PatchedWritablePowerPortRequestType = "nema-l1-15p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L5_15P PatchedWritablePowerPortRequestType = "nema-l5-15p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L5_20P PatchedWritablePowerPortRequestType = "nema-l5-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L5_30P PatchedWritablePowerPortRequestType = "nema-l5-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L5_50P PatchedWritablePowerPortRequestType = "nema-l5-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L6_15P PatchedWritablePowerPortRequestType = "nema-l6-15p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L6_20P PatchedWritablePowerPortRequestType = "nema-l6-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L6_30P PatchedWritablePowerPortRequestType = "nema-l6-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L6_50P PatchedWritablePowerPortRequestType = "nema-l6-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L10_30P PatchedWritablePowerPortRequestType = "nema-l10-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L14_20P PatchedWritablePowerPortRequestType = "nema-l14-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L14_30P PatchedWritablePowerPortRequestType = "nema-l14-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L14_50P PatchedWritablePowerPortRequestType = "nema-l14-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L14_60P PatchedWritablePowerPortRequestType = "nema-l14-60p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L15_20P PatchedWritablePowerPortRequestType = "nema-l15-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L15_30P PatchedWritablePowerPortRequestType = "nema-l15-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L15_50P PatchedWritablePowerPortRequestType = "nema-l15-50p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L15_60P PatchedWritablePowerPortRequestType = "nema-l15-60p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L21_20P PatchedWritablePowerPortRequestType = "nema-l21-20p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L21_30P PatchedWritablePowerPortRequestType = "nema-l21-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L22_30P PatchedWritablePowerPortRequestType = "nema-l22-30p" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS6361C PatchedWritablePowerPortRequestType = "cs6361c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS6365C PatchedWritablePowerPortRequestType = "cs6365c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS8165C PatchedWritablePowerPortRequestType = "cs8165c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS8265C PatchedWritablePowerPortRequestType = "cs8265c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS8365C PatchedWritablePowerPortRequestType = "cs8365c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS8465C PatchedWritablePowerPortRequestType = "cs8465c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_C PatchedWritablePowerPortRequestType = "ita-c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_E PatchedWritablePowerPortRequestType = "ita-e" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_F PatchedWritablePowerPortRequestType = "ita-f" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_EF PatchedWritablePowerPortRequestType = "ita-ef" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_G PatchedWritablePowerPortRequestType = "ita-g" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_H PatchedWritablePowerPortRequestType = "ita-h" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_I PatchedWritablePowerPortRequestType = "ita-i" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_J PatchedWritablePowerPortRequestType = "ita-j" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_K PatchedWritablePowerPortRequestType = "ita-k" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_L PatchedWritablePowerPortRequestType = "ita-l" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_M PatchedWritablePowerPortRequestType = "ita-m" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_N PatchedWritablePowerPortRequestType = "ita-n" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_ITA_O PatchedWritablePowerPortRequestType = "ita-o" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_A PatchedWritablePowerPortRequestType = "usb-a" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_B PatchedWritablePowerPortRequestType = "usb-b" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_C PatchedWritablePowerPortRequestType = "usb-c" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_MINI_A PatchedWritablePowerPortRequestType = "usb-mini-a" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_MINI_B PatchedWritablePowerPortRequestType = "usb-mini-b" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_MICRO_A PatchedWritablePowerPortRequestType = "usb-micro-a" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_MICRO_B PatchedWritablePowerPortRequestType = "usb-micro-b" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_MICRO_AB PatchedWritablePowerPortRequestType = "usb-micro-ab" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_3_B PatchedWritablePowerPortRequestType = "usb-3-b" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_USB_3_MICRO_B PatchedWritablePowerPortRequestType = "usb-3-micro-b" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_DC_TERMINAL PatchedWritablePowerPortRequestType = "dc-terminal" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_SAF_D_GRID PatchedWritablePowerPortRequestType = "saf-d-grid" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEUTRIK_POWERCON_20 PatchedWritablePowerPortRequestType = "neutrik-powercon-20" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEUTRIK_POWERCON_32 PatchedWritablePowerPortRequestType = "neutrik-powercon-32" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEUTRIK_POWERCON_TRUE1 PatchedWritablePowerPortRequestType = "neutrik-powercon-true1" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEUTRIK_POWERCON_TRUE1_TOP PatchedWritablePowerPortRequestType = "neutrik-powercon-true1-top" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_UBIQUITI_SMARTPOWER PatchedWritablePowerPortRequestType = "ubiquiti-smartpower" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_HARDWIRED PatchedWritablePowerPortRequestType = "hardwired" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_OTHER PatchedWritablePowerPortRequestType = "other" + PATCHEDWRITABLEPOWERPORTREQUESTTYPE_EMPTY PatchedWritablePowerPortRequestType = "" +) -// PowerPortTypeChoicesAsPatchedWritablePowerPortRequestType is a convenience function that returns PowerPortTypeChoices wrapped in PatchedWritablePowerPortRequestType -func PowerPortTypeChoicesAsPatchedWritablePowerPortRequestType(v *PowerPortTypeChoices) PatchedWritablePowerPortRequestType { - return PatchedWritablePowerPortRequestType{ - PowerPortTypeChoices: v, - } +// All allowed values of PatchedWritablePowerPortRequestType enum +var AllowedPatchedWritablePowerPortRequestTypeEnumValues = []PatchedWritablePowerPortRequestType{ + "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", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritablePowerPortRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritablePowerPortRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into PowerPortTypeChoices - err = newStrictDecoder(data).Decode(&dst.PowerPortTypeChoices) - if err == nil { - jsonPowerPortTypeChoices, _ := json.Marshal(dst.PowerPortTypeChoices) - if string(jsonPowerPortTypeChoices) == "{}" { // empty struct - dst.PowerPortTypeChoices = nil - } else { - if err = validator.Validate(dst.PowerPortTypeChoices); err != nil { - dst.PowerPortTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritablePowerPortRequestType(value) + for _, existing := range AllowedPatchedWritablePowerPortRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.PowerPortTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.PowerPortTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerPortRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerPortRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritablePowerPortRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritablePowerPortRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.PowerPortTypeChoices != nil { - return json.Marshal(&src.PowerPortTypeChoices) +// NewPatchedWritablePowerPortRequestTypeFromValue returns a pointer to a valid PatchedWritablePowerPortRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritablePowerPortRequestTypeFromValue(v string) (*PatchedWritablePowerPortRequestType, error) { + ev := PatchedWritablePowerPortRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritablePowerPortRequestType: valid values are %v", v, AllowedPatchedWritablePowerPortRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritablePowerPortRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.PowerPortTypeChoices != nil { - return obj.PowerPortTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritablePowerPortRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritablePowerPortRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritablePowerPortRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.PowerPortTypeChoices != nil { - return *obj.PowerPortTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritablePowerPortRequest_type value +func (v PatchedWritablePowerPortRequestType) Ptr() *PatchedWritablePowerPortRequestType { + return &v } type NullablePatchedWritablePowerPortRequestType struct { @@ -168,4 +307,3 @@ func (v *NullablePatchedWritablePowerPortRequestType) UnmarshalJSON(src []byte) return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_power_port_template_request_type.go b/model_patched_writable_power_port_template_request_type.go index 9a07affb..b1f4d9cf 100644 --- a/model_patched_writable_power_port_template_request_type.go +++ b/model_patched_writable_power_port_template_request_type.go @@ -13,123 +13,262 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritablePowerPortTemplateRequestType - struct for PatchedWritablePowerPortTemplateRequestType -type PatchedWritablePowerPortTemplateRequestType struct { - BlankEnum *BlankEnum - PowerPortTypeChoices *PowerPortTypeChoices -} - -// BlankEnumAsPatchedWritablePowerPortTemplateRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritablePowerPortTemplateRequestType -func BlankEnumAsPatchedWritablePowerPortTemplateRequestType(v *BlankEnum) PatchedWritablePowerPortTemplateRequestType { - return PatchedWritablePowerPortTemplateRequestType{ - BlankEnum: v, - } -} +// PatchedWritablePowerPortTemplateRequestType the model 'PatchedWritablePowerPortTemplateRequestType' +type PatchedWritablePowerPortTemplateRequestType string + +// List of PatchedWritablePowerPortTemplateRequest_type +const ( + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60320_C6 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c6" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60320_C8 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c8" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60320_C14 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c14" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60320_C16 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c16" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60320_C20 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c20" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60320_C22 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c22" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_P_N_E_4H PatchedWritablePowerPortTemplateRequestType = "iec-60309-p-n-e-4h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_P_N_E_6H PatchedWritablePowerPortTemplateRequestType = "iec-60309-p-n-e-6h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_P_N_E_9H PatchedWritablePowerPortTemplateRequestType = "iec-60309-p-n-e-9h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_2P_E_4H PatchedWritablePowerPortTemplateRequestType = "iec-60309-2p-e-4h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_2P_E_6H PatchedWritablePowerPortTemplateRequestType = "iec-60309-2p-e-6h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_2P_E_9H PatchedWritablePowerPortTemplateRequestType = "iec-60309-2p-e-9h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_3P_E_4H PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-e-4h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_3P_E_6H PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-e-6h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_3P_E_9H PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-e-9h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_3P_N_E_4H PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-4h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_3P_N_E_6H PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-6h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60309_3P_N_E_9H PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-9h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_IEC_60906_1 PatchedWritablePowerPortTemplateRequestType = "iec-60906-1" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NBR_14136_10A PatchedWritablePowerPortTemplateRequestType = "nbr-14136-10a" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NBR_14136_20A PatchedWritablePowerPortTemplateRequestType = "nbr-14136-20a" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_1_15P PatchedWritablePowerPortTemplateRequestType = "nema-1-15p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_5_15P PatchedWritablePowerPortTemplateRequestType = "nema-5-15p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_5_20P PatchedWritablePowerPortTemplateRequestType = "nema-5-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_5_30P PatchedWritablePowerPortTemplateRequestType = "nema-5-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_5_50P PatchedWritablePowerPortTemplateRequestType = "nema-5-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_6_15P PatchedWritablePowerPortTemplateRequestType = "nema-6-15p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_6_20P PatchedWritablePowerPortTemplateRequestType = "nema-6-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_6_30P PatchedWritablePowerPortTemplateRequestType = "nema-6-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_6_50P PatchedWritablePowerPortTemplateRequestType = "nema-6-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_10_30P PatchedWritablePowerPortTemplateRequestType = "nema-10-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_10_50P PatchedWritablePowerPortTemplateRequestType = "nema-10-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_14_20P PatchedWritablePowerPortTemplateRequestType = "nema-14-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_14_30P PatchedWritablePowerPortTemplateRequestType = "nema-14-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_14_50P PatchedWritablePowerPortTemplateRequestType = "nema-14-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_14_60P PatchedWritablePowerPortTemplateRequestType = "nema-14-60p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_15_15P PatchedWritablePowerPortTemplateRequestType = "nema-15-15p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_15_20P PatchedWritablePowerPortTemplateRequestType = "nema-15-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_15_30P PatchedWritablePowerPortTemplateRequestType = "nema-15-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_15_50P PatchedWritablePowerPortTemplateRequestType = "nema-15-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_15_60P PatchedWritablePowerPortTemplateRequestType = "nema-15-60p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L1_15P PatchedWritablePowerPortTemplateRequestType = "nema-l1-15p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L5_15P PatchedWritablePowerPortTemplateRequestType = "nema-l5-15p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L5_20P PatchedWritablePowerPortTemplateRequestType = "nema-l5-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L5_30P PatchedWritablePowerPortTemplateRequestType = "nema-l5-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L5_50P PatchedWritablePowerPortTemplateRequestType = "nema-l5-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L6_15P PatchedWritablePowerPortTemplateRequestType = "nema-l6-15p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L6_20P PatchedWritablePowerPortTemplateRequestType = "nema-l6-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L6_30P PatchedWritablePowerPortTemplateRequestType = "nema-l6-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L6_50P PatchedWritablePowerPortTemplateRequestType = "nema-l6-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L10_30P PatchedWritablePowerPortTemplateRequestType = "nema-l10-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L14_20P PatchedWritablePowerPortTemplateRequestType = "nema-l14-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L14_30P PatchedWritablePowerPortTemplateRequestType = "nema-l14-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L14_50P PatchedWritablePowerPortTemplateRequestType = "nema-l14-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L14_60P PatchedWritablePowerPortTemplateRequestType = "nema-l14-60p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L15_20P PatchedWritablePowerPortTemplateRequestType = "nema-l15-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L15_30P PatchedWritablePowerPortTemplateRequestType = "nema-l15-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L15_50P PatchedWritablePowerPortTemplateRequestType = "nema-l15-50p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L15_60P PatchedWritablePowerPortTemplateRequestType = "nema-l15-60p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L21_20P PatchedWritablePowerPortTemplateRequestType = "nema-l21-20p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L21_30P PatchedWritablePowerPortTemplateRequestType = "nema-l21-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L22_30P PatchedWritablePowerPortTemplateRequestType = "nema-l22-30p" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS6361C PatchedWritablePowerPortTemplateRequestType = "cs6361c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS6365C PatchedWritablePowerPortTemplateRequestType = "cs6365c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS8165C PatchedWritablePowerPortTemplateRequestType = "cs8165c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS8265C PatchedWritablePowerPortTemplateRequestType = "cs8265c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS8365C PatchedWritablePowerPortTemplateRequestType = "cs8365c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS8465C PatchedWritablePowerPortTemplateRequestType = "cs8465c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_C PatchedWritablePowerPortTemplateRequestType = "ita-c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_E PatchedWritablePowerPortTemplateRequestType = "ita-e" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_F PatchedWritablePowerPortTemplateRequestType = "ita-f" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_EF PatchedWritablePowerPortTemplateRequestType = "ita-ef" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_G PatchedWritablePowerPortTemplateRequestType = "ita-g" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_H PatchedWritablePowerPortTemplateRequestType = "ita-h" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_I PatchedWritablePowerPortTemplateRequestType = "ita-i" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_J PatchedWritablePowerPortTemplateRequestType = "ita-j" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_K PatchedWritablePowerPortTemplateRequestType = "ita-k" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_L PatchedWritablePowerPortTemplateRequestType = "ita-l" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_M PatchedWritablePowerPortTemplateRequestType = "ita-m" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_N PatchedWritablePowerPortTemplateRequestType = "ita-n" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_ITA_O PatchedWritablePowerPortTemplateRequestType = "ita-o" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_A PatchedWritablePowerPortTemplateRequestType = "usb-a" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_B PatchedWritablePowerPortTemplateRequestType = "usb-b" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_C PatchedWritablePowerPortTemplateRequestType = "usb-c" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_MINI_A PatchedWritablePowerPortTemplateRequestType = "usb-mini-a" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_MINI_B PatchedWritablePowerPortTemplateRequestType = "usb-mini-b" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_MICRO_A PatchedWritablePowerPortTemplateRequestType = "usb-micro-a" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_MICRO_B PatchedWritablePowerPortTemplateRequestType = "usb-micro-b" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_MICRO_AB PatchedWritablePowerPortTemplateRequestType = "usb-micro-ab" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_3_B PatchedWritablePowerPortTemplateRequestType = "usb-3-b" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_USB_3_MICRO_B PatchedWritablePowerPortTemplateRequestType = "usb-3-micro-b" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_DC_TERMINAL PatchedWritablePowerPortTemplateRequestType = "dc-terminal" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_SAF_D_GRID PatchedWritablePowerPortTemplateRequestType = "saf-d-grid" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_20 PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-20" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_32 PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-32" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_TRUE1 PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-true1" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_TRUE1_TOP PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-true1-top" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_UBIQUITI_SMARTPOWER PatchedWritablePowerPortTemplateRequestType = "ubiquiti-smartpower" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_HARDWIRED PatchedWritablePowerPortTemplateRequestType = "hardwired" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_OTHER PatchedWritablePowerPortTemplateRequestType = "other" + PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_EMPTY PatchedWritablePowerPortTemplateRequestType = "" +) -// PowerPortTypeChoicesAsPatchedWritablePowerPortTemplateRequestType is a convenience function that returns PowerPortTypeChoices wrapped in PatchedWritablePowerPortTemplateRequestType -func PowerPortTypeChoicesAsPatchedWritablePowerPortTemplateRequestType(v *PowerPortTypeChoices) PatchedWritablePowerPortTemplateRequestType { - return PatchedWritablePowerPortTemplateRequestType{ - PowerPortTypeChoices: v, - } +// All allowed values of PatchedWritablePowerPortTemplateRequestType enum +var AllowedPatchedWritablePowerPortTemplateRequestTypeEnumValues = []PatchedWritablePowerPortTemplateRequestType{ + "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", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritablePowerPortTemplateRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritablePowerPortTemplateRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into PowerPortTypeChoices - err = newStrictDecoder(data).Decode(&dst.PowerPortTypeChoices) - if err == nil { - jsonPowerPortTypeChoices, _ := json.Marshal(dst.PowerPortTypeChoices) - if string(jsonPowerPortTypeChoices) == "{}" { // empty struct - dst.PowerPortTypeChoices = nil - } else { - if err = validator.Validate(dst.PowerPortTypeChoices); err != nil { - dst.PowerPortTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritablePowerPortTemplateRequestType(value) + for _, existing := range AllowedPatchedWritablePowerPortTemplateRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.PowerPortTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.PowerPortTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritablePowerPortTemplateRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritablePowerPortTemplateRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritablePowerPortTemplateRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritablePowerPortTemplateRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.PowerPortTypeChoices != nil { - return json.Marshal(&src.PowerPortTypeChoices) +// NewPatchedWritablePowerPortTemplateRequestTypeFromValue returns a pointer to a valid PatchedWritablePowerPortTemplateRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritablePowerPortTemplateRequestTypeFromValue(v string) (*PatchedWritablePowerPortTemplateRequestType, error) { + ev := PatchedWritablePowerPortTemplateRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritablePowerPortTemplateRequestType: valid values are %v", v, AllowedPatchedWritablePowerPortTemplateRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritablePowerPortTemplateRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.PowerPortTypeChoices != nil { - return obj.PowerPortTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritablePowerPortTemplateRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritablePowerPortTemplateRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritablePowerPortTemplateRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.PowerPortTypeChoices != nil { - return *obj.PowerPortTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritablePowerPortTemplateRequest_type value +func (v PatchedWritablePowerPortTemplateRequestType) Ptr() *PatchedWritablePowerPortTemplateRequestType { + return &v } type NullablePatchedWritablePowerPortTemplateRequestType struct { @@ -168,4 +307,3 @@ func (v *NullablePatchedWritablePowerPortTemplateRequestType) UnmarshalJSON(src return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_rack_request_outer_unit.go b/model_patched_writable_rack_request_outer_unit.go index 9c9bc7fa..a4e30cd2 100644 --- a/model_patched_writable_rack_request_outer_unit.go +++ b/model_patched_writable_rack_request_outer_unit.go @@ -13,123 +13,66 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritableRackRequestOuterUnit - struct for PatchedWritableRackRequestOuterUnit -type PatchedWritableRackRequestOuterUnit struct { - BlankEnum *BlankEnum - OuterUnitEnum *OuterUnitEnum -} +// PatchedWritableRackRequestOuterUnit the model 'PatchedWritableRackRequestOuterUnit' +type PatchedWritableRackRequestOuterUnit string -// BlankEnumAsPatchedWritableRackRequestOuterUnit is a convenience function that returns BlankEnum wrapped in PatchedWritableRackRequestOuterUnit -func BlankEnumAsPatchedWritableRackRequestOuterUnit(v *BlankEnum) PatchedWritableRackRequestOuterUnit { - return PatchedWritableRackRequestOuterUnit{ - BlankEnum: v, - } -} +// List of PatchedWritableRackRequest_outer_unit +const ( + PATCHEDWRITABLERACKREQUESTOUTERUNIT_MM PatchedWritableRackRequestOuterUnit = "mm" + PATCHEDWRITABLERACKREQUESTOUTERUNIT_IN PatchedWritableRackRequestOuterUnit = "in" + PATCHEDWRITABLERACKREQUESTOUTERUNIT_EMPTY PatchedWritableRackRequestOuterUnit = "" +) -// OuterUnitEnumAsPatchedWritableRackRequestOuterUnit is a convenience function that returns OuterUnitEnum wrapped in PatchedWritableRackRequestOuterUnit -func OuterUnitEnumAsPatchedWritableRackRequestOuterUnit(v *OuterUnitEnum) PatchedWritableRackRequestOuterUnit { - return PatchedWritableRackRequestOuterUnit{ - OuterUnitEnum: v, - } +// All allowed values of PatchedWritableRackRequestOuterUnit enum +var AllowedPatchedWritableRackRequestOuterUnitEnumValues = []PatchedWritableRackRequestOuterUnit{ + "mm", + "in", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritableRackRequestOuterUnit) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritableRackRequestOuterUnit) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into OuterUnitEnum - err = newStrictDecoder(data).Decode(&dst.OuterUnitEnum) - if err == nil { - jsonOuterUnitEnum, _ := json.Marshal(dst.OuterUnitEnum) - if string(jsonOuterUnitEnum) == "{}" { // empty struct - dst.OuterUnitEnum = nil - } else { - if err = validator.Validate(dst.OuterUnitEnum); err != nil { - dst.OuterUnitEnum = nil - } else { - match++ - } + enumTypeValue := PatchedWritableRackRequestOuterUnit(value) + for _, existing := range AllowedPatchedWritableRackRequestOuterUnitEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.OuterUnitEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.OuterUnitEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableRackRequestOuterUnit)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritableRackRequestOuterUnit)") - } + return fmt.Errorf("%+v is not a valid PatchedWritableRackRequestOuterUnit", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritableRackRequestOuterUnit) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.OuterUnitEnum != nil { - return json.Marshal(&src.OuterUnitEnum) +// NewPatchedWritableRackRequestOuterUnitFromValue returns a pointer to a valid PatchedWritableRackRequestOuterUnit +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableRackRequestOuterUnitFromValue(v string) (*PatchedWritableRackRequestOuterUnit, error) { + ev := PatchedWritableRackRequestOuterUnit(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableRackRequestOuterUnit: valid values are %v", v, AllowedPatchedWritableRackRequestOuterUnitEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritableRackRequestOuterUnit) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.OuterUnitEnum != nil { - return obj.OuterUnitEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableRackRequestOuterUnit) IsValid() bool { + for _, existing := range AllowedPatchedWritableRackRequestOuterUnitEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritableRackRequestOuterUnit) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.OuterUnitEnum != nil { - return *obj.OuterUnitEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritableRackRequest_outer_unit value +func (v PatchedWritableRackRequestOuterUnit) Ptr() *PatchedWritableRackRequestOuterUnit { + return &v } type NullablePatchedWritableRackRequestOuterUnit struct { @@ -168,4 +111,3 @@ func (v *NullablePatchedWritableRackRequestOuterUnit) UnmarshalJSON(src []byte) return json.Unmarshal(src, &v.value) } - diff --git a/model_patched_writable_rack_request_type.go b/model_patched_writable_rack_request_type.go index ce1652ce..89e468a0 100644 --- a/model_patched_writable_rack_request_type.go +++ b/model_patched_writable_rack_request_type.go @@ -13,123 +13,78 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// PatchedWritableRackRequestType - struct for PatchedWritableRackRequestType -type PatchedWritableRackRequestType struct { - BlankEnum *BlankEnum - RackTypeChoices *RackTypeChoices -} - -// BlankEnumAsPatchedWritableRackRequestType is a convenience function that returns BlankEnum wrapped in PatchedWritableRackRequestType -func BlankEnumAsPatchedWritableRackRequestType(v *BlankEnum) PatchedWritableRackRequestType { - return PatchedWritableRackRequestType{ - BlankEnum: v, - } -} +// PatchedWritableRackRequestType the model 'PatchedWritableRackRequestType' +type PatchedWritableRackRequestType string + +// List of PatchedWritableRackRequest_type +const ( + PATCHEDWRITABLERACKREQUESTTYPE__2_POST_FRAME PatchedWritableRackRequestType = "2-post-frame" + PATCHEDWRITABLERACKREQUESTTYPE__4_POST_FRAME PatchedWritableRackRequestType = "4-post-frame" + PATCHEDWRITABLERACKREQUESTTYPE__4_POST_CABINET PatchedWritableRackRequestType = "4-post-cabinet" + PATCHEDWRITABLERACKREQUESTTYPE_WALL_FRAME PatchedWritableRackRequestType = "wall-frame" + PATCHEDWRITABLERACKREQUESTTYPE_WALL_FRAME_VERTICAL PatchedWritableRackRequestType = "wall-frame-vertical" + PATCHEDWRITABLERACKREQUESTTYPE_WALL_CABINET PatchedWritableRackRequestType = "wall-cabinet" + PATCHEDWRITABLERACKREQUESTTYPE_WALL_CABINET_VERTICAL PatchedWritableRackRequestType = "wall-cabinet-vertical" + PATCHEDWRITABLERACKREQUESTTYPE_OTHER PatchedWritableRackRequestType = "other" + PATCHEDWRITABLERACKREQUESTTYPE_EMPTY PatchedWritableRackRequestType = "" +) -// RackTypeChoicesAsPatchedWritableRackRequestType is a convenience function that returns RackTypeChoices wrapped in PatchedWritableRackRequestType -func RackTypeChoicesAsPatchedWritableRackRequestType(v *RackTypeChoices) PatchedWritableRackRequestType { - return PatchedWritableRackRequestType{ - RackTypeChoices: v, - } +// All allowed values of PatchedWritableRackRequestType enum +var AllowedPatchedWritableRackRequestTypeEnumValues = []PatchedWritableRackRequestType{ + "2-post-frame", + "4-post-frame", + "4-post-cabinet", + "wall-frame", + "wall-frame-vertical", + "wall-cabinet", + "wall-cabinet-vertical", + "other", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *PatchedWritableRackRequestType) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *PatchedWritableRackRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into RackTypeChoices - err = newStrictDecoder(data).Decode(&dst.RackTypeChoices) - if err == nil { - jsonRackTypeChoices, _ := json.Marshal(dst.RackTypeChoices) - if string(jsonRackTypeChoices) == "{}" { // empty struct - dst.RackTypeChoices = nil - } else { - if err = validator.Validate(dst.RackTypeChoices); err != nil { - dst.RackTypeChoices = nil - } else { - match++ - } + enumTypeValue := PatchedWritableRackRequestType(value) + for _, existing := range AllowedPatchedWritableRackRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.RackTypeChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.RackTypeChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(PatchedWritableRackRequestType)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(PatchedWritableRackRequestType)") - } + return fmt.Errorf("%+v is not a valid PatchedWritableRackRequestType", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchedWritableRackRequestType) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.RackTypeChoices != nil { - return json.Marshal(&src.RackTypeChoices) +// NewPatchedWritableRackRequestTypeFromValue returns a pointer to a valid PatchedWritableRackRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableRackRequestTypeFromValue(v string) (*PatchedWritableRackRequestType, error) { + ev := PatchedWritableRackRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableRackRequestType: valid values are %v", v, AllowedPatchedWritableRackRequestTypeEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *PatchedWritableRackRequestType) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.RackTypeChoices != nil { - return obj.RackTypeChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableRackRequestType) IsValid() bool { + for _, existing := range AllowedPatchedWritableRackRequestTypeEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj PatchedWritableRackRequestType) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.RackTypeChoices != nil { - return *obj.RackTypeChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to PatchedWritableRackRequest_type value +func (v PatchedWritableRackRequestType) Ptr() *PatchedWritableRackRequestType { + return &v } type NullablePatchedWritableRackRequestType struct { @@ -168,4 +123,3 @@ func (v *NullablePatchedWritableRackRequestType) UnmarshalJSON(src []byte) error return json.Unmarshal(src, &v.value) } - diff --git a/model_rack_face.go b/model_rack_face.go index 9246d013..a558ca0d 100644 --- a/model_rack_face.go +++ b/model_rack_face.go @@ -13,123 +13,66 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// RackFace - struct for RackFace -type RackFace struct { - BlankEnum *BlankEnum - FaceEnum *FaceEnum -} +// RackFace the model 'RackFace' +type RackFace string -// BlankEnumAsRackFace is a convenience function that returns BlankEnum wrapped in RackFace -func BlankEnumAsRackFace(v *BlankEnum) RackFace { - return RackFace{ - BlankEnum: v, - } -} +// List of Rack_face +const ( + RACKFACE_FRONT RackFace = "front" + RACKFACE_REAR RackFace = "rear" + RACKFACE_EMPTY RackFace = "" +) -// FaceEnumAsRackFace is a convenience function that returns FaceEnum wrapped in RackFace -func FaceEnumAsRackFace(v *FaceEnum) RackFace { - return RackFace{ - FaceEnum: v, - } +// All allowed values of RackFace enum +var AllowedRackFaceEnumValues = []RackFace{ + "front", + "rear", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *RackFace) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *RackFace) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into FaceEnum - err = newStrictDecoder(data).Decode(&dst.FaceEnum) - if err == nil { - jsonFaceEnum, _ := json.Marshal(dst.FaceEnum) - if string(jsonFaceEnum) == "{}" { // empty struct - dst.FaceEnum = nil - } else { - if err = validator.Validate(dst.FaceEnum); err != nil { - dst.FaceEnum = nil - } else { - match++ - } + enumTypeValue := RackFace(value) + for _, existing := range AllowedRackFaceEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.FaceEnum = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.FaceEnum = nil - - return fmt.Errorf("data matches more than one schema in oneOf(RackFace)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(RackFace)") - } + return fmt.Errorf("%+v is not a valid RackFace", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src RackFace) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.FaceEnum != nil { - return json.Marshal(&src.FaceEnum) +// NewRackFaceFromValue returns a pointer to a valid RackFace +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackFaceFromValue(v string) (*RackFace, error) { + ev := RackFace(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackFace: valid values are %v", v, AllowedRackFaceEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *RackFace) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.FaceEnum != nil { - return obj.FaceEnum +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackFace) IsValid() bool { + for _, existing := range AllowedRackFaceEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj RackFace) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.FaceEnum != nil { - return *obj.FaceEnum - } - - // all schemas are nil - return nil +// Ptr returns reference to Rack_face value +func (v RackFace) Ptr() *RackFace { + return &v } type NullableRackFace struct { @@ -168,4 +111,3 @@ func (v *NullableRackFace) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/model_redundancy_protocol.go b/model_redundancy_protocol.go index bb1a242c..fa203a4a 100644 --- a/model_redundancy_protocol.go +++ b/model_redundancy_protocol.go @@ -13,123 +13,70 @@ package nautobot import ( "encoding/json" "fmt" - "gopkg.in/validator.v2" ) -// RedundancyProtocol - struct for RedundancyProtocol -type RedundancyProtocol struct { - BlankEnum *BlankEnum - InterfaceRedundancyGroupProtocolChoices *InterfaceRedundancyGroupProtocolChoices -} +// RedundancyProtocol the model 'RedundancyProtocol' +type RedundancyProtocol string -// BlankEnumAsRedundancyProtocol is a convenience function that returns BlankEnum wrapped in RedundancyProtocol -func BlankEnumAsRedundancyProtocol(v *BlankEnum) RedundancyProtocol { - return RedundancyProtocol{ - BlankEnum: v, - } -} +// List of Redundancy_Protocol +const ( + REDUNDANCYPROTOCOL_HSRP RedundancyProtocol = "hsrp" + REDUNDANCYPROTOCOL_VRRP RedundancyProtocol = "vrrp" + REDUNDANCYPROTOCOL_GLBP RedundancyProtocol = "glbp" + REDUNDANCYPROTOCOL_CARP RedundancyProtocol = "carp" + REDUNDANCYPROTOCOL_EMPTY RedundancyProtocol = "" +) -// InterfaceRedundancyGroupProtocolChoicesAsRedundancyProtocol is a convenience function that returns InterfaceRedundancyGroupProtocolChoices wrapped in RedundancyProtocol -func InterfaceRedundancyGroupProtocolChoicesAsRedundancyProtocol(v *InterfaceRedundancyGroupProtocolChoices) RedundancyProtocol { - return RedundancyProtocol{ - InterfaceRedundancyGroupProtocolChoices: v, - } +// All allowed values of RedundancyProtocol enum +var AllowedRedundancyProtocolEnumValues = []RedundancyProtocol{ + "hsrp", + "vrrp", + "glbp", + "carp", + "", } - -// Unmarshal JSON data into one of the pointers in the struct -func (dst *RedundancyProtocol) UnmarshalJSON(data []byte) error { - var err error - match := 0 - // try to unmarshal data into BlankEnum - err = newStrictDecoder(data).Decode(&dst.BlankEnum) - if err == nil { - jsonBlankEnum, _ := json.Marshal(dst.BlankEnum) - if string(jsonBlankEnum) == "{}" { // empty struct - dst.BlankEnum = nil - } else { - if err = validator.Validate(dst.BlankEnum); err != nil { - dst.BlankEnum = nil - } else { - match++ - } - } - } else { - dst.BlankEnum = nil +func (v *RedundancyProtocol) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err } - - // try to unmarshal data into InterfaceRedundancyGroupProtocolChoices - err = newStrictDecoder(data).Decode(&dst.InterfaceRedundancyGroupProtocolChoices) - if err == nil { - jsonInterfaceRedundancyGroupProtocolChoices, _ := json.Marshal(dst.InterfaceRedundancyGroupProtocolChoices) - if string(jsonInterfaceRedundancyGroupProtocolChoices) == "{}" { // empty struct - dst.InterfaceRedundancyGroupProtocolChoices = nil - } else { - if err = validator.Validate(dst.InterfaceRedundancyGroupProtocolChoices); err != nil { - dst.InterfaceRedundancyGroupProtocolChoices = nil - } else { - match++ - } + enumTypeValue := RedundancyProtocol(value) + for _, existing := range AllowedRedundancyProtocolEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil } - } else { - dst.InterfaceRedundancyGroupProtocolChoices = nil } - if match > 1 { // more than 1 match - // reset to nil - dst.BlankEnum = nil - dst.InterfaceRedundancyGroupProtocolChoices = nil - - return fmt.Errorf("data matches more than one schema in oneOf(RedundancyProtocol)") - } else if match == 1 { - return nil // exactly one match - } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(RedundancyProtocol)") - } + return fmt.Errorf("%+v is not a valid RedundancyProtocol", value) } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src RedundancyProtocol) MarshalJSON() ([]byte, error) { - if src.BlankEnum != nil { - return json.Marshal(&src.BlankEnum) - } - - if src.InterfaceRedundancyGroupProtocolChoices != nil { - return json.Marshal(&src.InterfaceRedundancyGroupProtocolChoices) +// NewRedundancyProtocolFromValue returns a pointer to a valid RedundancyProtocol +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRedundancyProtocolFromValue(v string) (*RedundancyProtocol, error) { + ev := RedundancyProtocol(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RedundancyProtocol: valid values are %v", v, AllowedRedundancyProtocolEnumValues) } - - return nil, nil // no data in oneOf schemas } -// Get the actual instance -func (obj *RedundancyProtocol) GetActualInstance() (interface{}) { - if obj == nil { - return nil - } - if obj.BlankEnum != nil { - return obj.BlankEnum - } - - if obj.InterfaceRedundancyGroupProtocolChoices != nil { - return obj.InterfaceRedundancyGroupProtocolChoices +// IsValid return true if the value is valid for the enum, false otherwise +func (v RedundancyProtocol) IsValid() bool { + for _, existing := range AllowedRedundancyProtocolEnumValues { + if existing == v { + return true + } } - - // all schemas are nil - return nil + return false } -// Get the actual instance value -func (obj RedundancyProtocol) GetActualInstanceValue() (interface{}) { - if obj.BlankEnum != nil { - return *obj.BlankEnum - } - - if obj.InterfaceRedundancyGroupProtocolChoices != nil { - return *obj.InterfaceRedundancyGroupProtocolChoices - } - - // all schemas are nil - return nil +// Ptr returns reference to Redundancy_Protocol value +func (v RedundancyProtocol) Ptr() *RedundancyProtocol { + return &v } type NullableRedundancyProtocol struct { @@ -168,4 +115,3 @@ func (v *NullableRedundancyProtocol) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/model_vlan.go b/model_vlan.go index c6e52609..a3f2de09 100644 --- a/model_vlan.go +++ b/model_vlan.go @@ -41,7 +41,7 @@ type VLAN struct { Tags []BulkWritableCableRequestStatus `json:"tags,omitempty"` NotesUrl string `json:"notes_url"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - ComputedFields map[string]interface{} `json:"computed_fields"` + ComputedFields map[string]interface{} `json:"computed_fields,omitempty"` Relationships *map[string]BulkWritableCableRequestRelationshipsValue `json:"relationships,omitempty"` AdditionalProperties map[string]interface{} } @@ -52,7 +52,7 @@ type _VLAN VLAN // 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 -func NewVLAN(objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, computedFields map[string]interface{}) *VLAN { +func NewVLAN(objectType string, display string, url string, naturalSlug string, vid int32, name string, status BulkWritableCableRequestStatus, locations []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string) *VLAN { this := VLAN{} this.ObjectType = objectType this.Display = display @@ -65,7 +65,6 @@ func NewVLAN(objectType string, display string, url string, naturalSlug string, this.Created = created this.LastUpdated = lastUpdated this.NotesUrl = notesUrl - this.ComputedFields = computedFields return &this } @@ -631,26 +630,34 @@ func (o *VLAN) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } -// GetComputedFields returns the ComputedFields field value +// GetComputedFields returns the ComputedFields field value if set, zero value otherwise. func (o *VLAN) GetComputedFields() map[string]interface{} { - if o == nil { + if o == nil || IsNil(o.ComputedFields) { var ret map[string]interface{} return ret } - return o.ComputedFields } -// GetComputedFieldsOk returns a tuple with the ComputedFields field value +// GetComputedFieldsOk returns a tuple with the ComputedFields field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VLAN) GetComputedFieldsOk() (map[string]interface{}, bool) { - if o == nil { + if o == nil || IsNil(o.ComputedFields) { return map[string]interface{}{}, false } return o.ComputedFields, true } -// SetComputedFields sets field value +// HasComputedFields returns a boolean if a field has been set. +func (o *VLAN) HasComputedFields() bool { + if o != nil && !IsNil(o.ComputedFields) { + return true + } + + return false +} + +// SetComputedFields gets a reference to the given map[string]interface{} and assigns it to the ComputedFields field. func (o *VLAN) SetComputedFields(v map[string]interface{}) { o.ComputedFields = v } @@ -732,7 +739,9 @@ func (o VLAN) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } - toSerialize["computed_fields"] = o.ComputedFields + if !IsNil(o.ComputedFields) { + toSerialize["computed_fields"] = o.ComputedFields + } if !IsNil(o.Relationships) { toSerialize["relationships"] = o.Relationships } @@ -760,7 +769,6 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) { "created", "last_updated", "notes_url", - "computed_fields", } allProperties := make(map[string]interface{}) From 3cf4f8febc4b1ebe27c1b2652864ed422db8a7d5 Mon Sep 17 00:00:00 2001 From: TobiPeterG Date: Mon, 3 Nov 2025 16:05:59 +0000 Subject: [PATCH 5/5] Set nautobot_version to latest tag Signed-off-by: TobiPeterG --- api/nautobot_version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/nautobot_version b/api/nautobot_version index b4bbee4f..5d02c859 100644 --- a/api/nautobot_version +++ b/api/nautobot_version @@ -1 +1 @@ -2.4.21-beta +v2.3.2-beta